/*
 *             Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
 *
 *
 *
 *
 *          +---------------------------------------------------------------------------------+
 *          |                                                                                 |
 *          |                                 Hello stranger!                                 |
 *          |                                                                                 |
 *          |                                                                                 |
 *          |   What you're currently looking at is the source code of a legally protected,   |
 *          |    proprietary software. Any attempts to deobfuscate / disassemble this code    |
 *          |               are forbidden and will result in legal consequences.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
import{ContextPlugin,Editor,icons as _0x40ee59,Plugin,Command as _0xa280c5,PendingActions,Context as Context$1,ElementApiMixin}from'ckeditor5';import{CKEditorError,Collection,uid,first,FocusTracker,KeystrokeHandler,ObservableMixin,global as _0x25cc2c,isVisible,Rect,diff as _0x3b7284,priorities,scrollViewportToShowTarget,getEnvKeystrokeText,toUnit,DomEmitterMixin,keyCodes,diffToChanges,scrollAncestorsToShowTarget,collectStylesheets,logWarning,logError,ResizeObserver as _0x103ceb,env,version as _0x4319a3,ElementReplacer,insertToPriorityArray,getAncestors,createElement}from'ckeditor5';import{View,IconView,ButtonView,DropdownButtonView,FocusCycler,isViewWithFocusCycler,ToolbarView,SpinnerView,AutocompleteView,ListView,ListItemGroupView,ListItemView,ButtonLabelView,createLabeledTextarea,Dialog,createDropdown,addMenuToDropdown,MenuBarMenuView,MenuBarMenuListItemButtonView,DialogViewPosition,MenuBarMenuListView,MenuBarMenuListItemView,addListToDropdown,ViewModel,EditorUIView,InlineEditableUIView,EditorUI,ViewCollection,focusChildOnDropdownOpen,BodyCollection,BalloonPanelView,ContextualBalloon,Notification,SplitButtonView,FileDialogButtonView,MenuBarMenuListItemFileDialogButtonView,addKeyboardHandlingForGrid,CollapsibleView,LabeledFieldView,createLabeledInputNumber,filterGroupAndItemNames,SearchTextView,LabelWithHighlightView,ButtonLabelWithHighlightView,InputNumberView,LabelView,clickOutsideHandler,injectCssTransitionDisabler,submitHandler,createLabeledInputText,ToolbarSeparatorView,normalizeToolbarConfig,BoxedEditorUIView,StickyPanelView,HighlightedTextView,normalizeColorOptions,ListSeparatorView}from'ckeditor5';import{ClipboardPipeline,ClipboardMarkersUtils,Clipboard}from'ckeditor5';import{DomEventData,DataTransfer as DataTransfer$1,UpcastWriter,Matcher,disablePlaceholder,enablePlaceholder,MouseObserver,Text as Text$1,TreeWalker,ClickObserver,Range as _0x32106d,ViewDocument,DomConverter,LiveRange,History,NoOperation,InsertOperation,MarkerOperation,RootAttributeOperation,transformSets,OperationFactory,ViewDocumentFragment,Element as Element$3,ViewUIElement,ViewRawElement,ViewEmptyElement,ViewAttributeElement,ViewContainerElement,Position,ViewText,ViewElement,DocumentFragment as DocumentFragment$1,LivePosition,DowncastWriter}from'ckeditor5';import{Enter,ShiftEnter}from'ckeditor5';import{SelectAll}from'ckeditor5';import{Typing,Delete,Input}from'ckeditor5';import{Undo}from'ckeditor5';import{Paragraph}from'ckeditor5';import{toWidget,Widget,findOptimalInsertionRange,viewToModelPositionOutsideModelElement,setHighlightHandling}from'ckeditor5';import{MSWordNormalizer,parseHtml}from'ckeditor5';import{ObservableMixin as _0x4983cd,priorities as priorities$1,global as _0x54bcbb,EmitterMixin,Collection as Collection$1}from'ckeditor5';import{FileRepository}from'ckeditor5';class Permissions extends ContextPlugin{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5c1415,_0x516bbc){let _0xd32544;if(_0x516bbc||(_0x516bbc=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x516bbc?_0xd32544=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xd32544=this['context']['editors']['find'](_0x4a63d2=>_0x4a63d2['config']['get']('collaboration.channelId')==_0x516bbc)),!_0xd32544)throw new CKEditorError('permissions-set-permissions-invalid-channel-id',null);const _0x3c1a14=_0xd32544['plugins'],_0x161744=_0x3c1a14['has']('CommentsRepository')?_0x3c1a14['get']('CommentsRepository'):void 0x0,_0x5e7ceb=_0x3c1a14['has']('CommentsOnly')&&_0x3c1a14['get']('CommentsOnly'),_0x481a2f=_0x5c1415['includes']('document:write'),_0x1c1524=_0x5c1415['includes']('comment:modify_all'),_0x394fae=_0x5c1415['includes']('comment:admin'),_0x55d768=_0x5c1415['includes']('comment:write'),_0x5b648c=_0x55d768||_0x394fae,_0x219dcb=_0x5b648c||_0x1c1524,_0x3146fb=_0x481a2f||_0x5b648c;(_0x5e7ceb&&(_0x5e7ceb['isEnabled']=!_0x481a2f&&_0x219dcb),_0xd32544 instanceof Editor)&&(!(_0x481a2f||_0x219dcb&&_0x161744)?_0xd32544['enableReadOnlyMode']('no-permissions'):_0xd32544['disableReadOnlyMode']('no-permissions'));if(_0x161744){_0x161744['setPermissions']({'admin':_0x394fae,'modifyAll':_0x1c1524,'write':_0x55d768,'resolve':_0x3146fb},_0x516bbc);const _0x3d284b=_0xd32544 instanceof Editor&&_0xd32544['commands']['get']('addCommentThread');_0x3d284b&&(_0x5b648c?_0x3d284b['clearForceDisabled']('noPermissions'):_0x3d284b['forceDisabled']('noPermissions'));}}}function getTranslation$i(_0x4c97ef,_0x16300f){const t=_0x4c97ef['t'];switch(_0x16300f){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class Users extends ContextPlugin{static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x33c4e8){super(_0x33c4e8),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new Collection(),this['_locale']=_0x33c4e8['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x20ceab,name:_0x13f0cf,..._0x8e0189}){if(!_0x20ceab||'string'!=typeof _0x20ceab)throw new CKEditorError('users-add-invalid-id');if(this['users']['has'](_0x20ceab))throw new CKEditorError('users-add-duplicated-id',null,{'id':_0x20ceab});const _0x109e64={..._0x8e0189,'id':_0x20ceab,'name':normalizeName(this['_locale'],_0x13f0cf),'color':this['_getNextColor']()};_0x109e64['name']=normalizeName(this['_locale'],_0x109e64['name']);const _0x4420f3=new User$1(_0x109e64);return this['users']['add'](_0x4420f3),_0x4420f3;}['getUser'](_0x345c2c){return this['users']['get'](_0x345c2c);}['useAnonymousUser'](){const _0xe15b7e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xe15b7e);}['defineMe'](_0x500c9d){if(this['_myId'])throw new CKEditorError('users-me-already-defined',null);const _0x2d0c87=this['getUser'](_0x500c9d);if(!_0x2d0c87)throw new CKEditorError('users-me-missing-user',null);this['_myId']=_0x500c9d,_0x2d0c87['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0xb94ab8=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xb94ab8&&(this['_lastColor']=0x0),new Color(this['_lastColor']++);}['_addAnonymousUser'](){const _0xcd7069=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0xcd7069,'name':getTranslation$i(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let User$1=class{constructor(_0x552ab4){this['id']=_0x552ab4['id'],this['color']=_0x552ab4['color'],this['name']=_0x552ab4['name'],this['avatar']=_0x552ab4['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x4d87da=this['name']['split']('\x20');return 0x1===_0x4d87da['length']?this['_getInitial'](_0x4d87da[0x0]):this['_getInitial'](_0x4d87da[0x0])+this['_getInitial'](_0x4d87da[_0x4d87da['length']-0x1]);}['_getInitial'](_0x23e999){return _0x23e999['charAt'](0x0)['toUpperCase']();}};function normalizeName(_0x1e2509,_0x2ca40b=''){return''==(_0x2ca40b=_0x2ca40b['trim']())?getTranslation$i(_0x1e2509,'Anonymous'):_0x2ca40b;}class Color{constructor(_0x3e9108){this['_id']=_0x3e9108;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}var notificationIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a';class UserView extends View{constructor(_0x575c72,_0x4467bb,_0x1dc697){super(_0x575c72),this['name']=_0x4467bb['name'],this['notificationView']=null;const _0x148fd8=['ck','ck-user'],_0x1b030d=['ck','ck-user__img'];if(_0x4467bb['isAnonymous']&&_0x1b030d['push']('ck-user__anonymous'),!_0x4467bb['isAnonymous']&&_0x4467bb['isMe']&&_0x148fd8['push']('ck-user_me'),_0x4467bb['avatar']&&_0x1b030d['push']('ck-user__avatar'),_0x1dc697){const _0x244722=new IconView();_0x244722['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x244722['content']=notificationIcon,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1dc697},'children':[_0x244722]};}const _0x3f02f2=[{'tag':'div','attributes':{'class':_0x1b030d,'style':{'background-image':_0x4467bb['avatar']?'url(\x27'+_0x4467bb['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x4467bb['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x4467bb['name']},'children':[{'text':_0x4467bb['initials']}]}];this['notificationView']&&_0x3f02f2['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x148fd8,'data-user-id':_0x4467bb['id']},'children':_0x3f02f2});}}class AriaDescriptionView extends View{constructor(_0x1088af,_0x3a265f){super(_0x1088af),this['id']='ck-aria-description-'+uid(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x3a265f}]});}}class LateFocusButtonView extends ButtonView{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends DropdownButtonView{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x264590){_0x264590['listenTo'](_0x264590['element'],'mousedown',(_0x355d03,_0x2f7743)=>{_0x2f7743['stopPropagation'](),_0x2f7743['preventDefault']();}),_0x264590['listenTo'](_0x264590['element'],'mouseup',()=>{_0x264590['element']['focus']();});}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(_0x270a89){super('Invalid\x20DateTime:\x20'+_0x270a89['toMessage']());}}class InvalidIntervalError extends LuxonError{constructor(_0x34ae7a){super('Invalid\x20Interval:\x20'+_0x34ae7a['toMessage']());}}class InvalidDurationError extends LuxonError{constructor(_0xf7f54e){super('Invalid\x20Duration:\x20'+_0xf7f54e['toMessage']());}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(_0x4125d7){super('Invalid\x20unit\x20'+_0x4125d7);}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const n$1='numeric',s$1='short',l$1='long',DATE_SHORT={'year':n$1,'month':n$1,'day':n$1},DATE_MED={'year':n$1,'month':s$1,'day':n$1},DATE_MED_WITH_WEEKDAY={'year':n$1,'month':s$1,'day':n$1,'weekday':s$1},DATE_FULL={'year':n$1,'month':l$1,'day':n$1},DATE_HUGE={'year':n$1,'month':l$1,'day':n$1,'weekday':l$1},TIME_SIMPLE={'hour':n$1,'minute':n$1},TIME_WITH_SECONDS={'hour':n$1,'minute':n$1,'second':n$1},TIME_WITH_SHORT_OFFSET={'hour':n$1,'minute':n$1,'second':n$1,'timeZoneName':s$1},TIME_WITH_LONG_OFFSET={'hour':n$1,'minute':n$1,'second':n$1,'timeZoneName':l$1},TIME_24_SIMPLE={'hour':n$1,'minute':n$1,'hourCycle':'h23'},TIME_24_WITH_SECONDS={'hour':n$1,'minute':n$1,'second':n$1,'hourCycle':'h23'},TIME_24_WITH_SHORT_OFFSET={'hour':n$1,'minute':n$1,'second':n$1,'hourCycle':'h23','timeZoneName':s$1},TIME_24_WITH_LONG_OFFSET={'hour':n$1,'minute':n$1,'second':n$1,'hourCycle':'h23','timeZoneName':l$1},DATETIME_SHORT={'year':n$1,'month':n$1,'day':n$1,'hour':n$1,'minute':n$1},DATETIME_SHORT_WITH_SECONDS={'year':n$1,'month':n$1,'day':n$1,'hour':n$1,'minute':n$1,'second':n$1},DATETIME_MED={'year':n$1,'month':s$1,'day':n$1,'hour':n$1,'minute':n$1},DATETIME_MED_WITH_SECONDS={'year':n$1,'month':s$1,'day':n$1,'hour':n$1,'minute':n$1,'second':n$1},DATETIME_MED_WITH_WEEKDAY={'year':n$1,'month':s$1,'day':n$1,'weekday':s$1,'hour':n$1,'minute':n$1},DATETIME_FULL={'year':n$1,'month':l$1,'day':n$1,'hour':n$1,'minute':n$1,'timeZoneName':s$1},DATETIME_FULL_WITH_SECONDS={'year':n$1,'month':l$1,'day':n$1,'hour':n$1,'minute':n$1,'second':n$1,'timeZoneName':s$1},DATETIME_HUGE={'year':n$1,'month':l$1,'day':n$1,'weekday':l$1,'hour':n$1,'minute':n$1,'timeZoneName':l$1},DATETIME_HUGE_WITH_SECONDS={'year':n$1,'month':l$1,'day':n$1,'weekday':l$1,'hour':n$1,'minute':n$1,'second':n$1,'timeZoneName':l$1};class Zone{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0xbd65f3,_0x63f09d){throw new ZoneIsAbstractError();}['formatOffset'](_0x733b77,_0x36c515){throw new ZoneIsAbstractError();}['offset'](_0x41316b){throw new ZoneIsAbstractError();}['equals'](_0x417f13){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends Zone{static get['instance'](){return null===singleton$1&&(singleton$1=new SystemZone()),singleton$1;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x574bed,{format:_0x5e4cc9,locale:_0x582729}){return parseZoneInfo(_0x574bed,_0x5e4cc9,_0x582729);}['formatOffset'](_0xeafd63,_0x27ddb2){return formatOffset(this['offset'](_0xeafd63),_0x27ddb2);}['offset'](_0x2d0d36){return-new Date(_0x2d0d36)['getTimezoneOffset']();}['equals'](_0x4ab305){return'system'===_0x4ab305['type'];}get['isValid'](){return!0x0;}}let dtfCache={};function makeDTF(_0xa135c3){return dtfCache[_0xa135c3]||(dtfCache[_0xa135c3]=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0xa135c3,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'})),dtfCache[_0xa135c3];}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x3d95bc,_0x8d93c6){const _0x5afa52=_0x3d95bc['format'](_0x8d93c6)['replace'](/\u200E/g,''),_0x547a7e=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x5afa52),[,_0x20f3a4,_0x42a980,_0x190fcb,_0x409122,_0x4167c7,_0x5c19ba,_0x302c57]=_0x547a7e;return[_0x190fcb,_0x20f3a4,_0x42a980,_0x409122,_0x4167c7,_0x5c19ba,_0x302c57];}function partsOffset(_0xe90c74,_0x197d5d){const _0x3314dc=_0xe90c74['formatToParts'](_0x197d5d),_0x53e533=[];for(let _0x3088a9=0x0;_0x3088a9<_0x3314dc['length'];_0x3088a9++){const {type:_0x277d2d,value:_0x489d63}=_0x3314dc[_0x3088a9],_0x376a8c=typeToPos[_0x277d2d];'era'===_0x277d2d?_0x53e533[_0x376a8c]=_0x489d63:isUndefined(_0x376a8c)||(_0x53e533[_0x376a8c]=parseInt(_0x489d63,0xa));}return _0x53e533;}let ianaZoneCache={};class IANAZone extends Zone{static['create'](_0x30ec3e){return ianaZoneCache[_0x30ec3e]||(ianaZoneCache[_0x30ec3e]=new IANAZone(_0x30ec3e)),ianaZoneCache[_0x30ec3e];}static['resetCache'](){ianaZoneCache={},dtfCache={};}static['isValidSpecifier'](_0x5addb8){return this['isValidZone'](_0x5addb8);}static['isValidZone'](_0x4bfe8b){if(!_0x4bfe8b)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x4bfe8b})['format'](),!0x0;}catch(_0x3330c9){return!0x1;}}constructor(_0x9d3184){super(),this['zoneName']=_0x9d3184,this['valid']=IANAZone['isValidZone'](_0x9d3184);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0xe59ba3,{format:_0x2ae361,locale:_0x184d89}){return parseZoneInfo(_0xe59ba3,_0x2ae361,_0x184d89,this['name']);}['formatOffset'](_0x3e1411,_0x45666e){return formatOffset(this['offset'](_0x3e1411),_0x45666e);}['offset'](_0x25fe8a){const _0x176705=new Date(_0x25fe8a);if(isNaN(_0x176705))return NaN;const _0x5d345d=makeDTF(this['name']);let [_0x28a390,_0x1ef0ff,_0xd61fd,_0x45db72,_0x4c756c,_0x41e9e9,_0x1f44a8]=_0x5d345d['formatToParts']?partsOffset(_0x5d345d,_0x176705):hackyOffset(_0x5d345d,_0x176705);'BC'===_0x45db72&&(_0x28a390=0x1-Math['abs'](_0x28a390));let _0x5b981f=+_0x176705;const _0x1e971f=_0x5b981f%0x3e8;return _0x5b981f-=_0x1e971f>=0x0?_0x1e971f:0x3e8+_0x1e971f,(objToLocalTS({'year':_0x28a390,'month':_0x1ef0ff,'day':_0xd61fd,'hour':0x18===_0x4c756c?0x0:_0x4c756c,'minute':_0x41e9e9,'second':_0x1f44a8,'millisecond':0x0})-_0x5b981f)/0xea60;}['equals'](_0x3f3097){return'iana'===_0x3f3097['type']&&_0x3f3097['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x1c274e,_0x409b5d={}){const _0x5ecd35=JSON['stringify']([_0x1c274e,_0x409b5d]);let _0x3141c8=intlLFCache[_0x5ecd35];return _0x3141c8||(_0x3141c8=new Intl['ListFormat'](_0x1c274e,_0x409b5d),intlLFCache[_0x5ecd35]=_0x3141c8),_0x3141c8;}let intlDTCache={};function getCachedDTF(_0x193e37,_0x2b8e5d={}){const _0x4a41fb=JSON['stringify']([_0x193e37,_0x2b8e5d]);let _0x4d96f8=intlDTCache[_0x4a41fb];return _0x4d96f8||(_0x4d96f8=new Intl['DateTimeFormat'](_0x193e37,_0x2b8e5d),intlDTCache[_0x4a41fb]=_0x4d96f8),_0x4d96f8;}let intlNumCache={};function getCachedINF(_0xbf2141,_0x50dd66={}){const _0x24848c=JSON['stringify']([_0xbf2141,_0x50dd66]);let _0x327d18=intlNumCache[_0x24848c];return _0x327d18||(_0x327d18=new Intl['NumberFormat'](_0xbf2141,_0x50dd66),intlNumCache[_0x24848c]=_0x327d18),_0x327d18;}let intlRelCache={};function getCachedRTF(_0x56545c,_0x33c843={}){const {base:_0x3ac464,..._0x3ec79b}=_0x33c843,_0x19d545=JSON['stringify']([_0x56545c,_0x3ec79b]);let _0x3af621=intlRelCache[_0x19d545];return _0x3af621||(_0x3af621=new Intl['RelativeTimeFormat'](_0x56545c,_0x33c843),intlRelCache[_0x19d545]=_0x3af621),_0x3af621;}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],sysLocaleCache);}let weekInfoCache={};function getCachedWeekInfo(_0x149e1c){let _0x5a4d16=weekInfoCache[_0x149e1c];if(!_0x5a4d16){const _0x395892=new Intl['Locale'](_0x149e1c);_0x5a4d16='getWeekInfo'in _0x395892?_0x395892['getWeekInfo']():_0x395892['weekInfo'],weekInfoCache[_0x149e1c]=_0x5a4d16;}return _0x5a4d16;}function parseLocaleString(_0xbb37a2){const _0x2d9a21=_0xbb37a2['indexOf']('-x-');-0x1!==_0x2d9a21&&(_0xbb37a2=_0xbb37a2['substring'](0x0,_0x2d9a21));const _0x5b7e18=_0xbb37a2['indexOf']('-u-');if(-0x1===_0x5b7e18)return[_0xbb37a2];{let _0x39d07f,_0x3e045b;try{_0x39d07f=getCachedDTF(_0xbb37a2)['resolvedOptions'](),_0x3e045b=_0xbb37a2;}catch(_0xca5be8){const _0x95a526=_0xbb37a2['substring'](0x0,_0x5b7e18);_0x39d07f=getCachedDTF(_0x95a526)['resolvedOptions'](),_0x3e045b=_0x95a526;}const {numberingSystem:_0x395dd1,calendar:_0x38da46}=_0x39d07f;return[_0x3e045b,_0x395dd1,_0x38da46];}}function intlConfigString(_0x449e28,_0x39c9bb,_0x1388f9){return _0x1388f9||_0x39c9bb?(_0x449e28['includes']('-u-')||(_0x449e28+='-u'),_0x1388f9&&(_0x449e28+='-ca-'+_0x1388f9),_0x39c9bb&&(_0x449e28+='-nu-'+_0x39c9bb),_0x449e28):_0x449e28;}function mapMonths(_0x2b275e){const _0x36fadf=[];for(let _0x5dad9b=0x1;_0x5dad9b<=0xc;_0x5dad9b++){const _0x1bc66c=DateTime['utc'](0x7d9,_0x5dad9b,0x1);_0x36fadf['push'](_0x2b275e(_0x1bc66c));}return _0x36fadf;}function mapWeekdays(_0x3fab0c){const _0x528562=[];for(let _0x205000=0x1;_0x205000<=0x7;_0x205000++){const _0x36b677=DateTime['utc'](0x7e0,0xb,0xd+_0x205000);_0x528562['push'](_0x3fab0c(_0x36b677));}return _0x528562;}function listStuff(_0x2d55c7,_0x13a3fc,_0x262970,_0x35efd8){const _0x3f2cac=_0x2d55c7['listingMode']();return'error'===_0x3f2cac?null:'en'===_0x3f2cac?_0x262970(_0x13a3fc):_0x35efd8(_0x13a3fc);}function supportsFastNumbers(_0x2147e0){return(!_0x2147e0['numberingSystem']||'latn'===_0x2147e0['numberingSystem'])&&('latn'===_0x2147e0['numberingSystem']||!_0x2147e0['locale']||_0x2147e0['locale']['startsWith']('en')||'latn'===new Intl['DateTimeFormat'](_0x2147e0['intl'])['resolvedOptions']()['numberingSystem']);}class PolyNumberFormatter{constructor(_0xb855b7,_0x10de63,_0x3a4123){this['padTo']=_0x3a4123['padTo']||0x0,this['floor']=_0x3a4123['floor']||!0x1;const {padTo:_0x481bb6,floor:_0x473b8a,..._0x12e507}=_0x3a4123;if(!_0x10de63||Object['keys'](_0x12e507)['length']>0x0){const _0x1cb605={'useGrouping':!0x1,..._0x3a4123};_0x3a4123['padTo']>0x0&&(_0x1cb605['minimumIntegerDigits']=_0x3a4123['padTo']),this['inf']=getCachedINF(_0xb855b7,_0x1cb605);}}['format'](_0x217a13){if(this['inf']){const _0x4b6ed5=this['floor']?Math['floor'](_0x217a13):_0x217a13;return this['inf']['format'](_0x4b6ed5);}return padStart(this['floor']?Math['floor'](_0x217a13):roundTo(_0x217a13,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x3e3a1a,_0x5c4777,_0x36c21a){let _0x1c5ab1;if(this['opts']=_0x36c21a,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x3e3a1a;else{if('fixed'===_0x3e3a1a['zone']['type']){const _0x25a7d6=_0x3e3a1a['offset']/0x3c*-0x1,_0x588e15=_0x25a7d6>=0x0?'Etc/GMT+'+_0x25a7d6:'Etc/GMT'+_0x25a7d6;0x0!==_0x3e3a1a['offset']&&IANAZone['create'](_0x588e15)['valid']?(_0x1c5ab1=_0x588e15,this['dt']=_0x3e3a1a):(_0x1c5ab1='UTC',this['dt']=0x0===_0x3e3a1a['offset']?_0x3e3a1a:_0x3e3a1a['setZone']('UTC')['plus']({'minutes':_0x3e3a1a['offset']}),this['originalZone']=_0x3e3a1a['zone']);}else'system'===_0x3e3a1a['zone']['type']?this['dt']=_0x3e3a1a:'iana'===_0x3e3a1a['zone']['type']?(this['dt']=_0x3e3a1a,_0x1c5ab1=_0x3e3a1a['zone']['name']):(_0x1c5ab1='UTC',this['dt']=_0x3e3a1a['setZone']('UTC')['plus']({'minutes':_0x3e3a1a['offset']}),this['originalZone']=_0x3e3a1a['zone']);}const _0x42a56f={...this['opts']};_0x42a56f['timeZone']=_0x42a56f['timeZone']||_0x1c5ab1,this['dtf']=getCachedDTF(_0x5c4777,_0x42a56f);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x2308d5})=>_0x2308d5)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x275dde=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x275dde['map'](_0x24156b=>{if('timeZoneName'===_0x24156b['type']){const _0x53071c=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x24156b,'value':_0x53071c};}return _0x24156b;}):_0x275dde;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x1d2543,_0x3a55f6,_0x102fcc){this['opts']={'style':'long',..._0x102fcc},!_0x3a55f6&&hasRelative()&&(this['rtf']=getCachedRTF(_0x1d2543,_0x102fcc));}['format'](_0x1b1ba6,_0x517c12){return this['rtf']?this['rtf']['format'](_0x1b1ba6,_0x517c12):formatRelativeTime(_0x517c12,_0x1b1ba6,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x31ed92,_0xada8d2){return this['rtf']?this['rtf']['formatToParts'](_0x31ed92,_0xada8d2):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class Locale{static['fromOpts'](_0x45b02b){return Locale['create'](_0x45b02b['locale'],_0x45b02b['numberingSystem'],_0x45b02b['outputCalendar'],_0x45b02b['weekSettings'],_0x45b02b['defaultToEN']);}static['create'](_0x1059c5,_0x5b8f37,_0x2108d5,_0x5c360a,_0x262be1=!0x1){const _0x10c4a6=_0x1059c5||Settings['defaultLocale'],_0x1d0b8d=_0x10c4a6||(_0x262be1?'en-US':systemLocale()),_0x223e47=_0x5b8f37||Settings['defaultNumberingSystem'],_0x2f424a=_0x2108d5||Settings['defaultOutputCalendar'],_0x3a5ffd=validateWeekSettings(_0x5c360a)||Settings['defaultWeekSettings'];return new Locale(_0x1d0b8d,_0x223e47,_0x2f424a,_0x3a5ffd,_0x10c4a6);}static['resetCache'](){sysLocaleCache=null,intlDTCache={},intlNumCache={},intlRelCache={};}static['fromObject']({locale:_0x282eb8,numberingSystem:_0x557e20,outputCalendar:_0x4076a9,weekSettings:_0x490920}={}){return Locale['create'](_0x282eb8,_0x557e20,_0x4076a9,_0x490920);}constructor(_0x42fe8b,_0x297167,_0x2b4db1,_0x22f876,_0x510537){const [_0x22b687,_0x475bc1,_0x2fde28]=parseLocaleString(_0x42fe8b);this['locale']=_0x22b687,this['numberingSystem']=_0x297167||_0x475bc1||null,this['outputCalendar']=_0x2b4db1||_0x2fde28||null,this['weekSettings']=_0x22f876,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x510537,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0xa05653=this['isEnglish'](),_0x5e4396=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0xa05653&&_0x5e4396?'en':'intl';}['clone'](_0x555342){return _0x555342&&0x0!==Object['getOwnPropertyNames'](_0x555342)['length']?Locale['create'](_0x555342['locale']||this['specifiedLocale'],_0x555342['numberingSystem']||this['numberingSystem'],_0x555342['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x555342['weekSettings'])||this['weekSettings'],_0x555342['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x231e9d={}){return this['clone']({..._0x231e9d,'defaultToEN':!0x0});}['redefaultToSystem'](_0x1d9fd0={}){return this['clone']({..._0x1d9fd0,'defaultToEN':!0x1});}['months'](_0x473193,_0x5e52d7=!0x1){return listStuff(this,_0x473193,months,()=>{const _0x3d67fb=_0x5e52d7?{'month':_0x473193,'day':'numeric'}:{'month':_0x473193},_0x3f9912=_0x5e52d7?'format':'standalone';return this['monthsCache'][_0x3f9912][_0x473193]||(this['monthsCache'][_0x3f9912][_0x473193]=mapMonths(_0x4c5e34=>this['extract'](_0x4c5e34,_0x3d67fb,'month'))),this['monthsCache'][_0x3f9912][_0x473193];});}['weekdays'](_0x13a65a,_0x239ec4=!0x1){return listStuff(this,_0x13a65a,weekdays,()=>{const _0x15c176=_0x239ec4?{'weekday':_0x13a65a,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x13a65a},_0x8bbf88=_0x239ec4?'format':'standalone';return this['weekdaysCache'][_0x8bbf88][_0x13a65a]||(this['weekdaysCache'][_0x8bbf88][_0x13a65a]=mapWeekdays(_0x3c55e8=>this['extract'](_0x3c55e8,_0x15c176,'weekday'))),this['weekdaysCache'][_0x8bbf88][_0x13a65a];});}['meridiems'](){return listStuff(this,void 0x0,()=>meridiems,()=>{if(!this['meridiemCache']){const _0xd05341={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x1cb336=>this['extract'](_0x1cb336,_0xd05341,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x43d176){return listStuff(this,_0x43d176,eras,()=>{const _0x1113fb={'era':_0x43d176};return this['eraCache'][_0x43d176]||(this['eraCache'][_0x43d176]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x1e6fe7=>this['extract'](_0x1e6fe7,_0x1113fb,'era'))),this['eraCache'][_0x43d176];});}['extract'](_0x2983d4,_0x47a965,_0x379032){const _0x16dbac=this['dtFormatter'](_0x2983d4,_0x47a965)['formatToParts']()['find'](_0x429984=>_0x429984['type']['toLowerCase']()===_0x379032);return _0x16dbac?_0x16dbac['value']:null;}['numberFormatter'](_0x3d601f={}){return new PolyNumberFormatter(this['intl'],_0x3d601f['forceSimple']||this['fastNumbers'],_0x3d601f);}['dtFormatter'](_0x327608,_0x4963f9={}){return new PolyDateFormatter(_0x327608,this['intl'],_0x4963f9);}['relFormatter'](_0x581631={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x581631);}['listFormatter'](_0x36cd32={}){return getCachedLF(this['intl'],_0x36cd32);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||new Intl['DateTimeFormat'](this['intl'])['resolvedOptions']()['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:hasLocaleWeekInfo()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x22af1e){return this['locale']===_0x22af1e['locale']&&this['numberingSystem']===_0x22af1e['numberingSystem']&&this['outputCalendar']===_0x22af1e['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends Zone{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x1e11ec){return 0x0===_0x1e11ec?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x1e11ec);}static['parseSpecifier'](_0x3e625e){if(_0x3e625e){const _0x3b2f93=_0x3e625e['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x3b2f93)return new FixedOffsetZone(signedOffset(_0x3b2f93[0x1],_0x3b2f93[0x2]));}return null;}constructor(_0x4bbda4){super(),this['fixed']=_0x4bbda4;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+formatOffset(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+formatOffset(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x165745,_0x3b3c07){return formatOffset(this['fixed'],_0x3b3c07);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x3c97dc){return'fixed'===_0x3c97dc['type']&&_0x3c97dc['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class InvalidZone extends Zone{constructor(_0x28d5d9){super(),this['zoneName']=_0x28d5d9;}get['type'](){return'invalid';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](){return null;}['formatOffset'](){return'';}['offset'](){return NaN;}['equals'](){return!0x1;}get['isValid'](){return!0x1;}}function normalizeZone(_0x5dafab,_0x57589f){if(isUndefined(_0x5dafab)||null===_0x5dafab)return _0x57589f;if(_0x5dafab instanceof Zone)return _0x5dafab;if(isString(_0x5dafab)){const _0x3efa80=_0x5dafab['toLowerCase']();return'default'===_0x3efa80?_0x57589f:'local'===_0x3efa80||'system'===_0x3efa80?SystemZone['instance']:'utc'===_0x3efa80||'gmt'===_0x3efa80?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x3efa80)||IANAZone['create'](_0x5dafab);}return isNumber(_0x5dafab)?FixedOffsetZone['instance'](_0x5dafab):'object'==typeof _0x5dafab&&'offset'in _0x5dafab&&'function'==typeof _0x5dafab['offset']?_0x5dafab:new InvalidZone(_0x5dafab);}const numberingSystems={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},numberingSystemsUTF16={'arab':[0x660,0x669],'arabext':[0x6f0,0x6f9],'bali':[0x1b50,0x1b59],'beng':[0x9e6,0x9ef],'deva':[0x966,0x96f],'fullwide':[0xff10,0xff17],'gujr':[0xae6,0xaef],'khmr':[0x17e0,0x17e9],'knda':[0xce6,0xcef],'laoo':[0xed0,0xed9],'limb':[0x1946,0x194f],'mlym':[0xd66,0xd6f],'mong':[0x1810,0x1819],'mymr':[0x1040,0x1049],'orya':[0xb66,0xb6f],'tamldec':[0xbe6,0xbef],'telu':[0xc66,0xc6f],'thai':[0xe50,0xe59],'tibt':[0xf20,0xf29]},hanidecChars=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x3bbf5d){let _0x197032=parseInt(_0x3bbf5d,0xa);if(isNaN(_0x197032)){_0x197032='';for(let _0x1d8b1d=0x0;_0x1d8b1d<_0x3bbf5d['length'];_0x1d8b1d++){const _0x3c82c4=_0x3bbf5d['charCodeAt'](_0x1d8b1d);if(-0x1!==_0x3bbf5d[_0x1d8b1d]['search'](numberingSystems['hanidec']))_0x197032+=hanidecChars['indexOf'](_0x3bbf5d[_0x1d8b1d]);else for(const _0x257837 in numberingSystemsUTF16){const [_0x479273,_0x5f08a1]=numberingSystemsUTF16[_0x257837];_0x3c82c4>=_0x479273&&_0x3c82c4<=_0x5f08a1&&(_0x197032+=_0x3c82c4-_0x479273);}}return parseInt(_0x197032,0xa);}return _0x197032;}let digitRegexCache={};function resetDigitRegexCache(){digitRegexCache={};}function digitRegex({numberingSystem:_0x21b1e6},_0x401f67=''){const _0x4287dd=_0x21b1e6||'latn';return digitRegexCache[_0x4287dd]||(digitRegexCache[_0x4287dd]={}),digitRegexCache[_0x4287dd][_0x401f67]||(digitRegexCache[_0x4287dd][_0x401f67]=new RegExp(''+numberingSystems[_0x4287dd]+_0x401f67)),digitRegexCache[_0x4287dd][_0x401f67];}let now$1=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return now$1;}static set['now'](_0x51f84c){now$1=_0x51f84c;}static set['defaultZone'](_0x1228cd){defaultZone=_0x1228cd;}static get['defaultZone'](){return normalizeZone(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x32cdbc){defaultLocale=_0x32cdbc;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x1e4b3a){defaultNumberingSystem=_0x1e4b3a;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x55f08f){defaultOutputCalendar=_0x55f08f;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x3fa5fc){defaultWeekSettings=validateWeekSettings(_0x3fa5fc);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0xf59913){twoDigitCutoffYear=_0xf59913%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){Locale['resetCache'](),IANAZone['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class Invalid{constructor(_0x28a850,_0x4f970d){this['reason']=_0x28a850,this['explanation']=_0x4f970d;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const nonLeapLadder=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],leapLadder=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x14525e,_0x2eeb80){return new Invalid('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x2eeb80+'\x20(of\x20type\x20'+typeof _0x2eeb80+')\x20as\x20a\x20'+_0x14525e+',\x20which\x20is\x20invalid');}function dayOfWeek(_0x438a53,_0x467335,_0xefdac7){const _0x5f4eaa=new Date(Date['UTC'](_0x438a53,_0x467335-0x1,_0xefdac7));_0x438a53<0x64&&_0x438a53>=0x0&&_0x5f4eaa['setUTCFullYear'](_0x5f4eaa['getUTCFullYear']()-0x76c);const _0x49bb01=_0x5f4eaa['getUTCDay']();return 0x0===_0x49bb01?0x7:_0x49bb01;}function computeOrdinal(_0x57c60a,_0x5db9a8,_0x301f11){return _0x301f11+(isLeapYear(_0x57c60a)?leapLadder:nonLeapLadder)[_0x5db9a8-0x1];}function uncomputeOrdinal(_0x2529cd,_0x37ec0a){const _0x55ace8=isLeapYear(_0x2529cd)?leapLadder:nonLeapLadder,_0x4f59bf=_0x55ace8['findIndex'](_0x593b58=>_0x593b58<_0x37ec0a);return{'month':_0x4f59bf+0x1,'day':_0x37ec0a-_0x55ace8[_0x4f59bf]};}function isoWeekdayToLocal(_0x37a69f,_0x2cd7b3){return(_0x37a69f-_0x2cd7b3+0x7)%0x7+0x1;}function gregorianToWeek(_0x294a55,_0x100989=0x4,_0x4f92fb=0x1){const {year:_0x5aab1c,month:_0x3594b8,day:_0x494692}=_0x294a55,_0x38a174=computeOrdinal(_0x5aab1c,_0x3594b8,_0x494692),_0x210f0c=isoWeekdayToLocal(dayOfWeek(_0x5aab1c,_0x3594b8,_0x494692),_0x4f92fb);let _0x3bfa05,_0x5c89c1=Math['floor']((_0x38a174-_0x210f0c+0xe-_0x100989)/0x7);return _0x5c89c1<0x1?(_0x3bfa05=_0x5aab1c-0x1,_0x5c89c1=weeksInWeekYear(_0x3bfa05,_0x100989,_0x4f92fb)):_0x5c89c1>weeksInWeekYear(_0x5aab1c,_0x100989,_0x4f92fb)?(_0x3bfa05=_0x5aab1c+0x1,_0x5c89c1=0x1):_0x3bfa05=_0x5aab1c,{'weekYear':_0x3bfa05,'weekNumber':_0x5c89c1,'weekday':_0x210f0c,...timeObject(_0x294a55)};}function weekToGregorian(_0x368c3d,_0x283901=0x4,_0x45113f=0x1){const {weekYear:_0x5b1545,weekNumber:_0x1e8780,weekday:_0x77338e}=_0x368c3d,_0x4ff21e=isoWeekdayToLocal(dayOfWeek(_0x5b1545,0x1,_0x283901),_0x45113f),_0x594278=daysInYear(_0x5b1545);let _0x373aa9,_0x339cce=0x7*_0x1e8780+_0x77338e-_0x4ff21e-0x7+_0x283901;_0x339cce<0x1?(_0x373aa9=_0x5b1545-0x1,_0x339cce+=daysInYear(_0x373aa9)):_0x339cce>_0x594278?(_0x373aa9=_0x5b1545+0x1,_0x339cce-=daysInYear(_0x5b1545)):_0x373aa9=_0x5b1545;const {month:_0x14a335,day:_0x275638}=uncomputeOrdinal(_0x373aa9,_0x339cce);return{'year':_0x373aa9,'month':_0x14a335,'day':_0x275638,...timeObject(_0x368c3d)};}function gregorianToOrdinal(_0x218418){const {year:_0x2ee90d,month:_0x1e2a56,day:_0x5d0ec4}=_0x218418;return{'year':_0x2ee90d,'ordinal':computeOrdinal(_0x2ee90d,_0x1e2a56,_0x5d0ec4),...timeObject(_0x218418)};}function ordinalToGregorian(_0x529e43){const {year:_0x10c5f1,ordinal:_0x5ade89}=_0x529e43,{month:_0x35e547,day:_0x420ab6}=uncomputeOrdinal(_0x10c5f1,_0x5ade89);return{'year':_0x10c5f1,'month':_0x35e547,'day':_0x420ab6,...timeObject(_0x529e43)};}function usesLocalWeekValues(_0x2e6105,_0x489911){if(!isUndefined(_0x2e6105['localWeekday'])||!isUndefined(_0x2e6105['localWeekNumber'])||!isUndefined(_0x2e6105['localWeekYear'])){if(!isUndefined(_0x2e6105['weekday'])||!isUndefined(_0x2e6105['weekNumber'])||!isUndefined(_0x2e6105['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return isUndefined(_0x2e6105['localWeekday'])||(_0x2e6105['weekday']=_0x2e6105['localWeekday']),isUndefined(_0x2e6105['localWeekNumber'])||(_0x2e6105['weekNumber']=_0x2e6105['localWeekNumber']),isUndefined(_0x2e6105['localWeekYear'])||(_0x2e6105['weekYear']=_0x2e6105['localWeekYear']),delete _0x2e6105['localWeekday'],delete _0x2e6105['localWeekNumber'],delete _0x2e6105['localWeekYear'],{'minDaysInFirstWeek':_0x489911['getMinDaysInFirstWeek'](),'startOfWeek':_0x489911['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0xb078d1,_0x32bebe=0x4,_0x2c0e54=0x1){const _0x5359ab=isInteger(_0xb078d1['weekYear']),_0x430a3b=integerBetween(_0xb078d1['weekNumber'],0x1,weeksInWeekYear(_0xb078d1['weekYear'],_0x32bebe,_0x2c0e54)),_0x45424c=integerBetween(_0xb078d1['weekday'],0x1,0x7);return _0x5359ab?_0x430a3b?!_0x45424c&&unitOutOfRange('weekday',_0xb078d1['weekday']):unitOutOfRange('week',_0xb078d1['weekNumber']):unitOutOfRange('weekYear',_0xb078d1['weekYear']);}function hasInvalidOrdinalData(_0x483455){const _0x40a72f=isInteger(_0x483455['year']),_0x51cf09=integerBetween(_0x483455['ordinal'],0x1,daysInYear(_0x483455['year']));return _0x40a72f?!_0x51cf09&&unitOutOfRange('ordinal',_0x483455['ordinal']):unitOutOfRange('year',_0x483455['year']);}function hasInvalidGregorianData(_0x4e4740){const _0x5b0405=isInteger(_0x4e4740['year']),_0x301695=integerBetween(_0x4e4740['month'],0x1,0xc),_0x521729=integerBetween(_0x4e4740['day'],0x1,daysInMonth(_0x4e4740['year'],_0x4e4740['month']));return _0x5b0405?_0x301695?!_0x521729&&unitOutOfRange('day',_0x4e4740['day']):unitOutOfRange('month',_0x4e4740['month']):unitOutOfRange('year',_0x4e4740['year']);}function hasInvalidTimeData(_0x3659d7){const {hour:_0x45044a,minute:_0xdc2fbb,second:_0x5ec285,millisecond:_0x528b87}=_0x3659d7,_0x106033=integerBetween(_0x45044a,0x0,0x17)||0x18===_0x45044a&&0x0===_0xdc2fbb&&0x0===_0x5ec285&&0x0===_0x528b87,_0x27f24f=integerBetween(_0xdc2fbb,0x0,0x3b),_0xf2bd1f=integerBetween(_0x5ec285,0x0,0x3b),_0x2939d3=integerBetween(_0x528b87,0x0,0x3e7);return _0x106033?_0x27f24f?_0xf2bd1f?!_0x2939d3&&unitOutOfRange('millisecond',_0x528b87):unitOutOfRange('second',_0x5ec285):unitOutOfRange('minute',_0xdc2fbb):unitOutOfRange('hour',_0x45044a);}function isUndefined(_0x3d3275){return void 0x0===_0x3d3275;}function isNumber(_0x1462a3){return'number'==typeof _0x1462a3;}function isInteger(_0x4d01bf){return'number'==typeof _0x4d01bf&&_0x4d01bf%0x1==0x0;}function isString(_0x3d0787){return'string'==typeof _0x3d0787;}function isDate(_0x3a5447){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x3a5447);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0xbf341d){return!0x1;}}function hasLocaleWeekInfo(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x3aa346){return!0x1;}}function maybeArray(_0x5c57c2){return Array['isArray'](_0x5c57c2)?_0x5c57c2:[_0x5c57c2];}function bestBy(_0x215ba0,_0x5e50b4,_0x488e21){if(0x0!==_0x215ba0['length'])return _0x215ba0['reduce']((_0x722d42,_0x4d891c)=>{const _0x305d1b=[_0x5e50b4(_0x4d891c),_0x4d891c];return _0x722d42&&_0x488e21(_0x722d42[0x0],_0x305d1b[0x0])===_0x722d42[0x0]?_0x722d42:_0x305d1b;},null)[0x1];}function pick$2(_0x4ad4c4,_0x55a035){return _0x55a035['reduce']((_0x126858,_0x178cb3)=>(_0x126858[_0x178cb3]=_0x4ad4c4[_0x178cb3],_0x126858),{});}function hasOwnProperty$d(_0x18bc14,_0x188f8d){return Object['prototype']['hasOwnProperty']['call'](_0x18bc14,_0x188f8d);}function validateWeekSettings(_0x433a67){if(null==_0x433a67)return null;if('object'!=typeof _0x433a67)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x433a67['firstDay'],0x1,0x7)||!integerBetween(_0x433a67['minimalDays'],0x1,0x7)||!Array['isArray'](_0x433a67['weekend'])||_0x433a67['weekend']['some'](_0x246a22=>!integerBetween(_0x246a22,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x433a67['firstDay'],'minimalDays':_0x433a67['minimalDays'],'weekend':Array['from'](_0x433a67['weekend'])};}function integerBetween(_0x4fb340,_0x299938,_0x3c862a){return isInteger(_0x4fb340)&&_0x4fb340>=_0x299938&&_0x4fb340<=_0x3c862a;}function floorMod(_0xc29f85,_0x3209d7){return _0xc29f85-_0x3209d7*Math['floor'](_0xc29f85/_0x3209d7);}function padStart(_0x4843e7,_0x3722b3=0x2){let _0xf866a1;return _0xf866a1=_0x4843e7<0x0?'-'+(''+-_0x4843e7)['padStart'](_0x3722b3,'0'):(''+_0x4843e7)['padStart'](_0x3722b3,'0'),_0xf866a1;}function parseInteger(_0x618864){return isUndefined(_0x618864)||null===_0x618864||''===_0x618864?void 0x0:parseInt(_0x618864,0xa);}function parseFloating(_0x27ddf1){return isUndefined(_0x27ddf1)||null===_0x27ddf1||''===_0x27ddf1?void 0x0:parseFloat(_0x27ddf1);}function parseMillis(_0x5ae599){if(!isUndefined(_0x5ae599)&&null!==_0x5ae599&&''!==_0x5ae599){const _0x1b4408=0x3e8*parseFloat('0.'+_0x5ae599);return Math['floor'](_0x1b4408);}}function roundTo(_0x355162,_0x2dc935,_0x366da3=!0x1){const _0x5d2416=0xa**_0x2dc935;return(_0x366da3?Math['trunc']:Math['round'])(_0x355162*_0x5d2416)/_0x5d2416;}function isLeapYear(_0x4fd907){return _0x4fd907%0x4==0x0&&(_0x4fd907%0x64!=0x0||_0x4fd907%0x190==0x0);}function daysInYear(_0x191165){return isLeapYear(_0x191165)?0x16e:0x16d;}function daysInMonth(_0x4a4337,_0x2051b0){const _0x53f149=floorMod(_0x2051b0-0x1,0xc)+0x1;return 0x2===_0x53f149?isLeapYear(_0x4a4337+(_0x2051b0-_0x53f149)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x53f149-0x1];}function objToLocalTS(_0x1ddcf7){let _0x2274d3=Date['UTC'](_0x1ddcf7['year'],_0x1ddcf7['month']-0x1,_0x1ddcf7['day'],_0x1ddcf7['hour'],_0x1ddcf7['minute'],_0x1ddcf7['second'],_0x1ddcf7['millisecond']);return _0x1ddcf7['year']<0x64&&_0x1ddcf7['year']>=0x0&&(_0x2274d3=new Date(_0x2274d3),_0x2274d3['setUTCFullYear'](_0x1ddcf7['year'],_0x1ddcf7['month']-0x1,_0x1ddcf7['day'])),+_0x2274d3;}function firstWeekOffset(_0x5c5f54,_0x2c9a09,_0x1cf18){return-isoWeekdayToLocal(dayOfWeek(_0x5c5f54,0x1,_0x2c9a09),_0x1cf18)+_0x2c9a09-0x1;}function weeksInWeekYear(_0x219a0c,_0x537d9e=0x4,_0x349311=0x1){const _0x3d8d1e=firstWeekOffset(_0x219a0c,_0x537d9e,_0x349311),_0x43eb17=firstWeekOffset(_0x219a0c+0x1,_0x537d9e,_0x349311);return(daysInYear(_0x219a0c)-_0x3d8d1e+_0x43eb17)/0x7;}function untruncateYear(_0x30d05b){return _0x30d05b>0x63?_0x30d05b:_0x30d05b>Settings['twoDigitCutoffYear']?0x76c+_0x30d05b:0x7d0+_0x30d05b;}function parseZoneInfo(_0x21eae1,_0x4ee9e4,_0x58fbf3,_0x25a895=null){const _0x48498b=new Date(_0x21eae1),_0x51f1a1={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x25a895&&(_0x51f1a1['timeZone']=_0x25a895);const _0x4fe9c3={'timeZoneName':_0x4ee9e4,..._0x51f1a1},_0x1e8336=new Intl['DateTimeFormat'](_0x58fbf3,_0x4fe9c3)['formatToParts'](_0x48498b)['find'](_0x14edc3=>'timezonename'===_0x14edc3['type']['toLowerCase']());return _0x1e8336?_0x1e8336['value']:null;}function signedOffset(_0xf2f685,_0x15b1d1){let _0x5be029=parseInt(_0xf2f685,0xa);Number['isNaN'](_0x5be029)&&(_0x5be029=0x0);const _0x5f35fa=parseInt(_0x15b1d1,0xa)||0x0;return 0x3c*_0x5be029+(_0x5be029<0x0||Object['is'](_0x5be029,-0x0)?-_0x5f35fa:_0x5f35fa);}function asNumber$2(_0x2daf6f){const _0x579efa=Number(_0x2daf6f);if('boolean'==typeof _0x2daf6f||''===_0x2daf6f||Number['isNaN'](_0x579efa))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x2daf6f);return _0x579efa;}function normalizeObject(_0x1363f1,_0x258990){const _0x38dd8a={};for(const _0x2d2545 in _0x1363f1)if(hasOwnProperty$d(_0x1363f1,_0x2d2545)){const _0x7582c3=_0x1363f1[_0x2d2545];if(null==_0x7582c3)continue;_0x38dd8a[_0x258990(_0x2d2545)]=asNumber$2(_0x7582c3);}return _0x38dd8a;}function formatOffset(_0x37cbcb,_0x1740dd){const _0x1bebc6=Math['trunc'](Math['abs'](_0x37cbcb/0x3c)),_0xc85d2b=Math['trunc'](Math['abs'](_0x37cbcb%0x3c)),_0x28e9f4=_0x37cbcb>=0x0?'+':'-';switch(_0x1740dd){case'short':return''+_0x28e9f4+padStart(_0x1bebc6,0x2)+':'+padStart(_0xc85d2b,0x2);case'narrow':return''+_0x28e9f4+_0x1bebc6+(_0xc85d2b>0x0?':'+_0xc85d2b:'');case'techie':return''+_0x28e9f4+padStart(_0x1bebc6,0x2)+padStart(_0xc85d2b,0x2);default:throw new RangeError('Value\x20format\x20'+_0x1740dd+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x30c642){return pick$2(_0x30c642,['hour','minute','second','millisecond']);}const monthsLong=['January','February','March','April','May','June','July','August','September','October','November','December'],monthsShort=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],monthsNarrow=['J','F','M','A','M','J','J','A','S','O','N','D'];function months(_0x306b70){switch(_0x306b70){case'narrow':return[...monthsNarrow];case'short':return[...monthsShort];case'long':return[...monthsLong];case'numeric':return['1','2','3','4','5','6','7','8','9','10','11','12'];case'2-digit':return['01','02','03','04','05','06','07','08','09','10','11','12'];default:return null;}}const weekdaysLong=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],weekdaysNarrow=['M','T','W','T','F','S','S'];function weekdays(_0x505e5f){switch(_0x505e5f){case'narrow':return[...weekdaysNarrow];case'short':return[...weekdaysShort];case'long':return[...weekdaysLong];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const meridiems=['AM','PM'],erasLong=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],erasNarrow=['B','A'];function eras(_0x3f0128){switch(_0x3f0128){case'narrow':return[...erasNarrow];case'short':return[...erasShort];case'long':return[...erasLong];default:return null;}}function meridiemForDateTime(_0x400625){return meridiems[_0x400625['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x160f4f,_0xb948b){return weekdays(_0xb948b)[_0x160f4f['weekday']-0x1];}function monthForDateTime(_0x3dae61,_0x2e4068){return months(_0x2e4068)[_0x3dae61['month']-0x1];}function eraForDateTime(_0x4a34f0,_0x5c52e5){return eras(_0x5c52e5)[_0x4a34f0['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x15bcd6,_0x7ccb7a,_0xa84014='always',_0x3af853=!0x1){const _0x87a390={'years':['year','yr.'],'quarters':['quarter','qtr.'],'months':['month','mo.'],'weeks':['week','wk.'],'days':['day','day','days'],'hours':['hour','hr.'],'minutes':['minute','min.'],'seconds':['second','sec.']},_0x1cfd69=-0x1===['hours','minutes','seconds']['indexOf'](_0x15bcd6);if('auto'===_0xa84014&&_0x1cfd69){const _0x4be293='days'===_0x15bcd6;switch(_0x7ccb7a){case 0x1:return _0x4be293?'tomorrow':'next\x20'+_0x87a390[_0x15bcd6][0x0];case-0x1:return _0x4be293?'yesterday':'last\x20'+_0x87a390[_0x15bcd6][0x0];case 0x0:return _0x4be293?'today':'this\x20'+_0x87a390[_0x15bcd6][0x0];}}const _0x1b2196=Object['is'](_0x7ccb7a,-0x0)||_0x7ccb7a<0x0,_0x3b2594=Math['abs'](_0x7ccb7a),_0x524c61=0x1===_0x3b2594,_0xd3daab=_0x87a390[_0x15bcd6],_0x2e5239=_0x3af853?_0x524c61?_0xd3daab[0x1]:_0xd3daab[0x2]||_0xd3daab[0x1]:_0x524c61?_0x87a390[_0x15bcd6][0x0]:_0x15bcd6;return _0x1b2196?_0x3b2594+'\x20'+_0x2e5239+'\x20ago':'in\x20'+_0x3b2594+'\x20'+_0x2e5239;}function stringifyTokens(_0x9b1382,_0x37268f){let _0x1b4708='';for(const _0x1875e9 of _0x9b1382)_0x1875e9['literal']?_0x1b4708+=_0x1875e9['val']:_0x1b4708+=_0x37268f(_0x1875e9['val']);return _0x1b4708;}const macroTokenToFormatOpts={'D':DATE_SHORT,'DD':DATE_MED,'DDD':DATE_FULL,'DDDD':DATE_HUGE,'t':TIME_SIMPLE,'tt':TIME_WITH_SECONDS,'ttt':TIME_WITH_SHORT_OFFSET,'tttt':TIME_WITH_LONG_OFFSET,'T':TIME_24_SIMPLE,'TT':TIME_24_WITH_SECONDS,'TTT':TIME_24_WITH_SHORT_OFFSET,'TTTT':TIME_24_WITH_LONG_OFFSET,'f':DATETIME_SHORT,'ff':DATETIME_MED,'fff':DATETIME_FULL,'ffff':DATETIME_HUGE,'F':DATETIME_SHORT_WITH_SECONDS,'FF':DATETIME_MED_WITH_SECONDS,'FFF':DATETIME_FULL_WITH_SECONDS,'FFFF':DATETIME_HUGE_WITH_SECONDS};class Formatter{static['create'](_0xfb0688,_0x12e929={}){return new Formatter(_0xfb0688,_0x12e929);}static['parseFormat'](_0x2747f2){let _0x49baad=null,_0x28e682='',_0x42fbce=!0x1;const _0x357cf7=[];for(let _0x1c282e=0x0;_0x1c282e<_0x2747f2['length'];_0x1c282e++){const _0x53fc35=_0x2747f2['charAt'](_0x1c282e);'\x27'===_0x53fc35?(_0x28e682['length']>0x0&&_0x357cf7['push']({'literal':_0x42fbce||/^\s+$/['test'](_0x28e682),'val':_0x28e682}),_0x49baad=null,_0x28e682='',_0x42fbce=!_0x42fbce):_0x42fbce||_0x53fc35===_0x49baad?_0x28e682+=_0x53fc35:(_0x28e682['length']>0x0&&_0x357cf7['push']({'literal':/^\s+$/['test'](_0x28e682),'val':_0x28e682}),_0x28e682=_0x53fc35,_0x49baad=_0x53fc35);}return _0x28e682['length']>0x0&&_0x357cf7['push']({'literal':_0x42fbce||/^\s+$/['test'](_0x28e682),'val':_0x28e682}),_0x357cf7;}static['macroTokenToFormatOpts'](_0x421e53){return macroTokenToFormatOpts[_0x421e53];}constructor(_0x13f1de,_0x3e63e5){this['opts']=_0x3e63e5,this['loc']=_0x13f1de,this['systemLoc']=null;}['formatWithSystemDefault'](_0x5022ba,_0x7e0fb7){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x5022ba,{...this['opts'],..._0x7e0fb7})['format']();}['dtFormatter'](_0x180232,_0x3c1e21={}){return this['loc']['dtFormatter'](_0x180232,{...this['opts'],..._0x3c1e21});}['formatDateTime'](_0x18af72,_0x3f0276){return this['dtFormatter'](_0x18af72,_0x3f0276)['format']();}['formatDateTimeParts'](_0x5454ba,_0x3cb0ae){return this['dtFormatter'](_0x5454ba,_0x3cb0ae)['formatToParts']();}['formatInterval'](_0x463327,_0x468fe2){return this['dtFormatter'](_0x463327['start'],_0x468fe2)['dtf']['formatRange'](_0x463327['start']['toJSDate'](),_0x463327['end']['toJSDate']());}['resolvedOptions'](_0x182b65,_0x4d67fd){return this['dtFormatter'](_0x182b65,_0x4d67fd)['resolvedOptions']();}['num'](_0x174652,_0x4e0748=0x0){if(this['opts']['forceSimple'])return padStart(_0x174652,_0x4e0748);const _0xaf13be={...this['opts']};return _0x4e0748>0x0&&(_0xaf13be['padTo']=_0x4e0748),this['loc']['numberFormatter'](_0xaf13be)['format'](_0x174652);}['formatDateTimeFromString'](_0x46fc39,_0x5aa73a){const _0x43a458='en'===this['loc']['listingMode'](),_0x19a001=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x43b15d=(_0x21cfca,_0x5730f3)=>this['loc']['extract'](_0x46fc39,_0x21cfca,_0x5730f3),_0xfdf6d=_0x13cd6f=>_0x46fc39['isOffsetFixed']&&0x0===_0x46fc39['offset']&&_0x13cd6f['allowZ']?'Z':_0x46fc39['isValid']?_0x46fc39['zone']['formatOffset'](_0x46fc39['ts'],_0x13cd6f['format']):'',_0x573614=(_0x39109a,_0x5be3c3)=>_0x43a458?monthForDateTime(_0x46fc39,_0x39109a):_0x43b15d(_0x5be3c3?{'month':_0x39109a}:{'month':_0x39109a,'day':'numeric'},'month'),_0x4cc475=(_0x13defd,_0x3913f8)=>_0x43a458?weekdayForDateTime(_0x46fc39,_0x13defd):_0x43b15d(_0x3913f8?{'weekday':_0x13defd}:{'weekday':_0x13defd,'month':'long','day':'numeric'},'weekday'),_0x2036f9=_0x4b85cf=>{const _0x9a4d93=Formatter['macroTokenToFormatOpts'](_0x4b85cf);return _0x9a4d93?this['formatWithSystemDefault'](_0x46fc39,_0x9a4d93):_0x4b85cf;},_0x1770f5=_0x55b8cb=>_0x43a458?eraForDateTime(_0x46fc39,_0x55b8cb):_0x43b15d({'era':_0x55b8cb},'era');return stringifyTokens(Formatter['parseFormat'](_0x5aa73a),_0x2347f9=>{switch(_0x2347f9){case'S':return this['num'](_0x46fc39['millisecond']);case'u':case'SSS':return this['num'](_0x46fc39['millisecond'],0x3);case's':return this['num'](_0x46fc39['second']);case'ss':return this['num'](_0x46fc39['second'],0x2);case'uu':return this['num'](Math['floor'](_0x46fc39['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x46fc39['millisecond']/0x64));case'm':return this['num'](_0x46fc39['minute']);case'mm':return this['num'](_0x46fc39['minute'],0x2);case'h':return this['num'](_0x46fc39['hour']%0xc==0x0?0xc:_0x46fc39['hour']%0xc);case'hh':return this['num'](_0x46fc39['hour']%0xc==0x0?0xc:_0x46fc39['hour']%0xc,0x2);case'H':return this['num'](_0x46fc39['hour']);case'HH':return this['num'](_0x46fc39['hour'],0x2);case'Z':return _0xfdf6d({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0xfdf6d({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0xfdf6d({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x46fc39['zone']['offsetName'](_0x46fc39['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x46fc39['zone']['offsetName'](_0x46fc39['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x46fc39['zoneName'];case'a':return _0x43a458?meridiemForDateTime(_0x46fc39):_0x43b15d({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0x19a001?_0x43b15d({'day':'numeric'},'day'):this['num'](_0x46fc39['day']);case'dd':return _0x19a001?_0x43b15d({'day':'2-digit'},'day'):this['num'](_0x46fc39['day'],0x2);case'c':case'E':return this['num'](_0x46fc39['weekday']);case'ccc':return _0x4cc475('short',!0x0);case'cccc':return _0x4cc475('long',!0x0);case'ccccc':return _0x4cc475('narrow',!0x0);case'EEE':return _0x4cc475('short',!0x1);case'EEEE':return _0x4cc475('long',!0x1);case'EEEEE':return _0x4cc475('narrow',!0x1);case'L':return _0x19a001?_0x43b15d({'month':'numeric','day':'numeric'},'month'):this['num'](_0x46fc39['month']);case'LL':return _0x19a001?_0x43b15d({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x46fc39['month'],0x2);case'LLL':return _0x573614('short',!0x0);case'LLLL':return _0x573614('long',!0x0);case'LLLLL':return _0x573614('narrow',!0x0);case'M':return _0x19a001?_0x43b15d({'month':'numeric'},'month'):this['num'](_0x46fc39['month']);case'MM':return _0x19a001?_0x43b15d({'month':'2-digit'},'month'):this['num'](_0x46fc39['month'],0x2);case'MMM':return _0x573614('short',!0x1);case'MMMM':return _0x573614('long',!0x1);case'MMMMM':return _0x573614('narrow',!0x1);case'y':return _0x19a001?_0x43b15d({'year':'numeric'},'year'):this['num'](_0x46fc39['year']);case'yy':return _0x19a001?_0x43b15d({'year':'2-digit'},'year'):this['num'](_0x46fc39['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x19a001?_0x43b15d({'year':'numeric'},'year'):this['num'](_0x46fc39['year'],0x4);case'yyyyyy':return _0x19a001?_0x43b15d({'year':'numeric'},'year'):this['num'](_0x46fc39['year'],0x6);case'G':return _0x1770f5('short');case'GG':return _0x1770f5('long');case'GGGGG':return _0x1770f5('narrow');case'kk':return this['num'](_0x46fc39['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x46fc39['weekYear'],0x4);case'W':return this['num'](_0x46fc39['weekNumber']);case'WW':return this['num'](_0x46fc39['weekNumber'],0x2);case'n':return this['num'](_0x46fc39['localWeekNumber']);case'nn':return this['num'](_0x46fc39['localWeekNumber'],0x2);case'ii':return this['num'](_0x46fc39['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x46fc39['localWeekYear'],0x4);case'o':return this['num'](_0x46fc39['ordinal']);case'ooo':return this['num'](_0x46fc39['ordinal'],0x3);case'q':return this['num'](_0x46fc39['quarter']);case'qq':return this['num'](_0x46fc39['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x46fc39['ts']/0x3e8));case'x':return this['num'](_0x46fc39['ts']);default:return _0x2036f9(_0x2347f9);}});}['formatDurationFromString'](_0xdadfaa,_0x5f5aa1){const _0x31254f=_0x3651c4=>{switch(_0x3651c4[0x0]){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':return'hour';case'd':return'day';case'w':return'week';case'M':return'month';case'y':return'year';default:return null;}},_0x17e059=Formatter['parseFormat'](_0x5f5aa1),_0x40765e=_0x17e059['reduce']((_0x12b68d,{literal:_0xd756ca,val:_0x2d1f88})=>_0xd756ca?_0x12b68d:_0x12b68d['concat'](_0x2d1f88),[]),_0x24157c=_0xdadfaa['shiftTo'](..._0x40765e['map'](_0x31254f)['filter'](t=>t));return stringifyTokens(_0x17e059,(_0x4864d9=>_0x23774f=>{const _0x3baddb=_0x31254f(_0x23774f);return _0x3baddb?this['num'](_0x4864d9['get'](_0x3baddb),_0x23774f['length']):_0x23774f;})(_0x24157c));}}const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(..._0x4a9ad7){const _0x5dd35b=_0x4a9ad7['reduce']((_0x40e3a1,_0x1d7851)=>_0x40e3a1+_0x1d7851['source'],'');return RegExp('^'+_0x5dd35b+'$');}function combineExtractors(..._0x4efb08){return _0x4d3760=>_0x4efb08['reduce'](([_0x406bbb,_0x39eccb,_0x28743f],_0x2a704a)=>{const [_0x271054,_0xa2c7df,_0x19b301]=_0x2a704a(_0x4d3760,_0x28743f);return[{..._0x406bbb,..._0x271054},_0xa2c7df||_0x39eccb,_0x19b301];},[{},null,0x1])['slice'](0x0,0x2);}function parse$1(_0xc23570,..._0x3339f6){if(null==_0xc23570)return[null,null];for(const [_0x16d490,_0x137a10]of _0x3339f6){const _0x47a5de=_0x16d490['exec'](_0xc23570);if(_0x47a5de)return _0x137a10(_0x47a5de);}return[null,null];}function simpleParse(..._0x5a6f98){return(_0x2aef7b,_0x1215f3)=>{const _0x56dffb={};let _0x5bbf0b;for(_0x5bbf0b=0x0;_0x5bbf0b<_0x5a6f98['length'];_0x5bbf0b++)_0x56dffb[_0x5a6f98[_0x5bbf0b]]=parseInteger(_0x2aef7b[_0x1215f3+_0x5bbf0b]);return[_0x56dffb,null,_0x1215f3+_0x5bbf0b];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+ianaRegex['source']+')\x5c])?)?',isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,isoTimeRegex=RegExp(''+isoTimeBaseRegex['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+isoTimeRegex['source']+')?'),isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/,isoOrdinalRegex=/(\d{4})-?(\d{3})/,extractISOWeekData=simpleParse('weekYear','weekNumber','weekDay'),extractISOOrdinalData=simpleParse('year','ordinal'),sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/,sqlTimeRegex=RegExp(isoTimeBaseRegex['source']+'\x20?(?:'+offsetRegex['source']+'|('+ianaRegex['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+sqlTimeRegex['source']+')?');function int(_0x1f3930,_0x4c60d3,_0x3ebd66){const _0x331d11=_0x1f3930[_0x4c60d3];return isUndefined(_0x331d11)?_0x3ebd66:parseInteger(_0x331d11);}function extractISOYmd(_0x44d1a2,_0x1f4f00){return[{'year':int(_0x44d1a2,_0x1f4f00),'month':int(_0x44d1a2,_0x1f4f00+0x1,0x1),'day':int(_0x44d1a2,_0x1f4f00+0x2,0x1)},null,_0x1f4f00+0x3];}function extractISOTime(_0x18c248,_0x2e7539){return[{'hours':int(_0x18c248,_0x2e7539,0x0),'minutes':int(_0x18c248,_0x2e7539+0x1,0x0),'seconds':int(_0x18c248,_0x2e7539+0x2,0x0),'milliseconds':parseMillis(_0x18c248[_0x2e7539+0x3])},null,_0x2e7539+0x4];}function extractISOOffset(_0x2ca369,_0x13b174){const _0x222ba0=!_0x2ca369[_0x13b174]&&!_0x2ca369[_0x13b174+0x1],_0x51ea5c=signedOffset(_0x2ca369[_0x13b174+0x1],_0x2ca369[_0x13b174+0x2]);return[{},_0x222ba0?null:FixedOffsetZone['instance'](_0x51ea5c),_0x13b174+0x3];}function extractIANAZone(_0x158d6e,_0x33de98){return[{},_0x158d6e[_0x33de98]?IANAZone['create'](_0x158d6e[_0x33de98]):null,_0x33de98+0x1];}const isoTimeOnly=RegExp('^T?'+isoTimeBaseRegex['source']+'$'),isoDuration=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function extractISODuration(_0x53418a){const [_0x5baaa6,_0x55da95,_0x1330e1,_0x20b5f8,_0x2b116b,_0x12ca81,_0x47fbf3,_0x27baa7,_0x423694]=_0x53418a,_0x347b35='-'===_0x5baaa6[0x0],_0x304aa0=_0x27baa7&&'-'===_0x27baa7[0x0],_0x1af703=(_0x16c11d,_0x632f78=!0x1)=>void 0x0!==_0x16c11d&&(_0x632f78||_0x16c11d&&_0x347b35)?-_0x16c11d:_0x16c11d;return[{'years':_0x1af703(parseFloating(_0x55da95)),'months':_0x1af703(parseFloating(_0x1330e1)),'weeks':_0x1af703(parseFloating(_0x20b5f8)),'days':_0x1af703(parseFloating(_0x2b116b)),'hours':_0x1af703(parseFloating(_0x12ca81)),'minutes':_0x1af703(parseFloating(_0x47fbf3)),'seconds':_0x1af703(parseFloating(_0x27baa7),'-0'===_0x27baa7),'milliseconds':_0x1af703(parseMillis(_0x423694),_0x304aa0)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x3f6a19,_0x4acdb7,_0x71a9d1,_0x59e411,_0x52ccb2,_0x58346a,_0x3b0939){const _0x4463e7={'year':0x2===_0x4acdb7['length']?untruncateYear(parseInteger(_0x4acdb7)):parseInteger(_0x4acdb7),'month':monthsShort['indexOf'](_0x71a9d1)+0x1,'day':parseInteger(_0x59e411),'hour':parseInteger(_0x52ccb2),'minute':parseInteger(_0x58346a)};return _0x3b0939&&(_0x4463e7['second']=parseInteger(_0x3b0939)),_0x3f6a19&&(_0x4463e7['weekday']=_0x3f6a19['length']>0x3?weekdaysLong['indexOf'](_0x3f6a19)+0x1:weekdaysShort['indexOf'](_0x3f6a19)+0x1),_0x4463e7;}const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(_0x334989){const [,_0x1c0340,_0x3ae1ee,_0xa80c32,_0x303bf1,_0x967309,_0x56af33,_0x20cdc0,_0x3d3eca,_0x56d7a8,_0x2600af,_0x39afd7]=_0x334989,_0xb73b39=fromStrings(_0x1c0340,_0x303bf1,_0xa80c32,_0x3ae1ee,_0x967309,_0x56af33,_0x20cdc0);let _0x97fad0;return _0x97fad0=_0x3d3eca?obsOffsets[_0x3d3eca]:_0x56d7a8?0x0:signedOffset(_0x2600af,_0x39afd7),[_0xb73b39,new FixedOffsetZone(_0x97fad0)];}function preprocessRFC2822(_0x258284){return _0x258284['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(_0x20b7e6){const [,_0xdcf25,_0x1ec85d,_0x17a9f1,_0x480563,_0x2a76d4,_0x1e7836,_0x384148]=_0x20b7e6;return[fromStrings(_0xdcf25,_0x480563,_0x17a9f1,_0x1ec85d,_0x2a76d4,_0x1e7836,_0x384148),FixedOffsetZone['utcInstance']];}function extractASCII(_0x43839f){const [,_0x3f222d,_0x27104a,_0xc951f,_0x244cc9,_0x41e08e,_0x1bbafc,_0xb2f439]=_0x43839f;return[fromStrings(_0x3f222d,_0xb2f439,_0x27104a,_0xc951f,_0x244cc9,_0x41e08e,_0x1bbafc),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(_0x526ab3){return parse$1(_0x526ab3,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x38f25d){return parse$1(preprocessRFC2822(_0x38f25d),[rfc2822,extractRFC2822]);}function parseHTTPDate(_0x46defa){return parse$1(_0x46defa,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII]);}function parseISODuration(_0x342ecc){return parse$1(_0x342ecc,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(_0x24983b){return parse$1(_0x24983b,[isoTimeOnly,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(_0x384439){return parse$1(_0x384439,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone]);}const INVALID$2='Invalid\x20Duration',lowOrderMatrix={'weeks':{'days':0x7,'hours':0xa8,'minutes':0x2760,'seconds':0x93a80,'milliseconds':0x240c8400},'days':{'hours':0x18,'minutes':0x5a0,'seconds':0x15180,'milliseconds':0x5265c00},'hours':{'minutes':0x3c,'seconds':0xe10,'milliseconds':0x36ee80},'minutes':{'seconds':0x3c,'milliseconds':0xea60},'seconds':{'milliseconds':0x3e8}},casualMatrix={'years':{'quarters':0x4,'months':0xc,'weeks':0x34,'days':0x16d,'hours':0x2238,'minutes':0x80520,'seconds':0x1e13380,'milliseconds':0x757b12c00},'quarters':{'months':0x3,'weeks':0xd,'days':0x5b,'hours':0x888,'minutes':0x1ffe0,'seconds':0x77f880,'milliseconds':0x1d4a2b400},'months':{'weeks':0x4,'days':0x1e,'hours':0x2d0,'minutes':0xa8c0,'seconds':0x278d00,'milliseconds':0x9a7ec800},...lowOrderMatrix},daysInYearAccurate=365.2425,daysInMonthAccurate=30.436875,accurateMatrix={'years':{'quarters':0x4,'months':0xc,'weeks':daysInYearAccurate/0x7,'days':daysInYearAccurate,'hours':0x18*daysInYearAccurate,'minutes':0x18*daysInYearAccurate*0x3c,'seconds':0x18*daysInYearAccurate*0x3c*0x3c,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':daysInYearAccurate/0x1c,'days':daysInYearAccurate/0x4,'hours':0x18*daysInYearAccurate/0x4,'minutes':0x18*daysInYearAccurate*0x3c/0x4,'seconds':0x18*daysInYearAccurate*0x3c*0x3c/0x4,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8/0x4},'months':{'weeks':daysInMonthAccurate/0x7,'days':daysInMonthAccurate,'hours':0x18*daysInMonthAccurate,'minutes':0x18*daysInMonthAccurate*0x3c,'seconds':0x18*daysInMonthAccurate*0x3c*0x3c,'milliseconds':0x18*daysInMonthAccurate*0x3c*0x3c*0x3e8},...lowOrderMatrix},orderedUnits$1=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],reverseUnits=orderedUnits$1['slice'](0x0)['reverse']();function clone$1(_0x562faf,_0x1df845,_0x4ce643=!0x1){const _0xe60ac3={'values':_0x4ce643?_0x1df845['values']:{..._0x562faf['values'],..._0x1df845['values']||{}},'loc':_0x562faf['loc']['clone'](_0x1df845['loc']),'conversionAccuracy':_0x1df845['conversionAccuracy']||_0x562faf['conversionAccuracy'],'matrix':_0x1df845['matrix']||_0x562faf['matrix']};return new Duration(_0xe60ac3);}function durationToMillis(_0x50cba6,_0x556c20){let _0x1da2ed=_0x556c20['milliseconds']??0x0;for(const _0x390c1b of reverseUnits['slice'](0x1))_0x556c20[_0x390c1b]&&(_0x1da2ed+=_0x556c20[_0x390c1b]*_0x50cba6[_0x390c1b]['milliseconds']);return _0x1da2ed;}function normalizeValues(_0x36a8fe,_0x193cf0){const _0x5d71f0=durationToMillis(_0x36a8fe,_0x193cf0)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x22de11,_0x46f833)=>{if(isUndefined(_0x193cf0[_0x46f833]))return _0x22de11;if(_0x22de11){const _0x5241d6=_0x193cf0[_0x22de11]*_0x5d71f0,_0x498fa6=_0x36a8fe[_0x46f833][_0x22de11],_0x3c071a=Math['floor'](_0x5241d6/_0x498fa6);_0x193cf0[_0x46f833]+=_0x3c071a*_0x5d71f0,_0x193cf0[_0x22de11]-=_0x3c071a*_0x498fa6*_0x5d71f0;}return _0x46f833;},null),orderedUnits$1['reduce']((_0x1f8214,_0x3ee433)=>{if(isUndefined(_0x193cf0[_0x3ee433]))return _0x1f8214;if(_0x1f8214){const _0x204a0f=_0x193cf0[_0x1f8214]%0x1;_0x193cf0[_0x1f8214]-=_0x204a0f,_0x193cf0[_0x3ee433]+=_0x204a0f*_0x36a8fe[_0x1f8214][_0x3ee433];}return _0x3ee433;},null);}function removeZeroes(_0x4dc9a8){const _0x5af441={};for(const [_0x3fa4be,_0x3fdce7]of Object['entries'](_0x4dc9a8))0x0!==_0x3fdce7&&(_0x5af441[_0x3fa4be]=_0x3fdce7);return _0x5af441;}class Duration{constructor(_0x1b428c){const _0x2d872a='longterm'===_0x1b428c['conversionAccuracy']||!0x1;let _0xaa7b1a=_0x2d872a?accurateMatrix:casualMatrix;_0x1b428c['matrix']&&(_0xaa7b1a=_0x1b428c['matrix']),this['values']=_0x1b428c['values'],this['loc']=_0x1b428c['loc']||Locale['create'](),this['conversionAccuracy']=_0x2d872a?'longterm':'casual',this['invalid']=_0x1b428c['invalid']||null,this['matrix']=_0xaa7b1a,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x1576a1,_0x543795){return Duration['fromObject']({'milliseconds':_0x1576a1},_0x543795);}static['fromObject'](_0x567045,_0x5436d9={}){if(null==_0x567045||'object'!=typeof _0x567045)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x567045?'null':typeof _0x567045));return new Duration({'values':normalizeObject(_0x567045,Duration['normalizeUnit']),'loc':Locale['fromObject'](_0x5436d9),'conversionAccuracy':_0x5436d9['conversionAccuracy'],'matrix':_0x5436d9['matrix']});}static['fromDurationLike'](_0x35a126){if(isNumber(_0x35a126))return Duration['fromMillis'](_0x35a126);if(Duration['isDuration'](_0x35a126))return _0x35a126;if('object'==typeof _0x35a126)return Duration['fromObject'](_0x35a126);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x35a126+'\x20of\x20type\x20'+typeof _0x35a126);}static['fromISO'](_0x393403,_0x2317c6){const [_0x5ab4af]=parseISODuration(_0x393403);return _0x5ab4af?Duration['fromObject'](_0x5ab4af,_0x2317c6):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x393403+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x4f2d23,_0x2f1b60){const [_0x427128]=parseISOTimeOnly(_0x4f2d23);return _0x427128?Duration['fromObject'](_0x427128,_0x2f1b60):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x4f2d23+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x3b262e,_0x24bfe7=null){if(!_0x3b262e)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x42b4c6=_0x3b262e instanceof Invalid?_0x3b262e:new Invalid(_0x3b262e,_0x24bfe7);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x42b4c6);return new Duration({'invalid':_0x42b4c6});}static['normalizeUnit'](_0x1ebbad){const _0x27d0d9={'year':'years','years':'years','quarter':'quarters','quarters':'quarters','month':'months','months':'months','week':'weeks','weeks':'weeks','day':'days','days':'days','hour':'hours','hours':'hours','minute':'minutes','minutes':'minutes','second':'seconds','seconds':'seconds','millisecond':'milliseconds','milliseconds':'milliseconds'}[_0x1ebbad?_0x1ebbad['toLowerCase']():_0x1ebbad];if(!_0x27d0d9)throw new InvalidUnitError(_0x1ebbad);return _0x27d0d9;}static['isDuration'](_0x59e4f9){return _0x59e4f9&&_0x59e4f9['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x1ea126,_0x274527={}){const _0x3695e5={..._0x274527,'floor':!0x1!==_0x274527['round']&&!0x1!==_0x274527['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x3695e5)['formatDurationFromString'](this,_0x1ea126):INVALID$2;}['toHuman'](_0x4225fe={}){if(!this['isValid'])return INVALID$2;const _0x38e131=orderedUnits$1['map'](_0x1aa80e=>{const _0x2d2cda=this['values'][_0x1aa80e];return isUndefined(_0x2d2cda)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x4225fe,'unit':_0x1aa80e['slice'](0x0,-0x1)})['format'](_0x2d2cda);})['filter'](_0x933782=>_0x933782);return this['loc']['listFormatter']({'type':'conjunction','style':_0x4225fe['listStyle']||'narrow',..._0x4225fe})['format'](_0x38e131);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x258a36='P';return 0x0!==this['years']&&(_0x258a36+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x258a36+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x258a36+=this['weeks']+'W'),0x0!==this['days']&&(_0x258a36+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x258a36+='T'),0x0!==this['hours']&&(_0x258a36+=this['hours']+'H'),0x0!==this['minutes']&&(_0x258a36+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x258a36+=roundTo(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x258a36&&(_0x258a36+='T0S'),_0x258a36;}['toISOTime'](_0x23fa05={}){if(!this['isValid'])return null;const _0x211f19=this['toMillis']();if(_0x211f19<0x0||_0x211f19>=0x5265c00)return null;return _0x23fa05={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x23fa05,'includeOffset':!0x1},DateTime['fromMillis'](_0x211f19,{'zone':'UTC'})['toISOTime'](_0x23fa05);}['toJSON'](){return this['toISO']();}['toString'](){return this['toISO']();}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Duration\x20{\x20values:\x20'+JSON['stringify'](this['values'])+'\x20}':'Duration\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['toMillis'](){return this['isValid']?durationToMillis(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0xf2ab5c){if(!this['isValid'])return this;const _0x5ddaa8=Duration['fromDurationLike'](_0xf2ab5c),_0x22ff7c={};for(const _0x468bb3 of orderedUnits$1)(hasOwnProperty$d(_0x5ddaa8['values'],_0x468bb3)||hasOwnProperty$d(this['values'],_0x468bb3))&&(_0x22ff7c[_0x468bb3]=_0x5ddaa8['get'](_0x468bb3)+this['get'](_0x468bb3));return clone$1(this,{'values':_0x22ff7c},!0x0);}['minus'](_0x4ca3b6){if(!this['isValid'])return this;const _0x1552c0=Duration['fromDurationLike'](_0x4ca3b6);return this['plus'](_0x1552c0['negate']());}['mapUnits'](_0xe249d7){if(!this['isValid'])return this;const _0x15df7a={};for(const _0x2904f1 of Object['keys'](this['values']))_0x15df7a[_0x2904f1]=asNumber$2(_0xe249d7(this['values'][_0x2904f1],_0x2904f1));return clone$1(this,{'values':_0x15df7a},!0x0);}['get'](_0x34af70){return this[Duration['normalizeUnit'](_0x34af70)];}['set'](_0x1f1d3f){if(!this['isValid'])return this;return clone$1(this,{'values':{...this['values'],...normalizeObject(_0x1f1d3f,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x36aef0,numberingSystem:_0x806b5b,conversionAccuracy:_0x3c7e0d,matrix:_0x3200ea}={}){return clone$1(this,{'loc':this['loc']['clone']({'locale':_0x36aef0,'numberingSystem':_0x806b5b}),'matrix':_0x3200ea,'conversionAccuracy':_0x3c7e0d});}['as'](_0x3aff60){return this['isValid']?this['shiftTo'](_0x3aff60)['get'](_0x3aff60):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x5783a4=this['toObject']();return normalizeValues(this['matrix'],_0x5783a4),clone$1(this,{'values':_0x5783a4},!0x0);}['rescale'](){if(!this['isValid'])return this;return clone$1(this,{'values':removeZeroes(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0xec2829){if(!this['isValid'])return this;if(0x0===_0xec2829['length'])return this;_0xec2829=_0xec2829['map'](_0x1bde14=>Duration['normalizeUnit'](_0x1bde14));const _0x5b962c={},_0x397698={},_0x433591=this['toObject']();let _0xa8b9b5;for(const _0x4edf20 of orderedUnits$1)if(_0xec2829['indexOf'](_0x4edf20)>=0x0){_0xa8b9b5=_0x4edf20;let _0x1ccbea=0x0;for(const _0x4bce33 in _0x397698)_0x1ccbea+=this['matrix'][_0x4bce33][_0x4edf20]*_0x397698[_0x4bce33],_0x397698[_0x4bce33]=0x0;isNumber(_0x433591[_0x4edf20])&&(_0x1ccbea+=_0x433591[_0x4edf20]);const _0x55199a=Math['trunc'](_0x1ccbea);_0x5b962c[_0x4edf20]=_0x55199a,_0x397698[_0x4edf20]=(0x3e8*_0x1ccbea-0x3e8*_0x55199a)/0x3e8;}else isNumber(_0x433591[_0x4edf20])&&(_0x397698[_0x4edf20]=_0x433591[_0x4edf20]);for(const _0x52c2ee in _0x397698)0x0!==_0x397698[_0x52c2ee]&&(_0x5b962c[_0xa8b9b5]+=_0x52c2ee===_0xa8b9b5?_0x397698[_0x52c2ee]:_0x397698[_0x52c2ee]/this['matrix'][_0xa8b9b5][_0x52c2ee]);return normalizeValues(this['matrix'],_0x5b962c),clone$1(this,{'values':_0x5b962c},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x2c150f={};for(const _0x50cfbf of Object['keys'](this['values']))_0x2c150f[_0x50cfbf]=0x0===this['values'][_0x50cfbf]?0x0:-this['values'][_0x50cfbf];return clone$1(this,{'values':_0x2c150f},!0x0);}get['years'](){return this['isValid']?this['values']['years']||0x0:NaN;}get['quarters'](){return this['isValid']?this['values']['quarters']||0x0:NaN;}get['months'](){return this['isValid']?this['values']['months']||0x0:NaN;}get['weeks'](){return this['isValid']?this['values']['weeks']||0x0:NaN;}get['days'](){return this['isValid']?this['values']['days']||0x0:NaN;}get['hours'](){return this['isValid']?this['values']['hours']||0x0:NaN;}get['minutes'](){return this['isValid']?this['values']['minutes']||0x0:NaN;}get['seconds'](){return this['isValid']?this['values']['seconds']||0x0:NaN;}get['milliseconds'](){return this['isValid']?this['values']['milliseconds']||0x0:NaN;}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}['equals'](_0x1219e8){if(!this['isValid']||!_0x1219e8['isValid'])return!0x1;if(!this['loc']['equals'](_0x1219e8['loc']))return!0x1;for(const _0x5d5b44 of orderedUnits$1)if(_0x585734=this['values'][_0x5d5b44],_0x179b6b=_0x1219e8['values'][_0x5d5b44],!(void 0x0===_0x585734||0x0===_0x585734?void 0x0===_0x179b6b||0x0===_0x179b6b:_0x585734===_0x179b6b))return!0x1;var _0x585734,_0x179b6b;return!0x0;}}const INVALID$1='Invalid\x20Interval';function validateStartEnd(_0x2f764d,_0x19d4be){return _0x2f764d&&_0x2f764d['isValid']?_0x19d4be&&_0x19d4be['isValid']?_0x19d4be<_0x2f764d?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x2f764d['toISO']()+'\x20and\x20end='+_0x19d4be['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x2a9e37){this['s']=_0x2a9e37['start'],this['e']=_0x2a9e37['end'],this['invalid']=_0x2a9e37['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x26fccf,_0xd9001f=null){if(!_0x26fccf)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x1a5407=_0x26fccf instanceof Invalid?_0x26fccf:new Invalid(_0x26fccf,_0xd9001f);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x1a5407);return new Interval({'invalid':_0x1a5407});}static['fromDateTimes'](_0x563605,_0x1f5699){const _0x4f3c61=friendlyDateTime(_0x563605),_0x5a3304=friendlyDateTime(_0x1f5699),_0x3c462b=validateStartEnd(_0x4f3c61,_0x5a3304);return null==_0x3c462b?new Interval({'start':_0x4f3c61,'end':_0x5a3304}):_0x3c462b;}static['after'](_0x40546c,_0x20111d){const _0x4cd6c9=Duration['fromDurationLike'](_0x20111d),_0x2d9d5c=friendlyDateTime(_0x40546c);return Interval['fromDateTimes'](_0x2d9d5c,_0x2d9d5c['plus'](_0x4cd6c9));}static['before'](_0x426d0c,_0x25509a){const _0xbcd8b=Duration['fromDurationLike'](_0x25509a),_0x170b26=friendlyDateTime(_0x426d0c);return Interval['fromDateTimes'](_0x170b26['minus'](_0xbcd8b),_0x170b26);}static['fromISO'](_0x306686,_0x2a665b){const [_0x127822,_0x526a7a]=(_0x306686||'')['split']('/',0x2);if(_0x127822&&_0x526a7a){let _0x1bade8,_0xd5228c,_0x4617e7,_0xbb79a1;try{_0x1bade8=DateTime['fromISO'](_0x127822,_0x2a665b),_0xd5228c=_0x1bade8['isValid'];}catch(_0x594831){_0xd5228c=!0x1;}try{_0x4617e7=DateTime['fromISO'](_0x526a7a,_0x2a665b),_0xbb79a1=_0x4617e7['isValid'];}catch(_0x280004){_0xbb79a1=!0x1;}if(_0xd5228c&&_0xbb79a1)return Interval['fromDateTimes'](_0x1bade8,_0x4617e7);if(_0xd5228c){const _0xf9683b=Duration['fromISO'](_0x526a7a,_0x2a665b);if(_0xf9683b['isValid'])return Interval['after'](_0x1bade8,_0xf9683b);}else{if(_0xbb79a1){const _0xa3160b=Duration['fromISO'](_0x127822,_0x2a665b);if(_0xa3160b['isValid'])return Interval['before'](_0x4617e7,_0xa3160b);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x306686+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x26a5b7){return _0x26a5b7&&_0x26a5b7['isLuxonInterval']||!0x1;}get['start'](){return this['isValid']?this['s']:null;}get['end'](){return this['isValid']?this['e']:null;}get['isValid'](){return null===this['invalidReason'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}['length'](_0x2028ea='milliseconds'){return this['isValid']?this['toDuration'](_0x2028ea)['get'](_0x2028ea):NaN;}['count'](_0x3f4884='milliseconds',_0x475898){if(!this['isValid'])return NaN;const _0x48e881=this['start']['startOf'](_0x3f4884,_0x475898);let _0x285d02;return _0x285d02=_0x475898?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x48e881['locale']}):this['end'],_0x285d02=_0x285d02['startOf'](_0x3f4884,_0x475898),Math['floor'](_0x285d02['diff'](_0x48e881,_0x3f4884)['get'](_0x3f4884))+(_0x285d02['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x2031b5){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x2031b5));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0xba5e65){return!!this['isValid']&&this['s']>_0xba5e65;}['isBefore'](_0x3cd6ab){return!!this['isValid']&&this['e']<=_0x3cd6ab;}['contains'](_0x63b571){return!!this['isValid']&&(this['s']<=_0x63b571&&this['e']>_0x63b571);}['set']({start:_0x183804,end:_0x18864d}={}){return this['isValid']?Interval['fromDateTimes'](_0x183804||this['s'],_0x18864d||this['e']):this;}['splitAt'](..._0x5d5bac){if(!this['isValid'])return[];const _0x4ce47a=_0x5d5bac['map'](friendlyDateTime)['filter'](_0x20ae75=>this['contains'](_0x20ae75))['sort']((_0x31ca79,_0x3d1658)=>_0x31ca79['toMillis']()-_0x3d1658['toMillis']()),_0x306776=[];let {s:_0x190762}=this,_0x15459c=0x0;for(;_0x190762<this['e'];){const _0x5811ee=_0x4ce47a[_0x15459c]||this['e'],_0x5a6492=+_0x5811ee>+this['e']?this['e']:_0x5811ee;_0x306776['push'](Interval['fromDateTimes'](_0x190762,_0x5a6492)),_0x190762=_0x5a6492,_0x15459c+=0x1;}return _0x306776;}['splitBy'](_0x2c2020){const _0x497a46=Duration['fromDurationLike'](_0x2c2020);if(!this['isValid']||!_0x497a46['isValid']||0x0===_0x497a46['as']('milliseconds'))return[];let _0x41c0ed,{s:_0x1c3940}=this,_0x5a998d=0x1;const _0x29117d=[];for(;_0x1c3940<this['e'];){const _0x325a9b=this['start']['plus'](_0x497a46['mapUnits'](_0x4417b8=>_0x4417b8*_0x5a998d));_0x41c0ed=+_0x325a9b>+this['e']?this['e']:_0x325a9b,_0x29117d['push'](Interval['fromDateTimes'](_0x1c3940,_0x41c0ed)),_0x1c3940=_0x41c0ed,_0x5a998d+=0x1;}return _0x29117d;}['divideEqually'](_0x2e8b6f){return this['isValid']?this['splitBy'](this['length']()/_0x2e8b6f)['slice'](0x0,_0x2e8b6f):[];}['overlaps'](_0x254d7c){return this['e']>_0x254d7c['s']&&this['s']<_0x254d7c['e'];}['abutsStart'](_0x24a962){return!!this['isValid']&&+this['e']==+_0x24a962['s'];}['abutsEnd'](_0xce1461){return!!this['isValid']&&+_0xce1461['e']==+this['s'];}['engulfs'](_0x2b13d0){return!!this['isValid']&&(this['s']<=_0x2b13d0['s']&&this['e']>=_0x2b13d0['e']);}['equals'](_0x4317cd){return!(!this['isValid']||!_0x4317cd['isValid'])&&(this['s']['equals'](_0x4317cd['s'])&&this['e']['equals'](_0x4317cd['e']));}['intersection'](_0x248378){if(!this['isValid'])return this;const _0x2b81fa=this['s']>_0x248378['s']?this['s']:_0x248378['s'],_0x49c8c1=this['e']<_0x248378['e']?this['e']:_0x248378['e'];return _0x2b81fa>=_0x49c8c1?null:Interval['fromDateTimes'](_0x2b81fa,_0x49c8c1);}['union'](_0x317956){if(!this['isValid'])return this;const _0xbe406b=this['s']<_0x317956['s']?this['s']:_0x317956['s'],_0x307346=this['e']>_0x317956['e']?this['e']:_0x317956['e'];return Interval['fromDateTimes'](_0xbe406b,_0x307346);}static['merge'](_0x4f6359){const [_0x51bf83,_0x17fd4c]=_0x4f6359['sort']((_0x20449c,_0x4336a3)=>_0x20449c['s']-_0x4336a3['s'])['reduce'](([_0x587911,_0x51e675],_0x40f600)=>_0x51e675?_0x51e675['overlaps'](_0x40f600)||_0x51e675['abutsStart'](_0x40f600)?[_0x587911,_0x51e675['union'](_0x40f600)]:[_0x587911['concat']([_0x51e675]),_0x40f600]:[_0x587911,_0x40f600],[[],null]);return _0x17fd4c&&_0x51bf83['push'](_0x17fd4c),_0x51bf83;}static['xor'](_0x4062c2){let _0x48339f=null,_0x57f72b=0x0;const _0x28f319=[],_0x3c012f=_0x4062c2['map'](_0xd60589=>[{'time':_0xd60589['s'],'type':'s'},{'time':_0xd60589['e'],'type':'e'}]),_0xadd84d=Array['prototype']['concat'](..._0x3c012f)['sort']((_0x5ce1cd,_0x287845)=>_0x5ce1cd['time']-_0x287845['time']);for(const _0x32b5ed of _0xadd84d)_0x57f72b+='s'===_0x32b5ed['type']?0x1:-0x1,0x1===_0x57f72b?_0x48339f=_0x32b5ed['time']:(_0x48339f&&+_0x48339f!=+_0x32b5ed['time']&&_0x28f319['push'](Interval['fromDateTimes'](_0x48339f,_0x32b5ed['time'])),_0x48339f=null);return Interval['merge'](_0x28f319);}['difference'](..._0x3db5c5){return Interval['xor']([this]['concat'](_0x3db5c5))['map'](_0x21c9ee=>this['intersection'](_0x21c9ee))['filter'](_0x5d419e=>_0x5d419e&&!_0x5d419e['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':INVALID$1;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Interval\x20{\x20start:\x20'+this['s']['toISO']()+',\x20end:\x20'+this['e']['toISO']()+'\x20}':'Interval\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['toLocaleString'](_0x4ea430=DATE_SHORT,_0x2839a8={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x2839a8),_0x4ea430)['formatInterval'](this):INVALID$1;}['toISO'](_0x7e7c43){return this['isValid']?this['s']['toISO'](_0x7e7c43)+'/'+this['e']['toISO'](_0x7e7c43):INVALID$1;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():INVALID$1;}['toISOTime'](_0x503127){return this['isValid']?this['s']['toISOTime'](_0x503127)+'/'+this['e']['toISOTime'](_0x503127):INVALID$1;}['toFormat'](_0x92d38b,{separator:_0x38106c='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x92d38b)+_0x38106c+this['e']['toFormat'](_0x92d38b):INVALID$1;}['toDuration'](_0x95a131,_0x468a00){return this['isValid']?this['e']['diff'](this['s'],_0x95a131,_0x468a00):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x3a827d){return Interval['fromDateTimes'](_0x3a827d(this['s']),_0x3a827d(this['e']));}}class Info{static['hasDST'](_0x64004=Settings['defaultZone']){const _0x55e5e1=DateTime['now']()['setZone'](_0x64004)['set']({'month':0xc});return!_0x64004['isUniversal']&&_0x55e5e1['offset']!==_0x55e5e1['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x245149){return IANAZone['isValidZone'](_0x245149);}static['normalizeZone'](_0x5b028a){return normalizeZone(_0x5b028a,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x49bc9d=null,locObj:_0xa7ef4d=null}={}){return(_0xa7ef4d||Locale['create'](_0x49bc9d))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x13856f=null,locObj:_0x1a2bd8=null}={}){return(_0x1a2bd8||Locale['create'](_0x13856f))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x402417=null,locObj:_0xe05759=null}={}){return(_0xe05759||Locale['create'](_0x402417))['getWeekendDays']()['slice']();}static['months'](_0x277148='long',{locale:_0x5a74af=null,numberingSystem:_0x181952=null,locObj:_0x4e8d06=null,outputCalendar:_0x4d6a27='gregory'}={}){return(_0x4e8d06||Locale['create'](_0x5a74af,_0x181952,_0x4d6a27))['months'](_0x277148);}static['monthsFormat'](_0x509ee5='long',{locale:_0x56f95b=null,numberingSystem:_0x125f06=null,locObj:_0x30afa3=null,outputCalendar:_0x4e7e6f='gregory'}={}){return(_0x30afa3||Locale['create'](_0x56f95b,_0x125f06,_0x4e7e6f))['months'](_0x509ee5,!0x0);}static['weekdays'](_0x3f6c1b='long',{locale:_0x26df94=null,numberingSystem:_0x5e7dbd=null,locObj:_0xeeee8e=null}={}){return(_0xeeee8e||Locale['create'](_0x26df94,_0x5e7dbd,null))['weekdays'](_0x3f6c1b);}static['weekdaysFormat'](_0x2ac905='long',{locale:_0x1178a6=null,numberingSystem:_0x426fe7=null,locObj:_0x138fbf=null}={}){return(_0x138fbf||Locale['create'](_0x1178a6,_0x426fe7,null))['weekdays'](_0x2ac905,!0x0);}static['meridiems']({locale:_0x11a104=null}={}){return Locale['create'](_0x11a104)['meridiems']();}static['eras'](_0x4f0f18='short',{locale:_0x3ce2ad=null}={}){return Locale['create'](_0x3ce2ad,null,'gregory')['eras'](_0x4f0f18);}static['features'](){return{'relative':hasRelative(),'localeWeek':hasLocaleWeekInfo()};}}function dayDiff(_0x56ff9a,_0x196566){const _0x4e6425=_0x15ceb8=>_0x15ceb8['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x2f25b2=_0x4e6425(_0x196566)-_0x4e6425(_0x56ff9a);return Math['floor'](Duration['fromMillis'](_0x2f25b2)['as']('days'));}function highOrderDiffs(_0x54c922,_0x2ea863,_0x341984){const _0x4a2793=[['years',(_0x4c251c,_0x412831)=>_0x412831['year']-_0x4c251c['year']],['quarters',(_0x5e9714,_0x665eab)=>_0x665eab['quarter']-_0x5e9714['quarter']+0x4*(_0x665eab['year']-_0x5e9714['year'])],['months',(_0x33a0df,_0x5c667b)=>_0x5c667b['month']-_0x33a0df['month']+0xc*(_0x5c667b['year']-_0x33a0df['year'])],['weeks',(_0x54b3af,_0x5b9827)=>{const _0x12878e=dayDiff(_0x54b3af,_0x5b9827);return(_0x12878e-_0x12878e%0x7)/0x7;}],['days',dayDiff]],_0x376df4={},_0x16cd38=_0x54c922;let _0x1f846e,_0x428a39;for(const [_0x10b64a,_0x58f271]of _0x4a2793)_0x341984['indexOf'](_0x10b64a)>=0x0&&(_0x1f846e=_0x10b64a,_0x376df4[_0x10b64a]=_0x58f271(_0x54c922,_0x2ea863),_0x428a39=_0x16cd38['plus'](_0x376df4),_0x428a39>_0x2ea863?(_0x376df4[_0x10b64a]--,(_0x54c922=_0x16cd38['plus'](_0x376df4))>_0x2ea863&&(_0x428a39=_0x54c922,_0x376df4[_0x10b64a]--,_0x54c922=_0x16cd38['plus'](_0x376df4))):_0x54c922=_0x428a39);return[_0x54c922,_0x376df4,_0x428a39,_0x1f846e];}function diff(_0x283671,_0x5dc5ee,_0x365a85,_0x5aac81){let [_0x146150,_0x1d22da,_0x53d0e7,_0x525f72]=highOrderDiffs(_0x283671,_0x5dc5ee,_0x365a85);const _0x54b7fc=_0x5dc5ee-_0x146150,_0x2e0e44=_0x365a85['filter'](_0x3975e7=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x3975e7)>=0x0);0x0===_0x2e0e44['length']&&(_0x53d0e7<_0x5dc5ee&&(_0x53d0e7=_0x146150['plus']({[_0x525f72]:0x1})),_0x53d0e7!==_0x146150&&(_0x1d22da[_0x525f72]=(_0x1d22da[_0x525f72]||0x0)+_0x54b7fc/(_0x53d0e7-_0x146150)));const _0x37fbaa=Duration['fromObject'](_0x1d22da,_0x5aac81);return _0x2e0e44['length']>0x0?Duration['fromMillis'](_0x54b7fc,_0x5aac81)['shiftTo'](..._0x2e0e44)['plus'](_0x37fbaa):_0x37fbaa;}const MISSING_FTP='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x540a6d,_0x4fdbed=_0xfd6b92=>_0xfd6b92){return{'regex':_0x540a6d,'deser':([_0x2d021a])=>_0x4fdbed(parseDigits(_0x2d021a))};}const NBSP=String['fromCharCode'](0xa0),spaceOrNBSP='[\x20'+NBSP+']',spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,'g');function fixListRegex(_0x52d6ad){return _0x52d6ad['replace'](/\./g,'\x5c.?')['replace'](spaceOrNBSPRegExp,spaceOrNBSP);}function stripInsensitivities(_0x5a1077){return _0x5a1077['replace'](/\./g,'')['replace'](spaceOrNBSPRegExp,'\x20')['toLowerCase']();}function oneOf(_0x119328,_0x351c80){return null===_0x119328?null:{'regex':RegExp(_0x119328['map'](fixListRegex)['join']('|')),'deser':([_0x516e6e])=>_0x119328['findIndex'](_0x55f674=>stripInsensitivities(_0x516e6e)===stripInsensitivities(_0x55f674))+_0x351c80};}function offset(_0x2b8109,_0x33fdc8){return{'regex':_0x2b8109,'deser':([,_0x530177,_0x46864e])=>signedOffset(_0x530177,_0x46864e),'groups':_0x33fdc8};}function simple(_0x18cf34){return{'regex':_0x18cf34,'deser':([_0x3fb3ea])=>_0x3fb3ea};}function escapeToken(_0x31b73a){return _0x31b73a['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x3ce3ea,_0x1043e1){const _0x3b396f=digitRegex(_0x1043e1),_0x62dd94=digitRegex(_0x1043e1,'{2}'),_0x48e035=digitRegex(_0x1043e1,'{3}'),_0x3ecc0e=digitRegex(_0x1043e1,'{4}'),_0x303340=digitRegex(_0x1043e1,'{6}'),_0x2169a0=digitRegex(_0x1043e1,'{1,2}'),_0x2382ba=digitRegex(_0x1043e1,'{1,3}'),_0x1c952a=digitRegex(_0x1043e1,'{1,6}'),_0x45f86a=digitRegex(_0x1043e1,'{1,9}'),_0x513954=digitRegex(_0x1043e1,'{2,4}'),_0x43f554=digitRegex(_0x1043e1,'{4,6}'),_0x535be6=t=>({'regex':RegExp(escapeToken(t['val'])),'deser':([_0x2cea12])=>_0x2cea12,'literal':!0x0}),_0xb25284=(t=>{if(_0x3ce3ea['literal'])return _0x535be6(t);switch(t['val']){case'G':return oneOf(_0x1043e1['eras']('short'),0x0);case'GG':return oneOf(_0x1043e1['eras']('long'),0x0);case'y':return intUnit(_0x1c952a);case'yy':case'kk':return intUnit(_0x513954,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x3ecc0e);case'yyyyy':return intUnit(_0x43f554);case'yyyyyy':return intUnit(_0x303340);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x2169a0);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0x62dd94);case'MMM':return oneOf(_0x1043e1['months']('short',!0x0),0x1);case'MMMM':return oneOf(_0x1043e1['months']('long',!0x0),0x1);case'LLL':return oneOf(_0x1043e1['months']('short',!0x1),0x1);case'LLLL':return oneOf(_0x1043e1['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x2382ba);case'ooo':case'SSS':return intUnit(_0x48e035);case'u':return simple(_0x45f86a);case'uu':return simple(_0x2169a0);case'uuu':case'E':case'c':return intUnit(_0x3b396f);case'a':return oneOf(_0x1043e1['meridiems'](),0x0);case'EEE':return oneOf(_0x1043e1['weekdays']('short',!0x1),0x1);case'EEEE':return oneOf(_0x1043e1['weekdays']('long',!0x1),0x1);case'ccc':return oneOf(_0x1043e1['weekdays']('short',!0x0),0x1);case'cccc':return oneOf(_0x1043e1['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x2169a0['source']+')(?::('+_0x62dd94['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x2169a0['source']+')('+_0x62dd94['source']+')?'),0x2);case'z':return simple(/[a-z_+-/]{1,256}?/i);case'\x20':return simple(/[^\S\n\r]/);default:return _0x535be6(t);}})(_0x3ce3ea)||{'invalidReason':MISSING_FTP};return _0xb25284['token']=_0x3ce3ea,_0xb25284;}const partTypeStyleToTokenVal={'year':{'2-digit':'yy','numeric':'yyyyy'},'month':{'numeric':'M','2-digit':'MM','short':'MMM','long':'MMMM'},'day':{'numeric':'d','2-digit':'dd'},'weekday':{'short':'EEE','long':'EEEE'},'dayperiod':'a','dayPeriod':'a','hour12':{'numeric':'h','2-digit':'hh'},'hour24':{'numeric':'H','2-digit':'HH'},'minute':{'numeric':'m','2-digit':'mm'},'second':{'numeric':'s','2-digit':'ss'},'timeZoneName':{'long':'ZZZZZ','short':'ZZZ'}};function tokenForPart(_0x27c9c2,_0x1ec687,_0x46efa5){const {type:_0x2e0e0d,value:_0x4bfb57}=_0x27c9c2;if('literal'===_0x2e0e0d){const _0x1a29de=/^\s+$/['test'](_0x4bfb57);return{'literal':!_0x1a29de,'val':_0x1a29de?'\x20':_0x4bfb57};}const _0x5d5ed4=_0x1ec687[_0x2e0e0d];let _0x28b814=_0x2e0e0d;'hour'===_0x2e0e0d&&(_0x28b814=null!=_0x1ec687['hour12']?_0x1ec687['hour12']?'hour12':'hour24':null!=_0x1ec687['hourCycle']?'h11'===_0x1ec687['hourCycle']||'h12'===_0x1ec687['hourCycle']?'hour12':'hour24':_0x46efa5['hour12']?'hour12':'hour24');let _0x383645=partTypeStyleToTokenVal[_0x28b814];if('object'==typeof _0x383645&&(_0x383645=_0x383645[_0x5d5ed4]),_0x383645)return{'literal':!0x1,'val':_0x383645};}function buildRegex(_0x1487d3){const _0x2bbeee=_0x1487d3['map'](_0x135d2d=>_0x135d2d['regex'])['reduce']((_0x5b1df0,_0x8eec89)=>_0x5b1df0+'('+_0x8eec89['source']+')','');return['^'+_0x2bbeee+'$',_0x1487d3];}function match(_0x2ae996,_0x3613d8,_0x3c5d74){const _0xa39b98=_0x2ae996['match'](_0x3613d8);if(_0xa39b98){const _0x373fc4={};let _0x30c2bf=0x1;for(const _0x280aab in _0x3c5d74)if(hasOwnProperty$d(_0x3c5d74,_0x280aab)){const _0x1c4c53=_0x3c5d74[_0x280aab],_0x2aa269=_0x1c4c53['groups']?_0x1c4c53['groups']+0x1:0x1;!_0x1c4c53['literal']&&_0x1c4c53['token']&&(_0x373fc4[_0x1c4c53['token']['val'][0x0]]=_0x1c4c53['deser'](_0xa39b98['slice'](_0x30c2bf,_0x30c2bf+_0x2aa269))),_0x30c2bf+=_0x2aa269;}return[_0xa39b98,_0x373fc4];}return[_0xa39b98,{}];}function dateTimeFromMatches(_0x4b0af6){let _0x4f0d7b,_0x4fbb77=null;isUndefined(_0x4b0af6['z'])||(_0x4fbb77=IANAZone['create'](_0x4b0af6['z'])),isUndefined(_0x4b0af6['Z'])||(_0x4fbb77||(_0x4fbb77=new FixedOffsetZone(_0x4b0af6['Z'])),_0x4f0d7b=_0x4b0af6['Z']),isUndefined(_0x4b0af6['q'])||(_0x4b0af6['M']=0x3*(_0x4b0af6['q']-0x1)+0x1),isUndefined(_0x4b0af6['h'])||(_0x4b0af6['h']<0xc&&0x1===_0x4b0af6['a']?_0x4b0af6['h']+=0xc:0xc===_0x4b0af6['h']&&0x0===_0x4b0af6['a']&&(_0x4b0af6['h']=0x0)),0x0===_0x4b0af6['G']&&_0x4b0af6['y']&&(_0x4b0af6['y']=-_0x4b0af6['y']),isUndefined(_0x4b0af6['u'])||(_0x4b0af6['S']=parseMillis(_0x4b0af6['u']));const _0x2cc923=Object['keys'](_0x4b0af6)['reduce']((_0x15d717,_0x202eba)=>{const _0x558a6f=(_0xe16480=>{switch(_0xe16480){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':case'H':return'hour';case'd':return'day';case'o':return'ordinal';case'L':case'M':return'month';case'y':return'year';case'E':case'c':return'weekday';case'W':return'weekNumber';case'k':return'weekYear';case'q':return'quarter';default:return null;}})(_0x202eba);return _0x558a6f&&(_0x15d717[_0x558a6f]=_0x4b0af6[_0x202eba]),_0x15d717;},{});return[_0x2cc923,_0x4fbb77,_0x4f0d7b];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function maybeExpandMacroToken(_0x24715c,_0x5c6c79){if(_0x24715c['literal'])return _0x24715c;const _0x29622c=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x24715c['val']),_0x5c6c79);return null==_0x29622c||_0x29622c['includes'](void 0x0)?_0x24715c:_0x29622c;}function expandMacroTokens(_0x5aa662,_0x36d6e8){return Array['prototype']['concat'](..._0x5aa662['map'](t=>maybeExpandMacroToken(t,_0x36d6e8)));}class TokenParser{constructor(_0x3d0700,_0x5978fc){if(this['locale']=_0x3d0700,this['format']=_0x5978fc,this['tokens']=expandMacroTokens(Formatter['parseFormat'](_0x5978fc),_0x3d0700),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x3d0700)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x18ac90,_0x4f6cfb]=buildRegex(this['units']);this['regex']=RegExp(_0x18ac90,'i'),this['handlers']=_0x4f6cfb;}}['explainFromTokens'](_0x377d49){if(this['isValid']){const [_0x199655,_0x11bf4e]=match(_0x377d49,this['regex'],this['handlers']),[_0xe56a92,_0xb14d93,_0x41a7fa]=_0x11bf4e?dateTimeFromMatches(_0x11bf4e):[null,null,void 0x0];if(hasOwnProperty$d(_0x11bf4e,'a')&&hasOwnProperty$d(_0x11bf4e,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x377d49,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x199655,'matches':_0x11bf4e,'result':_0xe56a92,'zone':_0xb14d93,'specificOffset':_0x41a7fa};}return{'input':_0x377d49,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function explainFromTokens(_0x5d8d8e,_0x3aecdf,_0x156176){return new TokenParser(_0x5d8d8e,_0x156176)['explainFromTokens'](_0x3aecdf);}function parseFromTokens(_0x2e1075,_0x191a09,_0x47f782){const {result:_0x3ee238,zone:_0x13cd39,specificOffset:_0x3f7d74,invalidReason:_0x5b5b58}=explainFromTokens(_0x2e1075,_0x191a09,_0x47f782);return[_0x3ee238,_0x13cd39,_0x3f7d74,_0x5b5b58];}function formatOptsToTokens(_0x3ac639,_0x55300a){if(!_0x3ac639)return null;const _0x11007e=Formatter['create'](_0x55300a,_0x3ac639)['dtFormatter'](getDummyDateTime()),_0x43849c=_0x11007e['formatToParts'](),_0x30025d=_0x11007e['resolvedOptions']();return _0x43849c['map'](_0x2240a0=>tokenForPart(_0x2240a0,_0x3ac639,_0x30025d));}const INVALID='Invalid\x20DateTime',MAX_DATE=0x1eb208c2dc0000;function unsupportedZone(_0x458e43){return new Invalid('unsupported\x20zone','the\x20zone\x20\x22'+_0x458e43['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x47097d){return null===_0x47097d['weekData']&&(_0x47097d['weekData']=gregorianToWeek(_0x47097d['c'])),_0x47097d['weekData'];}function possiblyCachedLocalWeekData(_0x36f51d){return null===_0x36f51d['localWeekData']&&(_0x36f51d['localWeekData']=gregorianToWeek(_0x36f51d['c'],_0x36f51d['loc']['getMinDaysInFirstWeek'](),_0x36f51d['loc']['getStartOfWeek']())),_0x36f51d['localWeekData'];}function clone(_0xa4d6ab,_0x4e03a9){const _0x468be3={'ts':_0xa4d6ab['ts'],'zone':_0xa4d6ab['zone'],'c':_0xa4d6ab['c'],'o':_0xa4d6ab['o'],'loc':_0xa4d6ab['loc'],'invalid':_0xa4d6ab['invalid']};return new DateTime({..._0x468be3,..._0x4e03a9,'old':_0x468be3});}function fixOffset(_0x464151,_0xa68e87,_0x36fa42){let _0x182f01=_0x464151-0x3c*_0xa68e87*0x3e8;const _0x3cd003=_0x36fa42['offset'](_0x182f01);if(_0xa68e87===_0x3cd003)return[_0x182f01,_0xa68e87];_0x182f01-=0x3c*(_0x3cd003-_0xa68e87)*0x3e8;const _0x487096=_0x36fa42['offset'](_0x182f01);return _0x3cd003===_0x487096?[_0x182f01,_0x3cd003]:[_0x464151-0x3c*Math['min'](_0x3cd003,_0x487096)*0x3e8,Math['max'](_0x3cd003,_0x487096)];}function tsToObj(_0x37a357,_0x12cee3){const _0x20c258=new Date(_0x37a357+=0x3c*_0x12cee3*0x3e8);return{'year':_0x20c258['getUTCFullYear'](),'month':_0x20c258['getUTCMonth']()+0x1,'day':_0x20c258['getUTCDate'](),'hour':_0x20c258['getUTCHours'](),'minute':_0x20c258['getUTCMinutes'](),'second':_0x20c258['getUTCSeconds'](),'millisecond':_0x20c258['getUTCMilliseconds']()};}function objToTS(_0x1d8c64,_0xf547fc,_0x3fe7c4){return fixOffset(objToLocalTS(_0x1d8c64),_0xf547fc,_0x3fe7c4);}function adjustTime(_0x272876,_0x536fb6){const _0xdc061a=_0x272876['o'],_0x4e95b7=_0x272876['c']['year']+Math['trunc'](_0x536fb6['years']),_0x1d43c0=_0x272876['c']['month']+Math['trunc'](_0x536fb6['months'])+0x3*Math['trunc'](_0x536fb6['quarters']),_0x363b92={..._0x272876['c'],'year':_0x4e95b7,'month':_0x1d43c0,'day':Math['min'](_0x272876['c']['day'],daysInMonth(_0x4e95b7,_0x1d43c0))+Math['trunc'](_0x536fb6['days'])+0x7*Math['trunc'](_0x536fb6['weeks'])},_0x20126f=Duration['fromObject']({'years':_0x536fb6['years']-Math['trunc'](_0x536fb6['years']),'quarters':_0x536fb6['quarters']-Math['trunc'](_0x536fb6['quarters']),'months':_0x536fb6['months']-Math['trunc'](_0x536fb6['months']),'weeks':_0x536fb6['weeks']-Math['trunc'](_0x536fb6['weeks']),'days':_0x536fb6['days']-Math['trunc'](_0x536fb6['days']),'hours':_0x536fb6['hours'],'minutes':_0x536fb6['minutes'],'seconds':_0x536fb6['seconds'],'milliseconds':_0x536fb6['milliseconds']})['as']('milliseconds'),_0x9eb8a8=objToLocalTS(_0x363b92);let [_0x406780,_0x262ce4]=fixOffset(_0x9eb8a8,_0xdc061a,_0x272876['zone']);return 0x0!==_0x20126f&&(_0x406780+=_0x20126f,_0x262ce4=_0x272876['zone']['offset'](_0x406780)),{'ts':_0x406780,'o':_0x262ce4};}function parseDataToDateTime(_0xec4c2b,_0x58b148,_0x2ff135,_0x2a39ba,_0x544bb3,_0x352370){const {setZone:_0x296530,zone:_0x5c716c}=_0x2ff135;if(_0xec4c2b&&0x0!==Object['keys'](_0xec4c2b)['length']||_0x58b148){const _0xed977e=_0x58b148||_0x5c716c,_0x5b0ac1=DateTime['fromObject'](_0xec4c2b,{..._0x2ff135,'zone':_0xed977e,'specificOffset':_0x352370});return _0x296530?_0x5b0ac1:_0x5b0ac1['setZone'](_0x5c716c);}return DateTime['invalid'](new Invalid('unparsable','the\x20input\x20\x22'+_0x544bb3+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x2a39ba));}function toTechFormat(_0x210039,_0x27ab2a,_0x3b4a38=!0x0){return _0x210039['isValid']?Formatter['create'](Locale['create']('en-US'),{'allowZ':_0x3b4a38,'forceSimple':!0x0})['formatDateTimeFromString'](_0x210039,_0x27ab2a):null;}function toISODate(_0xeec7a7,_0x68f359){const _0x3a31a6=_0xeec7a7['c']['year']>0x270f||_0xeec7a7['c']['year']<0x0;let _0x258106='';return _0x3a31a6&&_0xeec7a7['c']['year']>=0x0&&(_0x258106+='+'),_0x258106+=padStart(_0xeec7a7['c']['year'],_0x3a31a6?0x6:0x4),_0x68f359?(_0x258106+='-',_0x258106+=padStart(_0xeec7a7['c']['month']),_0x258106+='-',_0x258106+=padStart(_0xeec7a7['c']['day'])):(_0x258106+=padStart(_0xeec7a7['c']['month']),_0x258106+=padStart(_0xeec7a7['c']['day'])),_0x258106;}function toISOTime(_0x325bf8,_0x3495df,_0xa85a95,_0x21e084,_0x42381a,_0x241d44){let _0x91d8b0=padStart(_0x325bf8['c']['hour']);return _0x3495df?(_0x91d8b0+=':',_0x91d8b0+=padStart(_0x325bf8['c']['minute']),0x0===_0x325bf8['c']['millisecond']&&0x0===_0x325bf8['c']['second']&&_0xa85a95||(_0x91d8b0+=':')):_0x91d8b0+=padStart(_0x325bf8['c']['minute']),0x0===_0x325bf8['c']['millisecond']&&0x0===_0x325bf8['c']['second']&&_0xa85a95||(_0x91d8b0+=padStart(_0x325bf8['c']['second']),0x0===_0x325bf8['c']['millisecond']&&_0x21e084||(_0x91d8b0+='.',_0x91d8b0+=padStart(_0x325bf8['c']['millisecond'],0x3))),_0x42381a&&(_0x325bf8['isOffsetFixed']&&0x0===_0x325bf8['offset']&&!_0x241d44?_0x91d8b0+='Z':_0x325bf8['o']<0x0?(_0x91d8b0+='-',_0x91d8b0+=padStart(Math['trunc'](-_0x325bf8['o']/0x3c)),_0x91d8b0+=':',_0x91d8b0+=padStart(Math['trunc'](-_0x325bf8['o']%0x3c))):(_0x91d8b0+='+',_0x91d8b0+=padStart(Math['trunc'](_0x325bf8['o']/0x3c)),_0x91d8b0+=':',_0x91d8b0+=padStart(Math['trunc'](_0x325bf8['o']%0x3c)))),_0x241d44&&(_0x91d8b0+='['+_0x325bf8['zone']['ianaName']+']'),_0x91d8b0;}const defaultUnitValues={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultWeekUnitValues={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultOrdinalUnitValues={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},orderedUnits=['year','month','day','hour','minute','second','millisecond'],orderedWeekUnits=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],orderedOrdinalUnits=['year','ordinal','hour','minute','second','millisecond'];function normalizeUnit(_0x35934b){const _0x2f92af={'year':'year','years':'year','month':'month','months':'month','day':'day','days':'day','hour':'hour','hours':'hour','minute':'minute','minutes':'minute','quarter':'quarter','quarters':'quarter','second':'second','seconds':'second','millisecond':'millisecond','milliseconds':'millisecond','weekday':'weekday','weekdays':'weekday','weeknumber':'weekNumber','weeksnumber':'weekNumber','weeknumbers':'weekNumber','weekyear':'weekYear','weekyears':'weekYear','ordinal':'ordinal'}[_0x35934b['toLowerCase']()];if(!_0x2f92af)throw new InvalidUnitError(_0x35934b);return _0x2f92af;}function normalizeUnitWithLocalWeeks(_0x3f445b){switch(_0x3f445b['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x3f445b);}}function guessOffsetForZone(_0x1dbdb2){return zoneOffsetGuessCache[_0x1dbdb2]||(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),zoneOffsetGuessCache[_0x1dbdb2]=_0x1dbdb2['offset'](zoneOffsetTs)),zoneOffsetGuessCache[_0x1dbdb2];}function quickDT(_0x38d1b3,_0x16acee){const _0x57ed84=normalizeZone(_0x16acee['zone'],Settings['defaultZone']);if(!_0x57ed84['isValid'])return DateTime['invalid'](unsupportedZone(_0x57ed84));const _0x26b107=Locale['fromObject'](_0x16acee);let _0x2dd079,_0x7c221b;if(isUndefined(_0x38d1b3['year']))_0x2dd079=Settings['now']();else{for(const _0x372759 of orderedUnits)isUndefined(_0x38d1b3[_0x372759])&&(_0x38d1b3[_0x372759]=defaultUnitValues[_0x372759]);const _0x5a6287=hasInvalidGregorianData(_0x38d1b3)||hasInvalidTimeData(_0x38d1b3);if(_0x5a6287)return DateTime['invalid'](_0x5a6287);const _0x38ceb1=guessOffsetForZone(_0x57ed84);[_0x2dd079,_0x7c221b]=objToTS(_0x38d1b3,_0x38ceb1,_0x57ed84);}return new DateTime({'ts':_0x2dd079,'zone':_0x57ed84,'loc':_0x26b107,'o':_0x7c221b});}function diffRelative(_0xc5cd7b,_0x3cae67,_0x1f71bb){const _0x54ccb9=!!isUndefined(_0x1f71bb['round'])||_0x1f71bb['round'],_0x5a01fe=(_0x296828,_0x2ea56b)=>{return _0x296828=roundTo(_0x296828,_0x54ccb9||_0x1f71bb['calendary']?0x0:0x2,!0x0),_0x3cae67['loc']['clone'](_0x1f71bb)['relFormatter'](_0x1f71bb)['format'](_0x296828,_0x2ea56b);},_0x497444=_0x2a8ef4=>_0x1f71bb['calendary']?_0x3cae67['hasSame'](_0xc5cd7b,_0x2a8ef4)?0x0:_0x3cae67['startOf'](_0x2a8ef4)['diff'](_0xc5cd7b['startOf'](_0x2a8ef4),_0x2a8ef4)['get'](_0x2a8ef4):_0x3cae67['diff'](_0xc5cd7b,_0x2a8ef4)['get'](_0x2a8ef4);if(_0x1f71bb['unit'])return _0x5a01fe(_0x497444(_0x1f71bb['unit']),_0x1f71bb['unit']);for(const _0x5adeb9 of _0x1f71bb['units']){const _0x1c2092=_0x497444(_0x5adeb9);if(Math['abs'](_0x1c2092)>=0x1)return _0x5a01fe(_0x1c2092,_0x5adeb9);}return _0x5a01fe(_0xc5cd7b>_0x3cae67?-0x0:0x0,_0x1f71bb['units'][_0x1f71bb['units']['length']-0x1]);}function lastOpts(_0x29c133){let _0x5692ab,_0x303b90={};return _0x29c133['length']>0x0&&'object'==typeof _0x29c133[_0x29c133['length']-0x1]?(_0x303b90=_0x29c133[_0x29c133['length']-0x1],_0x5692ab=Array['from'](_0x29c133)['slice'](0x0,_0x29c133['length']-0x1)):_0x5692ab=Array['from'](_0x29c133),[_0x303b90,_0x5692ab];}let zoneOffsetTs,zoneOffsetGuessCache={};class DateTime{constructor(_0x3af0d2){const _0x3f7d7d=_0x3af0d2['zone']||Settings['defaultZone'];let _0x550809=_0x3af0d2['invalid']||(Number['isNaN'](_0x3af0d2['ts'])?new Invalid('invalid\x20input'):null)||(_0x3f7d7d['isValid']?null:unsupportedZone(_0x3f7d7d));this['ts']=isUndefined(_0x3af0d2['ts'])?Settings['now']():_0x3af0d2['ts'];let _0x3a78db=null,_0x3d0c8d=null;if(!_0x550809){if(_0x3af0d2['old']&&_0x3af0d2['old']['ts']===this['ts']&&_0x3af0d2['old']['zone']['equals'](_0x3f7d7d))[_0x3a78db,_0x3d0c8d]=[_0x3af0d2['old']['c'],_0x3af0d2['old']['o']];else{const _0x50dd86=isNumber(_0x3af0d2['o'])&&!_0x3af0d2['old']?_0x3af0d2['o']:_0x3f7d7d['offset'](this['ts']);_0x3a78db=tsToObj(this['ts'],_0x50dd86),_0x550809=Number['isNaN'](_0x3a78db['year'])?new Invalid('invalid\x20input'):null,_0x3a78db=_0x550809?null:_0x3a78db,_0x3d0c8d=_0x550809?null:_0x50dd86;}}this['_zone']=_0x3f7d7d,this['loc']=_0x3af0d2['loc']||Locale['create'](),this['invalid']=_0x550809,this['weekData']=null,this['localWeekData']=null,this['c']=_0x3a78db,this['o']=_0x3d0c8d,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x71fd20,_0x48b87c]=lastOpts(arguments),[_0xb0fe3d,_0x114f91,_0x117640,_0x3128be,_0x3e0db0,_0x9baa42,_0x124925]=_0x48b87c;return quickDT({'year':_0xb0fe3d,'month':_0x114f91,'day':_0x117640,'hour':_0x3128be,'minute':_0x3e0db0,'second':_0x9baa42,'millisecond':_0x124925},_0x71fd20);}static['utc'](){const [_0x16213c,_0x553ee0]=lastOpts(arguments),[_0x3d5f3e,_0x170177,_0x4a556d,_0x26101c,_0x29380a,_0x388cf0,_0x5d7322]=_0x553ee0;return _0x16213c['zone']=FixedOffsetZone['utcInstance'],quickDT({'year':_0x3d5f3e,'month':_0x170177,'day':_0x4a556d,'hour':_0x26101c,'minute':_0x29380a,'second':_0x388cf0,'millisecond':_0x5d7322},_0x16213c);}static['fromJSDate'](_0x4b82c2,_0x83b000={}){const _0x42f430=isDate(_0x4b82c2)?_0x4b82c2['valueOf']():NaN;if(Number['isNaN'](_0x42f430))return DateTime['invalid']('invalid\x20input');const _0x394a2c=normalizeZone(_0x83b000['zone'],Settings['defaultZone']);return _0x394a2c['isValid']?new DateTime({'ts':_0x42f430,'zone':_0x394a2c,'loc':Locale['fromObject'](_0x83b000)}):DateTime['invalid'](unsupportedZone(_0x394a2c));}static['fromMillis'](_0x1dbc43,_0x569cde={}){if(isNumber(_0x1dbc43))return _0x1dbc43<-0x1eb208c2dc0000||_0x1dbc43>MAX_DATE?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x1dbc43,'zone':normalizeZone(_0x569cde['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x569cde)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x1dbc43+'\x20with\x20value\x20'+_0x1dbc43);}static['fromSeconds'](_0x510f89,_0x273c20={}){if(isNumber(_0x510f89))return new DateTime({'ts':0x3e8*_0x510f89,'zone':normalizeZone(_0x273c20['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x273c20)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x2fbd9e,_0x4034a2={}){_0x2fbd9e=_0x2fbd9e||{};const _0x4cf446=normalizeZone(_0x4034a2['zone'],Settings['defaultZone']);if(!_0x4cf446['isValid'])return DateTime['invalid'](unsupportedZone(_0x4cf446));const _0x215708=Locale['fromObject'](_0x4034a2),_0x1bc7a3=normalizeObject(_0x2fbd9e,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x4f5cb8,startOfWeek:_0x35939c}=usesLocalWeekValues(_0x1bc7a3,_0x215708),_0x2f1cd7=Settings['now'](),_0x3f1d8f=isUndefined(_0x4034a2['specificOffset'])?_0x4cf446['offset'](_0x2f1cd7):_0x4034a2['specificOffset'],_0x11aa30=!isUndefined(_0x1bc7a3['ordinal']),_0xad6098=!isUndefined(_0x1bc7a3['year']),_0x5d8487=!isUndefined(_0x1bc7a3['month'])||!isUndefined(_0x1bc7a3['day']),_0x25f2d0=_0xad6098||_0x5d8487,_0x1078ce=_0x1bc7a3['weekYear']||_0x1bc7a3['weekNumber'];if((_0x25f2d0||_0x11aa30)&&_0x1078ce)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x5d8487&&_0x11aa30)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x41cff5=_0x1078ce||_0x1bc7a3['weekday']&&!_0x25f2d0;let _0x4b8bf8,_0x2ebdce,_0x2fca15=tsToObj(_0x2f1cd7,_0x3f1d8f);_0x41cff5?(_0x4b8bf8=orderedWeekUnits,_0x2ebdce=defaultWeekUnitValues,_0x2fca15=gregorianToWeek(_0x2fca15,_0x4f5cb8,_0x35939c)):_0x11aa30?(_0x4b8bf8=orderedOrdinalUnits,_0x2ebdce=defaultOrdinalUnitValues,_0x2fca15=gregorianToOrdinal(_0x2fca15)):(_0x4b8bf8=orderedUnits,_0x2ebdce=defaultUnitValues);let _0x2a159a=!0x1;for(const _0x580499 of _0x4b8bf8){isUndefined(_0x1bc7a3[_0x580499])?_0x1bc7a3[_0x580499]=_0x2a159a?_0x2ebdce[_0x580499]:_0x2fca15[_0x580499]:_0x2a159a=!0x0;}const _0x4de45c=(_0x41cff5?hasInvalidWeekData(_0x1bc7a3,_0x4f5cb8,_0x35939c):_0x11aa30?hasInvalidOrdinalData(_0x1bc7a3):hasInvalidGregorianData(_0x1bc7a3))||hasInvalidTimeData(_0x1bc7a3);if(_0x4de45c)return DateTime['invalid'](_0x4de45c);const _0x3298ea=_0x41cff5?weekToGregorian(_0x1bc7a3,_0x4f5cb8,_0x35939c):_0x11aa30?ordinalToGregorian(_0x1bc7a3):_0x1bc7a3,[_0xd7b0d1,_0x424efa]=objToTS(_0x3298ea,_0x3f1d8f,_0x4cf446),_0x4190bb=new DateTime({'ts':_0xd7b0d1,'zone':_0x4cf446,'o':_0x424efa,'loc':_0x215708});return _0x1bc7a3['weekday']&&_0x25f2d0&&_0x2fbd9e['weekday']!==_0x4190bb['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x1bc7a3['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x4190bb['toISO']()):_0x4190bb['isValid']?_0x4190bb:DateTime['invalid'](_0x4190bb['invalid']);}static['fromISO'](_0x3abc36,_0x58bcca={}){const [_0x58f84e,_0x430d3e]=parseISODate(_0x3abc36);return parseDataToDateTime(_0x58f84e,_0x430d3e,_0x58bcca,'ISO\x208601',_0x3abc36);}static['fromRFC2822'](_0x590059,_0x3bbccd={}){const [_0x2b5876,_0x4c1ed1]=parseRFC2822Date(_0x590059);return parseDataToDateTime(_0x2b5876,_0x4c1ed1,_0x3bbccd,'RFC\x202822',_0x590059);}static['fromHTTP'](_0x2abfb6,_0x5c148c={}){const [_0x451eee,_0x2a7a1e]=parseHTTPDate(_0x2abfb6);return parseDataToDateTime(_0x451eee,_0x2a7a1e,_0x5c148c,'HTTP',_0x5c148c);}static['fromFormat'](_0x155c87,_0x590d54,_0x3bb1d0={}){if(isUndefined(_0x155c87)||isUndefined(_0x590d54))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x7e60d8=null,numberingSystem:_0x1aad54=null}=_0x3bb1d0,_0x15035f=Locale['fromOpts']({'locale':_0x7e60d8,'numberingSystem':_0x1aad54,'defaultToEN':!0x0}),[_0x1cb900,_0xef8bd7,_0xf24bb3,_0x4d8369]=parseFromTokens(_0x15035f,_0x155c87,_0x590d54);return _0x4d8369?DateTime['invalid'](_0x4d8369):parseDataToDateTime(_0x1cb900,_0xef8bd7,_0x3bb1d0,'format\x20'+_0x590d54,_0x155c87,_0xf24bb3);}static['fromString'](_0x5ab450,_0xb81cf0,_0x5931ba={}){return DateTime['fromFormat'](_0x5ab450,_0xb81cf0,_0x5931ba);}static['fromSQL'](_0x1afe96,_0x8360ab={}){const [_0x5a5768,_0x39d4f9]=parseSQL(_0x1afe96);return parseDataToDateTime(_0x5a5768,_0x39d4f9,_0x8360ab,'SQL',_0x1afe96);}static['invalid'](_0x4837bb,_0x28b00d=null){if(!_0x4837bb)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x2d7ff1=_0x4837bb instanceof Invalid?_0x4837bb:new Invalid(_0x4837bb,_0x28b00d);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x2d7ff1);return new DateTime({'invalid':_0x2d7ff1});}static['isDateTime'](_0x3be176){return _0x3be176&&_0x3be176['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x368e6b,_0x27e64f={}){const _0x30753e=formatOptsToTokens(_0x368e6b,Locale['fromObject'](_0x27e64f));return _0x30753e?_0x30753e['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x1c2b76,_0x3e6b52={}){return expandMacroTokens(Formatter['parseFormat'](_0x1c2b76),Locale['fromObject'](_0x3e6b52))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache={};}['get'](_0xaa9332){return this[_0xaa9332];}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}get['outputCalendar'](){return this['isValid']?this['loc']['outputCalendar']:null;}get['zone'](){return this['_zone'];}get['zoneName'](){return this['isValid']?this['zone']['name']:null;}get['year'](){return this['isValid']?this['c']['year']:NaN;}get['quarter'](){return this['isValid']?Math['ceil'](this['c']['month']/0x3):NaN;}get['month'](){return this['isValid']?this['c']['month']:NaN;}get['day'](){return this['isValid']?this['c']['day']:NaN;}get['hour'](){return this['isValid']?this['c']['hour']:NaN;}get['minute'](){return this['isValid']?this['c']['minute']:NaN;}get['second'](){return this['isValid']?this['c']['second']:NaN;}get['millisecond'](){return this['isValid']?this['c']['millisecond']:NaN;}get['weekYear'](){return this['isValid']?possiblyCachedWeekData(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?possiblyCachedWeekData(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?possiblyCachedWeekData(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?gregorianToOrdinal(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?Info['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?Info['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?Info['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?Info['weekdays']('long',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['offset'](){return this['isValid']?+this['o']:NaN;}get['offsetNameShort'](){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'short','locale':this['locale']}):null;}get['offsetNameLong'](){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'long','locale':this['locale']}):null;}get['isOffsetFixed'](){return this['isValid']?this['zone']['isUniversal']:null;}get['isInDST'](){return!this['isOffsetFixed']&&(this['offset']>this['set']({'month':0x1,'day':0x1})['offset']||this['offset']>this['set']({'month':0x5})['offset']);}['getPossibleOffsets'](){if(!this['isValid']||this['isOffsetFixed'])return[this];const _0x3bd9b2=0x5265c00,_0x3a99d0=0xea60,_0x3dbba4=objToLocalTS(this['c']),_0x598bc6=this['zone']['offset'](_0x3dbba4-_0x3bd9b2),_0x33f37f=this['zone']['offset'](_0x3dbba4+_0x3bd9b2),_0x325536=this['zone']['offset'](_0x3dbba4-_0x598bc6*_0x3a99d0),_0x4ea0f2=this['zone']['offset'](_0x3dbba4-_0x33f37f*_0x3a99d0);if(_0x325536===_0x4ea0f2)return[this];const _0x48f10c=_0x3dbba4-_0x325536*_0x3a99d0,_0x33fc0f=_0x3dbba4-_0x4ea0f2*_0x3a99d0,_0x147148=tsToObj(_0x48f10c,_0x325536),_0x3cc711=tsToObj(_0x33fc0f,_0x4ea0f2);return _0x147148['hour']===_0x3cc711['hour']&&_0x147148['minute']===_0x3cc711['minute']&&_0x147148['second']===_0x3cc711['second']&&_0x147148['millisecond']===_0x3cc711['millisecond']?[clone(this,{'ts':_0x48f10c}),clone(this,{'ts':_0x33fc0f})]:[this];}get['isInLeapYear'](){return isLeapYear(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?daysInYear(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?weeksInWeekYear(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?weeksInWeekYear(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0xd1ba40={}){const {locale:_0xa13df5,numberingSystem:_0x37999e,calendar:_0x3c45f0}=Formatter['create'](this['loc']['clone'](_0xd1ba40),_0xd1ba40)['resolvedOptions'](this);return{'locale':_0xa13df5,'numberingSystem':_0x37999e,'outputCalendar':_0x3c45f0};}['toUTC'](_0x672da8=0x0,_0x395473={}){return this['setZone'](FixedOffsetZone['instance'](_0x672da8),_0x395473);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x411e9b,{keepLocalTime:_0x2c3a4b=!0x1,keepCalendarTime:_0x51410c=!0x1}={}){if((_0x411e9b=normalizeZone(_0x411e9b,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x411e9b['isValid']){let _0x259ef5=this['ts'];if(_0x2c3a4b||_0x51410c){const _0x51c17e=_0x411e9b['offset'](this['ts']),_0xcfd72f=this['toObject']();[_0x259ef5]=objToTS(_0xcfd72f,_0x51c17e,_0x411e9b);}return clone(this,{'ts':_0x259ef5,'zone':_0x411e9b});}return DateTime['invalid'](unsupportedZone(_0x411e9b));}['reconfigure']({locale:_0x17beff,numberingSystem:_0x1ab15d,outputCalendar:_0x3a4f48}={}){return clone(this,{'loc':this['loc']['clone']({'locale':_0x17beff,'numberingSystem':_0x1ab15d,'outputCalendar':_0x3a4f48})});}['setLocale'](_0x47ae4c){return this['reconfigure']({'locale':_0x47ae4c});}['set'](_0x36c627){if(!this['isValid'])return this;const _0x2df894=normalizeObject(_0x36c627,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x5bb58c,startOfWeek:_0x32fa24}=usesLocalWeekValues(_0x2df894,this['loc']),_0x44681a=!isUndefined(_0x2df894['weekYear'])||!isUndefined(_0x2df894['weekNumber'])||!isUndefined(_0x2df894['weekday']),_0x37cec1=!isUndefined(_0x2df894['ordinal']),_0x22b82e=!isUndefined(_0x2df894['year']),_0x208676=!isUndefined(_0x2df894['month'])||!isUndefined(_0x2df894['day']),_0x57090f=_0x22b82e||_0x208676,_0x3cbef5=_0x2df894['weekYear']||_0x2df894['weekNumber'];if((_0x57090f||_0x37cec1)&&_0x3cbef5)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x208676&&_0x37cec1)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x3220d0;_0x44681a?_0x3220d0=weekToGregorian({...gregorianToWeek(this['c'],_0x5bb58c,_0x32fa24),..._0x2df894},_0x5bb58c,_0x32fa24):isUndefined(_0x2df894['ordinal'])?(_0x3220d0={...this['toObject'](),..._0x2df894},isUndefined(_0x2df894['day'])&&(_0x3220d0['day']=Math['min'](daysInMonth(_0x3220d0['year'],_0x3220d0['month']),_0x3220d0['day']))):_0x3220d0=ordinalToGregorian({...gregorianToOrdinal(this['c']),..._0x2df894});const [_0x58e375,_0x607408]=objToTS(_0x3220d0,this['o'],this['zone']);return clone(this,{'ts':_0x58e375,'o':_0x607408});}['plus'](_0x55a1f1){if(!this['isValid'])return this;return clone(this,adjustTime(this,Duration['fromDurationLike'](_0x55a1f1)));}['minus'](_0x1eedb2){if(!this['isValid'])return this;return clone(this,adjustTime(this,Duration['fromDurationLike'](_0x1eedb2)['negate']()));}['startOf'](_0x10d50b,{useLocaleWeeks:_0x2c3af7=!0x1}={}){if(!this['isValid'])return this;const _0x55df17={},_0x1a514b=Duration['normalizeUnit'](_0x10d50b);switch(_0x1a514b){case'years':_0x55df17['month']=0x1;case'quarters':case'months':_0x55df17['day']=0x1;case'weeks':case'days':_0x55df17['hour']=0x0;case'hours':_0x55df17['minute']=0x0;case'minutes':_0x55df17['second']=0x0;case'seconds':_0x55df17['millisecond']=0x0;}if('weeks'===_0x1a514b){if(_0x2c3af7){const _0x519652=this['loc']['getStartOfWeek'](),{weekday:_0x10195a}=this;_0x10195a<_0x519652&&(_0x55df17['weekNumber']=this['weekNumber']-0x1),_0x55df17['weekday']=_0x519652;}else _0x55df17['weekday']=0x1;}if('quarters'===_0x1a514b){const _0x5371b6=Math['ceil'](this['month']/0x3);_0x55df17['month']=0x3*(_0x5371b6-0x1)+0x1;}return this['set'](_0x55df17);}['endOf'](_0x3df7cc,_0x12bbf8){return this['isValid']?this['plus']({[_0x3df7cc]:0x1})['startOf'](_0x3df7cc,_0x12bbf8)['minus'](0x1):this;}['toFormat'](_0x266610,_0x1526e0={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x1526e0))['formatDateTimeFromString'](this,_0x266610):INVALID;}['toLocaleString'](_0x4d2391=DATE_SHORT,_0x30b096={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x30b096),_0x4d2391)['formatDateTime'](this):INVALID;}['toLocaleParts'](_0x258c82={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x258c82),_0x258c82)['formatDateTimeParts'](this):[];}['toISO']({format:_0x14dc9e='extended',suppressSeconds:_0x55397b=!0x1,suppressMilliseconds:_0x58d700=!0x1,includeOffset:_0x333d5a=!0x0,extendedZone:_0x2001ee=!0x1}={}){if(!this['isValid'])return null;const _0x38d53e='extended'===_0x14dc9e;let _0x2b477b=toISODate(this,_0x38d53e);return _0x2b477b+='T',_0x2b477b+=toISOTime(this,_0x38d53e,_0x55397b,_0x58d700,_0x333d5a,_0x2001ee),_0x2b477b;}['toISODate']({format:_0x7b88e6='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x7b88e6):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x133a5=!0x1,suppressSeconds:_0x220572=!0x1,includeOffset:_0x7ad7aa=!0x0,includePrefix:_0x1d77fa=!0x1,extendedZone:_0x2e51b2=!0x1,format:_0x241732='extended'}={}){if(!this['isValid'])return null;return(_0x1d77fa?'T':'')+toISOTime(this,'extended'===_0x241732,_0x220572,_0x133a5,_0x7ad7aa,_0x2e51b2);}['toRFC2822'](){return toTechFormat(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return toTechFormat(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?toISODate(this,!0x0):null;}['toSQLTime']({includeOffset:_0x5ee23a=!0x0,includeZone:_0x2bf653=!0x1,includeOffsetSpace:_0xcc8dcf=!0x0}={}){let _0x1f756b='HH:mm:ss.SSS';return(_0x2bf653||_0x5ee23a)&&(_0xcc8dcf&&(_0x1f756b+='\x20'),_0x2bf653?_0x1f756b+='z':_0x5ee23a&&(_0x1f756b+='ZZ')),toTechFormat(this,_0x1f756b,!0x0);}['toSQL'](_0x58db58={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x58db58):null;}['toString'](){return this['isValid']?this['toISO']():INVALID;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'DateTime\x20{\x20ts:\x20'+this['toISO']()+',\x20zone:\x20'+this['zone']['name']+',\x20locale:\x20'+this['locale']+'\x20}':'DateTime\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['valueOf'](){return this['toMillis']();}['toMillis'](){return this['isValid']?this['ts']:NaN;}['toSeconds'](){return this['isValid']?this['ts']/0x3e8:NaN;}['toUnixInteger'](){return this['isValid']?Math['floor'](this['ts']/0x3e8):NaN;}['toJSON'](){return this['toISO']();}['toBSON'](){return this['toJSDate']();}['toObject'](_0x5b258b={}){if(!this['isValid'])return{};const _0x511267={...this['c']};return _0x5b258b['includeConfig']&&(_0x511267['outputCalendar']=this['outputCalendar'],_0x511267['numberingSystem']=this['loc']['numberingSystem'],_0x511267['locale']=this['loc']['locale']),_0x511267;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x5dafd4,_0x40e894='milliseconds',_0x5ef2ce={}){if(!this['isValid']||!_0x5dafd4['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x47435b={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x5ef2ce},_0x5b0257=maybeArray(_0x40e894)['map'](Duration['normalizeUnit']),_0x481195=_0x5dafd4['valueOf']()>this['valueOf'](),_0x2e44bd=diff(_0x481195?this:_0x5dafd4,_0x481195?_0x5dafd4:this,_0x5b0257,_0x47435b);return _0x481195?_0x2e44bd['negate']():_0x2e44bd;}['diffNow'](_0x402ff4='milliseconds',_0xe4cc3d={}){return this['diff'](DateTime['now'](),_0x402ff4,_0xe4cc3d);}['until'](_0x8e36c9){return this['isValid']?Interval['fromDateTimes'](this,_0x8e36c9):this;}['hasSame'](_0xf455a9,_0x124857,_0x238394){if(!this['isValid'])return!0x1;const _0x16d022=_0xf455a9['valueOf'](),_0x3bae65=this['setZone'](_0xf455a9['zone'],{'keepLocalTime':!0x0});return _0x3bae65['startOf'](_0x124857,_0x238394)<=_0x16d022&&_0x16d022<=_0x3bae65['endOf'](_0x124857,_0x238394);}['equals'](_0x2b2f7a){return this['isValid']&&_0x2b2f7a['isValid']&&this['valueOf']()===_0x2b2f7a['valueOf']()&&this['zone']['equals'](_0x2b2f7a['zone'])&&this['loc']['equals'](_0x2b2f7a['loc']);}['toRelative'](_0x38c1e1={}){if(!this['isValid'])return null;const _0xe604cf=_0x38c1e1['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0xd30203=_0x38c1e1['padding']?this<_0xe604cf?-_0x38c1e1['padding']:_0x38c1e1['padding']:0x0;let _0x5a9b85=['years','months','days','hours','minutes','seconds'],_0x1aa9c9=_0x38c1e1['unit'];return Array['isArray'](_0x38c1e1['unit'])&&(_0x5a9b85=_0x38c1e1['unit'],_0x1aa9c9=void 0x0),diffRelative(_0xe604cf,this['plus'](_0xd30203),{..._0x38c1e1,'numeric':'always','units':_0x5a9b85,'unit':_0x1aa9c9});}['toRelativeCalendar'](_0xced52b={}){return this['isValid']?diffRelative(_0xced52b['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0xced52b,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x58fdc4){if(!_0x58fdc4['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x58fdc4,_0x3be085=>_0x3be085['valueOf'](),Math['min']);}static['max'](..._0x14e79f){if(!_0x14e79f['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x14e79f,_0x586b62=>_0x586b62['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x52c041,_0x43e88b,_0x49ea62={}){const {locale:_0x23f1c3=null,numberingSystem:_0x1c536a=null}=_0x49ea62;return explainFromTokens(Locale['fromOpts']({'locale':_0x23f1c3,'numberingSystem':_0x1c536a,'defaultToEN':!0x0}),_0x52c041,_0x43e88b);}static['fromStringExplain'](_0xb07f69,_0x2c0698,_0x588165={}){return DateTime['fromFormatExplain'](_0xb07f69,_0x2c0698,_0x588165);}static['buildFormatParser'](_0x484844,_0x5b8ab6={}){const {locale:_0x56852e=null,numberingSystem:_0x5689a3=null}=_0x5b8ab6,_0x496789=Locale['fromOpts']({'locale':_0x56852e,'numberingSystem':_0x5689a3,'defaultToEN':!0x0});return new TokenParser(_0x496789,_0x484844);}static['fromFormatParser'](_0x4d1af5,_0x43f27d,_0x452c55={}){if(isUndefined(_0x4d1af5)||isUndefined(_0x43f27d))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x3fbcce=null,numberingSystem:_0x2c758c=null}=_0x452c55,_0x1cdd23=Locale['fromOpts']({'locale':_0x3fbcce,'numberingSystem':_0x2c758c,'defaultToEN':!0x0});if(!_0x1cdd23['equals'](_0x43f27d['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x1cdd23+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x43f27d['locale']);const {result:_0x3ea0e4,zone:_0x4576eb,specificOffset:_0x1a1280,invalidReason:_0x4d3a19}=_0x43f27d['explainFromTokens'](_0x4d1af5);return _0x4d3a19?DateTime['invalid'](_0x4d3a19):parseDataToDateTime(_0x3ea0e4,_0x4576eb,_0x452c55,'format\x20'+_0x43f27d['format'],_0x4d1af5,_0x1a1280);}static get['DATE_SHORT'](){return DATE_SHORT;}static get['DATE_MED'](){return DATE_MED;}static get['DATE_MED_WITH_WEEKDAY'](){return DATE_MED_WITH_WEEKDAY;}static get['DATE_FULL'](){return DATE_FULL;}static get['DATE_HUGE'](){return DATE_HUGE;}static get['TIME_SIMPLE'](){return TIME_SIMPLE;}static get['TIME_WITH_SECONDS'](){return TIME_WITH_SECONDS;}static get['TIME_WITH_SHORT_OFFSET'](){return TIME_WITH_SHORT_OFFSET;}static get['TIME_WITH_LONG_OFFSET'](){return TIME_WITH_LONG_OFFSET;}static get['TIME_24_SIMPLE'](){return TIME_24_SIMPLE;}static get['TIME_24_WITH_SECONDS'](){return TIME_24_WITH_SECONDS;}static get['TIME_24_WITH_SHORT_OFFSET'](){return TIME_24_WITH_SHORT_OFFSET;}static get['TIME_24_WITH_LONG_OFFSET'](){return TIME_24_WITH_LONG_OFFSET;}static get['DATETIME_SHORT'](){return DATETIME_SHORT;}static get['DATETIME_SHORT_WITH_SECONDS'](){return DATETIME_SHORT_WITH_SECONDS;}static get['DATETIME_MED'](){return DATETIME_MED;}static get['DATETIME_MED_WITH_SECONDS'](){return DATETIME_MED_WITH_SECONDS;}static get['DATETIME_MED_WITH_WEEKDAY'](){return DATETIME_MED_WITH_WEEKDAY;}static get['DATETIME_FULL'](){return DATETIME_FULL;}static get['DATETIME_FULL_WITH_SECONDS'](){return DATETIME_FULL_WITH_SECONDS;}static get['DATETIME_HUGE'](){return DATETIME_HUGE;}static get['DATETIME_HUGE_WITH_SECONDS'](){return DATETIME_HUGE_WITH_SECONDS;}}function friendlyDateTime(_0x5312e0){if(DateTime['isDateTime'](_0x5312e0))return _0x5312e0;if(_0x5312e0&&_0x5312e0['valueOf']&&isNumber(_0x5312e0['valueOf']()))return DateTime['fromJSDate'](_0x5312e0);if(_0x5312e0&&'object'==typeof _0x5312e0)return DateTime['fromObject'](_0x5312e0);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x5312e0+',\x20of\x20type\x20'+typeof _0x5312e0);}function getDateTimeFormatter(_0x569b0f={}){if(void 0x0!==_0x569b0f['dateTimeFormat']&&'function'!=typeof _0x569b0f['dateTimeFormat'])throw new CKEditorError('invalid-date-time-format');return _0x3d8bde=>{const _0x467eec='string'==typeof _0x3d8bde?DateTime['fromISO'](_0x3d8bde):DateTime['fromJSDate'](_0x3d8bde),_0x245d46=DateTime['now'](),_0x276256=Math['floor'](_0x245d46['diff'](_0x467eec,'days')['days']);return _0x569b0f['dateTimeFormat']?_0x569b0f['dateTimeFormat'](_0x467eec['toJSDate']()):0x0===_0x276256?_0x467eec['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x276256?_0x467eec['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x276256<0x7?_0x467eec['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x467eec['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x55b73c,_0xd16481){const _0x4e277c=_0x55b73c['mapper']['markerNameToElements'](_0xd16481['name']);if(!_0x4e277c)return null;const _0x3f9880=first(_0x4e277c['values']());return _0x55b73c['view']['domConverter']['mapViewToDom'](_0x3f9880)||null;}function getAllMarkersDomElementsSorted(_0x38e57e,_0x565623){if(0x0===_0x565623['length'])return null;const _0x4b65b9=[],_0x598309=_0x38e57e['view']['domConverter'];for(const _0x5f36f7 of _0x565623){const _0x21151=_0x38e57e['mapper']['markerNameToElements'](_0x5f36f7['name']);if(!_0x21151)continue;const _0x549e45=Array['from'](_0x21151)['map'](_0x379a05=>_0x598309['mapViewToDom'](_0x379a05))['filter'](_0x2506ea=>!!_0x2506ea);_0x4b65b9['push'](..._0x549e45);}if(0x0===_0x4b65b9['length'])return null;const _0x4ab9fe=[];for(const _0x53e7d4 of _0x4b65b9){const _0x47223a=_0x53e7d4['getClientRects']()['item'](0x0);_0x47223a&&_0x4ab9fe['push']({'x':_0x47223a['x'],'y':_0x47223a['y'],'domElement':_0x53e7d4});}return 0x0===_0x4ab9fe['length']?null:(_0x4ab9fe['sort']((_0x472fe4,_0x145321)=>_0x472fe4['y']-_0x145321['y']||_0x472fe4['x']-_0x145321['x']),_0x4ab9fe['map'](_0xd6838b=>_0xd6838b['domElement']));}function trimHtml(_0xd25f9a,{limit:_0x1d9230,suffix:_0x2830ef='...'}){const _0x34468b=[];let _0x10ecee=0x0;const _0x4b9e6d=_0xd25f9a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xf90ecd=0x0;_0xf90ecd<_0x4b9e6d['length'];_0xf90ecd++){let _0x99e39b=_0x4b9e6d[_0xf90ecd];const _0x87ff09=splitCharactersToArray(_0x99e39b);if(_0x99e39b['startsWith']('<')){if(_0x10ecee>=_0x1d9230){const _0x1aa275=_0x99e39b['match'](/[a-zA-Z]+/);if(!_0x1aa275){_0x4b9e6d[_0xf90ecd]='';continue;}const _0x22bda0=_0x1aa275[0x0];_0x99e39b['startsWith']('</')?(_0x34468b['length']&&(_0x99e39b=''),_0x34468b['pop']()):(_0x34468b['push'](_0x22bda0),_0x99e39b='');}}else{if(_0x10ecee>=_0x1d9230)_0x99e39b='';else{if(_0x10ecee+_0x87ff09['length']>=_0x1d9230){let _0x323b9b=_0x1d9230-_0x10ecee;if('\x20'===_0x87ff09[_0x323b9b-0x1])_0x323b9b--;else{const _0x38cefa=_0x87ff09['slice'](_0x323b9b)['indexOf']('\x20');-0x1!==_0x38cefa?_0x323b9b+=_0x38cefa:_0x323b9b=_0x99e39b['length'];}_0x99e39b=_0x87ff09['slice'](0x0,_0x323b9b)['join']('')+_0x2830ef,_0x10ecee=_0x1d9230;}else _0x10ecee+=_0x87ff09['length'];}}_0x4b9e6d[_0xf90ecd]=_0x99e39b;}return _0x4b9e6d['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x47b484){const _0x27ad52=[];for(let _0x219489=0x0;_0x219489<_0x47b484['length'];_0x219489++){const _0x20779e=_0x47b484['substring'](_0x219489)['match'](/^&[a-z0-9#]+;/);if(_0x20779e){const _0x55fe81=_0x20779e[0x0];_0x27ad52['push'](_0x55fe81),_0x219489+=_0x55fe81['length']-0x1;}else _0x27ad52['push'](_0x47b484[_0x219489]);}return _0x27ad52;}class ConfirmView extends View{constructor(_0x1202f3){super(_0x1202f3);const _0x5e6b72=this['bindTemplate'];this['set']('message',getTranslation$i(_0x1202f3,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1202f3,getTranslation$i(_0x1202f3,'Yes'),_0x40ee59['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x1202f3,getTranslation$i(_0x1202f3,'No'),_0x40ee59['cancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-thread__remove-confirm'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x5e6b72['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x10b0d4,_0x466350,_0x481482,_0x5413f5){const _0x4e6289=new ButtonView(_0x10b0d4);return _0x4e6289['label']=_0x466350,_0x4e6289['icon']=_0x481482,_0x4e6289['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x5413f5}}),_0x4e6289['on']('execute',()=>this['fire'](_0x5413f5)),_0x4e6289;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2d5dcb=>{this['keystrokes']['listenTo'](_0x2d5dcb['element']),this['focusTracker']['add'](_0x2d5dcb['element']);}),this['keystrokes']['set']('esc',(_0x163d2d,_0x5d89f2)=>{this['fire']('cancel'),_0x5d89f2();});}}function ConfirmMixin(_0x25fdb2){return class extends _0x25fdb2{['showConfirm'](_0x289ace,_0x364f54){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x289ace,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x364f54['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x289c77=>this['confirmView']['on']('submit',_0x289c77));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function hashObject(_0x23402b){let _0x2508a7=0x0,_0x1b9a19=0x0;for(const _0x565742 of objectToNumberGenerator(_0x23402b))_0x2508a7=(_0x2508a7<<0x5)-_0x2508a7+_0x565742,_0x2508a7|=0x0,[_0x2508a7,_0x1b9a19]=[_0x1b9a19,_0x2508a7];return toString$3(_0x2508a7)+toString$3(_0x1b9a19);}function*toNumberGenerator(_0x3b21c6){null==_0x3b21c6||null==_0x3b21c6?yield 0x12b9b0a1:0x0===_0x3b21c6||!0x1===_0x3b21c6?yield 0x0:0x1===_0x3b21c6||0x1==_0x3b21c6?yield 0x1:Array['isArray'](_0x3b21c6)?yield*arrayToNumberGenerator(_0x3b21c6):'object'==typeof _0x3b21c6?yield*objectToNumberGenerator(_0x3b21c6):'string'==typeof _0x3b21c6?yield*stringToNumberGenerator(_0x3b21c6):'number'==typeof _0x3b21c6&&(yield _0x3b21c6);}function*objectToNumberGenerator(_0x564ea6){if(yield charCode('{'),_0x564ea6){const _0x3489b9=Object['keys'](_0x564ea6)['sort']();for(const _0x320471 of _0x3489b9){yield*stringToNumberGenerator(_0x320471),yield charCode(':');const _0x47a4c6=_0x564ea6[_0x320471];yield*toNumberGenerator(_0x47a4c6);}}yield charCode('}');}function*arrayToNumberGenerator(_0x3ad936){for(const _0x1288b9 of _0x3ad936)yield*toNumberGenerator(_0x1288b9);}function*stringToNumberGenerator(_0x2bc068){yield charCode('\x22');for(const _0x50cf19 of _0x2bc068)yield charCode(_0x50cf19);yield charCode('\x22');}function charCode(_0x3775fb){return _0x3775fb['charCodeAt'](0x0);}function toString$3(_0x1aeebe){return(_0x1aeebe*=Math['sign'](_0x1aeebe))['toString'](0x24);}const blackListedConfigOptions=['initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x367489,_0x54910b,_0x4e1e9c,_0x113e6f=[]){const _0x25d2ba='string'==typeof _0x367489?_0x4e1e9c['get'](_0x367489)['constructor']:_0x367489['prototype']['constructor'];if(_0x54910b['has'](_0x25d2ba))return _0x54910b['get'](_0x25d2ba);_0x54910b['set'](_0x25d2ba,!0x0);const _0x47d3e5=[...blackListedPlugins$2,..._0x113e6f]['map'](_0x2dbc2f=>{if(_0x4e1e9c['has'](_0x2dbc2f))return _0x4e1e9c['get'](_0x2dbc2f)['constructor'];})['filter'](_0x160429=>_0x160429);if(_0x25d2ba&&_0x47d3e5['includes'](_0x25d2ba))return _0x54910b['set'](_0x25d2ba,!0x1),!0x1;if(!_0x25d2ba['requires'])return _0x54910b['set'](_0x25d2ba,!0x0),!0x0;const _0x5cba94=_0x25d2ba['requires']['every'](_0x16add5=>skipRtcPlugins(_0x16add5,_0x54910b,_0x4e1e9c,_0x113e6f));return _0x54910b['set'](_0x25d2ba,_0x5cba94),_0x5cba94;}function sanitizeEditorConfig(_0xe32a08,_0x546664){const _0x19483f={};for(const _0x4e0524 of _0xe32a08['config']['names']())blackListedConfigOptions['includes'](_0x4e0524)||(_0x19483f[_0x4e0524]=_0xe32a08['config']['get'](_0x4e0524));const _0x457cba=_0x19483f['plugins']||[],_0xa141e0=_0xe32a08['constructor']['builtinPlugins']||[],_0x553c27=_0x457cba['length']?_0x457cba:_0xa141e0,_0x12e218=_0x19483f['extraPlugins']||[];delete _0x19483f['extraPlugins'];const _0x1706cc=_0x19483f['removePlugins']||[];delete _0x19483f['removePlugins'];const _0x33b209=_0xe32a08['_context']['config']['get']('plugins')||[],_0x7b1488=_0x553c27['concat'](_0x12e218)['concat'](_0x33b209)['map'](_0x144273=>'string'==typeof _0x144273?_0xa141e0['find'](_0x1ce14e=>_0x1ce14e['pluginName']==_0x144273):_0x144273)['filter'](_0x1be444=>!_0x1706cc['includes'](_0x1be444)&&!_0x1706cc['includes'](_0x1be444['pluginName'])),_0x36a870=Array['from'](new Set(_0x7b1488)),_0x46bdff=new Map();return _0x19483f['plugins']=_0x36a870['filter'](_0xd6be26=>skipRtcPlugins(_0xd6be26,_0x46bdff,_0xe32a08['plugins'],_0x546664)),_0x19483f;}function surroundingMarkersDetector(_0x454f5d,_0x3f74ea){const _0x3d2944=[];_0x454f5d['document']['selection']['on']('change:range',()=>{const _0x452b94=getSurroundingMarkers(_0x454f5d,_0x454f5d['document']['selection']['focus']),_0x14a50b=[],_0x27a684=[],_0x32d529=[];for(const _0xc6f893 of _0x3d2944)_0x452b94['includes'](_0xc6f893)||_0x14a50b['push'](_0xc6f893);for(const _0x253723 of _0x452b94)_0x3d2944['includes'](_0x253723)||_0x27a684['push'](_0x253723),_0x32d529['push'](_0x253723);(_0x14a50b['length']||_0x27a684['length'])&&_0x3f74ea({'left':_0x14a50b,'entered':_0x27a684}),_0x3d2944['length']=0x0,_0x3d2944['push'](..._0x32d529);});}function getSurroundingMarkers(_0x5400f5,_0x5e0d97){const _0x4b1279=[];for(const _0x430689 of _0x5400f5['markers']){const _0x259fac=_0x430689['getRange']();(_0x259fac['containsPosition'](_0x5e0d97)||_0x259fac['start']['isEqual'](_0x5e0d97)||_0x259fac['end']['isEqual'](_0x5e0d97))&&_0x4b1279['push'](_0x430689);}return _0x4b1279;}const FOCUS_ANNOTATION_KEYSTROKE='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x41a652,_0x2d85f5){const _0x1ffada=_0x41a652['element'];_0x41a652['keystrokes']['listenTo'](_0x1ffada);for(const _0x4dc22b of _0x2d85f5)addViewToFocusCyclerNavigation(_0x41a652,_0x4dc22b);_0x2d85f5['on']('change',(_0x5ea5f8,_0x1df31c)=>{for(const _0x2e27c8 of _0x1df31c['removed'])removeViewFromFocusCyclerNavigation(_0x41a652,_0x2e27c8);for(const _0x3b2391 of Array['from'](_0x1df31c['added'])['reverse']())addViewToFocusCyclerNavigation(_0x41a652,_0x3b2391);}),_0x41a652['keystrokes']['set']('enter',(_0x3932a9,_0x200c12)=>{_0x1ffada===_0x3932a9['target']&&(_0x41a652['focusCycler']['focusFirst'](),_0x200c12());},{'filter':_0x1c6b46=>_0x1c6b46['target']===_0x1ffada}),_0x41a652['keystrokes']['set']('esc',(_0x464e25,_0x245ca4)=>{_0x1ffada!==_0x464e25['target']?_0x41a652['focus']():_0x41a652['fire']('escape'),_0x245ca4();}),_0x41a652['keystrokes']['set']('arrowdown',(_0x1ff785,_0x4a1c8d)=>{_0x1ffada===_0x1ff785['target']&&(_0x41a652['fire']('arrowdown'),_0x4a1c8d());}),_0x41a652['keystrokes']['set']('arrowup',(_0x8f3ee8,_0x160a49)=>{_0x1ffada===_0x8f3ee8['target']&&(_0x41a652['fire']('arrowup'),_0x160a49());});}function addViewToFocusCyclerNavigation(_0x3d6483,_0x3a64e7){_0x3a64e7['isRendered']&&(_0x3d6483['focusTracker']['add'](_0x3a64e7['element']),_0x3d6483['keystrokes']['listenTo'](_0x3a64e7['element']),isViewWithFocusCycler(_0x3a64e7)&&areFocusCyclerActionsCompatible(_0x3d6483['focusCycler'],_0x3a64e7['focusCycler'])&&_0x3d6483['focusCycler']['chain'](_0x3a64e7['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x452fca,_0x49d09d){_0x452fca['focusTracker']['remove'](_0x49d09d['element']),_0x452fca['keystrokes']['stopListening'](_0x49d09d['element']),isViewWithFocusCycler(_0x49d09d)&&_0x452fca['focusCycler']['unchain'](_0x49d09d['focusCycler']);}function areFocusCyclerActionsCompatible(_0x195cbe,_0x282dca){const _0x297a0e=_0x195cbe['actions'],_0x4dc2dd=_0x282dca['actions'];for(const _0x33ecc8 of Object['keys'](_0x297a0e))if(_0x33ecc8 in _0x4dc2dd&&_0x297a0e[_0x33ecc8]!==_0x4dc2dd[_0x33ecc8])return!0x1;return!0x0;}var paintRoller='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20width=\x2220\x22\x20height=\x2220\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M3\x203a1\x201\x200\x200\x201\x201-1h10a1\x201\x200\x200\x201\x201\x201v2a1\x201\x200\x200\x201-1\x201H4a1\x201\x200\x200\x201-1-1V3Z\x22/><path\x20d=\x22M16\x203.25a1.5\x201.5\x200\x200\x201\x201.5\x201.5v1.7a2.25\x202.25\x200\x200\x201-1.932\x202.226l-4.424.632a.75.75\x200\x200\x200-.644.743V11a1\x201\x200\x200\x201\x201\x201v5a1\x201\x200\x200\x201-1\x201H9a1\x201\x200\x200\x201-1-1v-5a1\x201\x200\x200\x201\x201-1v-.95a2.25\x202.25\x200\x200\x201\x201.932-2.226l4.424-.632A.75.75\x200\x200\x200\x2016\x206.449V3.25Z\x22/></svg>\x0a',robotPencil='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M9.61\x202.66a1.406\x201.406\x200\x201\x200-1.407\x200v.891H3.28a2.11\x202.11\x200\x200\x200-2.11\x202.11v10.312a2.11\x202.11\x200\x200\x200\x202.11\x202.109h5.684l-.054-1.157.18-.25H3.28a.703.703\x200\x200\x201-.703-.702V5.66c0-.389.315-.704.703-.704h11.25c.388\x200\x20.703.315.703.704v2.484l.358-.497a2.492\x202.492\x200\x200\x201\x201.048-.84V5.66a2.11\x202.11\x200\x200\x200-2.11-2.11H9.61v-.89Z\x22/><path\x20d=\x22M5.625\x2010.817c.518\x200\x20.937-.63.937-1.407\x200-.776-.42-1.406-.937-1.406-.518\x200-.938.63-.938\x201.406\x200\x20.777.42\x201.407.938\x201.407Z\x22/><path\x20d=\x22M13.125\x209.41c0\x20.777-.42\x201.407-.938\x201.407s-.937-.63-.937-1.407c0-.776.42-1.406.937-1.406.518\x200\x20.938.63.938\x201.406Z\x22/><path\x20d=\x22M.937\x208.004A.937.937\x200\x200\x200\x200\x208.942v1.875c0\x20.517.42.937.937.937v-3.75Z\x22/><path\x20d=\x22M6.128\x2012.51a.782.782\x200\x200\x201\x201.085.216c.272.408.907.707\x201.693.707s1.421-.3\x201.693-.707a.782.782\x200\x200\x201\x201.302.868c-.666\x201-1.906\x201.403-2.995\x201.403-1.089\x200-2.329-.404-2.995-1.403a.782.782\x200\x200\x201\x20.217-1.085Z\x22/><path\x20d=\x22m16.987\x208.91-.622.864\x202.879\x202.074.622-.864a.71.71\x200\x200\x200-.161-.99l-1.728-1.245a.71.71\x200\x200\x200-.99.161Z\x22/><path\x20d=\x22M11.635\x2019.951a.355.355\x200\x200\x201-.449-.31l-.214-2.38\x204.978-6.911\x202.88\x202.074-4.978\x206.91-2.217.617Z\x22/></svg>',tableOfContents='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M3\x2019a2\x202\x200\x200\x201-2-2V2a2\x202\x200\x200\x201\x202-2h14a2\x202\x200\x200\x201\x202\x202v8.022a6.47\x206.47\x200\x200\x200-1.5-.709V2a.5.5\x200\x200\x200-.5-.5H3a.5.5\x200\x200\x200-.5.5v15a.5.5\x200\x200\x200\x20.5.5h6.313c.173.534.412\x201.037.709\x201.5H3Z\x22/><path\x20d=\x22M9.174\x2014a6.489\x206.489\x200\x200\x200-.155\x201H6v-1h3.174Z\x22/><path\x20d=\x22M10.022\x2012c-.202.316-.378.65-.524\x201H4v-1h6.022Z\x22/><path\x20d=\x22M12.034\x2010c-.448.283-.86.62-1.224\x201H6v-1h6.034Z\x22/><path\x20d=\x22M12\x204v1H4V4h8Z\x22/><path\x20d=\x22M14\x207V6H6v1h8Z\x22/><path\x20d=\x22M15\x209V8H7v1h8Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M20\x2015.5a4.5\x204.5\x200\x201\x201-9\x200\x204.5\x204.5\x200\x200\x201\x209\x200ZM15.5\x2013a.5.5\x200\x200\x200-.5.5V15h-1.5a.5.5\x200\x200\x200\x200\x201H15v1.5a.5.5\x200\x200\x200\x201\x200V16h1.5a.5.5\x200\x200\x200\x200-1H16v-1.5a.5.5\x200\x200\x200-.5-.5Z\x22/></svg>\x0a',template='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M8\x200H3a2\x202\x200\x200\x200-2\x202v15a2\x202\x200\x200\x200\x202\x202h5a2\x202\x200\x200\x200\x202-2V2a2\x202\x200\x200\x200-2-2ZM2.5\x202a.5.5\x200\x200\x201\x20.5-.5h5a.5.5\x200\x200\x201\x20.5.5v15a.5.5\x200\x200\x201-.5.5H3a.5.5\x200\x200\x201-.5-.5V2Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M13\x200h5a2\x202\x200\x200\x201\x202\x202v5a2\x202\x200\x200\x201-2\x202h-5a2\x202\x200\x200\x201-2-2V2a2\x202\x200\x200\x201\x202-2Zm0\x201.5a.5.5\x200\x200\x200-.5.5v5a.5.5\x200\x200\x200\x20.5.5h5a.5.5\x200\x200\x200\x20.5-.5V2a.5.5\x200\x200\x200-.5-.5h-5Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M13\x2010h5a2\x202\x200\x200\x201\x202\x202v5a2\x202\x200\x200\x201-2\x202h-5a2\x202\x200\x200\x201-2-2v-5a2\x202\x200\x200\x201\x202-2Zm0\x201.5a.5.5\x200\x200\x200-.5.5v5a.5.5\x200\x200\x200\x20.5.5h5a.5.5\x200\x200\x200\x20.5-.5v-5a.5.5\x200\x200\x200-.5-.5h-5Z\x22/></svg>',caseChange='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5.789\x203\x200\x2017h1.664l1.664-4.027h6.797l.227.548c.046-.172.112-.352.209-.545.217-.436.556-.609.898-.798L7.664\x203H5.79Zm.938\x201.758\x202.777\x206.715H3.949l2.778-6.715Z\x22/><path\x20d=\x22M15.956\x207.5c-1.584-.02-3.226.824-3.843\x202.882l1.495.106c.904-2.082\x204.594-2.13\x204.375.534-3.245\x201.024-4.838.117-6.082\x202.62-.208.418-.17\x201.57.54\x202.397.71.826\x202.014\x201.149\x203.409.85\x201.395-.299\x202.24-1.386\x202.24-1.386L18.205\x2017h1.493l-.059-1.72-.056-5.274C19.51\x208.612\x2017.75\x207.524\x2015.956\x207.5Zm2.027\x204.696s.641\x202.453-1.528\x203.27c-3.376\x201.269-4.188-2.141-1.775-2.638\x201.704-.352\x201.873-.25\x203.303-.632Z\x22/></svg>';const icons={'paintRoller':paintRoller,'robotPencil':robotPencil,'tableOfContents':tableOfContents,'template':template,'caseChange':caseChange},UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';function normalizeCommandsConfig(_0x281ef5,_0x53a636){const _0x2f7cac=(0x0,_0x53a636['t'])('Other');return _0x281ef5['length']?'groupId'in _0x281ef5[0x0]?_0x281ef5:[{'groupId':UNGROUPED_COMMANDS_GROUP_ID,'groupLabel':_0x2f7cac,'order':0x1/0x0,'commands':_0x281ef5}]:[{'groupId':UNGROUPED_COMMANDS_GROUP_ID,'groupLabel':_0x2f7cac,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],VISUAL_SELECTION_MARKER_NAME='ai-ui';class AIAssistantEditing extends Plugin{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x332df9}=this,_0x5aaa53=['ck-fake-ai-selection'];_0x332df9['config']['get']('ai.useTheme')&&_0x5aaa53['push']('ck-ai-assistant-ui_theme'),_0x332df9['conversion']['for']('editingDowncast')['markerToHighlight']({'model':VISUAL_SELECTION_MARKER_NAME,'view':{'classes':_0x5aaa53,'priority':0xc}}),_0x332df9['conversion']['for']('editingDowncast')['markerToElement']({'model':VISUAL_SELECTION_MARKER_NAME,'view':(_0x1e2fea,{writer:_0x4399b7})=>{if(!_0x1e2fea['markerRange']['isCollapsed'])return null;const _0x57f665=_0x4399b7['createUIElement']('span');return _0x4399b7['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x57f665),_0x57f665;}});}['afterInit'](){checkLicense$f(this);}['showFakeVisualSelection'](){const _0x42a3de=this['editor']['model'];_0x42a3de['change'](_0x45e05b=>{const _0x323d86=_0x42a3de['document']['selection']['getRanges']();let _0x51e98f=0x0;for(const _0x29b29f of _0x323d86){const _0x2dec86=VISUAL_SELECTION_MARKER_NAME+':'+_0x51e98f;if(_0x42a3de['markers']['has'](_0x2dec86))_0x45e05b['updateMarker'](_0x2dec86,{'range':_0x29b29f});else{if(_0x29b29f['start']['isAtEnd']){const _0xb2ab5c=_0x29b29f['start']['getLastMatchingPosition'](({item:_0x5b02dd})=>!_0x42a3de['schema']['isContent'](_0x5b02dd),{'boundaries':_0x29b29f});_0x45e05b['addMarker'](_0x2dec86,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45e05b['createRange'](_0xb2ab5c,_0x29b29f['end'])});}else _0x45e05b['addMarker'](_0x2dec86,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x29b29f});}_0x51e98f++;}});}['hideFakeVisualSelection'](){const _0x4d745a=this['editor']['model'],_0x56c4cb=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](VISUAL_SELECTION_MARKER_NAME));_0x56c4cb['length']&&_0x4d745a['change'](_0x5ce507=>{_0x56c4cb['forEach'](_0x5709bf=>{_0x5ce507['removeMarker'](_0x5709bf);});});}['insertContent'](_0x518102,_0x59744c){const _0x3c0dff=this['_getAISelection'](),_0x154196=_0x59744c||_0x3c0dff['getFirstRange']();this['editor']['model']['canEditAt'](_0x154196)&&this['editor']['model']['change'](_0x17dbcb=>{this['hideFakeVisualSelection'](),_0x59744c||this['_resetContentOfSelectedTableCells'](_0x17dbcb,_0x3c0dff),this['_pasteHTMLUsingClipboard']({'insertAt':_0x154196,'writer':_0x17dbcb,'html':_0x518102});});}['insertContentBelow'](_0x569e3b){const {model:_0x35f6f5}=this['editor'],_0x50db26=this['_getAISelection']();_0x35f6f5['change'](()=>{const _0x52d8b2=this['_prepareTableInsertBelowPosition'](_0x569e3b,_0x50db26)||this['_getDefaultInsertBelowPosition'](_0x50db26);this['insertContent'](_0x569e3b,_0x52d8b2);});}['_getAISelection'](){const _0x39e762=this['editor']['model'],_0x50b55d=Array['from'](_0x39e762['markers']['getMarkersGroup'](VISUAL_SELECTION_MARKER_NAME))['map'](_0x29d987=>_0x29d987['getRange']());return _0x39e762['createSelection'](_0x50b55d);}['_pasteHTMLUsingClipboard']({writer:_0x2cf80c,html:_0x55b5ae,insertAt:_0x2e447a}){const {view:_0x5c1117}=this['editor']['editing'],_0x30e34a=this['editor']['plugins']['get'](ClipboardPipeline),_0x309879=new DomDataTransfer$1();_0x309879['setData']('text/html',_0x55b5ae);const _0x5d111c=new ClipboardEvent('paste',{'clipboardData':_0x309879}),_0x1947c9=new DomEventData(_0x5c1117,_0x5d111c,{'dataTransfer':new DataTransfer$1(_0x309879)});_0x2cf80c['setSelection'](_0x2e447a);const _0x5778ba=(_0x2fdf5c,_0x296fcc)=>{_0x296fcc['resultRange']&&_0x2cf80c['setSelection'](_0x296fcc['resultRange']);};_0x30e34a['once']('contentInsertion',_0x5778ba,{'priority':'lowest'}),_0x5c1117['document']['fire']('paste',_0x1947c9),_0x30e34a['off']('contentInsertion',_0x5778ba);}['_getDefaultInsertBelowPosition'](_0x54cc68){const {model:_0x3af530}=this['editor'],_0x50c480=Array['from'](_0x54cc68['getSelectedBlocks']());return _0x50c480['length']?_0x3af530['createPositionAfter'](_0x50c480['pop']()):_0x54cc68['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x4b0833,_0x2ce7b9){const {model:_0x154e09,plugins:_0x8cf3b8}=this['editor'];if(_0x8cf3b8['has']('TableUtils')){const _0x45a1cc=_0x8cf3b8['get']('TableUtils')['getSelectedTableCells'](_0x2ce7b9);if(_0x45a1cc['length']){const _0x423095=this['_getTableRowCountFromContent'](_0x4b0833),_0x294169=this['_createEmptyTableRows'](_0x45a1cc,_0x423095);return _0x154e09['createPositionAt'](_0x294169,0x0);}}return null;}['_getTableRowCountFromContent'](_0x44e5ff){const _0x1238f5=this['editor']['plugins']['get']('TableUtils'),_0xee63c1=this['editor']['data']['parse'](_0x44e5ff),_0xc70c4d=Array['from'](_0xee63c1['getChildren']())['filter'](_0x1abb31=>_0x1abb31['is']('element','table'));let _0x414376=0x0;return _0xc70c4d['forEach'](_0x53295f=>{_0x414376+=_0x1238f5['getRows'](_0x53295f);}),_0x414376;}['_createEmptyTableRows'](_0x33d935,_0x32312a){const _0x52868d=this['editor']['plugins']['get']('TableUtils'),_0xafc997=_0x52868d['getRowIndexes'](_0x33d935),_0x22348a=_0x52868d['getColumnIndexes'](_0x33d935),_0x2898ca=_0xafc997['last']+0x1,_0x2c9ac0=_0x22348a['first'],_0x27b8dc=_0x33d935[0x0]['findAncestor']('table');for(let _0x5da794=0x0;_0x5da794<_0x32312a;_0x5da794++)_0x52868d['insertRows'](_0x27b8dc,{'at':_0x2898ca});return _0x27b8dc['getChild'](_0x2898ca)['getChild'](_0x2c9ac0);}['_resetContentOfSelectedTableCells'](_0x1c1ed0,_0x53de60){const {plugins:_0x189770}=this['editor'],{model:_0x21d0aa}=_0x1c1ed0;if(!_0x189770['has']('TableUtils'))return;_0x189770['get']('TableUtils')['getSelectedTableCells'](_0x53de60)['length']&&_0x21d0aa['deleteContent'](_0x53de60);}}async function checkLicense$f(_0x225e0c){const _0x23214e=_0x427f3f([0x52,0x4f,0x61,0x64,0x65,0x68,0x46,0x34,0x51,0x44,0x66,0x69,0x47,0x7a,0x50,0x74,0x4b,0x59,0x45,0x77,0x54,0x4c,0x31,0x33,0x73,0x6a,0x49,0x43,0x6d,0x6c,0x58,0x63,0x39,0x6b,0x36,0x35,0x32,0x72,0x6e,0x30,0x76,0x41,0x67,0x53,0x4d,0x70,0x62,0x48,0x55,0x56,0x37,0x57,0x5a,0x71,0x78,0x75,0x4a,0x6f,0x4e,0x42,0x38,0x79]),_0xbdcca9=window[_0x427f3f([0x44,0x61,0x74,0x65])][_0x427f3f([0x6e,0x6f,0x77])](),_0x2b5cb0=_0x225e0c[_0x427f3f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44e88f=new window[(_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dcec0=>{_0x2b5cb0[_0x427f3f([0x6f,0x6e,0x63,0x65])](_0x427f3f([0x72,0x65,0x61,0x64,0x79]),_0x1dcec0);}),_0x26635c={[_0x427f3f([0x6b,0x74,0x79])]:_0x427f3f([0x45,0x43]),[_0x427f3f([0x75,0x73,0x65])]:_0x427f3f([0x73,0x69,0x67]),[_0x427f3f([0x63,0x72,0x76])]:_0x427f3f([0x50,0x2d,0x32,0x35,0x36]),[_0x427f3f([0x78])]:_0x427f3f([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]),[_0x427f3f([0x79])]:_0x427f3f([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]),[_0x427f3f([0x61,0x6c,0x67])]:_0x427f3f([0x45,0x53,0x32,0x35,0x36])},_0x3f7911=_0x2b5cb0[_0x427f3f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x427f3f([0x67,0x65,0x74])](_0x427f3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x161f52=await(async function(){let _0x3a6808,_0x319ccc=null,_0x1c5698=null;try{if(_0x3f7911==_0x427f3f([0x47,0x50,0x4c]))return _0x427f3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a6808=(function(){const _0xb4ef18=_0x3f7911[_0x427f3f([0x73,0x70,0x6c,0x69,0x74])](_0x427f3f([0x2e]));if(0x3!=_0xb4ef18[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x26380b=_0xb4ef18[0x1];return _0x57a967(_0x26380b);function _0x57a967(_0x4d1992){const _0x5549f3=_0x3670ac(_0x4d1992);return _0x5549f3&&_0x1c6c54()?_0x5549f3:null;function _0x1c6c54(){const _0x33daff=_0x5549f3[_0x427f3f([0x6a,0x74,0x69])],_0x44cfca=window[_0x427f3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33daff[_0x427f3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33daff[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf6c3b3={..._0x5549f3,[_0x427f3f([0x6a,0x74,0x69])]:_0x33daff[_0x427f3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33daff[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf6c3b3[_0x427f3f([0x76,0x63])],_0x21a36d(_0xf6c3b3)==_0x44cfca;}}}()),!_0x3a6808)return _0x427f3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3a6808[_0x427f3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c5698=function(_0x4d7b51,_0x3c75a1){return new window[(_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5820a3=>{if(_0x4728b5())return _0x5820a3(_0x427f3f([0x56,0x61,0x6c,0x69,0x64]));_0x44a5fa(),_0x2b5cb0[_0x427f3f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x427f3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c6b0d=!0x1;const _0x2c7d1c=uid();function _0x19d8ad(_0x578071){return!!_0x578071&&(typeof _0x578071===_0x427f3f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x578071===_0x427f3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x578071[_0x427f3f([0x74,0x68,0x65,0x6e])]===_0x427f3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x578071[_0x427f3f([0x63,0x61,0x74,0x63,0x68])]===_0x427f3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c476f(_0x9acb9){_0x5ecd09(_0x9acb9)[_0x427f3f([0x74,0x68,0x65,0x6e])](_0x31f1cb=>{if(!_0x31f1cb||_0x31f1cb[_0x427f3f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x427f3f([0x6f,0x6b]))return _0x427f3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xffdaf7(_0x21a36d(_0x2c7d1c+_0x3c75a1))!=_0x31f1cb[_0x427f3f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x427f3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x427f3f([0x56,0x61,0x6c,0x69,0x64]);})[_0x427f3f([0x74,0x68,0x65,0x6e])](_0x47f0c3=>(_0x346450(),_0x47f0c3),()=>{const _0x38f2e7=_0x13fed4();return null==_0x38f2e7?(_0x346450(),_0x427f3f([0x56,0x61,0x6c,0x69,0x64])):_0x427f3f(_0xbdcca9-_0x38f2e7>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x427f3f([0x74,0x68,0x65,0x6e])](_0x5820a3)[_0x427f3f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5820a3(_0x427f3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ddcc8=0x36ee80;function _0x346450(){const _0x5be348=_0x427f3f([0x6c,0x6c,0x63,0x74,0x2d])+_0xffdaf7(_0x21a36d(_0x4d7b51)),_0x3480a5=_0x2a101b(_0xffdaf7(window[_0x427f3f([0x4d,0x61,0x74,0x68])][_0x427f3f([0x63,0x65,0x69,0x6c])](_0xbdcca9/_0x4ddcc8)));window[_0x427f3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x427f3f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5be348,_0x3480a5);}function _0x13fed4(){const _0x5690bc=_0x427f3f([0x6c,0x6c,0x63,0x74,0x2d])+_0xffdaf7(_0x21a36d(_0x4d7b51)),_0x5af56d=window[_0x427f3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x427f3f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5690bc);return _0x5af56d?window[_0x427f3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a101b(_0x5af56d),0x10)*_0x4ddcc8:null;}function _0x5ecd09(_0x2f1e3d){return new window[(_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58c91d,_0x1b4f30)=>{_0x2f1e3d[_0x427f3f([0x74,0x68,0x65,0x6e])](_0x58c91d,_0x1b4f30),window[_0x427f3f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b4f30,0x1d4c0);});}}_0x2b5cb0[_0x427f3f([0x6f,0x6e])](_0x427f3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e4713,_0x51102b)=>{if(_0x51102b[0x0]!=_0x4d7b51)return _0x5820a3(_0x427f3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51102b[0x1]={..._0x51102b[0x1],[_0x427f3f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c7d1c};},{[_0x427f3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x427f3f([0x68,0x69,0x67,0x68])}),_0x2b5cb0[_0x427f3f([0x6f,0x6e])](_0x427f3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18e1ba=>{_0x19d8ad(_0x18e1ba[_0x427f3f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c6b0d=!0x0,_0x3c476f(_0x18e1ba[_0x427f3f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x427f3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x427f3f([0x6c,0x6f,0x77])}),_0x44e88f[_0x427f3f([0x74,0x68,0x65,0x6e])](()=>{_0x4c6b0d||_0x5820a3(_0x427f3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4728b5(){return _0x2b5cb0[_0x427f3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x427f3f([0x76,0x69,0x65,0x77])][_0x427f3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x427f3f([0x61,0x75,0x74,0x6f]);}function _0x44a5fa(){_0x2b5cb0[_0x427f3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x427f3f([0x76,0x69,0x65,0x77])][_0x427f3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x427f3f([0x61,0x75,0x74,0x6f]);}}(_0x3a6808[_0x427f3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a6808[_0x427f3f([0x6a,0x74,0x69])]));const _0x41e3dd=await(async function(){let _0x101638=!0x0;try{const _0x2fbc5c=_0x3f7911[_0x427f3f([0x73,0x70,0x6c,0x69,0x74])](_0x427f3f([0x2e])),[_0x3c0437,_0x363eb5,_0x861e5d]=_0x2fbc5c;return _0x39dcf3(_0x3c0437),await _0x33df40(_0x3c0437,_0x363eb5,_0x861e5d),_0x101638;}catch(_0x2912ba){return!0x1;}function _0x39dcf3(_0x26eb3b){const _0x4fb8fa=_0x3670ac(_0x26eb3b);_0x4fb8fa&&_0x4fb8fa[_0x427f3f([0x61,0x6c,0x67])]==_0x427f3f([0x45,0x53,0x32,0x35,0x36])||(_0x101638=!0x1);}async function _0x33df40(_0x200fb1,_0xbc32f,_0x23a894){const _0x331950=window[_0x427f3f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x427f3f([0x66,0x72,0x6f,0x6d])](_0x1870a1(_0x23a894),_0x342642=>_0x342642[_0x427f3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc0e65e=new window[(_0x427f3f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x427f3f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x200fb1+_0x427f3f([0x2e])+_0xbc32f),_0x45cab5=window[_0x427f3f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x427f3f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45cab5)return;const _0x1a6289=await _0x45cab5[_0x427f3f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x427f3f([0x6a,0x77,0x6b]),_0x26635c,{[_0x427f3f([0x6e,0x61,0x6d,0x65])]:_0x427f3f([0x45,0x43,0x44,0x53,0x41]),[_0x427f3f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x427f3f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x427f3f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45cab5[_0x427f3f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x427f3f([0x6e,0x61,0x6d,0x65])]:_0x427f3f([0x45,0x43,0x44,0x53,0x41]),[_0x427f3f([0x68,0x61,0x73,0x68])]:{[_0x427f3f([0x6e,0x61,0x6d,0x65])]:_0x427f3f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a6289,_0x331950,_0xc0e65e)||(_0x101638=!0x1);}}());return _0x41e3dd?(function(){const _0x2b94f9=_0x3a6808[_0x427f3f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2b94f9)return!0x1;if(_0x2b94f9[_0x427f3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x427f3f([0x2a])))return!0x0;if(_0x2b94f9[_0x427f3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x427f3f([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x36ee18=[_0x427f3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x427f3f([0x74,0x72,0x69,0x61,0x6c])][_0x427f3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6808[_0x427f3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbdcca9/0x3e8:0x67b67080;return _0x3a6808[_0x427f3f([0x65,0x78,0x70])]<_0x36ee18;}())?_0x427f3f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5b28f6=_0x3a6808[_0x427f3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b28f6||0x0==_0x5b28f6[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aa784}=new URL(window[_0x427f3f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b28f6[_0x427f3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aa784))return!0x0;const _0xfb8368=_0x3aa784[_0x427f3f([0x73,0x70,0x6c,0x69,0x74])](_0x427f3f([0x2e]));return _0x5b28f6[_0x427f3f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cd8f7=>_0x5cd8f7[_0x427f3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x427f3f([0x2a])))[_0x427f3f([0x6d,0x61,0x70])](_0x327bec=>_0x327bec[_0x427f3f([0x73,0x70,0x6c,0x69,0x74])](_0x427f3f([0x2e])))[_0x427f3f([0x73,0x6f,0x6d,0x65])](_0x3e1c94=>_0xfb8368[_0x427f3f([0x65,0x76,0x65,0x72,0x79])]((_0x30a5ca,_0x31101d)=>_0x3e1c94[_0x31101d]===_0x30a5ca||_0x3e1c94[_0x31101d]===_0x427f3f([0x2a])));}())?(_0x3a6808[_0x427f3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x427f3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x319ccc=_0x383bc9(_0x427f3f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a6808[_0x427f3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x427f3f([0x74,0x72,0x69,0x61,0x6c])&&(_0x319ccc=_0x383bc9(_0x427f3f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x319ccc&&_0x1c5698)return new window[(_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc81f,_0x2231ab)=>{_0x319ccc[_0x427f3f([0x74,0x68,0x65,0x6e])](_0x1bc81f,_0x2231ab),_0x1c5698[_0x427f3f([0x74,0x68,0x65,0x6e])](_0x1c8602=>{_0x1c8602!=_0x427f3f([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc81f(_0x1c8602);},_0x2231ab);});return _0x319ccc||_0x1c5698||_0x427f3f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x427f3f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x427f3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x427f3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1bcc83){return _0x427f3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x383bc9(_0xc7b6fe){const _0x53729c=new window[(_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x118959=>setTimeout(_0x118959,0x93ecc)),_0x234339=_0x44e88f[_0x427f3f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x335d8=>{let _0x17df9c=0x0;_0x2b5cb0[_0x427f3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x427f3f([0x6f,0x6e])](_0x427f3f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d1852,_0x5d7431)=>{_0x5d7431[0x0][_0x427f3f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17df9c++,0x1f8==_0x17df9c&&(_0x335d8(),_0x2d1852[_0x427f3f([0x6f,0x66,0x66])]());});})),_0x93a901=[_0x53729c,_0x234339];return window[_0x427f3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x427f3f([0x72,0x61,0x63,0x65])](_0x93a901)[_0x427f3f([0x74,0x68,0x65,0x6e])](()=>_0xc7b6fe);}function _0x3670ac(_0x476a50){return _0x476a50[_0x427f3f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x427f3f([0x65,0x79]))?JSON[_0x427f3f([0x70,0x61,0x72,0x73,0x65])](_0x1870a1(_0x476a50)):null;}function _0x1870a1(_0x33ec0a){return window[_0x427f3f([0x61,0x74,0x6f,0x62])](_0x33ec0a[_0x427f3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x427f3f([0x2b]))[_0x427f3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x427f3f([0x2f])));}function _0x21a36d(_0x1cc6a3){let _0x368e5a=0x1505;function _0x675234(_0x4931f4){for(let _0x1c7c42=0x0;_0x1c7c42<_0x4931f4[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c7c42++){const _0x1ca940=_0x4931f4[_0x427f3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c7c42);_0x368e5a=(_0x368e5a<<0x5)+_0x368e5a+_0x1ca940,_0x368e5a&=_0x368e5a;}}return function _0x3034c4(_0x3524ff){Array[_0x427f3f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3524ff)?_0x3524ff[_0x427f3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3034c4):_0x3524ff&&typeof _0x3524ff==_0x427f3f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x427f3f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3524ff)[_0x427f3f([0x73,0x6f,0x72,0x74])]()[_0x427f3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x307f48,_0x59bc78])=>{_0x675234(_0x307f48),_0x3034c4(_0x59bc78);}):_0x675234(window[_0x427f3f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3524ff));}(_0x1cc6a3),_0x368e5a>>>0x0;}function _0xffdaf7(_0x47c39a){return _0x47c39a[_0x427f3f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x427f3f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x427f3f([0x30]));}function _0x2a101b(_0x3c6389){return _0x3c6389[_0x427f3f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x427f3f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x427f3f([0x6a,0x6f,0x69,0x6e])]('');}function _0x53aaef(){}function _0x427f3f(_0xe62685){return _0xe62685['map'](_0x26bbf5=>String['fromCharCode'](_0x26bbf5))['join']('');}!function(_0x4490c0){const _0x5c7bb6=(function(){const _0x3388f7=window[_0x427f3f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x427f3f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x427f3f([0x6e,0x6f,0x77])]())[_0x427f3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x427f3f([0x2e]),'');let _0x316374=_0x427f3f([0x52]);for(let _0x4d0cf6=0x0;_0x4d0cf6<_0x3388f7[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d0cf6+=0x2){let _0x3943dd=window[_0x427f3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3388f7[_0x427f3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d0cf6,_0x4d0cf6+0x2));_0x3943dd>=_0x23214e[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3943dd-=_0x23214e[_0x427f3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x316374+=_0x23214e[_0x3943dd];}return _0x316374;}());_0x2b5cb0[_0x5c7bb6]=_0x427f3f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4490c0,_0x4490c0!=_0x427f3f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x44e88f,_0x2b5cb0[_0x427f3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x427f3f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53aaef,_0x2b5cb0[_0x427f3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x427f3f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53aaef,_0x2b5cb0[_0x427f3f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x427f3f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x161f52);}class AIAdapter extends Plugin{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new CKEditorError('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x209b1f){super(_0x209b1f),this['name']='AIRequestError';}}function getTranslation$h(_0x4c904c,_0x19903e,_0x4c4921){const t=_0x4c904c['t'];switch(_0x19903e){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x4c4921);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4c4921);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x4c4921);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x19903e;}}class ShowAIAssistantCommand extends _0xa280c5{constructor(_0x59baaf,_0x5f45ae){super(_0x59baaf),this['_commandDefinitions']=_0x5f45ae,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x271014,_0x4b8cfe,_0x14c154)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0x14c154));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x3996b3,_0x12ac2b,_0x576525)=>{this['enabledCommandsIds']=_0x576525?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x219e16=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x219e16);const _0x46018e=_0x219e16['document']['selection'],_0x2c3e36=this['editor']['config']['get']('ai.aiAssistant.disabledElements');for(const _0x5c63d0 of _0x46018e['getRanges']())for(const _0x23e9f of _0x5c63d0['getItems']())if(_0x23e9f['is']('element')&&_0x2c3e36['includes'](_0x23e9f['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x64a6e8='',_0x4c910c='',_0x2bdd07='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x64a6e8,_0x4c910c,_0x2bdd07);}}function _isContextAvailable(_0x19726b){const _0x7e41b4=_0x19726b['document']['selection'];return _0x7e41b4['isCollapsed']?0x0!==[..._0x7e41b4['getSelectedBlocks']()]['length']&&![..._0x7e41b4['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x19726b['hasContent'](_0x7e41b4['getFirstRange']());}function _getEnabledCommands(_0x2eb642,_0x55dbc6){const _0x41f6c5=new Set();for(const _0x35b320 of _0x2eb642['values']())(_0x55dbc6||!0x1===_0x35b320['requiresContent'])&&_0x41f6c5['add'](_0x35b320['id']);return Array['from'](_0x41f6c5);}const MIN_RESPONSE_LENGTH_TO_FIRST_HTML=0x64,ALL_UNTIL_FIRST_HTML_REGEX=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x4967d8,_0x6e524d,_0x5a816f){super(),this['editor']=_0x4967d8,this['textAdapter']=_0x6e524d,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x5a816f,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x42fd40,_0x5032a5,_0x519095)=>{this['view']['value']=this['_sanitizeHTML'](_0x519095);}),this['listenTo'](this['view'],'submitPrompt',(_0x8c8915,_0x3a30b2)=>{const _0x203c66=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x3a30b2,_0x203c66,'custom');}),this['listenTo'](this['view'],'tryAgainEvent',()=>{this['view']['prompt']=this['previousLabel'],this['_handleQuery'](this['previousQuery'],this['previousContext'],this['previousActionId'],this['previousLabel']);}),this['listenTo'](this['view'],'stopProcessing',()=>{this['stopProcessing']();});}['destroy'](){this['stopListening']();}async['updateView']({actionId:_0x468d27,query:_0x3791b0,htmlContent:_0xdcaa8,label:_0x3722a8,mainActionLabel:_0x13d152}){this['view']['prompt']=_0x3722a8,this['view']['mainAction']=_0x13d152,this['initialContext']=_0xdcaa8,_0x3791b0&&(this['view']['isRendered']?this['_handleQuery'](_0x3791b0,_0xdcaa8,_0x468d27,_0x3722a8):this['view']['once']('render',()=>{this['_handleQuery'](_0x3791b0,_0xdcaa8,_0x468d27,_0x3722a8);}));}['stopProcessing'](){this['isProcessing']&&(this['isProcessing']=!0x1,this['view']['finishProcessing'](),this['textAdapter']['abort']());}['reset'](){this['initialContext']='',this['currentContext']='',this['currentResponse']='',this['previousContext']='',this['previousQuery']='',this['previousLabel']='',this['previousActionId']=void 0x0,this['view']['reset'](),this['stopProcessing']();}async['_handleQuery'](_0x51f38c,_0x5d2c87,_0x5d2bec,_0x8d44ce){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x5d2c87,this['previousQuery']=_0x51f38c,this['previousLabel']=_0x8d44ce||_0x51f38c,this['previousActionId']=_0x5d2bec,new Promise(_0xfd502d=>{this['textAdapter']['makeRequest']({'query':_0x51f38c,'context':_0x5d2c87,'onData':_0x41015f=>{this['currentResponse']=_0x41015f,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x5d2bec})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x23a2fa=>{_0x23a2fa instanceof AIRequestError?this['view']['handleError'](_0x23a2fa['message']):this['view']['handleError'](),_0xfd502d();})['finally'](()=>{this['stopProcessing'](),_0xfd502d();});});}['_parseAndNormalizeContent'](_0x15113e,_0x49815e=!0x1){const _0x478e72=ALL_UNTIL_FIRST_HTML_REGEX['exec'](_0x15113e);_0x15113e=_0x478e72?_0x15113e['substring'](_0x478e72[0x1]['length']):_0x15113e['length']<MIN_RESPONSE_LENGTH_TO_FIRST_HTML&&!_0x49815e?'':this['_stripMarkdownSyntax'](_0x15113e);const _0x12f7f1=this['_domParser']['parseFromString'](_0x15113e,'text/html');if(_0x478e72){const _0x515c77=Array['from'](_0x12f7f1['body']['childNodes']);_0x515c77['reverse']();for(const _0x39bb63 of _0x515c77){if(_0x39bb63['nodeType']==Node['ELEMENT_NODE'])break;_0x39bb63['remove']();}}const _0x11c700=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x12f7f1['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x11c700);const _0x13e1a7=this['editor']['config']['get']('ai.aiAssistant.preserveComments'),_0x12b322=this['editor']['data']['toModel'](_0x11c700);return _0x13e1a7||_0x12b322['markers']['clear'](),this['editor']['data']['stringify'](_0x12b322);}['_normalizeResponseHeadings'](_0x2a6a31){const _0x4d25a3=new UpcastWriter(this['editor']['editing']['view']['document']),_0x4c661d=new Matcher({'name':/^h[1-5]$/}),_0x30eee3=[];let _0x24894e=!0x1;for(const _0x43db10 of _0x2a6a31)_0x43db10['is']('element')&&_0x4c661d['match'](_0x43db10)&&(_0x30eee3['push'](_0x43db10),'h1'==_0x43db10['name']&&(_0x24894e=!0x0));if(_0x24894e){for(const _0x50a7ef of _0x30eee3)_0x4d25a3['rename']('h'+(parseInt(_0x50a7ef['name'][0x1])+0x1),_0x50a7ef);}}['_isH1TagSupportEnabled'](){const {data:_0x2c3b00,editing:_0x5c1cc8}=this['editor'],_0x16a926=_0x2c3b00['htmlProcessor']['toView']('<h1></h1>'),_0x5e7249=_0x2c3b00['toView'](_0x2c3b00['toModel'](_0x16a926));return!!_0x5c1cc8['view']['domConverter']['viewToDom'](_0x5e7249)['querySelector']('h1');}['_sanitizeHTML'](_0x530bc2){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x530bc2),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x3731bb){const _0x3c49ff=_0x3731bb['trim']();return _0x3c49ff['startsWith']('```html')?_0x3c49ff['endsWith']('```')?_0x3c49ff['substring'](0x7,_0x3c49ff['length']-0x3):_0x3c49ff['substring'](0x7):_0x3731bb;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class AIFormToolbarView extends ToolbarView{constructor(_0x2dcada){super(_0x2dcada),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x831f8=>getTranslation$h(_0x2dcada,'AI_'+_0x831f8['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$h(_0x2dcada,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$h(_0x2dcada,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$h(_0x2dcada,'Stop'));const _0x34feba=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x34feba['if']('isVisible','ck-hidden',_0x484491=>!_0x484491)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x4872fb,_0x1c559d){const _0x2b813a=new ButtonView(this['locale']);return _0x2b813a['set']({'label':_0x4872fb,'class':_0x1c559d||'','isVisible':!0x0,'withText':!0x0}),_0x2b813a;}}var copyIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5\x202.801a.7.7\x200\x200\x200-.7.7v11.5a.8.8\x200\x200\x201-1.6\x200v-11.5a2.3\x202.3\x200\x200\x201\x202.3-2.3h6.5a.8.8\x200\x200\x201\x200\x201.6H5Zm.7\x203.7a2.3\x202.3\x200\x200\x201\x202.3-2.3h7a2.3\x202.3\x200\x200\x201\x202.3\x202.3v10a2.3\x202.3\x200\x200\x201-2.3\x202.3H8a2.3\x202.3\x200\x200\x201-2.3-2.3v-10Zm2.3-.7a.7.7\x200\x200\x200-.7.7v10a.7.7\x200\x200\x200\x20.7.7h7a.7.7\x200\x200\x200\x20.7-.7v-10a.7.7\x200\x200\x200-.7-.7H8Z\x22/></svg>';class AIFormContentArea extends View{constructor(_0x47c4d8,_0x28e8c6=''){super(_0x47c4d8),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x58eb68=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x47c4d8,_0x28e8c6),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x58eb68['if']('isVisible','ck-hidden',_0x2f1710=>!_0x2f1710)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x58eb68['if']('isProcessing','ck-ai-form__content-area--processing')]},'children':[this['contentFieldView'],{'tag':'div','attributes':{'class':['ck','ck-ai-form__copy-button-wrapper']},'children':[this['copyButtonView']]}]}]});}['render'](){super['render'](),this['value']&&this['contentFieldView']['setContent'](this['value']);let _0x20d428=!0x1;this['on']('change:value',(_0x40053f,_0x757544,_0x4dd550)=>{const _0x554189=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x4dd550),this['isProcessing']&&_0x554189&&!_0x20d428&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x26dad9,_0x1e8517,_0x411693)=>{_0x20d428=!0x1,_0x411693?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x20d428=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x20d428=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x365402=this['locale'],_0x295a24=new ButtonView(this['locale']),_0x5518b9='ck-ai-form__copy-button';return _0x295a24['set']({'label':getTranslation$h(_0x365402,'Copy'),'icon':copyIcon,'class':_0x5518b9,'tooltip':!0x0}),_0x295a24['bind']('isVisible')['to'](this,'value',_0x414800=>!!_0x414800),_0x295a24['bind']('isEnabled')['to'](this,'isProcessing',_0xa574d3=>!_0xa574d3),_0x295a24['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x295a24['icon']=_0x40ee59['check'],_0x295a24['class']=_0x5518b9+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x295a24['icon']=copyIcon,_0x295a24['class']=_0x5518b9;},0x3e8);}),_0x295a24;}['_copyHTMLToClipboard'](_0x180c69){const {window:_0x470ba2,document:_0x5a5bd5}=_0x25cc2c;if(_0x470ba2['ClipboardItem']){const {Blob:_0xec5293,ClipboardItem:_0xe40100}=_0x470ba2,_0x398f3a=[new _0xe40100({'text/html':new _0xec5293([_0x180c69['innerHTML']],{'type':'text/html'}),'text/plain':new _0xec5293([_0x180c69['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x398f3a);}else{const _0x44c2d7=_0x5a5bd5['createElement']('div');_0x44c2d7['style']['position']='absolute',_0x44c2d7['style']['left']='-9999px',_0x44c2d7['innerHTML']='<span>[</span>'+_0x180c69['innerHTML']+'<span>]</span>',_0x5a5bd5['body']['appendChild'](_0x44c2d7);const _0x3a64d5=_0x5a5bd5['createRange']();_0x3a64d5['setStartAfter'](_0x44c2d7['firstElementChild']),_0x3a64d5['setEndBefore'](_0x44c2d7['lastElementChild']);const _0xd4941b=_0x470ba2['getSelection']();_0xd4941b['removeAllRanges'](),_0xd4941b['addRange'](_0x3a64d5),_0x5a5bd5['execCommand']('copy'),_0x44c2d7['remove']();}}}class ContentFieldView extends View{constructor(_0x11e7d2,_0x1be28f=''){super(_0x11e7d2),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x1be28f,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x365ef9){this['element']['innerHTML']=_0x365ef9;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x411d55=new View(),_0x6a7d74=this['locale'],_0x27033e=new SpinnerView();return _0x27033e['isVisible']=!0x0,_0x411d55['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x27033e,{'text':getTranslation$h(_0x6a7d74,'AI\x20is\x20writing...')}]}),_0x411d55['render'](),_0x411d55;}}var errorIcon$1='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.9\x204.385a1.2\x201.2\x200\x200\x200-.44.44h.002l-5.284\x209.15a1.2\x201.2\x200\x200\x200\x201.04\x201.8h10.564a1.2\x201.2\x200\x200\x200\x201.04-1.8l-5.282-9.15a1.2\x201.2\x200\x200\x200-1.64-.44Zm.05\x208.363a.301.301\x200\x200\x201\x20.115-.023h.9a.301.301\x200\x200\x201\x20.3.3v.9a.3.3\x200\x200\x201-.3.3h-.9a.3.3\x200\x200\x201-.3-.3v-.9a.3.3\x200\x200\x201\x20.185-.277Zm-.185-4.723a.3.3\x200\x200\x201\x20.3-.3h.9a.3.3\x200\x200\x201\x20.3.3v3.4a.3.3\x200\x200\x201-.3.3h-.9a.301.301\x200\x200\x201-.3-.3v-3.4Z\x22/></svg>\x0a';class AIFormErrorView extends View{constructor(_0x15c1a6,_0x49ee01=''){super(_0x15c1a6);const _0x567be5=new IconView(),_0x534d2d=this['bindTemplate'];this['set']('text',_0x49ee01),_0x567be5['content']=errorIcon$1,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x567be5,{'text':_0x534d2d['to']('text')}]});}}var submitIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M15.875\x204.419a.75.75\x200\x200\x200-1.5\x200v7.25H6.818l2.33-1.955a.75.75\x200\x200\x200-.963-1.15l-3.792\x203.182a.75.75\x200\x200\x200-.17.945c.046.11.118.208.21.284l3.788\x203.18a.75.75\x200\x201\x200\x20.965-1.149l-2.19-1.837h7.629c.69\x200\x201.25-.56\x201.25-1.25v-7.5Z\x22/></svg>';class AIFormPromptView extends AutocompleteView{constructor(_0x2c2106,_0x224212){super(_0x2c2106,_0x224212),this['queryView']['fieldView']['minRows']=0x1,this['queryView']['fieldView']['maxRows']=0x3,this['submitButtonView']=this['_createSubmitButton'](),this['showHistoryButtonView']=this['_createShowHistoryButton'](),this['focusableChildren']['add'](this['showHistoryButtonView'],0x1),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['showHistoryButtonView']),this['children']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x1f1adc,_0x14bc9b)=>{_0x1f1adc['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x14bc9b());});}['_createSubmitButton'](){const _0x399582=new ButtonView(this['locale']),_0x377385=this['locale'];return _0x399582['set']({'icon':submitIcon,'label':getTranslation$h(_0x377385,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x399582['on']('execute',()=>{this['submit']();}),_0x399582['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0xc2def6,_0x3e2407)=>!_0xc2def6&&_0x3e2407),_0x399582;}['_createShowHistoryButton'](){const _0x44ed8f=new ButtonView(this['locale']),_0xe6b746=this['resultsView'],_0x5c7205=this['locale'];_0x44ed8f['set']({'label':getTranslation$h(_0x5c7205,'History'),'withText':!0x1,'icon':_0x40ee59['history'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x44ed8f['bind']('isOn')['to'](_0xe6b746,'isVisible'),_0x44ed8f['bind']('isEnabled')['to'](this,'isEnabled'),_0x44ed8f['on']('execute',()=>{_0xe6b746['isVisible']=!_0xe6b746['isVisible'],_0xe6b746['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x3c5bec=()=>{_0x25cc2c['window']['requestAnimationFrame'](()=>{if(isVisible(this['element'])){const _0x478618=new Rect(this['queryView']['fieldView']['element']),_0x43c513=_0x478618['width'],_0x587369='rtl'===_0x5c7205['uiLanguageDirection']?'left':'right';_0x478618['excludeScrollbarsAndBorders'](),_0x44ed8f['element']['style'][_0x587369]=_0x43c513-_0x478618['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x3c5bec),this['on']('render',_0x3c5bec),_0x44ed8f;}['submit'](){const _0x1e25ad=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x1e25ad);}['focus'](_0x4433a8){-0x1===_0x4433a8?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ListView{constructor(_0x200845){super(_0x200845),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ListItemGroupView(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$h(_0x200845,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x559c13=0x0;for(const _0x548ed9 of this['items'])_0x559c13+=_0x548ed9['items']['length'];return{'resultsCount':_0x559c13,'totalItemsCount':_0x559c13};}['_createClearHistoryButton'](){const _0x3562a0=this['locale'],_0x1aa26f=new ButtonView(this['locale']);return _0x1aa26f['set']({'label':'('+getTranslation$h(_0x3562a0,'Clear')+')','withText':!0x0}),_0x1aa26f['on']('execute',()=>this['fire']('clearHistory')),_0x1aa26f;}}var freeGlobal='object'==typeof global&&global&&global['Object']===Object&&global,freeSelf='object'==typeof self&&self&&self['Object']===Object&&self,root=freeGlobal||freeSelf||Function('return\x20this')(),Symbol$1=root['Symbol'],objectProto$f=Object['prototype'],hasOwnProperty$c=objectProto$f['hasOwnProperty'],nativeObjectToString$1=objectProto$f['toString'],symToStringTag$1=Symbol$1?Symbol$1['toStringTag']:void 0x0;function getRawTag(_0x4803e7){var _0x91ee4=hasOwnProperty$c['call'](_0x4803e7,symToStringTag$1),_0x3ff7e1=_0x4803e7[symToStringTag$1];try{_0x4803e7[symToStringTag$1]=void 0x0;var _0x44094a=!0x0;}catch(_0x4a7c2d){}var _0x2c26e3=nativeObjectToString$1['call'](_0x4803e7);return _0x44094a&&(_0x91ee4?_0x4803e7[symToStringTag$1]=_0x3ff7e1:delete _0x4803e7[symToStringTag$1]),_0x2c26e3;}var objectProto$e=Object['prototype'],nativeObjectToString=objectProto$e['toString'];function objectToString(_0x502d68){return nativeObjectToString['call'](_0x502d68);}var nullTag='[object\x20Null]',undefinedTag='[object\x20Undefined]',symToStringTag=Symbol$1?Symbol$1['toStringTag']:void 0x0;function baseGetTag(_0x1492c6){return null==_0x1492c6?void 0x0===_0x1492c6?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(_0x1492c6)?getRawTag(_0x1492c6):objectToString(_0x1492c6);}function isObjectLike(_0x5b13da){return null!=_0x5b13da&&'object'==typeof _0x5b13da;}var symbolTag$3='[object\x20Symbol]';function isSymbol(_0x19eb4d){return'symbol'==typeof _0x19eb4d||isObjectLike(_0x19eb4d)&&baseGetTag(_0x19eb4d)==symbolTag$3;}function arrayMap(_0x5cfe61,_0x453979){for(var _0x316e32=-0x1,_0x4ec098=null==_0x5cfe61?0x0:_0x5cfe61['length'],_0x351518=Array(_0x4ec098);++_0x316e32<_0x4ec098;)_0x351518[_0x316e32]=_0x453979(_0x5cfe61[_0x316e32],_0x316e32,_0x5cfe61);return _0x351518;}var isArray=Array['isArray'],symbolProto$2=Symbol$1?Symbol$1['prototype']:void 0x0,symbolToString=symbolProto$2?symbolProto$2['toString']:void 0x0;function baseToString(_0x2e806b){if('string'==typeof _0x2e806b)return _0x2e806b;if(isArray(_0x2e806b))return arrayMap(_0x2e806b,baseToString)+'';if(isSymbol(_0x2e806b))return symbolToString?symbolToString['call'](_0x2e806b):'';var _0x3b1fb2=_0x2e806b+'';return'0'==_0x3b1fb2&&0x1/_0x2e806b==-0x1/0x0?'-0':_0x3b1fb2;}var reWhitespace=/\s/;function trimmedEndIndex(_0x53d69){for(var _0x576ebb=_0x53d69['length'];_0x576ebb--&&reWhitespace['test'](_0x53d69['charAt'](_0x576ebb)););return _0x576ebb;}var reTrimStart=/^\s+/;function baseTrim(_0x223fc8){return _0x223fc8?_0x223fc8['slice'](0x0,trimmedEndIndex(_0x223fc8)+0x1)['replace'](reTrimStart,''):_0x223fc8;}function isObject$3(_0x7dee71){var _0x1bcf11=typeof _0x7dee71;return null!=_0x7dee71&&('object'==_0x1bcf11||'function'==_0x1bcf11);}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(_0x415ff1){if('number'==typeof _0x415ff1)return _0x415ff1;if(isSymbol(_0x415ff1))return NAN;if(isObject$3(_0x415ff1)){var _0x5ad65f='function'==typeof _0x415ff1['valueOf']?_0x415ff1['valueOf']():_0x415ff1;_0x415ff1=isObject$3(_0x5ad65f)?_0x5ad65f+'':_0x5ad65f;}if('string'!=typeof _0x415ff1)return 0x0===_0x415ff1?_0x415ff1:+_0x415ff1;_0x415ff1=baseTrim(_0x415ff1);var _0x4b2cd1=reIsBinary['test'](_0x415ff1);return _0x4b2cd1||reIsOctal['test'](_0x415ff1)?freeParseInt(_0x415ff1['slice'](0x2),_0x4b2cd1?0x2:0x8):reIsBadHex['test'](_0x415ff1)?NAN:+_0x415ff1;}function identity$2(_0x180932){return _0x180932;}var asyncTag='[object\x20AsyncFunction]',funcTag$2='[object\x20Function]',genTag$1='[object\x20GeneratorFunction]',proxyTag='[object\x20Proxy]';function isFunction(_0xb2f8fe){if(!isObject$3(_0xb2f8fe))return!0x1;var _0x4b6af3=baseGetTag(_0xb2f8fe);return _0x4b6af3==funcTag$2||_0x4b6af3==genTag$1||_0x4b6af3==asyncTag||_0x4b6af3==proxyTag;}var coreJsData=root['ct'],maskSrcKey=(function(){var _0x59334b=/[^.]+$/['exec'](coreJsData&&coreJsData['keys']&&coreJsData['keys']['IE_PROTO']||'');return _0x59334b?'Symbol(src)_1.'+_0x59334b:'';}());function isMasked(_0x1fd450){return!!maskSrcKey&&maskSrcKey in _0x1fd450;}var funcProto$2=Function['prototype'],funcToString$2=funcProto$2['toString'];function toSource(_0x4d27bd){if(null!=_0x4d27bd){try{return funcToString$2['call'](_0x4d27bd);}catch(_0x22ef5f){}try{return _0x4d27bd+'';}catch(_0x1abc86){}}return'';}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function['prototype'],objectProto$d=Object['prototype'],funcToString$1=funcProto$1['toString'],hasOwnProperty$b=objectProto$d['hasOwnProperty'],reIsNative=RegExp('^'+funcToString$1['call'](hasOwnProperty$b)['replace'](reRegExpChar,'\x5c$&')['replace'](/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');function baseIsNative(_0x49dca5){return!(!isObject$3(_0x49dca5)||isMasked(_0x49dca5))&&(isFunction(_0x49dca5)?reIsNative:reIsHostCtor)['test'](toSource(_0x49dca5));}function getValue(_0x1b35fd,_0x5d29a8){return null==_0x1b35fd?void 0x0:_0x1b35fd[_0x5d29a8];}function getNative(_0x4a496f,_0x432f55){var _0x4fd597=getValue(_0x4a496f,_0x432f55);return baseIsNative(_0x4fd597)?_0x4fd597:void 0x0;}var WeakMap$1=getNative(root,'WeakMap'),objectCreate=Object['create'],baseCreate=(function(){function _0x3d4fee(){}return function(_0x3dc655){if(!isObject$3(_0x3dc655))return{};if(objectCreate)return objectCreate(_0x3dc655);_0x3d4fee['prototype']=_0x3dc655;var _0x26e329=new _0x3d4fee();return _0x3d4fee['prototype']=void 0x0,_0x26e329;};}());function apply(_0x530faa,_0x5995bb,_0x2b3c62){switch(_0x2b3c62['length']){case 0x0:return _0x530faa['call'](_0x5995bb);case 0x1:return _0x530faa['call'](_0x5995bb,_0x2b3c62[0x0]);case 0x2:return _0x530faa['call'](_0x5995bb,_0x2b3c62[0x0],_0x2b3c62[0x1]);case 0x3:return _0x530faa['call'](_0x5995bb,_0x2b3c62[0x0],_0x2b3c62[0x1],_0x2b3c62[0x2]);}return _0x530faa['apply'](_0x5995bb,_0x2b3c62);}function copyArray(_0x421435,_0x9f1541){var _0x52b443=-0x1,_0x362354=_0x421435['length'];for(_0x9f1541||(_0x9f1541=Array(_0x362354));++_0x52b443<_0x362354;)_0x9f1541[_0x52b443]=_0x421435[_0x52b443];return _0x9f1541;}var HOT_COUNT=0x320,HOT_SPAN=0x10,nativeNow=Date['now'];function shortOut(_0x120a7a){var _0x4de82a=0x0,_0x30ea45=0x0;return function(){var _0x4cceaf=nativeNow(),_0x576aec=HOT_SPAN-(_0x4cceaf-_0x30ea45);if(_0x30ea45=_0x4cceaf,_0x576aec>0x0){if(++_0x4de82a>=HOT_COUNT)return arguments[0x0];}else _0x4de82a=0x0;return _0x120a7a['apply'](void 0x0,arguments);};}function constant(_0x2ef3de){return function(){return _0x2ef3de;};}var defineProperty=(function(){try{var _0x3e049a=getNative(Object,'defineProperty');return _0x3e049a({},'',{}),_0x3e049a;}catch(_0x214f54){}}()),baseSetToString=defineProperty?function(_0x3f8472,_0x521871){return defineProperty(_0x3f8472,'toString',{'configurable':!0x0,'enumerable':!0x1,'value':constant(_0x521871),'writable':!0x0});}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(_0x4683a4,_0x623e49){for(var _0x581d05=-0x1,_0x222622=null==_0x4683a4?0x0:_0x4683a4['length'];++_0x581d05<_0x222622&&!0x1!==_0x623e49(_0x4683a4[_0x581d05],_0x581d05,_0x4683a4););return _0x4683a4;}var MAX_SAFE_INTEGER$1=0x1fffffffffffff,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(_0x587924,_0x4102ea){var _0x397677=typeof _0x587924;return!!(_0x4102ea=null==_0x4102ea?MAX_SAFE_INTEGER$1:_0x4102ea)&&('number'==_0x397677||'symbol'!=_0x397677&&reIsUint['test'](_0x587924))&&_0x587924>-0x1&&_0x587924%0x1==0x0&&_0x587924<_0x4102ea;}function baseAssignValue(_0x298e23,_0x3168f7,_0x42677f){'__proto__'==_0x3168f7&&defineProperty?defineProperty(_0x298e23,_0x3168f7,{'configurable':!0x0,'enumerable':!0x0,'value':_0x42677f,'writable':!0x0}):_0x298e23[_0x3168f7]=_0x42677f;}function eq(_0x355354,_0x97ebd3){return _0x355354===_0x97ebd3||_0x355354!=_0x355354&&_0x97ebd3!=_0x97ebd3;}var objectProto$c=Object['prototype'],hasOwnProperty$a=objectProto$c['hasOwnProperty'];function assignValue(_0x276696,_0x43f2d4,_0x442cfa){var _0x23dca5=_0x276696[_0x43f2d4];hasOwnProperty$a['call'](_0x276696,_0x43f2d4)&&eq(_0x23dca5,_0x442cfa)&&(void 0x0!==_0x442cfa||_0x43f2d4 in _0x276696)||baseAssignValue(_0x276696,_0x43f2d4,_0x442cfa);}function copyObject(_0x15c2ed,_0x2e20e5,_0x15ac6a,_0x4f8439){var _0x1717e3=!_0x15ac6a;_0x15ac6a||(_0x15ac6a={});for(var _0xd92f4a=-0x1,_0x2cc681=_0x2e20e5['length'];++_0xd92f4a<_0x2cc681;){var _0x2fdbe9=_0x2e20e5[_0xd92f4a],_0x588e0b=void 0x0;void 0x0===_0x588e0b&&(_0x588e0b=_0x15c2ed[_0x2fdbe9]),_0x1717e3?baseAssignValue(_0x15ac6a,_0x2fdbe9,_0x588e0b):assignValue(_0x15ac6a,_0x2fdbe9,_0x588e0b);}return _0x15ac6a;}var nativeMax$1=Math['max'];function overRest(_0x55b96f,_0x4fff91,_0x1a7c79){return _0x4fff91=nativeMax$1(void 0x0===_0x4fff91?_0x55b96f['length']-0x1:_0x4fff91,0x0),function(){for(var _0x36506a=arguments,_0x3d5d23=-0x1,_0x2d0620=nativeMax$1(_0x36506a['length']-_0x4fff91,0x0),_0x5abe81=Array(_0x2d0620);++_0x3d5d23<_0x2d0620;)_0x5abe81[_0x3d5d23]=_0x36506a[_0x4fff91+_0x3d5d23];_0x3d5d23=-0x1;for(var _0x16578c=Array(_0x4fff91+0x1);++_0x3d5d23<_0x4fff91;)_0x16578c[_0x3d5d23]=_0x36506a[_0x3d5d23];return _0x16578c[_0x4fff91]=_0x1a7c79(_0x5abe81),apply(_0x55b96f,this,_0x16578c);};}var MAX_SAFE_INTEGER=0x1fffffffffffff;function isLength(_0x1cd7a3){return'number'==typeof _0x1cd7a3&&_0x1cd7a3>-0x1&&_0x1cd7a3%0x1==0x0&&_0x1cd7a3<=MAX_SAFE_INTEGER;}function isArrayLike(_0x8efda0){return null!=_0x8efda0&&isLength(_0x8efda0['length'])&&!isFunction(_0x8efda0);}var objectProto$b=Object['prototype'];function isPrototype(_0xdfc8fb){var _0x5229dd=_0xdfc8fb&&_0xdfc8fb['constructor'];return _0xdfc8fb===('function'==typeof _0x5229dd&&_0x5229dd['prototype']||objectProto$b);}function baseTimes(_0x2ad9fd,_0x1793e2){for(var _0x17f461=-0x1,_0x2bac4e=Array(_0x2ad9fd);++_0x17f461<_0x2ad9fd;)_0x2bac4e[_0x17f461]=_0x1793e2(_0x17f461);return _0x2bac4e;}var argsTag$3='[object\x20Arguments]';function baseIsArguments(_0x508687){return isObjectLike(_0x508687)&&baseGetTag(_0x508687)==argsTag$3;}var objectProto$a=Object['prototype'],hasOwnProperty$9=objectProto$a['hasOwnProperty'],propertyIsEnumerable$1=objectProto$a['propertyIsEnumerable'],isArguments=baseIsArguments((function(){return arguments;}()))?baseIsArguments:function(_0x567585){return isObjectLike(_0x567585)&&hasOwnProperty$9['call'](_0x567585,'callee')&&!propertyIsEnumerable$1['call'](_0x567585,'callee');};function stubFalse(){return!0x1;}var freeExports$2='object'==typeof exports&&exports&&!exports['nodeType']&&exports,freeModule$2=freeExports$2&&'object'==typeof module&&module&&!module['nodeType']&&module,moduleExports$2=freeModule$2&&freeModule$2['exports']===freeExports$2,Buffer$3=moduleExports$2?root['Buffer']:void 0x0,nativeIsBuffer=Buffer$3?Buffer$3['isBuffer']:void 0x0,isBuffer$2=nativeIsBuffer||stubFalse,argsTag$2='[object\x20Arguments]',arrayTag$2='[object\x20Array]',boolTag$3='[object\x20Boolean]',dateTag$3='[object\x20Date]',errorTag$2='[object\x20Error]',funcTag$1='[object\x20Function]',mapTag$5='[object\x20Map]',numberTag$3='[object\x20Number]',objectTag$4='[object\x20Object]',regexpTag$3='[object\x20RegExp]',setTag$5='[object\x20Set]',stringTag$3='[object\x20String]',weakMapTag$2='[object\x20WeakMap]',arrayBufferTag$3='[object\x20ArrayBuffer]',dataViewTag$4='[object\x20DataView]',float32Tag$2='[object\x20Float32Array]',float64Tag$2='[object\x20Float64Array]',int8Tag$2='[object\x20Int8Array]',int16Tag$2='[object\x20Int16Array]',int32Tag$2='[object\x20Int32Array]',uint8Tag$2='[object\x20Uint8Array]',uint8ClampedTag$2='[object\x20Uint8ClampedArray]',uint16Tag$2='[object\x20Uint16Array]',uint32Tag$2='[object\x20Uint32Array]',typedArrayTags={};function baseIsTypedArray(_0xf907a4){return isObjectLike(_0xf907a4)&&isLength(_0xf907a4['length'])&&!!typedArrayTags[baseGetTag(_0xf907a4)];}function baseUnary(_0xcbd945){return function(_0x39ebf2){return _0xcbd945(_0x39ebf2);};}typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0x0,typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!0x1;var freeExports$1='object'==typeof exports&&exports&&!exports['nodeType']&&exports,freeModule$1=freeExports$1&&'object'==typeof module&&module&&!module['nodeType']&&module,moduleExports$1=freeModule$1&&freeModule$1['exports']===freeExports$1,freeProcess=moduleExports$1&&freeGlobal['process'],nodeUtil=(function(){try{var _0x3e6791=freeModule$1&&freeModule$1['require']&&freeModule$1['require']('util')['types'];return _0x3e6791||freeProcess&&freeProcess['binding']&&freeProcess['binding']('util');}catch(_0x1cf7ba){}}()),nodeIsTypedArray=nodeUtil&&nodeUtil['isTypedArray'],isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,objectProto$9=Object['prototype'],hasOwnProperty$8=objectProto$9['hasOwnProperty'];function arrayLikeKeys(_0x318390,_0x7190a3){var _0x185805=isArray(_0x318390),_0x2262ac=!_0x185805&&isArguments(_0x318390),_0x537546=!_0x185805&&!_0x2262ac&&isBuffer$2(_0x318390),_0x5b886d=!_0x185805&&!_0x2262ac&&!_0x537546&&isTypedArray(_0x318390),_0x452474=_0x185805||_0x2262ac||_0x537546||_0x5b886d,_0x32d893=_0x452474?baseTimes(_0x318390['length'],String):[],_0x5d6463=_0x32d893['length'];for(var _0x1ca8ef in _0x318390)!_0x7190a3&&!hasOwnProperty$8['call'](_0x318390,_0x1ca8ef)||_0x452474&&('length'==_0x1ca8ef||_0x537546&&('offset'==_0x1ca8ef||'parent'==_0x1ca8ef)||_0x5b886d&&('buffer'==_0x1ca8ef||'byteLength'==_0x1ca8ef||'byteOffset'==_0x1ca8ef)||isIndex(_0x1ca8ef,_0x5d6463))||_0x32d893['push'](_0x1ca8ef);return _0x32d893;}function overArg(_0x2a2994,_0x3c2d6f){return function(_0x73b352){return _0x2a2994(_0x3c2d6f(_0x73b352));};}var nativeKeys=overArg(Object['keys'],Object),objectProto$8=Object['prototype'],hasOwnProperty$7=objectProto$8['hasOwnProperty'];function baseKeys(_0x839d69){if(!isPrototype(_0x839d69))return nativeKeys(_0x839d69);var _0x550539=[];for(var _0x48ebe1 in Object(_0x839d69))hasOwnProperty$7['call'](_0x839d69,_0x48ebe1)&&'constructor'!=_0x48ebe1&&_0x550539['push'](_0x48ebe1);return _0x550539;}function keys$1(_0x1aaf99){return isArrayLike(_0x1aaf99)?arrayLikeKeys(_0x1aaf99):baseKeys(_0x1aaf99);}function nativeKeysIn(_0x2b89b5){var _0x1600e4=[];if(null!=_0x2b89b5){for(var _0x4c7db5 in Object(_0x2b89b5))_0x1600e4['push'](_0x4c7db5);}return _0x1600e4;}var objectProto$7=Object['prototype'],hasOwnProperty$6=objectProto$7['hasOwnProperty'];function baseKeysIn(_0x8606e2){if(!isObject$3(_0x8606e2))return nativeKeysIn(_0x8606e2);var _0x236d1f=isPrototype(_0x8606e2),_0x55590f=[];for(var _0x13a235 in _0x8606e2)('constructor'!=_0x13a235||!_0x236d1f&&hasOwnProperty$6['call'](_0x8606e2,_0x13a235))&&_0x55590f['push'](_0x13a235);return _0x55590f;}function keysIn(_0x5b1faa){return isArrayLike(_0x5b1faa)?arrayLikeKeys(_0x5b1faa,!0x0):baseKeysIn(_0x5b1faa);}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(_0x577e2e,_0x57168d){if(isArray(_0x577e2e))return!0x1;var _0xd459d8=typeof _0x577e2e;return!('number'!=_0xd459d8&&'symbol'!=_0xd459d8&&'boolean'!=_0xd459d8&&null!=_0x577e2e&&!isSymbol(_0x577e2e))||(reIsPlainProp['test'](_0x577e2e)||!reIsDeepProp['test'](_0x577e2e)||null!=_0x57168d&&_0x577e2e in Object(_0x57168d));}var nativeCreate=getNative(Object,'create');function hashClear(){this['__data__']=nativeCreate?nativeCreate(null):{},this['size']=0x0;}function hashDelete(_0x436eb7){var _0x3b0dbc=this['has'](_0x436eb7)&&delete this['__data__'][_0x436eb7];return this['size']-=_0x3b0dbc?0x1:0x0,_0x3b0dbc;}var HASH_UNDEFINED$2='__lodash_hash_undefined__',objectProto$6=Object['prototype'],hasOwnProperty$5=objectProto$6['hasOwnProperty'];function hashGet(_0x4360c4){var _0x2a76eb=this['__data__'];if(nativeCreate){var _0x388e73=_0x2a76eb[_0x4360c4];return _0x388e73===HASH_UNDEFINED$2?void 0x0:_0x388e73;}return hasOwnProperty$5['call'](_0x2a76eb,_0x4360c4)?_0x2a76eb[_0x4360c4]:void 0x0;}var objectProto$5=Object['prototype'],hasOwnProperty$4=objectProto$5['hasOwnProperty'];function hashHas(_0x4abb0e){var _0x1aed9e=this['__data__'];return nativeCreate?void 0x0!==_0x1aed9e[_0x4abb0e]:hasOwnProperty$4['call'](_0x1aed9e,_0x4abb0e);}var HASH_UNDEFINED$1='__lodash_hash_undefined__';function hashSet(_0xfea7b0,_0x396ae3){var _0x479175=this['__data__'];return this['size']+=this['has'](_0xfea7b0)?0x0:0x1,_0x479175[_0xfea7b0]=nativeCreate&&void 0x0===_0x396ae3?HASH_UNDEFINED$1:_0x396ae3,this;}function Hash(_0x1871c5){var _0x4eea3e=-0x1,_0xcec398=null==_0x1871c5?0x0:_0x1871c5['length'];for(this['clear']();++_0x4eea3e<_0xcec398;){var _0x3839a7=_0x1871c5[_0x4eea3e];this['set'](_0x3839a7[0x0],_0x3839a7[0x1]);}}function listCacheClear(){this['__data__']=[],this['size']=0x0;}function assocIndexOf(_0x33a312,_0x5d41ac){for(var _0x1825ef=_0x33a312['length'];_0x1825ef--;)if(eq(_0x33a312[_0x1825ef][0x0],_0x5d41ac))return _0x1825ef;return-0x1;}Hash['prototype']['clear']=hashClear,Hash['prototype']['delete']=hashDelete,Hash['prototype']['get']=hashGet,Hash['prototype']['has']=hashHas,Hash['prototype']['set']=hashSet;var arrayProto=Array['prototype'],splice=arrayProto['splice'];function listCacheDelete(_0x46f7ff){var _0x44355e=this['__data__'],_0x555825=assocIndexOf(_0x44355e,_0x46f7ff);return!(_0x555825<0x0)&&(_0x555825==_0x44355e['length']-0x1?_0x44355e['pop']():splice['call'](_0x44355e,_0x555825,0x1),--this['size'],!0x0);}function listCacheGet(_0x39f3c1){var _0x34ece0=this['__data__'],_0x46d9de=assocIndexOf(_0x34ece0,_0x39f3c1);return _0x46d9de<0x0?void 0x0:_0x34ece0[_0x46d9de][0x1];}function listCacheHas(_0x4886e9){return assocIndexOf(this['__data__'],_0x4886e9)>-0x1;}function listCacheSet(_0x55420e,_0x565d33){var _0x13a3c0=this['__data__'],_0x5c804d=assocIndexOf(_0x13a3c0,_0x55420e);return _0x5c804d<0x0?(++this['size'],_0x13a3c0['push']([_0x55420e,_0x565d33])):_0x13a3c0[_0x5c804d][0x1]=_0x565d33,this;}function ListCache(_0x21157d){var _0x13fd2b=-0x1,_0x45ecb9=null==_0x21157d?0x0:_0x21157d['length'];for(this['clear']();++_0x13fd2b<_0x45ecb9;){var _0x1e52c7=_0x21157d[_0x13fd2b];this['set'](_0x1e52c7[0x0],_0x1e52c7[0x1]);}}ListCache['prototype']['clear']=listCacheClear,ListCache['prototype']['delete']=listCacheDelete,ListCache['prototype']['get']=listCacheGet,ListCache['prototype']['has']=listCacheHas,ListCache['prototype']['set']=listCacheSet;var Map$1=getNative(root,'Map');function mapCacheClear(){this['size']=0x0,this['__data__']={'hash':new Hash(),'map':new(Map$1||ListCache)(),'string':new Hash()};}function isKeyable(_0x146611){var _0x48c89a=typeof _0x146611;return'string'==_0x48c89a||'number'==_0x48c89a||'symbol'==_0x48c89a||'boolean'==_0x48c89a?'__proto__'!==_0x146611:null===_0x146611;}function getMapData(_0x5e0bbc,_0xd89c3d){var _0x536ab3=_0x5e0bbc['__data__'];return isKeyable(_0xd89c3d)?_0x536ab3['string'==typeof _0xd89c3d?'string':'hash']:_0x536ab3['map'];}function mapCacheDelete(_0x1f207c){var _0x59af10=getMapData(this,_0x1f207c)['delete'](_0x1f207c);return this['size']-=_0x59af10?0x1:0x0,_0x59af10;}function mapCacheGet(_0xed5b15){return getMapData(this,_0xed5b15)['get'](_0xed5b15);}function mapCacheHas(_0x40230a){return getMapData(this,_0x40230a)['has'](_0x40230a);}function mapCacheSet(_0x5c9167,_0x4e7507){var _0x58d214=getMapData(this,_0x5c9167),_0x20eeb3=_0x58d214['size'];return _0x58d214['set'](_0x5c9167,_0x4e7507),this['size']+=_0x58d214['size']==_0x20eeb3?0x0:0x1,this;}function MapCache(_0x289b54){var _0x826d47=-0x1,_0x56587e=null==_0x289b54?0x0:_0x289b54['length'];for(this['clear']();++_0x826d47<_0x56587e;){var _0x377641=_0x289b54[_0x826d47];this['set'](_0x377641[0x0],_0x377641[0x1]);}}MapCache['prototype']['clear']=mapCacheClear,MapCache['prototype']['delete']=mapCacheDelete,MapCache['prototype']['get']=mapCacheGet,MapCache['prototype']['has']=mapCacheHas,MapCache['prototype']['set']=mapCacheSet;var FUNC_ERROR_TEXT$2='Expected\x20a\x20function';function memoize$3(_0x1cc32a,_0x397dd2){if('function'!=typeof _0x1cc32a||null!=_0x397dd2&&'function'!=typeof _0x397dd2)throw new TypeError(FUNC_ERROR_TEXT$2);var _0x3b0ff5=function(){var _0xa79ea2=arguments,_0x63bc29=_0x397dd2?_0x397dd2['apply'](this,_0xa79ea2):_0xa79ea2[0x0],_0x4edc68=_0x3b0ff5['cache'];if(_0x4edc68['has'](_0x63bc29))return _0x4edc68['get'](_0x63bc29);var _0x2b776a=_0x1cc32a['apply'](this,_0xa79ea2);return _0x3b0ff5['cache']=_0x4edc68['set'](_0x63bc29,_0x2b776a)||_0x4edc68,_0x2b776a;};return _0x3b0ff5['cache']=new(memoize$3['Cache']||MapCache)(),_0x3b0ff5;}memoize$3['Cache']=MapCache;var MAX_MEMOIZE_SIZE=0x1f4;function memoizeCapped(_0x22e988){var _0x50936f=memoize$3(_0x22e988,function(_0xcee84a){return _0x80e5f6['size']===MAX_MEMOIZE_SIZE&&_0x80e5f6['clear'](),_0xcee84a;}),_0x80e5f6=_0x50936f['cache'];return _0x50936f;}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped(function(_0x4d7f53){var _0x489733=[];return 0x2e===_0x4d7f53['charCodeAt'](0x0)&&_0x489733['push'](''),_0x4d7f53['replace'](rePropName,function(_0x48ec0f,_0x3024ad,_0x43f49a,_0x10e44a){_0x489733['push'](_0x43f49a?_0x10e44a['replace'](reEscapeChar,'$1'):_0x3024ad||_0x48ec0f);}),_0x489733;});function toString$2(_0x211d4e){return null==_0x211d4e?'':baseToString(_0x211d4e);}function castPath(_0xb3663,_0x47f255){return isArray(_0xb3663)?_0xb3663:isKey(_0xb3663,_0x47f255)?[_0xb3663]:stringToPath(toString$2(_0xb3663));}function toKey(_0xdac71c){if('string'==typeof _0xdac71c||isSymbol(_0xdac71c))return _0xdac71c;var _0x162a6f=_0xdac71c+'';return'0'==_0x162a6f&&0x1/_0xdac71c==-0x1/0x0?'-0':_0x162a6f;}function baseGet(_0x182fa6,_0x3845a2){for(var _0x1afd9b=0x0,_0x204b6b=(_0x3845a2=castPath(_0x3845a2,_0x182fa6))['length'];null!=_0x182fa6&&_0x1afd9b<_0x204b6b;)_0x182fa6=_0x182fa6[toKey(_0x3845a2[_0x1afd9b++])];return _0x1afd9b&&_0x1afd9b==_0x204b6b?_0x182fa6:void 0x0;}function arrayPush(_0xb410ea,_0x5d4eb2){for(var _0x505260=-0x1,_0x254916=_0x5d4eb2['length'],_0x541d0f=_0xb410ea['length'];++_0x505260<_0x254916;)_0xb410ea[_0x541d0f+_0x505260]=_0x5d4eb2[_0x505260];return _0xb410ea;}var spreadableSymbol=Symbol$1?Symbol$1['isConcatSpreadable']:void 0x0;function isFlattenable(_0x1da007){return isArray(_0x1da007)||isArguments(_0x1da007)||!!(spreadableSymbol&&_0x1da007&&_0x1da007[spreadableSymbol]);}function baseFlatten(_0x5ee7ba,_0x2e0111,_0x43db12,_0xce54c1,_0x4ff124){var _0x5ce790=-0x1,_0x875116=_0x5ee7ba['length'];for(_0x43db12||(_0x43db12=isFlattenable),_0x4ff124||(_0x4ff124=[]);++_0x5ce790<_0x875116;){var _0xea9d7a=_0x5ee7ba[_0x5ce790];_0x43db12(_0xea9d7a)?arrayPush(_0x4ff124,_0xea9d7a):_0x4ff124[_0x4ff124['length']]=_0xea9d7a;}return _0x4ff124;}function flatten$1(_0x21c760){return(null==_0x21c760?0x0:_0x21c760['length'])?baseFlatten(_0x21c760):[];}function flatRest(_0x3d143f){return setToString(overRest(_0x3d143f,void 0x0,flatten$1),_0x3d143f+'');}var getPrototype=overArg(Object['getPrototypeOf'],Object),objectTag$3='[object\x20Object]',funcProto=Function['prototype'],objectProto$4=Object['prototype'],funcToString=funcProto['toString'],hasOwnProperty$3=objectProto$4['hasOwnProperty'],objectCtorString=funcToString['call'](Object);function isPlainObject(_0x13712b){if(!isObjectLike(_0x13712b)||baseGetTag(_0x13712b)!=objectTag$3)return!0x1;var _0xff4226=getPrototype(_0x13712b);if(null===_0xff4226)return!0x0;var _0x1add95=hasOwnProperty$3['call'](_0xff4226,'constructor')&&_0xff4226['constructor'];return'function'==typeof _0x1add95&&_0x1add95 instanceof _0x1add95&&funcToString['call'](_0x1add95)==objectCtorString;}function baseSlice(_0x15802f,_0x3db350,_0x393ddc){var _0x811c5d=-0x1,_0x4e0d11=_0x15802f['length'];_0x3db350<0x0&&(_0x3db350=-_0x3db350>_0x4e0d11?0x0:_0x4e0d11+_0x3db350),(_0x393ddc=_0x393ddc>_0x4e0d11?_0x4e0d11:_0x393ddc)<0x0&&(_0x393ddc+=_0x4e0d11),_0x4e0d11=_0x3db350>_0x393ddc?0x0:_0x393ddc-_0x3db350>>>0x0,_0x3db350>>>=0x0;for(var _0x32ecf8=Array(_0x4e0d11);++_0x811c5d<_0x4e0d11;)_0x32ecf8[_0x811c5d]=_0x15802f[_0x811c5d+_0x3db350];return _0x32ecf8;}function basePropertyOf(_0x3ebcf4){return function(_0x1476c7){return null==_0x3ebcf4?void 0x0:_0x3ebcf4[_0x1476c7];};}function stackClear(){this['__data__']=new ListCache(),this['size']=0x0;}function stackDelete(_0x18ac16){var _0x41f742=this['__data__'],_0x51c266=_0x41f742['delete'](_0x18ac16);return this['size']=_0x41f742['size'],_0x51c266;}function stackGet(_0x1ba205){return this['__data__']['get'](_0x1ba205);}function stackHas(_0x52d887){return this['__data__']['has'](_0x52d887);}var LARGE_ARRAY_SIZE=0xc8;function stackSet(_0x223cfb,_0x58646b){var _0x1007e1=this['__data__'];if(_0x1007e1 instanceof ListCache){var _0x35bef8=_0x1007e1['__data__'];if(!Map$1||_0x35bef8['length']<LARGE_ARRAY_SIZE-0x1)return _0x35bef8['push']([_0x223cfb,_0x58646b]),this['size']=++_0x1007e1['size'],this;_0x1007e1=this['__data__']=new MapCache(_0x35bef8);}return _0x1007e1['set'](_0x223cfb,_0x58646b),this['size']=_0x1007e1['size'],this;}function Stack$1(_0x10afc9){var _0x15ba0f=this['__data__']=new ListCache(_0x10afc9);this['size']=_0x15ba0f['size'];}function baseAssign(_0x5d5d59,_0x541b02){return _0x5d5d59&&copyObject(_0x541b02,keys$1(_0x541b02),_0x5d5d59);}function baseAssignIn(_0x13671d,_0x297f71){return _0x13671d&&copyObject(_0x297f71,keysIn(_0x297f71),_0x13671d);}Stack$1['prototype']['clear']=stackClear,Stack$1['prototype']['delete']=stackDelete,Stack$1['prototype']['get']=stackGet,Stack$1['prototype']['has']=stackHas,Stack$1['prototype']['set']=stackSet;var freeExports='object'==typeof exports&&exports&&!exports['nodeType']&&exports,freeModule=freeExports&&'object'==typeof module&&module&&!module['nodeType']&&module,moduleExports=freeModule&&freeModule['exports']===freeExports,Buffer$2=moduleExports?root['Buffer']:void 0x0,allocUnsafe=Buffer$2?Buffer$2['allocUnsafe']:void 0x0;function cloneBuffer(_0x581599,_0x43bbac){if(_0x43bbac)return _0x581599['slice']();var _0x3741a4=_0x581599['length'],_0x463588=allocUnsafe?allocUnsafe(_0x3741a4):new _0x581599['constructor'](_0x3741a4);return _0x581599['copy'](_0x463588),_0x463588;}function arrayFilter(_0xb4624a,_0x5c9c9a){for(var _0x1b5d3d=-0x1,_0x549b1d=null==_0xb4624a?0x0:_0xb4624a['length'],_0x19b36d=0x0,_0x334d44=[];++_0x1b5d3d<_0x549b1d;){var _0x129263=_0xb4624a[_0x1b5d3d];_0x5c9c9a(_0x129263,_0x1b5d3d,_0xb4624a)&&(_0x334d44[_0x19b36d++]=_0x129263);}return _0x334d44;}function stubArray(){return[];}var objectProto$3=Object['prototype'],propertyIsEnumerable=objectProto$3['propertyIsEnumerable'],nativeGetSymbols$1=Object['getOwnPropertySymbols'],getSymbols=nativeGetSymbols$1?function(_0x22a0bb){return null==_0x22a0bb?[]:(_0x22a0bb=Object(_0x22a0bb),arrayFilter(nativeGetSymbols$1(_0x22a0bb),function(_0x3ced20){return propertyIsEnumerable['call'](_0x22a0bb,_0x3ced20);}));}:stubArray;function copySymbols(_0x49de59,_0x202520){return copyObject(_0x49de59,getSymbols(_0x49de59),_0x202520);}var nativeGetSymbols=Object['getOwnPropertySymbols'],getSymbolsIn=nativeGetSymbols?function(_0x3581ba){for(var _0x277045=[];_0x3581ba;)arrayPush(_0x277045,getSymbols(_0x3581ba)),_0x3581ba=getPrototype(_0x3581ba);return _0x277045;}:stubArray;function copySymbolsIn(_0x3457fe,_0x5ecdf5){return copyObject(_0x3457fe,getSymbolsIn(_0x3457fe),_0x5ecdf5);}function baseGetAllKeys(_0x54d48d,_0x47f876,_0x4d544b){var _0x19f30d=_0x47f876(_0x54d48d);return isArray(_0x54d48d)?_0x19f30d:arrayPush(_0x19f30d,_0x4d544b(_0x54d48d));}function getAllKeys(_0x48568a){return baseGetAllKeys(_0x48568a,keys$1,getSymbols);}function getAllKeysIn(_0x28f409){return baseGetAllKeys(_0x28f409,keysIn,getSymbolsIn);}var DataView$1=getNative(root,'DataView'),Promise$1=getNative(root,'Promise'),Set$1=getNative(root,'Set'),mapTag$4='[object\x20Map]',objectTag$2='[object\x20Object]',promiseTag='[object\x20Promise]',setTag$4='[object\x20Set]',weakMapTag$1='[object\x20WeakMap]',dataViewTag$3='[object\x20DataView]',dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$1),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(0x1)))!=dataViewTag$3||Map$1&&getTag(new Map$1())!=mapTag$4||Promise$1&&getTag(Promise$1['resolve']())!=promiseTag||Set$1&&getTag(new Set$1())!=setTag$4||WeakMap$1&&getTag(new WeakMap$1())!=weakMapTag$1)&&(getTag=function(_0x53eec4){var _0x21026b=baseGetTag(_0x53eec4),_0x421bc5=_0x21026b==objectTag$2?_0x53eec4['constructor']:void 0x0,_0x38bdde=_0x421bc5?toSource(_0x421bc5):'';if(_0x38bdde)switch(_0x38bdde){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1;}return _0x21026b;});var objectProto$2=Object['prototype'],hasOwnProperty$2=objectProto$2['hasOwnProperty'];function initCloneArray(_0x50e8d6){var _0x57843f=_0x50e8d6['length'],_0x24afa1=new _0x50e8d6['constructor'](_0x57843f);return _0x57843f&&'string'==typeof _0x50e8d6[0x0]&&hasOwnProperty$2['call'](_0x50e8d6,'index')&&(_0x24afa1['index']=_0x50e8d6['index'],_0x24afa1['input']=_0x50e8d6['input']),_0x24afa1;}var Uint8Array$1=root['Uint8Array'];function cloneArrayBuffer(_0x383511){var _0x39f095=new _0x383511['constructor'](_0x383511['byteLength']);return new Uint8Array$1(_0x39f095)['set'](new Uint8Array$1(_0x383511)),_0x39f095;}function cloneDataView(_0x5d6544,_0xbe7e9a){var _0xcbc0ae=_0xbe7e9a?cloneArrayBuffer(_0x5d6544['buffer']):_0x5d6544['buffer'];return new _0x5d6544['constructor'](_0xcbc0ae,_0x5d6544['byteOffset'],_0x5d6544['byteLength']);}var reFlags=/\w*$/;function cloneRegExp(_0x190624){var _0x3a0680=new _0x190624['constructor'](_0x190624['source'],reFlags['exec'](_0x190624));return _0x3a0680['lastIndex']=_0x190624['lastIndex'],_0x3a0680;}var symbolProto$1=Symbol$1?Symbol$1['prototype']:void 0x0,symbolValueOf$1=symbolProto$1?symbolProto$1['valueOf']:void 0x0;function cloneSymbol(_0x31fd67){return symbolValueOf$1?Object(symbolValueOf$1['call'](_0x31fd67)):{};}function cloneTypedArray(_0x176226,_0x3e3212){var _0x2cc03d=_0x3e3212?cloneArrayBuffer(_0x176226['buffer']):_0x176226['buffer'];return new _0x176226['constructor'](_0x2cc03d,_0x176226['byteOffset'],_0x176226['length']);}var boolTag$2='[object\x20Boolean]',dateTag$2='[object\x20Date]',mapTag$3='[object\x20Map]',numberTag$2='[object\x20Number]',regexpTag$2='[object\x20RegExp]',setTag$3='[object\x20Set]',stringTag$2='[object\x20String]',symbolTag$2='[object\x20Symbol]',arrayBufferTag$2='[object\x20ArrayBuffer]',dataViewTag$2='[object\x20DataView]',float32Tag$1='[object\x20Float32Array]',float64Tag$1='[object\x20Float64Array]',int8Tag$1='[object\x20Int8Array]',int16Tag$1='[object\x20Int16Array]',int32Tag$1='[object\x20Int32Array]',uint8Tag$1='[object\x20Uint8Array]',uint8ClampedTag$1='[object\x20Uint8ClampedArray]',uint16Tag$1='[object\x20Uint16Array]',uint32Tag$1='[object\x20Uint32Array]';function initCloneByTag(_0x1b9898,_0x344f21,_0x2f44e8){var _0x5ec88a=_0x1b9898['constructor'];switch(_0x344f21){case arrayBufferTag$2:return cloneArrayBuffer(_0x1b9898);case boolTag$2:case dateTag$2:return new _0x5ec88a(+_0x1b9898);case dataViewTag$2:return cloneDataView(_0x1b9898,_0x2f44e8);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(_0x1b9898,_0x2f44e8);case mapTag$3:return new _0x5ec88a();case numberTag$2:case stringTag$2:return new _0x5ec88a(_0x1b9898);case regexpTag$2:return cloneRegExp(_0x1b9898);case setTag$3:return new _0x5ec88a();case symbolTag$2:return cloneSymbol(_0x1b9898);}}function initCloneObject(_0xa64f44){return'function'!=typeof _0xa64f44['constructor']||isPrototype(_0xa64f44)?{}:baseCreate(getPrototype(_0xa64f44));}var mapTag$2='[object\x20Map]';function baseIsMap(_0x6e0ebd){return isObjectLike(_0x6e0ebd)&&getTag(_0x6e0ebd)==mapTag$2;}var nodeIsMap=nodeUtil&&nodeUtil['isMap'],isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,setTag$2='[object\x20Set]';function baseIsSet(_0x52d8b8){return isObjectLike(_0x52d8b8)&&getTag(_0x52d8b8)==setTag$2;}var nodeIsSet=nodeUtil&&nodeUtil['isSet'],isSet$1=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,CLONE_DEEP_FLAG$2=0x1,CLONE_FLAT_FLAG$1=0x2,CLONE_SYMBOLS_FLAG$2=0x4,argsTag$1='[object\x20Arguments]',arrayTag$1='[object\x20Array]',boolTag$1='[object\x20Boolean]',dateTag$1='[object\x20Date]',errorTag$1='[object\x20Error]',funcTag='[object\x20Function]',genTag='[object\x20GeneratorFunction]',mapTag$1='[object\x20Map]',numberTag$1='[object\x20Number]',objectTag$1='[object\x20Object]',regexpTag$1='[object\x20RegExp]',setTag$1='[object\x20Set]',stringTag$1='[object\x20String]',symbolTag$1='[object\x20Symbol]',weakMapTag='[object\x20WeakMap]',arrayBufferTag$1='[object\x20ArrayBuffer]',dataViewTag$1='[object\x20DataView]',float32Tag='[object\x20Float32Array]',float64Tag='[object\x20Float64Array]',int8Tag='[object\x20Int8Array]',int16Tag='[object\x20Int16Array]',int32Tag='[object\x20Int32Array]',uint8Tag='[object\x20Uint8Array]',uint8ClampedTag='[object\x20Uint8ClampedArray]',uint16Tag='[object\x20Uint16Array]',uint32Tag='[object\x20Uint32Array]',cloneableTags={};function baseClone(_0x23b12d,_0x544fe6,_0x218c43,_0x2d0087,_0x5e93de,_0x3726c8){var _0x1fa0db,_0x409c60=_0x544fe6&CLONE_DEEP_FLAG$2,_0x28e744=_0x544fe6&CLONE_FLAT_FLAG$1,_0x201ea6=_0x544fe6&CLONE_SYMBOLS_FLAG$2;if(_0x218c43&&(_0x1fa0db=_0x5e93de?_0x218c43(_0x23b12d,_0x2d0087,_0x5e93de,_0x3726c8):_0x218c43(_0x23b12d)),void 0x0!==_0x1fa0db)return _0x1fa0db;if(!isObject$3(_0x23b12d))return _0x23b12d;var _0x20b5f4=isArray(_0x23b12d);if(_0x20b5f4){if(_0x1fa0db=initCloneArray(_0x23b12d),!_0x409c60)return copyArray(_0x23b12d,_0x1fa0db);}else{var _0x49e6cc=getTag(_0x23b12d),_0x1dcf77=_0x49e6cc==funcTag||_0x49e6cc==genTag;if(isBuffer$2(_0x23b12d))return cloneBuffer(_0x23b12d,_0x409c60);if(_0x49e6cc==objectTag$1||_0x49e6cc==argsTag$1||_0x1dcf77&&!_0x5e93de){if(_0x1fa0db=_0x28e744||_0x1dcf77?{}:initCloneObject(_0x23b12d),!_0x409c60)return _0x28e744?copySymbolsIn(_0x23b12d,baseAssignIn(_0x1fa0db,_0x23b12d)):copySymbols(_0x23b12d,baseAssign(_0x1fa0db,_0x23b12d));}else{if(!cloneableTags[_0x49e6cc])return _0x5e93de?_0x23b12d:{};_0x1fa0db=initCloneByTag(_0x23b12d,_0x49e6cc,_0x409c60);}}_0x3726c8||(_0x3726c8=new Stack$1());var _0x315fee=_0x3726c8['get'](_0x23b12d);if(_0x315fee)return _0x315fee;_0x3726c8['set'](_0x23b12d,_0x1fa0db),isSet$1(_0x23b12d)?_0x23b12d['forEach'](function(_0x54a54f){_0x1fa0db['add'](baseClone(_0x54a54f,_0x544fe6,_0x218c43,_0x54a54f,_0x23b12d,_0x3726c8));}):isMap(_0x23b12d)&&_0x23b12d['forEach'](function(_0x55610c,_0xc5694d){_0x1fa0db['set'](_0xc5694d,baseClone(_0x55610c,_0x544fe6,_0x218c43,_0xc5694d,_0x23b12d,_0x3726c8));});var _0x1e746a=_0x20b5f4?void 0x0:(_0x201ea6?_0x28e744?getAllKeysIn:getAllKeys:_0x28e744?keysIn:keys$1)(_0x23b12d);return arrayEach(_0x1e746a||_0x23b12d,function(_0x13b713,_0x333214){_0x1e746a&&(_0x13b713=_0x23b12d[_0x333214=_0x13b713]),assignValue(_0x1fa0db,_0x333214,baseClone(_0x13b713,_0x544fe6,_0x218c43,_0x333214,_0x23b12d,_0x3726c8));}),_0x1fa0db;}cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0x0,cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!0x1;var CLONE_DEEP_FLAG$1=0x1,CLONE_SYMBOLS_FLAG$1=0x4;function cloneDeep(_0x301faa){return baseClone(_0x301faa,CLONE_DEEP_FLAG$1|CLONE_SYMBOLS_FLAG$1);}var HASH_UNDEFINED='__lodash_hash_undefined__';function setCacheAdd(_0x3d23b9){return this['__data__']['set'](_0x3d23b9,HASH_UNDEFINED),this;}function setCacheHas(_0x1ad70b){return this['__data__']['has'](_0x1ad70b);}function SetCache(_0x3758c2){var _0x2c77b1=-0x1,_0x32e313=null==_0x3758c2?0x0:_0x3758c2['length'];for(this['__data__']=new MapCache();++_0x2c77b1<_0x32e313;)this['add'](_0x3758c2[_0x2c77b1]);}function arraySome(_0x526d8c,_0x45aa43){for(var _0x1ffcd9=-0x1,_0x2ebde8=null==_0x526d8c?0x0:_0x526d8c['length'];++_0x1ffcd9<_0x2ebde8;)if(_0x45aa43(_0x526d8c[_0x1ffcd9],_0x1ffcd9,_0x526d8c))return!0x0;return!0x1;}function cacheHas(_0x58916b,_0x468fb7){return _0x58916b['has'](_0x468fb7);}SetCache['prototype']['add']=SetCache['prototype']['push']=setCacheAdd,SetCache['prototype']['has']=setCacheHas;var COMPARE_PARTIAL_FLAG$3=0x1,COMPARE_UNORDERED_FLAG$1=0x2;function equalArrays(_0x5a3f10,_0x8ddf1c,_0x324fea,_0x14a41d,_0x1ad3eb,_0x4ce2d3){var _0x26a8ca=_0x324fea&COMPARE_PARTIAL_FLAG$3,_0xa56a97=_0x5a3f10['length'],_0x4c3a6d=_0x8ddf1c['length'];if(_0xa56a97!=_0x4c3a6d&&!(_0x26a8ca&&_0x4c3a6d>_0xa56a97))return!0x1;var _0x527318=_0x4ce2d3['get'](_0x5a3f10),_0x5bacb5=_0x4ce2d3['get'](_0x8ddf1c);if(_0x527318&&_0x5bacb5)return _0x527318==_0x8ddf1c&&_0x5bacb5==_0x5a3f10;var _0x255ee0=-0x1,_0x277529=!0x0,_0x4c6a70=_0x324fea&COMPARE_UNORDERED_FLAG$1?new SetCache():void 0x0;for(_0x4ce2d3['set'](_0x5a3f10,_0x8ddf1c),_0x4ce2d3['set'](_0x8ddf1c,_0x5a3f10);++_0x255ee0<_0xa56a97;){var _0xa4b17=_0x5a3f10[_0x255ee0],_0x2afb65=_0x8ddf1c[_0x255ee0];if(_0x14a41d)var _0x576949=_0x26a8ca?_0x14a41d(_0x2afb65,_0xa4b17,_0x255ee0,_0x8ddf1c,_0x5a3f10,_0x4ce2d3):_0x14a41d(_0xa4b17,_0x2afb65,_0x255ee0,_0x5a3f10,_0x8ddf1c,_0x4ce2d3);if(void 0x0!==_0x576949){if(_0x576949)continue;_0x277529=!0x1;break;}if(_0x4c6a70){if(!arraySome(_0x8ddf1c,function(_0x34a50f,_0x16c700){if(!cacheHas(_0x4c6a70,_0x16c700)&&(_0xa4b17===_0x34a50f||_0x1ad3eb(_0xa4b17,_0x34a50f,_0x324fea,_0x14a41d,_0x4ce2d3)))return _0x4c6a70['push'](_0x16c700);})){_0x277529=!0x1;break;}}else{if(_0xa4b17!==_0x2afb65&&!_0x1ad3eb(_0xa4b17,_0x2afb65,_0x324fea,_0x14a41d,_0x4ce2d3)){_0x277529=!0x1;break;}}}return _0x4ce2d3['delete'](_0x5a3f10),_0x4ce2d3['delete'](_0x8ddf1c),_0x277529;}function mapToArray(_0x567162){var _0x419059=-0x1,_0x2e6e6b=Array(_0x567162['size']);return _0x567162['forEach'](function(_0x5805b3,_0x5d0a85){_0x2e6e6b[++_0x419059]=[_0x5d0a85,_0x5805b3];}),_0x2e6e6b;}function setToArray(_0x3a85df){var _0xb05320=-0x1,_0x163087=Array(_0x3a85df['size']);return _0x3a85df['forEach'](function(_0x35419c){_0x163087[++_0xb05320]=_0x35419c;}),_0x163087;}var COMPARE_PARTIAL_FLAG$2=0x1,COMPARE_UNORDERED_FLAG=0x2,boolTag='[object\x20Boolean]',dateTag='[object\x20Date]',errorTag='[object\x20Error]',mapTag='[object\x20Map]',numberTag='[object\x20Number]',regexpTag='[object\x20RegExp]',setTag='[object\x20Set]',stringTag='[object\x20String]',symbolTag='[object\x20Symbol]',arrayBufferTag='[object\x20ArrayBuffer]',dataViewTag='[object\x20DataView]',symbolProto=Symbol$1?Symbol$1['prototype']:void 0x0,symbolValueOf=symbolProto?symbolProto['valueOf']:void 0x0;function equalByTag(_0x2f089d,_0x4ccb43,_0x4a6d83,_0x4f0da2,_0x3a2c7c,_0x498b8c,_0x1de2da){switch(_0x4a6d83){case dataViewTag:if(_0x2f089d['byteLength']!=_0x4ccb43['byteLength']||_0x2f089d['byteOffset']!=_0x4ccb43['byteOffset'])return!0x1;_0x2f089d=_0x2f089d['buffer'],_0x4ccb43=_0x4ccb43['buffer'];case arrayBufferTag:return!(_0x2f089d['byteLength']!=_0x4ccb43['byteLength']||!_0x498b8c(new Uint8Array$1(_0x2f089d),new Uint8Array$1(_0x4ccb43)));case boolTag:case dateTag:case numberTag:return eq(+_0x2f089d,+_0x4ccb43);case errorTag:return _0x2f089d['name']==_0x4ccb43['name']&&_0x2f089d['message']==_0x4ccb43['message'];case regexpTag:case stringTag:return _0x2f089d==_0x4ccb43+'';case mapTag:var _0x3c4b9d=mapToArray;case setTag:var _0x378f14=_0x4f0da2&COMPARE_PARTIAL_FLAG$2;if(_0x3c4b9d||(_0x3c4b9d=setToArray),_0x2f089d['size']!=_0x4ccb43['size']&&!_0x378f14)return!0x1;var _0x263e4a=_0x1de2da['get'](_0x2f089d);if(_0x263e4a)return _0x263e4a==_0x4ccb43;_0x4f0da2|=COMPARE_UNORDERED_FLAG,_0x1de2da['set'](_0x2f089d,_0x4ccb43);var _0x18d77a=equalArrays(_0x3c4b9d(_0x2f089d),_0x3c4b9d(_0x4ccb43),_0x4f0da2,_0x3a2c7c,_0x498b8c,_0x1de2da);return _0x1de2da['delete'](_0x2f089d),_0x18d77a;case symbolTag:if(symbolValueOf)return symbolValueOf['call'](_0x2f089d)==symbolValueOf['call'](_0x4ccb43);}return!0x1;}var COMPARE_PARTIAL_FLAG$1=0x1,objectProto$1=Object['prototype'],hasOwnProperty$1=objectProto$1['hasOwnProperty'];function equalObjects(_0x28655d,_0x22298c,_0x333bf7,_0xa78721,_0x11082e,_0x5278ac){var _0x473008=_0x333bf7&COMPARE_PARTIAL_FLAG$1,_0x1735c5=getAllKeys(_0x28655d),_0x53195a=_0x1735c5['length'];if(_0x53195a!=getAllKeys(_0x22298c)['length']&&!_0x473008)return!0x1;for(var _0x314a30=_0x53195a;_0x314a30--;){var _0x13e512=_0x1735c5[_0x314a30];if(!(_0x473008?_0x13e512 in _0x22298c:hasOwnProperty$1['call'](_0x22298c,_0x13e512)))return!0x1;}var _0x4cf680=_0x5278ac['get'](_0x28655d),_0x10f90a=_0x5278ac['get'](_0x22298c);if(_0x4cf680&&_0x10f90a)return _0x4cf680==_0x22298c&&_0x10f90a==_0x28655d;var _0xc27d3b=!0x0;_0x5278ac['set'](_0x28655d,_0x22298c),_0x5278ac['set'](_0x22298c,_0x28655d);for(var _0x44dfa6=_0x473008;++_0x314a30<_0x53195a;){var _0x411f27=_0x28655d[_0x13e512=_0x1735c5[_0x314a30]],_0x1dd4f0=_0x22298c[_0x13e512];if(_0xa78721)var _0x5684e3=_0x473008?_0xa78721(_0x1dd4f0,_0x411f27,_0x13e512,_0x22298c,_0x28655d,_0x5278ac):_0xa78721(_0x411f27,_0x1dd4f0,_0x13e512,_0x28655d,_0x22298c,_0x5278ac);if(!(void 0x0===_0x5684e3?_0x411f27===_0x1dd4f0||_0x11082e(_0x411f27,_0x1dd4f0,_0x333bf7,_0xa78721,_0x5278ac):_0x5684e3)){_0xc27d3b=!0x1;break;}_0x44dfa6||(_0x44dfa6='constructor'==_0x13e512);}if(_0xc27d3b&&!_0x44dfa6){var _0x3385ae=_0x28655d['constructor'],_0x46fb52=_0x22298c['constructor'];_0x3385ae==_0x46fb52||!('constructor'in _0x28655d)||!('constructor'in _0x22298c)||'function'==typeof _0x3385ae&&_0x3385ae instanceof _0x3385ae&&'function'==typeof _0x46fb52&&_0x46fb52 instanceof _0x46fb52||(_0xc27d3b=!0x1);}return _0x5278ac['delete'](_0x28655d),_0x5278ac['delete'](_0x22298c),_0xc27d3b;}var COMPARE_PARTIAL_FLAG=0x1,argsTag='[object\x20Arguments]',arrayTag='[object\x20Array]',objectTag='[object\x20Object]',objectProto=Object['prototype'],hasOwnProperty=objectProto['hasOwnProperty'];function baseIsEqualDeep(_0x34461b,_0x31f83b,_0x17b477,_0x32c966,_0x133e50,_0x1eee5e){var _0x309e5d=isArray(_0x34461b),_0x21853d=isArray(_0x31f83b),_0x11c655=_0x309e5d?arrayTag:getTag(_0x34461b),_0x4318d6=_0x21853d?arrayTag:getTag(_0x31f83b),_0x39132f=(_0x11c655=_0x11c655==argsTag?objectTag:_0x11c655)==objectTag,_0x1ae1b7=(_0x4318d6=_0x4318d6==argsTag?objectTag:_0x4318d6)==objectTag,_0x446967=_0x11c655==_0x4318d6;if(_0x446967&&isBuffer$2(_0x34461b)){if(!isBuffer$2(_0x31f83b))return!0x1;_0x309e5d=!0x0,_0x39132f=!0x1;}if(_0x446967&&!_0x39132f)return _0x1eee5e||(_0x1eee5e=new Stack$1()),_0x309e5d||isTypedArray(_0x34461b)?equalArrays(_0x34461b,_0x31f83b,_0x17b477,_0x32c966,_0x133e50,_0x1eee5e):equalByTag(_0x34461b,_0x31f83b,_0x11c655,_0x17b477,_0x32c966,_0x133e50,_0x1eee5e);if(!(_0x17b477&COMPARE_PARTIAL_FLAG)){var _0x2a7134=_0x39132f&&hasOwnProperty['call'](_0x34461b,'__wrapped__'),_0x5d8d42=_0x1ae1b7&&hasOwnProperty['call'](_0x31f83b,'__wrapped__');if(_0x2a7134||_0x5d8d42){var _0x329d40=_0x2a7134?_0x34461b['value']():_0x34461b,_0x40935e=_0x5d8d42?_0x31f83b['value']():_0x31f83b;return _0x1eee5e||(_0x1eee5e=new Stack$1()),_0x133e50(_0x329d40,_0x40935e,_0x17b477,_0x32c966,_0x1eee5e);}}return!!_0x446967&&(_0x1eee5e||(_0x1eee5e=new Stack$1()),equalObjects(_0x34461b,_0x31f83b,_0x17b477,_0x32c966,_0x133e50,_0x1eee5e));}function baseIsEqual(_0x5b7c6e,_0x40de65,_0x2ebf2c,_0x19a668,_0x5f561f){return _0x5b7c6e===_0x40de65||(null==_0x5b7c6e||null==_0x40de65||!isObjectLike(_0x5b7c6e)&&!isObjectLike(_0x40de65)?_0x5b7c6e!=_0x5b7c6e&&_0x40de65!=_0x40de65:baseIsEqualDeep(_0x5b7c6e,_0x40de65,_0x2ebf2c,_0x19a668,baseIsEqual,_0x5f561f));}var now=function(){return root['Date']['now']();},FUNC_ERROR_TEXT$1='Expected\x20a\x20function',nativeMax=Math['max'],nativeMin=Math['min'];function debounce$1(_0x45c103,_0x4d1b59,_0x17ef70){var _0x30c74c,_0x20c6ed,_0x4129f3,_0x2e81a9,_0x3d12d2,_0x2926aa,_0x14163f=0x0,_0x5383c3=!0x1,_0x3327fd=!0x1,_0x51d649=!0x0;if('function'!=typeof _0x45c103)throw new TypeError(FUNC_ERROR_TEXT$1);function _0x37928a(_0x5725ea){var _0x470558=_0x30c74c,_0x550da5=_0x20c6ed;return _0x30c74c=_0x20c6ed=void 0x0,_0x14163f=_0x5725ea,_0x2e81a9=_0x45c103['apply'](_0x550da5,_0x470558);}function _0x83ae50(_0x4a7a14){var _0x5c9da6=_0x4a7a14-_0x2926aa;return void 0x0===_0x2926aa||_0x5c9da6>=_0x4d1b59||_0x5c9da6<0x0||_0x3327fd&&_0x4a7a14-_0x14163f>=_0x4129f3;}function _0x204471(){var _0x41e693=now();if(_0x83ae50(_0x41e693))return _0x45375d(_0x41e693);_0x3d12d2=setTimeout(_0x204471,function(_0x212054){var _0x51a1a4=_0x4d1b59-(_0x212054-_0x2926aa);return _0x3327fd?nativeMin(_0x51a1a4,_0x4129f3-(_0x212054-_0x14163f)):_0x51a1a4;}(_0x41e693));}function _0x45375d(_0x330e45){return _0x3d12d2=void 0x0,_0x51d649&&_0x30c74c?_0x37928a(_0x330e45):(_0x30c74c=_0x20c6ed=void 0x0,_0x2e81a9);}function _0x5a0446(){var _0xa0c580=now(),_0x5eb91c=_0x83ae50(_0xa0c580);if(_0x30c74c=arguments,_0x20c6ed=this,_0x2926aa=_0xa0c580,_0x5eb91c){if(void 0x0===_0x3d12d2)return function(_0x5261b1){return _0x14163f=_0x5261b1,_0x3d12d2=setTimeout(_0x204471,_0x4d1b59),_0x5383c3?_0x37928a(_0x5261b1):_0x2e81a9;}(_0x2926aa);if(_0x3327fd)return clearTimeout(_0x3d12d2),_0x3d12d2=setTimeout(_0x204471,_0x4d1b59),_0x37928a(_0x2926aa);}return void 0x0===_0x3d12d2&&(_0x3d12d2=setTimeout(_0x204471,_0x4d1b59)),_0x2e81a9;}return _0x4d1b59=toNumber(_0x4d1b59)||0x0,isObject$3(_0x17ef70)&&(_0x5383c3=!!_0x17ef70['leading'],_0x4129f3=(_0x3327fd='maxWait'in _0x17ef70)?nativeMax(toNumber(_0x17ef70['maxWait'])||0x0,_0x4d1b59):_0x4129f3,_0x51d649='trailing'in _0x17ef70?!!_0x17ef70['trailing']:_0x51d649),_0x5a0446['cancel']=function(){void 0x0!==_0x3d12d2&&clearTimeout(_0x3d12d2),_0x14163f=0x0,_0x30c74c=_0x2926aa=_0x20c6ed=_0x3d12d2=void 0x0;},_0x5a0446['flush']=function(){return void 0x0===_0x3d12d2?_0x2e81a9:_0x45375d(now());},_0x5a0446;}function last(_0x44c3e0){var _0x3a8d8b=null==_0x44c3e0?0x0:_0x44c3e0['length'];return _0x3a8d8b?_0x44c3e0[_0x3a8d8b-0x1]:void 0x0;}var htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'},escapeHtmlChar=basePropertyOf(htmlEscapes),reUnescapedHtml=/[&<>"']/g,reHasUnescapedHtml=RegExp(reUnescapedHtml['source']);function escape(_0x26012a){return(_0x26012a=toString$2(_0x26012a))&&reHasUnescapedHtml['test'](_0x26012a)?_0x26012a['replace'](reUnescapedHtml,escapeHtmlChar):_0x26012a;}function parent(_0x4f8b67,_0x57e91e){return _0x57e91e['length']<0x2?_0x4f8b67:baseGet(_0x4f8b67,baseSlice(_0x57e91e,0x0,-0x1));}function isElement$2(_0x3899b2){return isObjectLike(_0x3899b2)&&0x1===_0x3899b2['nodeType']&&!isPlainObject(_0x3899b2);}function isEqual(_0x1f2a81,_0x22246e){return baseIsEqual(_0x1f2a81,_0x22246e);}function baseUnset(_0x1386ee,_0x5024af){return null==(_0x1386ee=parent(_0x1386ee,_0x5024af=castPath(_0x5024af,_0x1386ee)))||delete _0x1386ee[toKey(last(_0x5024af))];}function customOmitClone(_0x304dde){return isPlainObject(_0x304dde)?void 0x0:_0x304dde;}var CLONE_DEEP_FLAG=0x1,CLONE_FLAT_FLAG=0x2,CLONE_SYMBOLS_FLAG=0x4,omit=flatRest(function(_0xb80b2,_0x5bad06){var _0x4e2056={};if(null==_0xb80b2)return _0x4e2056;var _0x20ce03=!0x1;_0x5bad06=arrayMap(_0x5bad06,function(_0x1eed1d){return _0x1eed1d=castPath(_0x1eed1d,_0xb80b2),_0x20ce03||(_0x20ce03=_0x1eed1d['length']>0x1),_0x1eed1d;}),copyObject(_0xb80b2,getAllKeysIn(_0xb80b2),_0x4e2056),_0x20ce03&&(_0x4e2056=baseClone(_0x4e2056,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var _0x2f1382=_0x5bad06['length'];_0x2f1382--;)baseUnset(_0x4e2056,_0x5bad06[_0x2f1382]);return _0x4e2056;});function baseSet(_0x4318ff,_0x5509d5,_0x37efd1,_0xe9d843){if(!isObject$3(_0x4318ff))return _0x4318ff;for(var _0x38ecf2=-0x1,_0xf5d91a=(_0x5509d5=castPath(_0x5509d5,_0x4318ff))['length'],_0x134690=_0xf5d91a-0x1,_0x4982f3=_0x4318ff;null!=_0x4982f3&&++_0x38ecf2<_0xf5d91a;){var _0x4630ef=toKey(_0x5509d5[_0x38ecf2]),_0x465356=_0x37efd1;if('__proto__'===_0x4630ef||'constructor'===_0x4630ef||'prototype'===_0x4630ef)return _0x4318ff;if(_0x38ecf2!=_0x134690){var _0x3e53eb=_0x4982f3[_0x4630ef];void 0x0===(_0x465356=void 0x0)&&(_0x465356=isObject$3(_0x3e53eb)?_0x3e53eb:isIndex(_0x5509d5[_0x38ecf2+0x1])?[]:{});}assignValue(_0x4982f3,_0x4630ef,_0x465356),_0x4982f3=_0x4982f3[_0x4630ef];}return _0x4318ff;}function set$1(_0xb4e5f1,_0x1b1230,_0x13c20d){return null==_0xb4e5f1?_0xb4e5f1:baseSet(_0xb4e5f1,_0x1b1230,_0x13c20d);}var FUNC_ERROR_TEXT='Expected\x20a\x20function';function throttle$1(_0x412c52,_0x408939,_0xf17115){var _0x1e7cd0=!0x0,_0x551976=!0x0;if('function'!=typeof _0x412c52)throw new TypeError(FUNC_ERROR_TEXT);return isObject$3(_0xf17115)&&(_0x1e7cd0='leading'in _0xf17115?!!_0xf17115['leading']:_0x1e7cd0,_0x551976='trailing'in _0xf17115?!!_0xf17115['trailing']:_0x551976),debounce$1(_0x412c52,_0x408939,{'leading':_0x1e7cd0,'maxWait':_0x408939,'trailing':_0x551976});}var htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'},unescapeHtmlChar=basePropertyOf(htmlUnescapes),reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reHasEscapedHtml=RegExp(reEscapedHtml['source']);function unescape$1(_0x4ebabb){return(_0x4ebabb=toString$2(_0x4ebabb))&&reHasEscapedHtml['test'](_0x4ebabb)?_0x4ebabb['replace'](reEscapedHtml,unescapeHtmlChar):_0x4ebabb;}function unset(_0x59d602,_0x12c778){return null==_0x59d602||baseUnset(_0x59d602,_0x12c778);}class AIHistoryListItemView extends ListItemView{constructor(_0xd9acc2){super();const _0x329550=new ButtonLabelView(),_0x47e2af=new ButtonView(this['locale'],_0x329550);this['children']['add'](_0x47e2af),_0x47e2af['set']({'label':_0xd9acc2['prompt'],'withText':!0x0}),_0x47e2af['on']('execute',()=>{this['fire']('execute',{'value':unescape$1(_0xd9acc2['prompt'])});});}}const SESSION_STORAGE_KEY='CKEditor/AIFormView/PromptHistory',MAX_HISTORY_LENGTH=0x14;class PromptHistory extends Collection{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x5c63fc,_0x9d0d50)=>{const _0x1d6fbb=normalizePromptText(_0x9d0d50['prompt']);for(const _0x58bc14 of this)if(_0x58bc14!=_0x9d0d50&&normalizePromptText(_0x58bc14['prompt'])===_0x1d6fbb){this['remove'](_0x58bc14);break;}this['length']>MAX_HISTORY_LENGTH&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x1f1e7e=sessionStorage['getItem'](SESSION_STORAGE_KEY)||'[]';this['addMany'](JSON['parse'](_0x1f1e7e));}['_saveToSessionStorage'](){sessionStorage['setItem'](SESSION_STORAGE_KEY,JSON['stringify'](this['map'](_0x473ab7=>_0x473ab7)));}}function normalizePromptText(_0x50fac0){return _0x50fac0['toLowerCase']()['trim']();}class AIFormView extends View{constructor(_0x18da8e,_0x438008,_0x385a8a=''){super(_0x18da8e),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new AIFormErrorView(_0x18da8e),this['contentArea']=new AIFormContentArea(_0x18da8e,_0x385a8a),this['contentArea']['bind']('isProcessing')['to'](this),this['contentArea']['bind']('value')['to'](this),this['toolbar']=this['_createToolbar'](),this['toolbar']['bind']('mainAction')['to'](this),this['promptView']=this['_createPromptView'](),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new FocusCycler({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['focusCycler']['chain'](this['promptView']['focusCycler']),this['promptView']['queryView']['fieldView']['bind']('value')['to'](this,'prompt');const _0x346092=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x438008],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x346092['if']('isError','ck-hidden',_0x3fc2af=>!_0x3fc2af)]},'children':[this['errorView']]},this['contentArea'],this['toolbar'],this['promptView']]}]});}['render'](){super['render'](),this['focusTracker']['add'](this['contentArea']['element']),this['focusTracker']['add'](this['contentArea']['copyButtonView']['element']),this['focusTracker']['add'](this['toolbar']['element']),this['focusTracker']['add'](this['promptView']['element']),this['keystrokes']['listenTo'](this['element']);}['focus'](_0x3d5cb5=0x1){-0x1===_0x3d5cb5?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['reset'](){this['prompt']='',this['value']='',this['isError']=!0x1,this['promptView']['reset'](),this['contentArea']['isVisible']=!0x1,this['toolbar']['isVisible']=!0x1;}['_createPromptView'](){const _0x10c990=this['locale'],_0x5acdc7=new AIFormPromptView(_0x10c990,{'queryView':{'label':getTranslation$h(_0x10c990,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':createLabeledTextarea,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$h(_0x10c990,'Empty\x20history'),'secondary':getTranslation$h(_0x10c990,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5acdc7['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x12422f,_0x548cf2)=>_0x12422f&&!_0x548cf2),this['listenTo'](_0x5acdc7,'submit',(_0x5c3d65,_0x392bde)=>{this['prompt']=_0x392bde;const _0x460c33=escape(_0x392bde);this['fire']('submitPrompt',_0x460c33),_0x392bde['trim']()&&this['_promptHistory']['add']({'prompt':_0x460c33},0x0);},{'priority':'high'}),_0x5acdc7;}['_createHistoryView'](){const _0x41a734=new AIHistoryListView(this['locale']);return _0x41a734['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x41a734['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x41a734;}['_createToolbar'](){const _0x3843ee=new AIFormToolbarView(this['locale']);return _0x3843ee['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x12370e,_0x3b70bf,_0x2aa5d9)=>_0x12370e&&!_0x3b70bf&&!!_0x2aa5d9),_0x3843ee['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x3843ee['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x340cc2,_0x491f24,_0x2e277c)=>_0x340cc2&&!_0x491f24&&!!_0x2e277c),_0x3843ee['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x3843ee['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x231b29,_0x35c11c)=>_0x231b29&&!_0x35c11c),_0x3843ee['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x3843ee['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x3843ee['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x3843ee;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x32e142=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$h(_0x32e142,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x950654){const _0x5183b9=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x950654||getTranslation$h(_0x5183b9,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}var magicWandIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M15.346\x209.422a.151.151\x200\x200\x201\x20.284\x200l.548\x201.484a.152.152\x200\x200\x200\x20.09.089l1.483.549a.151.151\x200\x200\x201\x200\x20.284l-1.483.548a.151.151\x200\x200\x200-.09.09l-.548\x201.483a.152.152\x200\x200\x201-.142.1.151.151\x200\x200\x201-.142-.1l-.549-1.483a.15.15\x200\x200\x200-.09-.09l-1.483-.548a.15.15\x200\x200\x201\x200-.284l1.484-.549a.152.152\x200\x200\x200\x20.089-.09l.549-1.483Z\x22/><path\x20d=\x22M16.306\x201.742a.151.151\x200\x200\x201\x20.284\x200l.549\x201.483a.15.15\x200\x200\x200\x20.089.09l1.483.548a.151.151\x200\x200\x201\x20.072.229.151.151\x200\x200\x201-.072.055l-1.483.549a.15.15\x200\x200\x200-.09.09l-.548\x201.482a.151.151\x200\x200\x201-.284\x200l-.549-1.483a.15.15\x200\x200\x200-.09-.09l-1.483-.548a.151.151\x200\x200\x201\x200-.284l1.484-.549a.152.152\x200\x200\x200\x20.09-.089l.548-1.483Z\x22/><path\x20d=\x22M7.665\x201.742a.151.151\x200\x200\x201\x20.284\x200l.549\x201.483a.151.151\x200\x200\x200\x20.09.09l1.482.548a.151.151\x200\x200\x201\x20.072.229.151.151\x200\x200\x201-.072.055l-1.483.549a.151.151\x200\x200\x200-.09.09L7.95\x206.267a.151.151\x200\x200\x201-.284\x200l-.549-1.483a.151.151\x200\x200\x200-.089-.09l-1.483-.548a.151.151\x200\x200\x201\x200-.284l1.483-.549a.151.151\x200\x200\x200\x20.09-.089l.548-1.483-.001.001Z\x22/><path\x20d=\x22M14.72\x207.946a.848.848\x200\x200\x200\x20.25-.591.824.824\x200\x200\x200-.241-.588l-1.943-1.938a.812.812\x200\x200\x200-.588-.241.838.838\x200\x200\x200-.591.25l-1.545\x201.539\x203.115\x203.115\x201.542-1.546h.001Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M1.19\x2015.636a.96.96\x200\x200\x201\x20.281-.679l7.835-7.834\x203.121\x203.12-7.834\x207.835a.959.959\x200\x200\x201-1.358\x200l-1.764-1.764a.96.96\x200\x200\x201-.28-.678Zm9.22-5.391-1.121-1.12-6.479\x206.478\x201.121\x201.121\x206.479-6.479Z\x22/></svg>';const DomDataTransfer=globalThis['DataTransfer'];class AIAssistantUI extends Plugin{static get['pluginName'](){return'AIAssistantUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ClipboardMarkersUtils,AIAssistantEditing,AIAdapter,Dialog];}constructor(_0x6a3214){super(_0x6a3214),this['_uiCssClasses']='',_0x6a3214['config']['define']('ai.aiAssistant.disabledElements',['media','rawHtml','tableOfContents']),_0x6a3214['config']['define']('ai.aiAssistant.contentAreaCssClass',''),_0x6a3214['config']['define']('ai.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x6a3214['config']['get']('ai.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x224150}=this;this['_aiAdapter']=_0x224150['plugins']['get'](AIAdapter),this['_dialog']=_0x224150['plugins']['get'](Dialog),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x3b6f2f=new ShowAIAssistantCommand(_0x224150,Array['from'](this['_commandDefinitions']['values']()));_0x224150['commands']['add']('showAIAssistant',_0x3b6f2f),_0x224150['ui']['componentFactory']['add']('aiCommands',_0xf65604=>{const _0x3f6185=createDropdown(_0xf65604);return _0x3f6185['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x3f6185['buttonView']['set']({'label':getTranslation$h(_0xf65604,'AI\x20Commands'),'icon':magicWandIcon,'tooltip':!0x0}),_0x3f6185['on']('execute',_0x394637=>this['_onExecute'](_0x394637['source']['id'])),addMenuToDropdown(_0x3f6185,_0x224150['ui']['view']['body'],getMenuDropdownDefinition(_0x224150),{'ariaLabel':getTranslation$h(_0xf65604,'AI\x20Commands')}),_0x3f6185['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x3b6f2f['on']('change:enabledCommandsIds',_0x368eab),_0x3f6185['menuView']['once']('render',_0x368eab),_0x3f6185;function _0x368eab(){_0x3f6185['isEnabled']=_0x3b6f2f['enabledCommandsIds']['length']>0x0;for(const _0x47c77 of _0x3f6185['menuView']['buttons'])_0x47c77['isEnabled']=_0x3b6f2f['enabledCommandsIds']['includes'](_0x47c77['id']);}}),_0x224150['ui']['componentFactory']['add']('menuBar:aiCommands',_0x4701b5=>{const _0x8e04e6=new MenuBarMenuView(_0x4701b5);_0x8e04e6['buttonView']['set']({'label':getTranslation$h(_0x4701b5,'AI\x20Commands'),'icon':magicWandIcon}),_0x8e04e6['bind']('isEnabled')['to'](_0x3b6f2f,'enabledCommandsIds',_0x7859c3=>_0x7859c3['length']>0x0);const _0x33a849=normalizeCommandsConfig(_0x224150['config']['get']('ai.aiAssistant.commands'),_0x4701b5);return this['_populateMenuBarMenu'](_0x3b6f2f,_0x8e04e6,_0x33a849,_0x43c0a4=>this['_onExecute'](_0x43c0a4)),_0x8e04e6;}),_0x224150['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x5af2ec=this['_createAIAssistantUIButton'](ButtonView);return _0x5af2ec['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x5af2ec;}),_0x224150['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x3a2962=this['_createAIAssistantUIButton'](MenuBarMenuListItemButtonView);return _0x3a2962['set']({'role':'menuitemcheckbox'}),_0x3a2962;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a860d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x531361;for(const _0x4aff25 in _0x2a860d){const _0x192958=_0x4aff25,_0x35bc45=_0x2a860d[_0x192958];if('aiLicenseKeyValid'==_0x35bc45||'aiLicenseKeyInvalid'==_0x35bc45||'aiLicenseKeyExpired'==_0x35bc45||'aiLicenseKeyDomainLimit'==_0x35bc45||'aiLicenseKeyNotAllowed'==_0x35bc45||'aiLicenseKeyEvaluationLimit'==_0x35bc45||'aiLicenseKeyTrialLimit'==_0x35bc45||'aiLicenseKeyUsageLimit'==_0x35bc45){delete _0x2a860d[_0x192958],_0x531361=_0x35bc45,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x531361&&_0x2a860d['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x531361&&_0x2a860d['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x531361&&_0x2a860d['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x531361&&_0x2a860d['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x531361&&_0x2a860d['_showLicenseError']('evaluationLimit'),'aiLicenseKeyTrialLimit'==_0x531361&&_0x2a860d['_showLicenseError']('trialLimit'),'aiLicenseKeyUsageLimit'==_0x531361&&_0x2a860d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x59a99b='',_0x374ade='',_0x20ec08='custom'){const _0x1db758=this['editor'],_0x2b2bf5=_0x1db758['editing']['view'],_0x5187be=_0x1db758['plugins']['get'](AIAssistantEditing),_0x458c49=_0x1db758['plugins']['get'](ClipboardMarkersUtils);_0x5187be['showFakeVisualSelection']();const _0x5286ba=new DomDataTransfer(),_0xd01cda=new ClipboardEvent('copy',{'clipboardData':_0x5286ba}),_0x801d3f=new DataTransfer$1(_0x5286ba),_0x2cbfd8=new DomEventData(_0x2b2bf5,_0xd01cda,{'dataTransfer':_0x801d3f});_0x458c49['_forceMarkersCopy']('comment',()=>{_0x2b2bf5['document']['fire']('copy',_0x2cbfd8);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x1db758,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x3804f9=_0x801d3f['getData']('text/html');const _0x13b5bf=_0x1db758['model']['document']['selection'],_0x25609a=Array['from'](_0x13b5bf['getRanges']());0x1===_0x25609a['length']&&_0x25609a[0x0]['isFlat']&&!_0x13b5bf['getSelectedElement']()&&''!==_0x3804f9['replace'](/&nbsp;/g,'')['trim']()&&(_0x3804f9='<p>'+_0x3804f9+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x20ec08,'query':_0x59a99b,'htmlContent':_0x3804f9,'label':_0x374ade,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x1db758['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':icons['robotPencil'],'title':getTranslation$h(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':DialogViewPosition['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x5187be['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x2b71e7=new Map(),_0x5e4412=normalizeCommandsConfig(this['editor']['config']['get']('ai.aiAssistant.commands'),this['editor']['locale']);for(const _0x4458cf of _0x5e4412)for(const _0x5acda0 of _0x4458cf['commands'])_0x2b71e7['set'](_0x5acda0['id'],{..._0x5acda0,'groupId':_0x4458cf['groupId'],'groupLabel':_0x4458cf['groupLabel']||_0x4458cf['groupId']});return _0x2b71e7;}['_createAIAssistantUIButton'](_0x4e3106){const _0x2683f4=this['editor'],_0x1edb28=_0x2683f4['commands']['get']('showAIAssistant'),_0x46ae09=new _0x4e3106(_0x2683f4['locale']);return _0x46ae09['set']({'label':getTranslation$h(_0x2683f4['locale'],'AI\x20Assistant'),'icon':icons['robotPencil'],'isToggleable':!0x0}),_0x46ae09['bind']('isEnabled')['to'](_0x1edb28),_0x46ae09['bind']('isOn')['to'](this['_dialog'],'id',_0x265b5b=>'aiAssistant'===_0x265b5b),this['listenTo'](_0x46ae09,'execute',()=>{_0x46ae09['isOn']?this['hideUI']():_0x1edb28['execute']();}),_0x46ae09;}['_initView'](){const _0x1cc9a0=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new AIFormView(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.aiAssistant.contentAreaCssClass')),this['_formView']['on']('change:value',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['_formView']['promptView']['queryView']['fieldView']['on']('update',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['listenTo'](this['_formView'],'replaceContent',()=>{_0x1cc9a0['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x1cc9a0['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x14fa66,ui:{ariaLiveAnnouncer:_0x2d4a97}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x3f4698,_0x4c60d9,_0x59a898)=>{const _0x57213b=this['_aiAssistantController']['currentContext'];_0x59a898?_0x2d4a97['announce'](getTranslation$h(_0x14fa66,'AI\x20is\x20writing')):_0x57213b&&_0x2d4a97['announce'](getTranslation$h(_0x14fa66,'Generated\x20content:\x20%0',_0x57213b),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x59badc,_0x3d6777,_0x2f9bc0)=>{if(_0x2f9bc0){const _0x5cb962=this['_formView']['errorView']['text'];_0x2d4a97['announce'](getTranslation$h(_0x14fa66,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5cb962));}});}['_onExecute'](_0x422aa4){const _0x1ed974=this['_commandDefinitions']['get'](_0x422aa4),_0xe9f4a=this['editor'],_0x271364=_0xe9f4a['model']['document']['selection'],_0x41f0eb=_0xe9f4a['commands']['get']('showAIAssistant'),_0xf53b1d=_0xe9f4a['plugins']['get'](AIAssistantEditing),_0x522538=''+(_0x1ed974['groupId']!==UNGROUPED_COMMANDS_GROUP_ID?_0x1ed974['groupLabel']+':\x20':'')+_0x1ed974['label'];if(!0x1!==_0x1ed974['requiresContent']&&_0x271364['isCollapsed']){const _0x104d3f=first(_0x271364['getSelectedBlocks']())||_0xe9f4a['model']['schema']['getLimitElement'](_0x271364);_0xe9f4a['model']['change'](_0x42ce44=>{_0x42ce44['setSelection'](_0x104d3f,'in');});}_0xf53b1d['showFakeVisualSelection'](),_0x41f0eb['execute'](_0x1ed974['prompt'],_0x522538,'command:'+_0x422aa4);}['_populateMenuBarMenu'](_0x2de936,_0x4d334e,_0x2cac5f,_0x1943d0){const _0xa8d17a=this['editor'],_0x109d94=_0xa8d17a['locale'],_0x47d017=new MenuBarMenuListView(_0x109d94),_0x421c2b=sortDefinitionsByOrder(_0xa8d17a,_0x2cac5f)['filter'](_0x505eed=>_0x505eed['commands']['length']);0x1===_0x421c2b['length']?this['_getMenuBarGroupButtons']({'command':_0x2de936,'commands':_0x421c2b[0x0]['commands'],'parentMenuView':_0x4d334e,'onExecute':_0x1943d0})['forEach'](_0x1f3e8a=>_0x47d017['items']['add'](_0x1f3e8a)):_0x421c2b['forEach'](({groupId:_0x34ed9e,groupLabel:_0x544d2d,commands:_0x457a8a})=>{const _0x1b3947=new MenuBarMenuListItemView(_0x109d94,_0x4d334e),_0x43dc06=new MenuBarMenuView(_0x109d94),_0x64fde2=new MenuBarMenuListView(_0x109d94),_0x5056cb=this['_getMenuBarGroupButtons']({'command':_0x2de936,'commands':_0x457a8a,'parentMenuView':_0x43dc06,'onExecute':_0x1943d0});_0x43dc06['buttonView']['set']({'label':_0x544d2d||_0x34ed9e}),_0x43dc06['delegate']('execute')['to'](_0x4d334e),_0x64fde2['items']['addMany'](_0x5056cb),_0x43dc06['panelView']['children']['add'](_0x64fde2),_0x1b3947['children']['add'](_0x43dc06),_0x47d017['items']['add'](_0x1b3947);}),_0x4d334e['panelView']['children']['add'](_0x47d017);}['_getMenuBarGroupButtons']({command:_0x3fe13d,commands:_0x1eb9e8,parentMenuView:_0x512722,onExecute:_0x27eb26}){const _0x2823ff=this['editor'],_0x49314f=_0x2823ff['locale'];return sortDefinitionsByOrder(_0x2823ff,_0x1eb9e8)['map'](_0x57a25f=>{const _0x525958=new MenuBarMenuListItemView(_0x49314f,_0x512722),_0x23d5f4=new MenuBarMenuListItemButtonView(_0x49314f);return _0x23d5f4['set']({'label':_0x57a25f['label']}),_0x23d5f4['delegate']('execute')['to'](_0x512722),_0x23d5f4['on']('execute',()=>_0x27eb26(_0x57a25f['id'])),_0x23d5f4['bind']('isEnabled')['to'](_0x3fe13d,'enabledCommandsIds',_0x2268d1=>_0x2268d1['includes'](_0x57a25f['id'])),_0x525958['children']['add'](_0x23d5f4),_0x525958;});}}function getMenuDropdownDefinition(_0x17dd7f){const _0x3528de=normalizeCommandsConfig(_0x17dd7f['config']['get']('ai.aiAssistant.commands'),_0x17dd7f['locale']),_0x26ec42=sortDefinitionsByOrder(_0x17dd7f,_0x3528de)['filter'](_0x3fa2fe=>_0x3fa2fe['commands']['length']);return 0x1===_0x26ec42['length']?sortDefinitionsByOrder(_0x17dd7f,_0x26ec42[0x0]['commands'])['map'](_0x5a5a4a=>({'id':_0x5a5a4a['id'],'label':_0x5a5a4a['label']})):_0x26ec42['map'](_0x59fa17=>{const {groupId:_0x2fca89,groupLabel:_0x542f25,commands:_0x46eb3e}=_0x59fa17,_0x22b968=sortDefinitionsByOrder(_0x17dd7f,_0x46eb3e)['map'](_0x5d0b3d=>({'id':_0x5d0b3d['id'],'label':_0x5d0b3d['label']}));return{'id':_0x2fca89,'menu':_0x542f25||_0x2fca89,'children':_0x22b968};});}function sortDefinitionsCallback(_0x5c4119,_0x28e3ee){return void 0x0!==_0x5c4119['order']&&void 0x0===_0x28e3ee['order']?0x1:void 0x0===_0x5c4119['order']&&void 0x0!==_0x28e3ee['order']?-0x1:void 0x0!==_0x5c4119['order']&&void 0x0!==_0x28e3ee['order']?_0x5c4119['order']-_0x28e3ee['order']:0x0;}function sortDefinitionsByOrder(_0x4e5ec6,_0x6a27bb){_0x6a27bb['sort'](sortDefinitionsCallback);const _0x422cfe={},_0xeb64bc=[];for(const _0x539e7a of _0x6a27bb)if(void 0x0!==_0x539e7a['order']){if(_0x539e7a['order']in _0x422cfe)throw new CKEditorError('ai-commands-config-order-collision',_0x4e5ec6,{'conflictingDefinitions':[_0x539e7a,_0x422cfe[_0x539e7a['order']]]});_0x422cfe[_0x539e7a['order']]=_0x539e7a,_0xeb64bc['splice'](_0x539e7a['order'],0x0,_0x539e7a);}else _0xeb64bc['push'](_0x539e7a);return _0xeb64bc;}class AIAssistant extends Plugin{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8429fe){super(_0x8429fe);const _0x13021c=_0x8429fe['config'],_0x4d973d=_0x8429fe['locale'];_0x13021c['define']('ai.aiAssistant.preserveComments',!0x0),_0x13021c['define']('ai.aiAssistant.commands',getDefaultCommands(_0x4d973d)),_0x13021c['define']('ai.aiAssistant.extraCommandGroups',[]),_0x13021c['define']('ai.aiAssistant.removeCommands',[]);let _0xb7db88=normalizeCommandsConfig(_0x13021c['get']('ai.aiAssistant.commands'),_0x4d973d);const _0x120bd0=_0x13021c['get']('ai.aiAssistant.extraCommandGroups'),_0x581cb0=_0x13021c['get']('ai.aiAssistant.removeCommands');_0x120bd0['forEach'](_0x524b6a=>{const _0x26c392=_0xb7db88['find'](_0x201fd6=>_0x201fd6['groupId']===_0x524b6a['groupId']);_0x26c392?_0x26c392['commands']=_0x26c392['commands']['concat'](_0x524b6a['commands']):_0xb7db88['push'](_0x524b6a);}),_0xb7db88=_0xb7db88['filter'](_0x1d4fdd=>!_0x581cb0['includes'](_0x1d4fdd['groupId'])),_0xb7db88['forEach'](_0x2ace25=>{_0x2ace25['commands']=_0x2ace25['commands']['filter'](_0x352628=>!_0x581cb0['includes'](_0x352628['id']));}),_0x13021c['set']('ai.aiAssistant.commands',_0xb7db88);}}function getDefaultCommands(_0x262318){return[{'groupId':'editOrReview','groupLabel':getTranslation$h(_0x262318,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$h(_0x262318,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':getTranslation$h(_0x262318,'Make\x20shorter'),'prompt':'Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.'},{'id':'makeLonger','label':getTranslation$h(_0x262318,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$h(_0x262318,'Simplify\x20language'),'prompt':'Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.'}]},{'groupId':'generate','groupLabel':getTranslation$h(_0x262318,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$h(_0x262318,'Summarize'),'prompt':'Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.'},{'id':'continue','label':getTranslation$h(_0x262318,'Continue'),'prompt':'Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.'}]},{'groupId':'changeTone','groupLabel':getTranslation$h(_0x262318,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$h(_0x262318,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$h(_0x262318,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$h(_0x262318,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$h(_0x262318,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$h(_0x262318,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$h(_0x262318,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$h(_0x262318,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$h(_0x262318,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$h(_0x262318,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$h(_0x262318,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$h(_0x262318,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$h(_0x262318,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$h(_0x262318,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$h(_0x262318,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$h(_0x262318,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$h(_0x262318,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$h(_0x262318,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$h(_0x262318,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$h(_0x262318,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends Plugin{static get['requires'](){return[AIAdapter];}constructor(_0x21f1ce){super(_0x21f1ce),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](AIAdapter)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x3501d9){return this['sendRequest'](_0x3501d9)['catch'](_0x188aa1=>{if(_0x188aa1 instanceof AIRequestError)return Promise['reject'](_0x188aa1);if('AbortError'==_0x188aa1['name'])return Promise['resolve']();throw console['error'](_0x188aa1),new CKEditorError('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x45cfdf,_0x5df4bb){const _0x378f30=this['editor']['locale'],_0x12a896={'Content-Type':'application/json'};if('object'==typeof _0x45cfdf)Object['assign'](_0x12a896,_0x45cfdf);else{if(_0x45cfdf)try{const _0x1e6fc8=await _0x45cfdf(_0x5df4bb);Object['assign'](_0x12a896,_0x1e6fc8);}catch(_0x2a9ba4){return Promise['reject'](new AIRequestError(getTranslation$h(_0x378f30,'AI_ERROR_GET_HEADERS')));}}return _0x12a896;}async['_prepareRequestParameters'](_0x5dbea9,_0xa0d3b8){const _0x39ef67=this['editor']['locale'];if('object'==typeof _0x5dbea9)return _0x5dbea9;try{return await _0x5dbea9(_0xa0d3b8);}catch(_0x2f81c5){return Promise['reject'](new AIRequestError(getTranslation$h(_0x39ef67,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x5b05de){super(_0x5b05de),_0x5b05de['config']['define']('ai.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x5b05de['config']['get']('ai.openAI.requestParameters')||_0x5b05de['config']['define']('ai.openAI.requestParameters',{'model':'gpt-3.5-turbo','max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x5b05de['config']['get']('ai.openAI.apiUrl'),this['_requestHeaders']=_0x5b05de['config']['get']('ai.openAI.requestHeaders')||{},this['_requestParameters']=_0x5b05de['config']['get']('ai.openAI.requestParameters');}async['sendRequest']({query:_0x43933b,context:_0x4a066c,onData:_0x27cbc3,actionId:_0x44ad15}){const _0x1d6aff=this['editor']['locale'],_0x350ccb=await this['prepareMessages'](_0x43933b,_0x4a066c,_0x44ad15),_0x14df47=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x44ad15),_0x11d87a=await this['_prepareRequestParameters'](this['_requestParameters'],_0x44ad15),_0x24926a={'messages':_0x350ccb,..._0x11d87a},_0x55b9c2={'method':'POST','headers':_0x14df47,'body':JSON['stringify'](_0x24926a),'signal':this['abortController']['signal']},_0x98203e=await fetch(this['_apiUrl'],_0x55b9c2);if(_0x98203e['ok'])return _0x11d87a['stream']?await this['_readStreamableResponse'](_0x98203e,_0x27cbc3):await this['_readStaticResponse'](_0x98203e,_0x27cbc3),Promise['resolve']();{const _0x157be1=await _0x98203e['text']();return _0x157be1['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$h(_0x1d6aff,'AI_ERROR_CONTEXT_LENGTH'))):_0x157be1['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$h(_0x1d6aff,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x157be1));}}async['prepareMessages'](_0x2042a0,_0x5c3a47,_0x15bd84){let _0x4489cf,_0x6441d5;return _0x5c3a47?(_0x4489cf='Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x6441d5='Instruction:\x0a'+_0x2042a0+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x5c3a47):(_0x4489cf='Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x6441d5=_0x2042a0),[{'role':'system','content':_0x4489cf},{'role':'user','content':_0x6441d5}];}async['_readStreamableResponse'](_0x54553c,_0x2d9f19){const _0x13b793=_0x54553c['body']['getReader'](),_0x553ae9=new TextDecoder();let _0x46c77a='',_0x597c24='',_0x5015b0='',_0x3cba3d=!0x1;for(;!_0x3cba3d;){const {done:_0x590082,value:_0x3b0d1f}=await _0x13b793['read'](),_0x20ae33=_0x46c77a+_0x553ae9['decode'](_0x3b0d1f);let _0x204c7e='';_0x3cba3d=_0x590082;try{_0x204c7e=this['_cleanUpData'](_0x20ae33),_0x46c77a='';}catch(_0x243963){_0x46c77a=_0x20ae33;continue;}_0x597c24+=_0x204c7e,!_0x3cba3d&&this['_isBufferIncomplete'](_0x597c24)||_0x597c24&&(_0x5015b0+=_0x597c24,_0x597c24='',_0x2d9f19(_0x5015b0));}return Promise['resolve']();}async['_readStaticResponse'](_0xa4f9fc,_0x37076c){return _0x37076c((await _0xa4f9fc['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x40ef57){const _0x42abdd=_0x40ef57['split']('<')['length']!==_0x40ef57['split']('>')['length'],_0x29654d=_0x40ef57['length']<0x1e;return _0x42abdd&&_0x29654d;}['_cleanUpData'](_0x52f7c6){return _0x52f7c6['split'](/\n(?![^{]*\})/g)['map'](_0x175f7f=>_0x175f7f['replace']('data:\x20',''))['filter'](_0x30a9ff=>_0x30a9ff&&_0x30a9ff['length']>0x0&&'[DONE]'!==_0x30a9ff)['map'](_0x91af87=>{const {choices:_0x2b446f}=JSON['parse'](_0x91af87);if(_0x2b446f[0x0]&&_0x2b446f[0x0]['delta']&&_0x2b446f[0x0]['delta']['content'])return _0x2b446f[0x0]['delta']['content'];})['filter'](_0x93a2e3=>_0x93a2e3)['join']('');}}const getHttpHandlerExtensionConfiguration=_0xd470f6=>{let _0x1a28fc=_0xd470f6['httpHandler'];return{'setHttpHandler'(_0x51fe0f){_0x1a28fc=_0x51fe0f;},'httpHandler':()=>_0x1a28fc,'updateHttpClientConfig'(_0x43ea67,_0x3d867f){_0x1a28fc['updateHttpClientConfig'](_0x43ea67,_0x3d867f);},'httpHandlerConfigs':()=>_0x1a28fc['httpHandlerConfigs']()};},resolveHttpHandlerRuntimeConfig=_0x535aa9=>({'httpHandler':_0x535aa9['httpHandler']()});var HttpAuthLocation,HttpApiKeyAuthLocation,EndpointURLScheme,AlgorithmId,FieldPosition;!function(_0x2cc4fd){_0x2cc4fd['HEADER']='header',_0x2cc4fd['QUERY']='query';}(HttpAuthLocation||(HttpAuthLocation={})),function(_0x2f4508){_0x2f4508['HEADER']='header',_0x2f4508['QUERY']='query';}(HttpApiKeyAuthLocation||(HttpApiKeyAuthLocation={})),function(_0x4f3d5c){_0x4f3d5c['HTTP']='http',_0x4f3d5c['HTTPS']='https';}(EndpointURLScheme||(EndpointURLScheme={})),function(_0x1baf63){_0x1baf63['MD5']='md5',_0x1baf63['CRC32']='crc32',_0x1baf63['CRC32C']='crc32c',_0x1baf63['SHA1']='sha1',_0x1baf63['SHA256']='sha256';}(AlgorithmId||(AlgorithmId={})),function(_0x4f93e4){_0x4f93e4[_0x4f93e4['HEADER']=0x0]='HEADER',_0x4f93e4[_0x4f93e4['TRAILER']=0x1]='TRAILER';}(FieldPosition||(FieldPosition={}));const SMITHY_CONTEXT_KEY='__smithy_context';var IniSectionType,RequestHandlerProtocol;!function(_0x3a5ed8){_0x3a5ed8['PROFILE']='profile',_0x3a5ed8['SSO_SESSION']='sso-session',_0x3a5ed8['SERVICES']='services';}(IniSectionType||(IniSectionType={})),function(_0x55e2af){_0x55e2af['HTTP_0_9']='http/0.9',_0x55e2af['HTTP_1_0']='http/1.0',_0x55e2af['TDS_8_0']='tds/8.0';}(RequestHandlerProtocol||(RequestHandlerProtocol={}));class HttpRequest{constructor(_0x247ca9){this['method']=_0x247ca9['method']||'GET',this['hostname']=_0x247ca9['hostname']||'localhost',this['port']=_0x247ca9['port'],this['query']=_0x247ca9['query']||{},this['headers']=_0x247ca9['headers']||{},this['body']=_0x247ca9['body'],this['protocol']=_0x247ca9['protocol']?':'!==_0x247ca9['protocol']['slice'](-0x1)?_0x247ca9['protocol']+':':_0x247ca9['protocol']:'https:',this['path']=_0x247ca9['path']?'/'!==_0x247ca9['path']['charAt'](0x0)?'/'+_0x247ca9['path']:_0x247ca9['path']:'/',this['username']=_0x247ca9['username'],this['password']=_0x247ca9['password'],this['fragment']=_0x247ca9['fragment'];}static['clone'](_0x402725){const _0x134a49=new HttpRequest({..._0x402725,'headers':{..._0x402725['headers']}});return _0x134a49['query']&&(_0x134a49['query']=cloneQuery(_0x134a49['query'])),_0x134a49;}static['isInstance'](_0x344e78){if(!_0x344e78)return!0x1;const _0x319f27=_0x344e78;return'method'in _0x319f27&&'protocol'in _0x319f27&&'hostname'in _0x319f27&&'path'in _0x319f27&&'object'==typeof _0x319f27['query']&&'object'==typeof _0x319f27['headers'];}['clone'](){return HttpRequest['clone'](this);}}function cloneQuery(_0x1a5ba0){return Object['keys'](_0x1a5ba0)['reduce']((_0x47a2a2,_0x4511b0)=>{const _0x5dcd93=_0x1a5ba0[_0x4511b0];return{..._0x47a2a2,[_0x4511b0]:Array['isArray'](_0x5dcd93)?[..._0x5dcd93]:_0x5dcd93};},{});}class HttpResponse{constructor(_0x1ec246){this['statusCode']=_0x1ec246['statusCode'],this['reason']=_0x1ec246['reason'],this['headers']=_0x1ec246['headers']||{},this['body']=_0x1ec246['body'];}static['isInstance'](_0x53e778){if(!_0x53e778)return!0x1;const _0x4d1e2a=_0x53e778;return'number'==typeof _0x4d1e2a['statusCode']&&'object'==typeof _0x4d1e2a['headers'];}}function resolveHostHeaderConfig(_0x3849f7){return _0x3849f7;}const hostHeaderMiddleware=_0x3e9743=>_0xf55cd8=>async _0x4e8f81=>{if(!HttpRequest['isInstance'](_0x4e8f81['request']))return _0xf55cd8(_0x4e8f81);const {request:_0x45cc72}=_0x4e8f81,{handlerProtocol:_0x149761=''}=_0x3e9743['requestHandler']['metadata']||{};if(_0x149761['indexOf']('h2')>=0x0&&!_0x45cc72['headers'][':authority'])delete _0x45cc72['headers']['host'],_0x45cc72['headers'][':authority']=_0x45cc72['hostname']+(_0x45cc72['port']?':'+_0x45cc72['port']:'');else{if(!_0x45cc72['headers']['host']){let _0x2c086c=_0x45cc72['hostname'];null!=_0x45cc72['port']&&(_0x2c086c+=':'+_0x45cc72['port']),_0x45cc72['headers']['host']=_0x2c086c;}}return _0xf55cd8(_0x4e8f81);},hostHeaderMiddlewareOptions={'name':'hostHeaderMiddleware','step':'build','priority':'low','tags':['HOST'],'override':!0x0},getHostHeaderPlugin=_0x565400=>({'applyToStack':_0x59549e=>{_0x59549e['add'](hostHeaderMiddleware(_0x565400),hostHeaderMiddlewareOptions);}}),loggerMiddleware=()=>(_0xf73942,_0x3f06a4)=>async _0x3ad197=>{try{const _0x5a69d4=await _0xf73942(_0x3ad197),{clientName:_0x3e2400,commandName:_0x5f356b,logger:_0x1fa3ae,dynamoDbDocumentClientOptions:_0x558510={}}=_0x3f06a4,{overrideInputFilterSensitiveLog:_0x4eb84d,overrideOutputFilterSensitiveLog:_0x5caa71}=_0x558510,_0x428e70=_0x4eb84d??_0x3f06a4['inputFilterSensitiveLog'],_0x3c29d1=_0x5caa71??_0x3f06a4['outputFilterSensitiveLog'],{$metadata:_0x4509fc,..._0x2dfa6d}=_0x5a69d4['output'];return _0x1fa3ae?.['info']?.({'clientName':_0x3e2400,'commandName':_0x5f356b,'input':_0x428e70(_0x3ad197['input']),'output':_0x3c29d1(_0x2dfa6d),'metadata':_0x4509fc}),_0x5a69d4;}catch(_0x1991cb){const {clientName:_0x1fef9c,commandName:_0x730e8b,logger:_0x11c8ef,dynamoDbDocumentClientOptions:_0x1941c7={}}=_0x3f06a4,{overrideInputFilterSensitiveLog:_0x1997e0}=_0x1941c7,_0x25a582=_0x1997e0??_0x3f06a4['inputFilterSensitiveLog'];throw _0x11c8ef?.['error']?.({'clientName':_0x1fef9c,'commandName':_0x730e8b,'input':_0x25a582(_0x3ad197['input']),'error':_0x1991cb,'metadata':_0x1991cb['$metadata']}),_0x1991cb;}},loggerMiddlewareOptions={'name':'loggerMiddleware','tags':['LOGGER'],'step':'initialize','override':!0x0},getLoggerPlugin=_0x765039=>({'applyToStack':_0x25d6ad=>{_0x25d6ad['add'](loggerMiddleware(),loggerMiddlewareOptions);}}),TRACE_ID_HEADER_NAME='X-Amzn-Trace-Id',ENV_LAMBDA_FUNCTION_NAME='AWS_LAMBDA_FUNCTION_NAME',ENV_TRACE_ID='_X_AMZN_TRACE_ID',recursionDetectionMiddleware=_0xcebae=>_0xeeb1c4=>async _0x2e450a=>{const {request:_0x31d216}=_0x2e450a;if(!HttpRequest['isInstance'](_0x31d216)||'node'!==_0xcebae['runtime']||_0x31d216['headers']['hasOwnProperty'](TRACE_ID_HEADER_NAME))return _0xeeb1c4(_0x2e450a);const _0x37e2ac=process['env'][ENV_LAMBDA_FUNCTION_NAME],_0xf6efc5=process['env'][ENV_TRACE_ID],_0x38bc7b=_0x3003d4=>'string'==typeof _0x3003d4&&_0x3003d4['length']>0x0;return _0x38bc7b(_0x37e2ac)&&_0x38bc7b(_0xf6efc5)&&(_0x31d216['headers'][TRACE_ID_HEADER_NAME]=_0xf6efc5),_0xeeb1c4({..._0x2e450a,'request':_0x31d216});},addRecursionDetectionMiddlewareOptions={'step':'build','tags':['RECURSION_DETECTION'],'name':'recursionDetectionMiddleware','override':!0x0,'priority':'low'},getRecursionDetectionPlugin=_0x51a464=>({'applyToStack':_0x35f0e0=>{_0x35f0e0['add'](recursionDetectionMiddleware(_0x51a464),addRecursionDetectionMiddlewareOptions);}});function resolveUserAgentConfig(_0x4769d3){return{..._0x4769d3,'customUserAgent':'string'==typeof _0x4769d3['customUserAgent']?[[_0x4769d3['customUserAgent']]]:_0x4769d3['customUserAgent']};}const IP_V4_REGEX=new RegExp('^(?:25[0-5]|2[0-4]\x5cd|1\x5cd\x5cd|[1-9]\x5cd|\x5cd)(?:\x5c.(?:25[0-5]|2[0-4]\x5cd|1\x5cd\x5cd|[1-9]\x5cd|\x5cd)){3}$'),isIpAddress=_0x1731b9=>IP_V4_REGEX['test'](_0x1731b9)||_0x1731b9['startsWith']('[')&&_0x1731b9['endsWith'](']'),VALID_HOST_LABEL_REGEX=new RegExp('^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$'),isValidHostLabel=(_0x3bb0d7,_0x4b9b2b=!0x1)=>{if(!_0x4b9b2b)return VALID_HOST_LABEL_REGEX['test'](_0x3bb0d7);const _0x4dff30=_0x3bb0d7['split']('.');for(const _0x25d45f of _0x4dff30)if(!isValidHostLabel(_0x25d45f))return!0x1;return!0x0;},customEndpointFunctions={},debugId='endpoints';function toDebugString(_0x3a0bdf){return'object'!=typeof _0x3a0bdf||null==_0x3a0bdf?_0x3a0bdf:'ref'in _0x3a0bdf?'$'+toDebugString(_0x3a0bdf['ref']):'fn'in _0x3a0bdf?_0x3a0bdf['fn']+'('+(_0x3a0bdf['argv']||[])['map'](toDebugString)['join'](',\x20')+')':JSON['stringify'](_0x3a0bdf,null,0x2);}class EndpointError extends Error{constructor(_0xcddb0f){super(_0xcddb0f),this['name']='EndpointError';}}const booleanEquals=(_0x2132f3,_0x2610f9)=>_0x2132f3===_0x2610f9,getAttrPathList=_0xfde2fe=>{const _0x39b5a8=_0xfde2fe['split']('.'),_0x2264cf=[];for(const _0x13706b of _0x39b5a8){const _0x5ea0c9=_0x13706b['indexOf']('[');if(-0x1!==_0x5ea0c9){if(_0x13706b['indexOf'](']')!==_0x13706b['length']-0x1)throw new EndpointError('Path:\x20\x27'+_0xfde2fe+'\x27\x20does\x20not\x20end\x20with\x20\x27]\x27');const _0x3cb43b=_0x13706b['slice'](_0x5ea0c9+0x1,-0x1);if(Number['isNaN'](parseInt(_0x3cb43b)))throw new EndpointError('Invalid\x20array\x20index:\x20\x27'+_0x3cb43b+'\x27\x20in\x20path:\x20\x27'+_0xfde2fe+'\x27');0x0!==_0x5ea0c9&&_0x2264cf['push'](_0x13706b['slice'](0x0,_0x5ea0c9)),_0x2264cf['push'](_0x3cb43b);}else _0x2264cf['push'](_0x13706b);}return _0x2264cf;},getAttr=(_0x4d769b,_0x3a0edb)=>getAttrPathList(_0x3a0edb)['reduce']((_0x2cc5ea,_0x2de59a)=>{if('object'!=typeof _0x2cc5ea)throw new EndpointError('Index\x20\x27'+_0x2de59a+'\x27\x20in\x20\x27'+_0x3a0edb+'\x27\x20not\x20found\x20in\x20\x27'+JSON['stringify'](_0x4d769b)+'\x27');return Array['isArray'](_0x2cc5ea)?_0x2cc5ea[parseInt(_0x2de59a)]:_0x2cc5ea[_0x2de59a];},_0x4d769b),isSet=_0x2e3878=>null!=_0x2e3878,not=_0x262725=>!_0x262725,DEFAULT_PORTS={[EndpointURLScheme['HTTP']]:0x50,[EndpointURLScheme['HTTPS']]:0x1bb},parseURL$1=_0x137bc5=>{const _0x3dc6ef=((()=>{try{if(_0x137bc5 instanceof URL)return _0x137bc5;if('object'==typeof _0x137bc5&&'hostname'in _0x137bc5){const {hostname:_0x34e259,port:_0x53e776,protocol:_0x283f43='',path:_0x5056ff='',query:_0x2109e9={}}=_0x137bc5,_0x4d243d=new URL(_0x283f43+'//'+_0x34e259+(_0x53e776?':'+_0x53e776:'')+_0x5056ff);return _0x4d243d['search']=Object['entries'](_0x2109e9)['map'](([_0x4339fb,_0x259a80])=>_0x4339fb+'='+_0x259a80)['join']('&'),_0x4d243d;}return new URL(_0x137bc5);}catch(_0xe45ef){return null;}})());if(!_0x3dc6ef)return console['error']('Unable\x20to\x20parse\x20'+JSON['stringify'](_0x137bc5)+'\x20as\x20a\x20whatwg\x20URL.'),null;const _0x4a34c8=_0x3dc6ef['href'],{host:_0x117ae5,hostname:_0x288366,pathname:_0x1fe5f4,protocol:_0x5a0790,search:_0x4b0e35}=_0x3dc6ef;if(_0x4b0e35)return null;const _0x17efeb=_0x5a0790['slice'](0x0,-0x1);if(!Object['values'](EndpointURLScheme)['includes'](_0x17efeb))return null;const _0xbf8b78=isIpAddress(_0x288366);return{'scheme':_0x17efeb,'authority':''+_0x117ae5+(_0x4a34c8['includes'](_0x117ae5+':'+DEFAULT_PORTS[_0x17efeb])||'string'==typeof _0x137bc5&&_0x137bc5['includes'](_0x117ae5+':'+DEFAULT_PORTS[_0x17efeb])?':'+DEFAULT_PORTS[_0x17efeb]:''),'path':_0x1fe5f4,'normalizedPath':_0x1fe5f4['endsWith']('/')?_0x1fe5f4:_0x1fe5f4+'/','isIp':_0xbf8b78};},stringEquals=(_0x59838e,_0x2a213e)=>_0x59838e===_0x2a213e,substring=(_0x4c1806,_0x15db0c,_0xc92b3d,_0x58585c)=>_0x15db0c>=_0xc92b3d||_0x4c1806['length']<_0xc92b3d?null:_0x58585c?_0x4c1806['substring'](_0x4c1806['length']-_0xc92b3d,_0x4c1806['length']-_0x15db0c):_0x4c1806['substring'](_0x15db0c,_0xc92b3d),uriEncode=_0x4b0626=>encodeURIComponent(_0x4b0626)['replace'](/[!*'()]/g,_0x4dce42=>'%'+_0x4dce42['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']()),endpointFunctions={'booleanEquals':booleanEquals,'getAttr':getAttr,'isSet':isSet,'isValidHostLabel':isValidHostLabel,'not':not,'parseURL':parseURL$1,'stringEquals':stringEquals,'substring':substring,'uriEncode':uriEncode},evaluateTemplate=(_0x407269,_0x3f123f)=>{const _0x4dcd8c=[],_0x4e7907={..._0x3f123f['endpointParams'],..._0x3f123f['referenceRecord']};let _0x9f3492=0x0;for(;_0x9f3492<_0x407269['length'];){const _0x224045=_0x407269['indexOf']('{',_0x9f3492);if(-0x1===_0x224045){_0x4dcd8c['push'](_0x407269['slice'](_0x9f3492));break;}_0x4dcd8c['push'](_0x407269['slice'](_0x9f3492,_0x224045));const _0x6d0580=_0x407269['indexOf']('}',_0x224045);if(-0x1===_0x6d0580){_0x4dcd8c['push'](_0x407269['slice'](_0x224045));break;}'{'===_0x407269[_0x224045+0x1]&&'}'===_0x407269[_0x6d0580+0x1]&&(_0x4dcd8c['push'](_0x407269['slice'](_0x224045+0x1,_0x6d0580)),_0x9f3492=_0x6d0580+0x2);const _0x4b266c=_0x407269['substring'](_0x224045+0x1,_0x6d0580);if(_0x4b266c['includes']('#')){const [_0x68a7f8,_0x99a30d]=_0x4b266c['split']('#');_0x4dcd8c['push'](getAttr(_0x4e7907[_0x68a7f8],_0x99a30d));}else _0x4dcd8c['push'](_0x4e7907[_0x4b266c]);_0x9f3492=_0x6d0580+0x1;}return _0x4dcd8c['join']('');},getReferenceValue=({ref:_0x3b5be1},_0x4bfd5e)=>({..._0x4bfd5e['endpointParams'],..._0x4bfd5e['referenceRecord']}[_0x3b5be1]),evaluateExpression=(_0x364450,_0x243677,_0x457567)=>{if('string'==typeof _0x364450)return evaluateTemplate(_0x364450,_0x457567);if(_0x364450['fn'])return callFunction(_0x364450,_0x457567);if(_0x364450['ref'])return getReferenceValue(_0x364450,_0x457567);throw new EndpointError('\x27'+_0x243677+'\x27:\x20'+String(_0x364450)+'\x20is\x20not\x20a\x20string,\x20function\x20or\x20reference.');},callFunction=({fn:_0x135926,argv:_0x353539},_0x5030b2)=>{const _0x353419=_0x353539['map'](_0x22f2a0=>['boolean','number']['includes'](typeof _0x22f2a0)?_0x22f2a0:evaluateExpression(_0x22f2a0,'arg',_0x5030b2)),_0x325342=_0x135926['split']('.');return _0x325342[0x0]in customEndpointFunctions&&null!=_0x325342[0x1]?customEndpointFunctions[_0x325342[0x0]][_0x325342[0x1]](..._0x353419):endpointFunctions[_0x135926](..._0x353419);},evaluateCondition=({assign:_0x2e1b9f,..._0x24822c},_0x24e109)=>{if(_0x2e1b9f&&_0x2e1b9f in _0x24e109['referenceRecord'])throw new EndpointError('\x27'+_0x2e1b9f+'\x27\x20is\x20already\x20defined\x20in\x20Reference\x20Record.');const _0x36f6eb=callFunction(_0x24822c,_0x24e109);return _0x24e109['logger']?.['debug']?.(debugId+'\x20evaluateCondition:\x20'+toDebugString(_0x24822c)+'\x20=\x20'+toDebugString(_0x36f6eb)),{'result':''===_0x36f6eb||!!_0x36f6eb,...null!=_0x2e1b9f&&{'toAssign':{'name':_0x2e1b9f,'value':_0x36f6eb}}};},evaluateConditions=(_0x3c0e8d=[],_0x2ee3f0)=>{const _0x4e4cc3={};for(const _0x472909 of _0x3c0e8d){const {result:_0x2df5be,toAssign:_0xa69d3a}=evaluateCondition(_0x472909,{..._0x2ee3f0,'referenceRecord':{..._0x2ee3f0['referenceRecord'],..._0x4e4cc3}});if(!_0x2df5be)return{'result':_0x2df5be};_0xa69d3a&&(_0x4e4cc3[_0xa69d3a['name']]=_0xa69d3a['value'],_0x2ee3f0['logger']?.['debug']?.(debugId+'\x20assign:\x20'+_0xa69d3a['name']+'\x20:=\x20'+toDebugString(_0xa69d3a['value'])));}return{'result':!0x0,'referenceRecord':_0x4e4cc3};},getEndpointHeaders=(_0x2aa2ba,_0x289cd3)=>Object['entries'](_0x2aa2ba)['reduce']((_0x3e285e,[_0x165e18,_0x513a14])=>({..._0x3e285e,[_0x165e18]:_0x513a14['map'](_0x2b4b37=>{const _0x4246d3=evaluateExpression(_0x2b4b37,'Header\x20value\x20entry',_0x289cd3);if('string'!=typeof _0x4246d3)throw new EndpointError('Header\x20\x27'+_0x165e18+'\x27\x20value\x20\x27'+_0x4246d3+'\x27\x20is\x20not\x20a\x20string');return _0x4246d3;})}),{}),getEndpointProperty=(_0x12a0a2,_0x32b12f)=>{if(Array['isArray'](_0x12a0a2))return _0x12a0a2['map'](_0x3137df=>getEndpointProperty(_0x3137df,_0x32b12f));switch(typeof _0x12a0a2){case'string':return evaluateTemplate(_0x12a0a2,_0x32b12f);case'object':if(null===_0x12a0a2)throw new EndpointError('Unexpected\x20endpoint\x20property:\x20'+_0x12a0a2);return getEndpointProperties(_0x12a0a2,_0x32b12f);case'boolean':return _0x12a0a2;default:throw new EndpointError('Unexpected\x20endpoint\x20property\x20type:\x20'+typeof _0x12a0a2);}},getEndpointProperties=(_0x2720ac,_0x16fd3e)=>Object['entries'](_0x2720ac)['reduce']((_0x3ebbb0,[_0x3fef5e,_0x142786])=>({..._0x3ebbb0,[_0x3fef5e]:getEndpointProperty(_0x142786,_0x16fd3e)}),{}),getEndpointUrl=(_0x58c76d,_0x34e9a7)=>{const _0x33fb99=evaluateExpression(_0x58c76d,'Endpoint\x20URL',_0x34e9a7);if('string'==typeof _0x33fb99)try{return new URL(_0x33fb99);}catch(_0x37ba7d){throw console['error']('Failed\x20to\x20construct\x20URL\x20with\x20'+_0x33fb99,_0x37ba7d),_0x37ba7d;}throw new EndpointError('Endpoint\x20URL\x20must\x20be\x20a\x20string,\x20got\x20'+typeof _0x33fb99);},evaluateEndpointRule=(_0x2eb2ea,_0x4ca99c)=>{const {conditions:_0x4b7598,endpoint:_0x261fc5}=_0x2eb2ea,{result:_0x23d737,referenceRecord:_0x8555b9}=evaluateConditions(_0x4b7598,_0x4ca99c);if(!_0x23d737)return;const _0x4271eb={..._0x4ca99c,'referenceRecord':{..._0x4ca99c['referenceRecord'],..._0x8555b9}},{url:_0x4b93ac,properties:_0x1b9096,headers:_0x4b69a0}=_0x261fc5;return _0x4ca99c['logger']?.['debug']?.(debugId+'\x20Resolving\x20endpoint\x20from\x20template:\x20'+toDebugString(_0x261fc5)),{...null!=_0x4b69a0&&{'headers':getEndpointHeaders(_0x4b69a0,_0x4271eb)},...null!=_0x1b9096&&{'properties':getEndpointProperties(_0x1b9096,_0x4271eb)},'url':getEndpointUrl(_0x4b93ac,_0x4271eb)};},evaluateErrorRule=(_0x108108,_0x26fb76)=>{const {conditions:_0x48ae87,error:_0x13c785}=_0x108108,{result:_0x2b063f,referenceRecord:_0x21065e}=evaluateConditions(_0x48ae87,_0x26fb76);if(_0x2b063f)throw new EndpointError(evaluateExpression(_0x13c785,'Error',{..._0x26fb76,'referenceRecord':{..._0x26fb76['referenceRecord'],..._0x21065e}}));},evaluateTreeRule=(_0x1b9358,_0x123eb5)=>{const {conditions:_0x3c737b,rules:_0x46072e}=_0x1b9358,{result:_0x16f386,referenceRecord:_0x4326fb}=evaluateConditions(_0x3c737b,_0x123eb5);if(_0x16f386)return evaluateRules(_0x46072e,{..._0x123eb5,'referenceRecord':{..._0x123eb5['referenceRecord'],..._0x4326fb}});},evaluateRules=(_0x3cf63c,_0x38f439)=>{for(const _0x1249ee of _0x3cf63c)if('endpoint'===_0x1249ee['type']){const _0x545df3=evaluateEndpointRule(_0x1249ee,_0x38f439);if(_0x545df3)return _0x545df3;}else{if('error'===_0x1249ee['type'])evaluateErrorRule(_0x1249ee,_0x38f439);else{if('tree'!==_0x1249ee['type'])throw new EndpointError('Unknown\x20endpoint\x20rule:\x20'+_0x1249ee);{const _0x2a4c5d=evaluateTreeRule(_0x1249ee,_0x38f439);if(_0x2a4c5d)return _0x2a4c5d;}}}throw new EndpointError('Rules\x20evaluation\x20failed');},resolveEndpoint=(_0x1b4185,_0x4e7417)=>{const {endpointParams:_0x320413,logger:_0x2487e3}=_0x4e7417,{parameters:_0x85e47b,rules:_0x4fd990}=_0x1b4185;_0x4e7417['logger']?.['debug']?.(debugId+'\x20Initial\x20EndpointParams:\x20'+toDebugString(_0x320413));const _0x243aa7=Object['entries'](_0x85e47b)['filter'](([,_0x173767])=>null!=_0x173767['default'])['map'](([_0x586913,_0x272e57])=>[_0x586913,_0x272e57['default']]);if(_0x243aa7['length']>0x0){for(const [_0x4000bc,_0x22b46b]of _0x243aa7)_0x320413[_0x4000bc]=_0x320413[_0x4000bc]??_0x22b46b;}const _0x292183=Object['entries'](_0x85e47b)['filter'](([,_0x43c1bc])=>_0x43c1bc['required'])['map'](([_0x3c7e89])=>_0x3c7e89);for(const _0x54048d of _0x292183)if(null==_0x320413[_0x54048d])throw new EndpointError('Missing\x20required\x20parameter:\x20\x27'+_0x54048d+'\x27');const _0x5bdd0f=evaluateRules(_0x4fd990,{'endpointParams':_0x320413,'logger':_0x2487e3,'referenceRecord':{}});return _0x4e7417['logger']?.['debug']?.(debugId+'\x20Resolved\x20endpoint:\x20'+toDebugString(_0x5bdd0f)),_0x5bdd0f;},isVirtualHostableS3Bucket=(_0x2303e2,_0x2dfbc5=!0x1)=>{if(_0x2dfbc5){for(const _0x5f38fe of _0x2303e2['split']('.'))if(!isVirtualHostableS3Bucket(_0x5f38fe))return!0x1;return!0x0;}return!!isValidHostLabel(_0x2303e2)&&(!(_0x2303e2['length']<0x3||_0x2303e2['length']>0x3f)&&(_0x2303e2===_0x2303e2['toLowerCase']()&&!isIpAddress(_0x2303e2)));},parseArn=_0x2f5f92=>{const _0x1bcac8=_0x2f5f92['split'](':');if(_0x1bcac8['length']<0x6)return null;const [_0x29dce9,_0x3ddec0,_0x215f0b,_0xa6cae6,_0x5b7c58,..._0x1a71bc]=_0x1bcac8;return'arn'!==_0x29dce9||''===_0x3ddec0||''===_0x215f0b||''===_0x1a71bc[0x0]?null:{'partition':_0x3ddec0,'service':_0x215f0b,'region':_0xa6cae6,'accountId':_0x5b7c58,'resourceId':_0x1a71bc[0x0]['includes']('/')?_0x1a71bc[0x0]['split']('/'):_0x1a71bc};};var partitions=[{'id':'aws','outputs':{'dnsSuffix':'amazonaws.com','dualStackDnsSuffix':'api.aws','implicitGlobalRegion':'us-east-1','name':'aws','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^(us|eu|ap|sa|ca|me|af|il)\x5c-\x5cw+\x5c-\x5cd+$','regions':{'af-south-1':{'description':'Africa\x20(Cape\x20Town)'},'ap-east-1':{'description':'Asia\x20Pacific\x20(Hong\x20Kong)'},'ap-northeast-1':{'description':'Asia\x20Pacific\x20(Tokyo)'},'ap-northeast-2':{'description':'Asia\x20Pacific\x20(Seoul)'},'ap-northeast-3':{'description':'Asia\x20Pacific\x20(Osaka)'},'ap-south-1':{'description':'Asia\x20Pacific\x20(Mumbai)'},'ap-south-2':{'description':'Asia\x20Pacific\x20(Hyderabad)'},'ap-southeast-1':{'description':'Asia\x20Pacific\x20(Singapore)'},'ap-southeast-2':{'description':'Asia\x20Pacific\x20(Sydney)'},'ap-southeast-3':{'description':'Asia\x20Pacific\x20(Jakarta)'},'ap-southeast-4':{'description':'Asia\x20Pacific\x20(Melbourne)'},'aws-global':{'description':'AWS\x20Standard\x20global\x20region'},'ca-central-1':{'description':'Canada\x20(Central)'},'ca-west-1':{'description':'Canada\x20West\x20(Calgary)'},'eu-central-1':{'description':'Europe\x20(Frankfurt)'},'eu-central-2':{'description':'Europe\x20(Zurich)'},'eu-north-1':{'description':'Europe\x20(Stockholm)'},'eu-south-1':{'description':'Europe\x20(Milan)'},'eu-south-2':{'description':'Europe\x20(Spain)'},'eu-west-1':{'description':'Europe\x20(Ireland)'},'eu-west-2':{'description':'Europe\x20(London)'},'eu-west-3':{'description':'Europe\x20(Paris)'},'il-central-1':{'description':'Israel\x20(Tel\x20Aviv)'},'me-central-1':{'description':'Middle\x20East\x20(UAE)'},'me-south-1':{'description':'Middle\x20East\x20(Bahrain)'},'sa-east-1':{'description':'South\x20America\x20(Sao\x20Paulo)'},'us-east-1':{'description':'US\x20East\x20(N.\x20Virginia)'},'us-east-2':{'description':'US\x20East\x20(Ohio)'},'us-west-1':{'description':'US\x20West\x20(N.\x20California)'},'us-west-2':{'description':'US\x20West\x20(Oregon)'}}},{'id':'aws-cn','outputs':{'dnsSuffix':'amazonaws.com.cn','dualStackDnsSuffix':'api.amazonwebservices.com.cn','implicitGlobalRegion':'cn-northwest-1','name':'aws-cn','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^cn\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-cn-global':{'description':'AWS\x20China\x20global\x20region'},'cn-north-1':{'description':'China\x20(Beijing)'},'cn-northwest-1':{'description':'China\x20(Ningxia)'}}},{'id':'aws-us-gov','outputs':{'dnsSuffix':'amazonaws.com','dualStackDnsSuffix':'api.aws','implicitGlobalRegion':'us-gov-west-1','name':'aws-us-gov','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-gov\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-us-gov-global':{'description':'AWS\x20GovCloud\x20(US)\x20global\x20region'},'us-gov-east-1':{'description':'AWS\x20GovCloud\x20(US-East)'},'us-gov-west-1':{'description':'AWS\x20GovCloud\x20(US-West)'}}},{'id':'aws-iso','outputs':{'dnsSuffix':'c2s.ic.gov','dualStackDnsSuffix':'c2s.ic.gov','implicitGlobalRegion':'us-iso-east-1','name':'aws-iso','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-iso\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-global':{'description':'AWS\x20ISO\x20(US)\x20global\x20region'},'us-iso-east-1':{'description':'US\x20ISO\x20East'},'us-iso-west-1':{'description':'US\x20ISO\x20WEST'}}},{'id':'aws-iso-b','outputs':{'dnsSuffix':'sc2s.sgov.gov','dualStackDnsSuffix':'sc2s.sgov.gov','implicitGlobalRegion':'us-isob-east-1','name':'aws-iso-b','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isob\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-b-global':{'description':'AWS\x20ISOB\x20(US)\x20global\x20region'},'us-isob-east-1':{'description':'US\x20ISOB\x20East\x20(Ohio)'}}},{'id':'aws-iso-e','outputs':{'dnsSuffix':'cloud.adc-e.uk','dualStackDnsSuffix':'cloud.adc-e.uk','implicitGlobalRegion':'eu-isoe-west-1','name':'aws-iso-e','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^eu\x5c-isoe\x5c-\x5cw+\x5c-\x5cd+$','regions':{'eu-isoe-west-1':{'description':'EU\x20ISOE\x20West'}}},{'id':'aws-iso-f','outputs':{'dnsSuffix':'csp.hci.ic.gov','dualStackDnsSuffix':'csp.hci.ic.gov','implicitGlobalRegion':'us-isof-south-1','name':'aws-iso-f','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isof\x5c-\x5cw+\x5c-\x5cd+$','regions':{}}],partitionsInfo={'partitions':partitions};let selectedPartitionsInfo=partitionsInfo;const partition=_0x22dbf4=>{const {partitions:_0x17eb74}=selectedPartitionsInfo;for(const _0x39e8a6 of _0x17eb74){const {regions:_0x44606e,outputs:_0x23f28a}=_0x39e8a6;for(const [_0x2147eb,_0xc0dc96]of Object['entries'](_0x44606e))if(_0x2147eb===_0x22dbf4)return{..._0x23f28a,..._0xc0dc96};}for(const _0x3937f8 of _0x17eb74){const {regionRegex:_0x25eb61,outputs:_0x429d7d}=_0x3937f8;if(new RegExp(_0x25eb61)['test'](_0x22dbf4))return{..._0x429d7d};}const _0x4a166b=_0x17eb74['find'](_0x49d0fa=>'aws'===_0x49d0fa['id']);if(!_0x4a166b)throw new Error('Provided\x20region\x20was\x20not\x20found\x20in\x20the\x20partition\x20array\x20or\x20regex,\x20and\x20default\x20partition\x20with\x20id\x20\x27aws\x27\x20doesn\x27t\x20exist.');return{..._0x4a166b['outputs']};},awsEndpointFunctions={'isVirtualHostableS3Bucket':isVirtualHostableS3Bucket,'parseArn':parseArn,'partition':partition};customEndpointFunctions['aws']=awsEndpointFunctions;const USER_AGENT='user-agent',X_AMZ_USER_AGENT='x-amz-user-agent',SPACE='\x20',UA_NAME_SEPARATOR='/',UA_NAME_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,UA_VALUE_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,UA_ESCAPE_CHAR='-',userAgentMiddleware=_0x13f6e2=>(_0x310d37,_0x2f0c4d)=>async _0x1a499=>{const {request:_0x1c151c}=_0x1a499;if(!HttpRequest['isInstance'](_0x1c151c))return _0x310d37(_0x1a499);const {headers:_0x2203c2}=_0x1c151c,_0x231ade=_0x2f0c4d?.['userAgent']?.['map'](escapeUserAgent)||[],_0x28e381=(await _0x13f6e2['defaultUserAgentProvider']())['map'](escapeUserAgent),_0x4aedf7=_0x13f6e2?.['customUserAgent']?.['map'](escapeUserAgent)||[],_0x390afd=[]['concat']([..._0x28e381,..._0x231ade,..._0x4aedf7])['join'](SPACE),_0x356c07=[..._0x28e381['filter'](_0x448e2b=>_0x448e2b['startsWith']('aws-sdk-')),..._0x4aedf7]['join'](SPACE);return'browser'!==_0x13f6e2['runtime']?(_0x356c07&&(_0x2203c2[X_AMZ_USER_AGENT]=_0x2203c2[X_AMZ_USER_AGENT]?_0x2203c2[USER_AGENT]+'\x20'+_0x356c07:_0x356c07),_0x2203c2[USER_AGENT]=_0x390afd):_0x2203c2[X_AMZ_USER_AGENT]=_0x390afd,_0x310d37({..._0x1a499,'request':_0x1c151c});},escapeUserAgent=_0xda8b7d=>{const _0x241cc2=_0xda8b7d[0x0]['split'](UA_NAME_SEPARATOR)['map'](_0x25abee=>_0x25abee['replace'](UA_NAME_ESCAPE_REGEX,UA_ESCAPE_CHAR))['join'](UA_NAME_SEPARATOR),_0x50873d=_0xda8b7d[0x1]?.['replace'](UA_VALUE_ESCAPE_REGEX,UA_ESCAPE_CHAR),_0x3a41ba=_0x241cc2['indexOf'](UA_NAME_SEPARATOR),_0x259ae7=_0x241cc2['substring'](0x0,_0x3a41ba);let _0x4eb3d8=_0x241cc2['substring'](_0x3a41ba+0x1);return'api'===_0x259ae7&&(_0x4eb3d8=_0x4eb3d8['toLowerCase']()),[_0x259ae7,_0x4eb3d8,_0x50873d]['filter'](_0x19d14d=>_0x19d14d&&_0x19d14d['length']>0x0)['reduce']((_0x4bf8ed,_0x5c17fd,_0x3cd15a)=>{switch(_0x3cd15a){case 0x0:return _0x5c17fd;case 0x1:return _0x4bf8ed+'/'+_0x5c17fd;default:return _0x4bf8ed+'#'+_0x5c17fd;}},'');},getUserAgentMiddlewareOptions={'name':'getUserAgentMiddleware','step':'build','priority':'low','tags':['SET_USER_AGENT','USER_AGENT'],'override':!0x0},getUserAgentPlugin=_0x380d20=>({'applyToStack':_0x738e24=>{_0x738e24['add'](userAgentMiddleware(_0x380d20),getUserAgentMiddlewareOptions);}});var SelectorType;!function(_0x1200a2){_0x1200a2['ENV']='env',_0x1200a2['CONFIG']='shared\x20config\x20entry';}(SelectorType||(SelectorType={}));const DEFAULT_USE_DUALSTACK_ENDPOINT=!0x1,DEFAULT_USE_FIPS_ENDPOINT=!0x1,getSmithyContext=_0x4fecf6=>_0x4fecf6[SMITHY_CONTEXT_KEY]||(_0x4fecf6[SMITHY_CONTEXT_KEY]={}),normalizeProvider$1=_0x1c08a6=>{if('function'==typeof _0x1c08a6)return _0x1c08a6;const _0x454c1e=Promise['resolve'](_0x1c08a6);return()=>_0x454c1e;},isFipsRegion=_0x62b720=>'string'==typeof _0x62b720&&(_0x62b720['startsWith']('fips-')||_0x62b720['endsWith']('-fips')),getRealRegion=_0x58864b=>isFipsRegion(_0x58864b)?['fips-aws-global','aws-fips']['includes'](_0x58864b)?'us-east-1':_0x58864b['replace'](/fips-(dkr-|prod-)?|-fips/,''):_0x58864b,resolveRegionConfig=_0x4cf345=>{const {region:_0x54e344,useFipsEndpoint:_0x568d57}=_0x4cf345;if(!_0x54e344)throw new Error('Region\x20is\x20missing');return{..._0x4cf345,'region':async()=>{if('string'==typeof _0x54e344)return getRealRegion(_0x54e344);const _0x289053=await _0x54e344();return getRealRegion(_0x289053);},'useFipsEndpoint':async()=>{const _0x2dc277='string'==typeof _0x54e344?_0x54e344:await _0x54e344();return!!isFipsRegion(_0x2dc277)||('function'!=typeof _0x568d57?Promise['resolve'](!!_0x568d57):_0x568d57());}};};function convertHttpAuthSchemesToMap(_0x2b1045){const _0x376990=new Map();for(const _0x5aa98a of _0x2b1045)_0x376990['set'](_0x5aa98a['schemeId'],_0x5aa98a);return _0x376990;}const httpAuthSchemeMiddleware=(_0x3e9f5c,_0x403b6e)=>(_0x361a97,_0x5d0e14)=>async _0x41a5a8=>{const _0x302a01=_0x3e9f5c['httpAuthSchemeProvider'](await _0x403b6e['httpAuthSchemeParametersProvider'](_0x3e9f5c,_0x5d0e14,_0x41a5a8['input'])),_0x519225=convertHttpAuthSchemesToMap(_0x3e9f5c['httpAuthSchemes']),_0x797bf7=getSmithyContext(_0x5d0e14),_0x3c4b3b=[];for(const _0x4b9e4b of _0x302a01){const _0x28c120=_0x519225['get'](_0x4b9e4b['schemeId']);if(!_0x28c120){_0x3c4b3b['push']('HttpAuthScheme\x20`'+_0x4b9e4b['schemeId']+'`\x20was\x20not\x20enabled\x20for\x20this\x20service.');continue;}const _0xe3e3a4=_0x28c120['identityProvider'](await _0x403b6e['identityProviderConfigProvider'](_0x3e9f5c));if(!_0xe3e3a4){_0x3c4b3b['push']('HttpAuthScheme\x20`'+_0x4b9e4b['schemeId']+'`\x20did\x20not\x20have\x20an\x20IdentityProvider\x20configured.');continue;}const {identityProperties:_0x591509={},signingProperties:_0x27805c={}}=_0x4b9e4b['propertiesExtractor']?.(_0x3e9f5c,_0x5d0e14)||{};_0x4b9e4b['identityProperties']=Object['assign'](_0x4b9e4b['identityProperties']||{},_0x591509),_0x4b9e4b['signingProperties']=Object['assign'](_0x4b9e4b['signingProperties']||{},_0x27805c),_0x797bf7['selectedHttpAuthScheme']={'httpAuthOption':_0x4b9e4b,'identity':await _0xe3e3a4(_0x4b9e4b['identityProperties']),'signer':_0x28c120['signer']};break;}if(!_0x797bf7['selectedHttpAuthScheme'])throw new Error(_0x3c4b3b['join']('\x0a'));return _0x361a97(_0x41a5a8);},httpAuthSchemeEndpointRuleSetMiddlewareOptions={'step':'serialize','tags':['HTTP_AUTH_SCHEME'],'name':'httpAuthSchemeMiddleware','override':!0x0,'relation':'before','toMiddleware':'endpointV2Middleware'},getHttpAuthSchemeEndpointRuleSetPlugin=(_0x397d5b,{httpAuthSchemeParametersProvider:_0x4bdcae,identityProviderConfigProvider:_0x192f4b})=>({'applyToStack':_0x55ac9d=>{_0x55ac9d['addRelativeTo'](httpAuthSchemeMiddleware(_0x397d5b,{'httpAuthSchemeParametersProvider':_0x4bdcae,'identityProviderConfigProvider':_0x192f4b}),httpAuthSchemeEndpointRuleSetMiddlewareOptions);}}),deserializerMiddleware=(_0x35238b,_0x3ebc32)=>_0x464bfa=>async _0x5ca9f1=>{const {response:_0x16471f}=await _0x464bfa(_0x5ca9f1);try{return{'response':_0x16471f,'output':await _0x3ebc32(_0x16471f,_0x35238b)};}catch(_0x29e5bc){if(Object['defineProperty'](_0x29e5bc,'$response',{'value':_0x16471f}),!('$metadata'in _0x29e5bc)){const _0x353eb8='Deserialization\x20error:\x20to\x20see\x20the\x20raw\x20response,\x20inspect\x20the\x20hidden\x20field\x20{error}.$response\x20on\x20this\x20object.';_0x29e5bc['message']+='\x0a\x20\x20'+_0x353eb8,void 0x0!==_0x29e5bc['$responseBodyText']&&_0x29e5bc['$response']&&(_0x29e5bc['$response']['body']=_0x29e5bc['$responseBodyText']);}throw _0x29e5bc;}},serializerMiddleware=(_0x389d4f,_0x4763da)=>(_0x10a380,_0x41d0a1)=>async _0x298e5f=>{const _0x227a1=_0x41d0a1['endpointV2']?.['url']&&_0x389d4f['urlParser']?async()=>_0x389d4f['urlParser'](_0x41d0a1['endpointV2']['url']):_0x389d4f['endpoint'];if(!_0x227a1)throw new Error('No\x20valid\x20endpoint\x20provider\x20available.');const _0x30d3dd=await _0x4763da(_0x298e5f['input'],{..._0x389d4f,'endpoint':_0x227a1});return _0x10a380({..._0x298e5f,'request':_0x30d3dd});},deserializerMiddlewareOption={'name':'deserializerMiddleware','step':'deserialize','tags':['DESERIALIZER'],'override':!0x0},serializerMiddlewareOption={'name':'serializerMiddleware','step':'serialize','tags':['SERIALIZER'],'override':!0x0};function getSerdePlugin(_0x40c75d,_0x7aa384,_0x1d153d){return{'applyToStack':_0x53bfe9=>{_0x53bfe9['add'](deserializerMiddleware(_0x40c75d,_0x1d153d),deserializerMiddlewareOption),_0x53bfe9['add'](serializerMiddleware(_0x40c75d,_0x7aa384),serializerMiddlewareOption);}};}serializerMiddlewareOption['name'];const defaultErrorHandler=_0x44f501=>_0x890c6a=>{throw _0x890c6a;},defaultSuccessHandler=(_0x17a709,_0x32d2c4)=>{},httpSigningMiddleware=_0xe52c84=>(_0x329890,_0x2a7fba)=>async _0x74ac10=>{if(!HttpRequest['isInstance'](_0x74ac10['request']))return _0x329890(_0x74ac10);const _0x30fb4e=getSmithyContext(_0x2a7fba)['selectedHttpAuthScheme'];if(!_0x30fb4e)throw new Error('No\x20HttpAuthScheme\x20was\x20selected:\x20unable\x20to\x20sign\x20request');const {httpAuthOption:{signingProperties:_0x1a08fa={}},identity:_0x1dd82c,signer:_0x4258a2}=_0x30fb4e,_0x572ca2=await _0x329890({..._0x74ac10,'request':await _0x4258a2['sign'](_0x74ac10['request'],_0x1dd82c,_0x1a08fa)})['catch']((_0x4258a2['errorHandler']||defaultErrorHandler)(_0x1a08fa));return(_0x4258a2['successHandler']||defaultSuccessHandler)(_0x572ca2['response'],_0x1a08fa),_0x572ca2;},httpSigningMiddlewareOptions={'step':'finalizeRequest','tags':['HTTP_SIGNING'],'name':'httpSigningMiddleware','aliases':['apiKeyMiddleware','tokenMiddleware','awsAuthMiddleware'],'override':!0x0,'relation':'after','toMiddleware':'retryMiddleware'},getHttpSigningPlugin=_0x561d33=>({'applyToStack':_0x5d68f6=>{_0x5d68f6['addRelativeTo'](httpSigningMiddleware(),httpSigningMiddlewareOptions);}}),normalizeProvider=_0x134dc3=>{if('function'==typeof _0x134dc3)return _0x134dc3;const _0x2e7416=Promise['resolve'](_0x134dc3);return()=>_0x2e7416;},alphabetByEncoding={},alphabetByValue=new Array(0x40);for(let e=0x0,i='A'['charCodeAt'](0x0),n='Z'['charCodeAt'](0x0);e+i<=n;e++){const n=String['fromCharCode'](e+i);alphabetByEncoding[n]=e,alphabetByValue[e]=n;}for(let e=0x0,i='a'['charCodeAt'](0x0),n='z'['charCodeAt'](0x0);e+i<=n;e++){const n=String['fromCharCode'](e+i),r=e+0x1a;alphabetByEncoding[n]=r,alphabetByValue[r]=n;}for(let e=0x0;e<0xa;e++){alphabetByEncoding[e['toString'](0xa)]=e+0x34;const i=e['toString'](0xa),n=e+0x34;alphabetByEncoding[i]=n,alphabetByValue[n]=i;}alphabetByEncoding['+']=0x3e,alphabetByValue[0x3e]='+',alphabetByEncoding['/']=0x3f,alphabetByValue[0x3f]='/';const bitsPerLetter=0x6,bitsPerByte=0x8,maxLetterValue=0x3f,fromBase64=_0x23105a=>{let _0x39fc5b=_0x23105a['length']/0x4*0x3;'=='===_0x23105a['slice'](-0x2)?_0x39fc5b-=0x2:'='===_0x23105a['slice'](-0x1)&&_0x39fc5b--;const _0x53a724=new ArrayBuffer(_0x39fc5b),_0x147a0c=new DataView(_0x53a724);for(let _0x26d195=0x0;_0x26d195<_0x23105a['length'];_0x26d195+=0x4){let _0x21890f=0x0,_0x4100fa=0x0;for(let _0x3e76ce=_0x26d195,_0x39f31c=_0x26d195+0x3;_0x3e76ce<=_0x39f31c;_0x3e76ce++)if('='!==_0x23105a[_0x3e76ce]){if(!(_0x23105a[_0x3e76ce]in alphabetByEncoding))throw new TypeError('Invalid\x20character\x20'+_0x23105a[_0x3e76ce]+'\x20in\x20base64\x20string.');_0x21890f|=alphabetByEncoding[_0x23105a[_0x3e76ce]]<<(_0x39f31c-_0x3e76ce)*bitsPerLetter,_0x4100fa+=bitsPerLetter;}else _0x21890f>>=bitsPerLetter;const _0x4d34a3=_0x26d195/0x4*0x3;_0x21890f>>=_0x4100fa%bitsPerByte;const _0x4be254=Math['floor'](_0x4100fa/bitsPerByte);for(let _0x318cbd=0x0;_0x318cbd<_0x4be254;_0x318cbd++){const _0x22a220=(_0x4be254-_0x318cbd-0x1)*bitsPerByte;_0x147a0c['setUint8'](_0x4d34a3+_0x318cbd,(_0x21890f&0xff<<_0x22a220)>>_0x22a220);}}return new Uint8Array(_0x53a724);},fromUtf8$2=_0x380f81=>new TextEncoder()['encode'](_0x380f81),toUint8Array=_0x2f85b7=>'string'==typeof _0x2f85b7?fromUtf8$2(_0x2f85b7):ArrayBuffer['isView'](_0x2f85b7)?new Uint8Array(_0x2f85b7['buffer'],_0x2f85b7['byteOffset'],_0x2f85b7['byteLength']/Uint8Array['BYTES_PER_ELEMENT']):new Uint8Array(_0x2f85b7),toUtf8=_0xb0ccbd=>{if('string'==typeof _0xb0ccbd)return _0xb0ccbd;if('object'!=typeof _0xb0ccbd||'number'!=typeof _0xb0ccbd['byteOffset']||'number'!=typeof _0xb0ccbd['byteLength'])throw new Error('@smithy/util-utf8:\x20toUtf8\x20encoder\x20function\x20only\x20accepts\x20string\x20|\x20Uint8Array.');return new TextDecoder('utf-8')['decode'](_0xb0ccbd);};function toBase64(_0x1cfa05){let _0xa3e3d4;_0xa3e3d4='string'==typeof _0x1cfa05?fromUtf8$2(_0x1cfa05):_0x1cfa05;const _0x40a63a='object'==typeof _0xa3e3d4&&'number'==typeof _0xa3e3d4['length'],_0x6ac82='object'==typeof _0xa3e3d4&&'number'==typeof _0xa3e3d4['byteOffset']&&'number'==typeof _0xa3e3d4['byteLength'];if(!_0x40a63a&&!_0x6ac82)throw new Error('@smithy/util-base64:\x20toBase64\x20encoder\x20function\x20only\x20accepts\x20string\x20|\x20Uint8Array.');let _0x596526='';for(let _0x4ccca7=0x0;_0x4ccca7<_0xa3e3d4['length'];_0x4ccca7+=0x3){let _0x1605c6=0x0,_0xea7969=0x0;for(let _0x133b39=_0x4ccca7,_0x476f8a=Math['min'](_0x4ccca7+0x3,_0xa3e3d4['length']);_0x133b39<_0x476f8a;_0x133b39++)_0x1605c6|=_0xa3e3d4[_0x133b39]<<(_0x476f8a-_0x133b39-0x1)*bitsPerByte,_0xea7969+=bitsPerByte;const _0x9c33ac=Math['ceil'](_0xea7969/bitsPerLetter);_0x1605c6<<=_0x9c33ac*bitsPerLetter-_0xea7969;for(let _0x39d3a3=0x1;_0x39d3a3<=_0x9c33ac;_0x39d3a3++){const _0x2128cf=(_0x9c33ac-_0x39d3a3)*bitsPerLetter;_0x596526+=alphabetByValue[(_0x1605c6&maxLetterValue<<_0x2128cf)>>_0x2128cf];}_0x596526+='=='['slice'](0x0,0x4-_0x9c33ac);}return _0x596526;}function transformToString(_0x465d63,_0x465b0c='utf-8'){return'base64'===_0x465b0c?toBase64(_0x465d63):toUtf8(_0x465d63);}function transformFromString(_0x74952c,_0x279067){return'base64'===_0x279067?Uint8ArrayBlobAdapter['mutate'](fromBase64(_0x74952c)):Uint8ArrayBlobAdapter['mutate'](fromUtf8$2(_0x74952c));}class Uint8ArrayBlobAdapter extends Uint8Array{static['fromString'](_0x1ed2c0,_0x4abb86='utf-8'){if('string'==typeof _0x1ed2c0)return transformFromString(_0x1ed2c0,_0x4abb86);throw new Error('Unsupported\x20conversion\x20from\x20'+typeof _0x1ed2c0+'\x20to\x20Uint8ArrayBlobAdapter.');}static['mutate'](_0x2fc97a){return Object['setPrototypeOf'](_0x2fc97a,Uint8ArrayBlobAdapter['prototype']),_0x2fc97a;}['transformToString'](_0x5e50b9='utf-8'){return transformToString(this,_0x5e50b9);}}const escapeUri=_0x470f7b=>encodeURIComponent(_0x470f7b)['replace'](/[!'()*]/g,hexEncode),hexEncode=_0xc03ed8=>'%'+_0xc03ed8['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']();function buildQueryString(_0x2d5bb8){const _0x12af30=[];for(let _0x2cc21b of Object['keys'](_0x2d5bb8)['sort']()){const _0x57a355=_0x2d5bb8[_0x2cc21b];if(_0x2cc21b=escapeUri(_0x2cc21b),Array['isArray'](_0x57a355)){for(let _0x511e25=0x0,_0x5d252d=_0x57a355['length'];_0x511e25<_0x5d252d;_0x511e25++)_0x12af30['push'](_0x2cc21b+'='+escapeUri(_0x57a355[_0x511e25]));}else{let _0x1cde63=_0x2cc21b;(_0x57a355||'string'==typeof _0x57a355)&&(_0x1cde63+='='+escapeUri(_0x57a355)),_0x12af30['push'](_0x1cde63);}}return _0x12af30['join']('&');}const SHORT_TO_HEX={},HEX_TO_SHORT={};for(let e=0x0;e<0x100;e++){let i=e['toString'](0x10)['toLowerCase']();0x1===i['length']&&(i='0'+i),SHORT_TO_HEX[e]=i,HEX_TO_SHORT[i]=e;}function fromHex(_0x160e42){if(_0x160e42['length']%0x2!=0x0)throw new Error('Hex\x20encoded\x20strings\x20must\x20have\x20an\x20even\x20number\x20length');const _0xbc62eb=new Uint8Array(_0x160e42['length']/0x2);for(let _0x4cfe60=0x0;_0x4cfe60<_0x160e42['length'];_0x4cfe60+=0x2){const _0x244f7f=_0x160e42['slice'](_0x4cfe60,_0x4cfe60+0x2)['toLowerCase']();if(!(_0x244f7f in HEX_TO_SHORT))throw new Error('Cannot\x20decode\x20unrecognized\x20sequence\x20'+_0x244f7f+'\x20as\x20hexadecimal');_0xbc62eb[_0x4cfe60/0x2]=HEX_TO_SHORT[_0x244f7f];}return _0xbc62eb;}function toHex(_0x3cb1b3){let _0x5c4df3='';for(let _0x56eaac=0x0;_0x56eaac<_0x3cb1b3['byteLength'];_0x56eaac++)_0x5c4df3+=SHORT_TO_HEX[_0x3cb1b3[_0x56eaac]];return _0x5c4df3;}const collectBody=async(_0x44cb8c=new Uint8Array(),_0x55b328)=>{if(_0x44cb8c instanceof Uint8Array)return Uint8ArrayBlobAdapter['mutate'](_0x44cb8c);if(!_0x44cb8c)return Uint8ArrayBlobAdapter['mutate'](new Uint8Array());const _0x4be33c=_0x55b328['streamCollector'](_0x44cb8c);return Uint8ArrayBlobAdapter['mutate'](await _0x4be33c);};function extendedEncodeURIComponent(_0x1c18fb){return encodeURIComponent(_0x1c18fb)['replace'](/[!'()*]/g,function(_0x5b8d10){return'%'+_0x5b8d10['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']();});}const resolvedPath=(_0x36e0a9,_0x3dc709,_0x20ae85,_0x5cb19f,_0x3049e8,_0x522e31)=>{if(null==_0x3dc709||void 0x0===_0x3dc709[_0x20ae85])throw new Error('No\x20value\x20provided\x20for\x20input\x20HTTP\x20label:\x20'+_0x20ae85+'.');{const _0x14a7ce=_0x5cb19f();if(_0x14a7ce['length']<=0x0)throw new Error('Empty\x20value\x20provided\x20for\x20input\x20HTTP\x20label:\x20'+_0x20ae85+'.');_0x36e0a9=_0x36e0a9['replace'](_0x3049e8,_0x522e31?_0x14a7ce['split']('/')['map'](_0x1e145c=>extendedEncodeURIComponent(_0x1e145c))['join']('/'):extendedEncodeURIComponent(_0x14a7ce));}return _0x36e0a9;};function requestBuilder(_0x503308,_0x1be3fa){return new RequestBuilder(_0x503308,_0x1be3fa);}class RequestBuilder{constructor(_0x54d67d,_0x3e1ef5){this['input']=_0x54d67d,this['context']=_0x3e1ef5,this['query']={},this['method']='',this['headers']={},this['path']='',this['body']=null,this['hostname']='',this['resolvePathStack']=[];}async['build'](){const {hostname:_0x4a651c,protocol:_0x338927='https',port:_0x2849b9,path:_0x44ccf2}=await this['context']['endpoint']();this['path']=_0x44ccf2;for(const _0x1c6559 of this['resolvePathStack'])_0x1c6559(this['path']);return new HttpRequest({'protocol':_0x338927,'hostname':this['hostname']||_0x4a651c,'port':_0x2849b9,'method':this['method'],'path':this['path'],'query':this['query'],'body':this['body'],'headers':this['headers']});}['hn'](_0x11bde1){return this['hostname']=_0x11bde1,this;}['bp'](_0x1a2b7e){return this['resolvePathStack']['push'](_0x52258c=>{this['path']=''+(_0x52258c?.['endsWith']('/')?_0x52258c['slice'](0x0,-0x1):_0x52258c||'')+_0x1a2b7e;}),this;}['p'](_0x33cc8c,_0x26a179,_0x3a6fa6,_0x322a78){return this['resolvePathStack']['push'](_0x4e0e98=>{this['path']=resolvedPath(_0x4e0e98,this['input'],_0x33cc8c,_0x26a179,_0x3a6fa6,_0x322a78);}),this;}['h'](_0x44f598){return this['headers']=_0x44f598,this;}['q'](_0x2e083d){return this['query']=_0x2e083d,this;}['b'](_0x3a5181){return this['body']=_0x3a5181,this;}['m'](_0x583858){return this['method']=_0x583858,this;}}function setFeature(_0x415605,_0x3b5fdf,_0x5d9b6d){_0x415605['__smithy_context']?_0x415605['__smithy_context']['features']||(_0x415605['__smithy_context']['features']={}):_0x415605['__smithy_context']={'features':{}},_0x415605['__smithy_context']['features'][_0x3b5fdf]=_0x5d9b6d;}class DefaultIdentityProviderConfig{constructor(_0x330ce5){this['authSchemes']=new Map();for(const [_0x2de8aa,_0x23eae0]of Object['entries'](_0x330ce5))void 0x0!==_0x23eae0&&this['authSchemes']['set'](_0x2de8aa,_0x23eae0);}['getIdentityProvider'](_0x5ee531){return this['authSchemes']['get'](_0x5ee531);}}const createIsIdentityExpiredFunction=_0x3bc416=>_0x164b9a=>doesIdentityRequireRefresh(_0x164b9a)&&_0x164b9a['expiration']['getTime']()-Date['now']()<_0x3bc416,EXPIRATION_MS=0x493e0,isIdentityExpired=createIsIdentityExpiredFunction(EXPIRATION_MS),doesIdentityRequireRefresh=_0x3d54da=>void 0x0!==_0x3d54da['expiration'],memoizeIdentityProvider=(_0x2aab00,_0x2ffb7a,_0x376bec)=>{if(void 0x0===_0x2aab00)return;const _0x2d6522='function'!=typeof _0x2aab00?async()=>Promise['resolve'](_0x2aab00):_0x2aab00;let _0x129e0a,_0x31aaed,_0x3c144d,_0x55f36f=!0x1;const _0x167dde=async _0x2d7b36=>{_0x31aaed||(_0x31aaed=_0x2d6522(_0x2d7b36));try{_0x129e0a=await _0x31aaed,_0x3c144d=!0x0,_0x55f36f=!0x1;}finally{_0x31aaed=void 0x0;}return _0x129e0a;};return void 0x0===_0x2ffb7a?async _0x964e9e=>(_0x3c144d&&!_0x964e9e?.['forceRefresh']||(_0x129e0a=await _0x167dde(_0x964e9e)),_0x129e0a):async _0x395a29=>(_0x3c144d&&!_0x395a29?.['forceRefresh']||(_0x129e0a=await _0x167dde(_0x395a29)),_0x55f36f?_0x129e0a:_0x376bec(_0x129e0a)?_0x2ffb7a(_0x129e0a)?(await _0x167dde(_0x395a29),_0x129e0a):_0x129e0a:(_0x55f36f=!0x0,_0x129e0a));},resolveEventStreamSerdeConfig=_0x15193c=>({..._0x15193c,'eventStreamMarshaller':_0x15193c['eventStreamSerdeProvider'](_0x15193c)}),CONTENT_LENGTH_HEADER='content-length';function contentLengthMiddleware(_0x4ceba4){return _0x1abeec=>async _0x5cc350=>{const _0xe42b08=_0x5cc350['request'];if(HttpRequest['isInstance'](_0xe42b08)){const {body:_0x3e1c8f,headers:_0x2252ab}=_0xe42b08;if(_0x3e1c8f&&-0x1===Object['keys'](_0x2252ab)['map'](_0x3b9f72=>_0x3b9f72['toLowerCase']())['indexOf'](CONTENT_LENGTH_HEADER))try{const _0x32652b=_0x4ceba4(_0x3e1c8f);_0xe42b08['headers']={..._0xe42b08['headers'],[CONTENT_LENGTH_HEADER]:String(_0x32652b)};}catch(_0x4f0ea2){}}return _0x1abeec({..._0x5cc350,'request':_0xe42b08});};}const contentLengthMiddlewareOptions={'step':'build','tags':['SET_CONTENT_LENGTH','CONTENT_LENGTH'],'name':'contentLengthMiddleware','override':!0x0},getContentLengthPlugin=_0x5babf6=>({'applyToStack':_0x5aca5a=>{_0x5aca5a['add'](contentLengthMiddleware(_0x5babf6['bodyLengthChecker']),contentLengthMiddlewareOptions);}}),resolveParamsForS3=async _0x58a317=>{const _0x5a359f=_0x58a317?.['Bucket']||'';if('string'==typeof _0x58a317['Bucket']&&(_0x58a317['Bucket']=_0x5a359f['replace'](/#/g,encodeURIComponent('#'))['replace'](/\?/g,encodeURIComponent('?'))),isArnBucketName(_0x5a359f)){if(!0x0===_0x58a317['ForcePathStyle'])throw new Error('Path-style\x20addressing\x20cannot\x20be\x20used\x20with\x20ARN\x20buckets');}else(!isDnsCompatibleBucketName(_0x5a359f)||-0x1!==_0x5a359f['indexOf']('.')&&!String(_0x58a317['Endpoint'])['startsWith']('http:')||_0x5a359f['toLowerCase']()!==_0x5a359f||_0x5a359f['length']<0x3)&&(_0x58a317['ForcePathStyle']=!0x0);return _0x58a317['DisableMultiRegionAccessPoints']&&(_0x58a317['disableMultiRegionAccessPoints']=!0x0,_0x58a317['DisableMRAP']=!0x0),_0x58a317;},DOMAIN_PATTERN=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,IP_ADDRESS_PATTERN=/(\d+\.){3}\d+/,DOTS_PATTERN=/\.\./,isDnsCompatibleBucketName=_0x5ccd44=>DOMAIN_PATTERN['test'](_0x5ccd44)&&!IP_ADDRESS_PATTERN['test'](_0x5ccd44)&&!DOTS_PATTERN['test'](_0x5ccd44),isArnBucketName=_0x43c8b9=>{const [_0x3a8b38,_0x578e3e,_0x412e4a,,,_0x27b3ac]=_0x43c8b9['split'](':'),_0xc02376='arn'===_0x3a8b38&&_0x43c8b9['split'](':')['length']>=0x6,_0x4819e4=Boolean(_0xc02376&&_0x578e3e&&_0x412e4a&&_0x27b3ac);if(_0xc02376&&!_0x4819e4)throw new Error('Invalid\x20ARN:\x20'+_0x43c8b9+'\x20was\x20an\x20invalid\x20ARN.');return _0x4819e4;},createConfigValueProvider=(_0x2c8f09,_0x1e8667,_0x2de3a2)=>{const _0x1a120e=async()=>{const _0x270a35=_0x2de3a2[_0x2c8f09]??_0x2de3a2[_0x1e8667];return'function'==typeof _0x270a35?_0x270a35():_0x270a35;};return'credentialScope'===_0x2c8f09||'CredentialScope'===_0x1e8667?async()=>{const _0x582c04='function'==typeof _0x2de3a2['credentials']?await _0x2de3a2['credentials']():_0x2de3a2['credentials'];return _0x582c04?.['credentialScope']??_0x582c04?.['CredentialScope'];}:'accountId'===_0x2c8f09||'AccountId'===_0x1e8667?async()=>{const _0x378a51='function'==typeof _0x2de3a2['credentials']?await _0x2de3a2['credentials']():_0x2de3a2['credentials'];return _0x378a51?.['accountId']??_0x378a51?.['AccountId'];}:'endpoint'===_0x2c8f09||'endpoint'===_0x1e8667?async()=>{const _0x39a98e=await _0x1a120e();if(_0x39a98e&&'object'==typeof _0x39a98e){if('url'in _0x39a98e)return _0x39a98e['url']['href'];if('hostname'in _0x39a98e){const {protocol:_0x4f22df,hostname:_0x14216f,port:_0x470491,path:_0x39837a}=_0x39a98e;return _0x4f22df+'//'+_0x14216f+(_0x470491?':'+_0x470491:'')+_0x39837a;}}return _0x39a98e;}:_0x1a120e;},getEndpointFromConfig=async _0x5a2850=>{};function parseQueryString(_0x27613f){const _0x4627dd={};if(_0x27613f=_0x27613f['replace'](/^\?/,''))for(const _0x1d63e6 of _0x27613f['split']('&')){let [_0x425947,_0x3b4f49=null]=_0x1d63e6['split']('=');_0x425947=decodeURIComponent(_0x425947),_0x3b4f49&&(_0x3b4f49=decodeURIComponent(_0x3b4f49)),_0x425947 in _0x4627dd?Array['isArray'](_0x4627dd[_0x425947])?_0x4627dd[_0x425947]['push'](_0x3b4f49):_0x4627dd[_0x425947]=[_0x4627dd[_0x425947],_0x3b4f49]:_0x4627dd[_0x425947]=_0x3b4f49;}return _0x4627dd;}const parseUrl=_0x15bfc8=>{if('string'==typeof _0x15bfc8)return parseUrl(new URL(_0x15bfc8));const {hostname:_0x430683,pathname:_0x4aea1a,port:_0x34f18f,protocol:_0xb8d65a,search:_0x10916}=_0x15bfc8;let _0x27666e;return _0x10916&&(_0x27666e=parseQueryString(_0x10916)),{'hostname':_0x430683,'port':_0x34f18f?parseInt(_0x34f18f):void 0x0,'protocol':_0xb8d65a,'path':_0x4aea1a,'query':_0x27666e};},toEndpointV1=_0x90f2ea=>'object'==typeof _0x90f2ea?'url'in _0x90f2ea?parseUrl(_0x90f2ea['url']):_0x90f2ea:parseUrl(_0x90f2ea),getEndpointFromInstructions=async(_0x4aeabb,_0x4c616e,_0x14a97b,_0xae2ddd)=>{if(!_0x14a97b['endpoint']){let _0x9f0337;_0x9f0337=_0x14a97b['serviceConfiguredEndpoint']?await _0x14a97b['serviceConfiguredEndpoint']():await getEndpointFromConfig(_0x14a97b['serviceId']),_0x9f0337&&(_0x14a97b['endpoint']=()=>Promise['resolve'](toEndpointV1(_0x9f0337)));}const _0x4acd17=await resolveParams(_0x4aeabb,_0x4c616e,_0x14a97b);if('function'!=typeof _0x14a97b['endpointProvider'])throw new Error('config.endpointProvider\x20is\x20not\x20set.');return _0x14a97b['endpointProvider'](_0x4acd17,_0xae2ddd);},resolveParams=async(_0x32c029,_0x15f18c,_0x38e76e)=>{const _0x855682={},_0x3b16d4=_0x15f18c?.['getEndpointParameterInstructions']?.()||{};for(const [_0x441206,_0x49d930]of Object['entries'](_0x3b16d4))switch(_0x49d930['type']){case'staticContextParams':_0x855682[_0x441206]=_0x49d930['value'];break;case'contextParams':_0x855682[_0x441206]=_0x32c029[_0x49d930['name']];break;case'clientContextParams':case'builtInParams':_0x855682[_0x441206]=await createConfigValueProvider(_0x49d930['name'],_0x441206,_0x38e76e)();break;case'operationContextParams':_0x855682[_0x441206]=_0x49d930['get'](_0x32c029);break;default:throw new Error('Unrecognized\x20endpoint\x20parameter\x20instruction:\x20'+JSON['stringify'](_0x49d930));}return 0x0===Object['keys'](_0x3b16d4)['length']&&Object['assign'](_0x855682,_0x38e76e),'s3'===String(_0x38e76e['serviceId'])['toLowerCase']()&&await resolveParamsForS3(_0x855682),_0x855682;},endpointMiddleware=({config:_0xa7244,instructions:_0x2d14e9})=>(_0x5b255b,_0x277e27)=>async _0x3e3007=>{_0xa7244['endpoint']&&setFeature(_0x277e27,'ENDPOINT_OVERRIDE','N');const _0x48849d=await getEndpointFromInstructions(_0x3e3007['input'],{'getEndpointParameterInstructions':()=>_0x2d14e9},{..._0xa7244},_0x277e27);_0x277e27['endpointV2']=_0x48849d,_0x277e27['authSchemes']=_0x48849d['properties']?.['authSchemes'];const _0x3aaff4=_0x277e27['authSchemes']?.[0x0];if(_0x3aaff4){_0x277e27['signing_region']=_0x3aaff4['signingRegion'],_0x277e27['signing_service']=_0x3aaff4['signingName'];const _0x45ed9b=getSmithyContext(_0x277e27),_0x247750=_0x45ed9b?.['selectedHttpAuthScheme']?.['httpAuthOption'];_0x247750&&(_0x247750['signingProperties']=Object['assign'](_0x247750['signingProperties']||{},{'signing_region':_0x3aaff4['signingRegion'],'signingRegion':_0x3aaff4['signingRegion'],'signing_service':_0x3aaff4['signingName'],'signingName':_0x3aaff4['signingName'],'signingRegionSet':_0x3aaff4['signingRegionSet']},_0x3aaff4['properties']));}return _0x5b255b({..._0x3e3007});},endpointMiddlewareOptions={'step':'serialize','tags':['ENDPOINT_PARAMETERS','ENDPOINT_V2','ENDPOINT'],'name':'endpointV2Middleware','override':!0x0,'relation':'before','toMiddleware':serializerMiddlewareOption['name']},getEndpointPlugin=(_0x1fa95a,_0x3c00c6)=>({'applyToStack':_0x330ea7=>{_0x330ea7['addRelativeTo'](endpointMiddleware({'config':_0x1fa95a,'instructions':_0x3c00c6}),endpointMiddlewareOptions);}}),resolveEndpointConfig=_0x4603d8=>{const _0x50f807=_0x4603d8['tls']??!0x0,{endpoint:_0x26ee7e}=_0x4603d8,_0x28c05b=null!=_0x26ee7e?async()=>toEndpointV1(await normalizeProvider$1(_0x26ee7e)()):void 0x0,_0x5654bc=!!_0x26ee7e,_0x5d4424={..._0x4603d8,'endpoint':_0x28c05b,'tls':_0x50f807,'isCustomEndpoint':_0x5654bc,'useDualstackEndpoint':normalizeProvider$1(_0x4603d8['useDualstackEndpoint']??!0x1),'useFipsEndpoint':normalizeProvider$1(_0x4603d8['useFipsEndpoint']??!0x1)};let _0x4e0ffd;return _0x5d4424['serviceConfiguredEndpoint']=async()=>(_0x4603d8['serviceId']&&!_0x4e0ffd&&(_0x4e0ffd=getEndpointFromConfig(_0x4603d8['serviceId'])),_0x4e0ffd),_0x5d4424;};var RETRY_MODES;!function(_0x406fd2){_0x406fd2['STANDARD']='standard',_0x406fd2['ADAPTIVE']='adaptive';}(RETRY_MODES||(RETRY_MODES={}));const DEFAULT_MAX_ATTEMPTS=0x3,DEFAULT_RETRY_MODE=RETRY_MODES['STANDARD'],THROTTLING_ERROR_CODES=['BandwidthLimitExceeded','EC2ThrottledException','LimitExceededException','PriorRequestNotComplete','ProvisionedThroughputExceededException','RequestLimitExceeded','RequestThrottled','RequestThrottledException','SlowDown','ThrottledException','Throttling','ThrottlingException','TooManyRequestsException','TransactionInProgressException'],TRANSIENT_ERROR_CODES=['TimeoutError','RequestTimeout','RequestTimeoutException'],TRANSIENT_ERROR_STATUS_CODES=[0x1f4,0x1f6,0x1f7,0x1f8],NODEJS_TIMEOUT_ERROR_CODES=['ECONNRESET','ECONNREFUSED','EPIPE','ETIMEDOUT'],isClockSkewCorrectedError=_0x13abae=>_0x13abae['$metadata']?.['clockSkewCorrected'],isThrottlingError=_0x41cfc6=>0x1ad===_0x41cfc6['$metadata']?.['httpStatusCode']||THROTTLING_ERROR_CODES['includes'](_0x41cfc6['name'])||0x1==_0x41cfc6['$retryable']?.['throttling'],isTransientError=(_0x2b3b22,_0x51a10e=0x0)=>isClockSkewCorrectedError(_0x2b3b22)||TRANSIENT_ERROR_CODES['includes'](_0x2b3b22['name'])||NODEJS_TIMEOUT_ERROR_CODES['includes'](_0x2b3b22?.['code']||'')||TRANSIENT_ERROR_STATUS_CODES['includes'](_0x2b3b22['$metadata']?.['httpStatusCode']||0x0)||void 0x0!==_0x2b3b22['cause']&&_0x51a10e<=0xa&&isTransientError(_0x2b3b22['cause'],_0x51a10e+0x1),isServerError=_0x3ab208=>{if(void 0x0!==_0x3ab208['$metadata']?.['httpStatusCode']){const _0x452cf6=_0x3ab208['$metadata']['httpStatusCode'];return 0x1f4<=_0x452cf6&&_0x452cf6<=0x257&&!isTransientError(_0x3ab208);}return!0x1;};class DefaultRateLimiter{constructor(_0x37b4ff){this['currentCapacity']=0x0,this['enabled']=!0x1,this['lastMaxRate']=0x0,this['measuredTxRate']=0x0,this['requestCount']=0x0,this['lastTimestamp']=0x0,this['timeWindow']=0x0,this['beta']=_0x37b4ff?.['beta']??0.7,this['minCapacity']=_0x37b4ff?.['minCapacity']??0x1,this['minFillRate']=_0x37b4ff?.['minFillRate']??0.5,this['scaleConstant']=_0x37b4ff?.['scaleConstant']??0.4,this['smooth']=_0x37b4ff?.['smooth']??0.8;const _0x36a791=this['getCurrentTimeInSeconds']();this['lastThrottleTime']=_0x36a791,this['lastTxRateBucket']=Math['floor'](this['getCurrentTimeInSeconds']()),this['fillRate']=this['minFillRate'],this['maxCapacity']=this['minCapacity'];}['getCurrentTimeInSeconds'](){return Date['now']()/0x3e8;}async['getSendToken'](){return this['acquireTokenBucket'](0x1);}async['acquireTokenBucket'](_0x333701){if(this['enabled']){if(this['refillTokenBucket'](),_0x333701>this['currentCapacity']){const _0x337d79=(_0x333701-this['currentCapacity'])/this['fillRate']*0x3e8;await new Promise(_0x8fe21c=>DefaultRateLimiter['setTimeoutFn'](_0x8fe21c,_0x337d79));}this['currentCapacity']=this['currentCapacity']-_0x333701;}}['refillTokenBucket'](){const _0x381fb4=this['getCurrentTimeInSeconds']();if(!this['lastTimestamp'])return void(this['lastTimestamp']=_0x381fb4);const _0x8365fa=(_0x381fb4-this['lastTimestamp'])*this['fillRate'];this['currentCapacity']=Math['min'](this['maxCapacity'],this['currentCapacity']+_0x8365fa),this['lastTimestamp']=_0x381fb4;}['updateClientSendingRate'](_0x1d267e){let _0x48998c;if(this['updateMeasuredRate'](),isThrottlingError(_0x1d267e)){const _0x266fc8=this['enabled']?Math['min'](this['measuredTxRate'],this['fillRate']):this['measuredTxRate'];this['lastMaxRate']=_0x266fc8,this['calculateTimeWindow'](),this['lastThrottleTime']=this['getCurrentTimeInSeconds'](),_0x48998c=this['cubicThrottle'](_0x266fc8),this['enableTokenBucket']();}else this['calculateTimeWindow'](),_0x48998c=this['cubicSuccess'](this['getCurrentTimeInSeconds']());const _0x584c46=Math['min'](_0x48998c,0x2*this['measuredTxRate']);this['updateTokenBucketRate'](_0x584c46);}['calculateTimeWindow'](){this['timeWindow']=this['getPrecise'](Math['pow'](this['lastMaxRate']*(0x1-this['beta'])/this['scaleConstant'],0x1/0x3));}['cubicThrottle'](_0x2e1be6){return this['getPrecise'](_0x2e1be6*this['beta']);}['cubicSuccess'](_0x25d53a){return this['getPrecise'](this['scaleConstant']*Math['pow'](_0x25d53a-this['lastThrottleTime']-this['timeWindow'],0x3)+this['lastMaxRate']);}['enableTokenBucket'](){this['enabled']=!0x0;}['updateTokenBucketRate'](_0x39cbe4){this['refillTokenBucket'](),this['fillRate']=Math['max'](_0x39cbe4,this['minFillRate']),this['maxCapacity']=Math['max'](_0x39cbe4,this['minCapacity']),this['currentCapacity']=Math['min'](this['currentCapacity'],this['maxCapacity']);}['updateMeasuredRate'](){const t=this['getCurrentTimeInSeconds'](),_0x3e7f92=Math['floor'](0x2*t)/0x2;if(this['requestCount']++,_0x3e7f92>this['lastTxRateBucket']){const _0x387ff0=this['requestCount']/(_0x3e7f92-this['lastTxRateBucket']);this['measuredTxRate']=this['getPrecise'](_0x387ff0*this['smooth']+this['measuredTxRate']*(0x1-this['smooth'])),this['requestCount']=0x0,this['lastTxRateBucket']=_0x3e7f92;}}['getPrecise'](_0x11bcf3){return parseFloat(_0x11bcf3['toFixed'](0x8));}}DefaultRateLimiter['setTimeoutFn']=setTimeout;const DEFAULT_RETRY_DELAY_BASE=0x64,MAXIMUM_RETRY_DELAY=0x4e20,THROTTLING_RETRY_DELAY_BASE=0x1f4,INITIAL_RETRY_TOKENS=0x1f4,RETRY_COST=0x5,TIMEOUT_RETRY_COST=0xa,NO_RETRY_INCREMENT=0x1,INVOCATION_ID_HEADER='amz-sdk-invocation-id',REQUEST_HEADER='amz-sdk-request',getDefaultRetryBackoffStrategy=()=>{let _0x257c9d=DEFAULT_RETRY_DELAY_BASE;return{'computeNextBackoffDelay':_0x1efaef=>Math['floor'](Math['min'](MAXIMUM_RETRY_DELAY,Math['random']()*0x2**_0x1efaef*_0x257c9d)),'setDelayBase':_0x272eef=>{_0x257c9d=_0x272eef;}};},createDefaultRetryToken=({retryDelay:_0x28cafc,retryCount:_0x3367ae,retryCost:_0x5f1820})=>({'getRetryCount':()=>_0x3367ae,'getRetryDelay':()=>Math['min'](MAXIMUM_RETRY_DELAY,_0x28cafc),'getRetryCost':()=>_0x5f1820});class StandardRetryStrategy{constructor(_0x1dc9a0){this['maxAttempts']=_0x1dc9a0,this['mode']=RETRY_MODES['STANDARD'],this['capacity']=INITIAL_RETRY_TOKENS,this['retryBackoffStrategy']=getDefaultRetryBackoffStrategy(),this['maxAttemptsProvider']='function'==typeof _0x1dc9a0?_0x1dc9a0:async()=>_0x1dc9a0;}async['acquireInitialRetryToken'](_0x3747dc){return createDefaultRetryToken({'retryDelay':DEFAULT_RETRY_DELAY_BASE,'retryCount':0x0});}async['refreshRetryTokenForRetry'](_0x2c7e01,_0x365d44){const _0x3019f9=await this['getMaxAttempts']();if(this['shouldRetry'](_0x2c7e01,_0x365d44,_0x3019f9)){const _0x490542=_0x365d44['errorType'];this['retryBackoffStrategy']['setDelayBase']('THROTTLING'===_0x490542?THROTTLING_RETRY_DELAY_BASE:DEFAULT_RETRY_DELAY_BASE);const _0x10c40a=this['retryBackoffStrategy']['computeNextBackoffDelay'](_0x2c7e01['getRetryCount']()),_0x37f1b1=_0x365d44['retryAfterHint']?Math['max'](_0x365d44['retryAfterHint']['getTime']()-Date['now']()||0x0,_0x10c40a):_0x10c40a,_0x4255de=this['getCapacityCost'](_0x490542);return this['capacity']-=_0x4255de,createDefaultRetryToken({'retryDelay':_0x37f1b1,'retryCount':_0x2c7e01['getRetryCount']()+0x1,'retryCost':_0x4255de});}throw new Error('No\x20retry\x20token\x20available');}['recordSuccess'](_0x3c3fb3){this['capacity']=Math['max'](INITIAL_RETRY_TOKENS,this['capacity']+(_0x3c3fb3['getRetryCost']()??NO_RETRY_INCREMENT));}['getCapacity'](){return this['capacity'];}async['getMaxAttempts'](){try{return await this['maxAttemptsProvider']();}catch(_0x50a943){return console['warn']('Max\x20attempts\x20provider\x20could\x20not\x20resolve.\x20Using\x20default\x20of\x20'+DEFAULT_MAX_ATTEMPTS),DEFAULT_MAX_ATTEMPTS;}}['shouldRetry'](_0x39c318,_0x12273c,_0x42bf0e){return _0x39c318['getRetryCount']()+0x1<_0x42bf0e&&this['capacity']>=this['getCapacityCost'](_0x12273c['errorType'])&&this['isRetryableError'](_0x12273c['errorType']);}['getCapacityCost'](_0x47a236){return'TRANSIENT'===_0x47a236?TIMEOUT_RETRY_COST:RETRY_COST;}['isRetryableError'](_0x42c947){return'THROTTLING'===_0x42c947||'TRANSIENT'===_0x42c947;}}class AdaptiveRetryStrategy{constructor(_0x5e8912,_0x44f918){this['maxAttemptsProvider']=_0x5e8912,this['mode']=RETRY_MODES['ADAPTIVE'];const {rateLimiter:_0x2d7ea0}=_0x44f918??{};this['rateLimiter']=_0x2d7ea0??new DefaultRateLimiter(),this['standardRetryStrategy']=new StandardRetryStrategy(_0x5e8912);}async['acquireInitialRetryToken'](_0x469c28){return await this['rateLimiter']['getSendToken'](),this['standardRetryStrategy']['acquireInitialRetryToken'](_0x469c28);}async['refreshRetryTokenForRetry'](_0x2ad24b,_0x5df084){return this['rateLimiter']['updateClientSendingRate'](_0x5df084),this['standardRetryStrategy']['refreshRetryTokenForRetry'](_0x2ad24b,_0x5df084);}['recordSuccess'](_0x199c61){this['rateLimiter']['updateClientSendingRate']({}),this['standardRetryStrategy']['recordSuccess'](_0x199c61);}}let getRandomValues$1;const rnds8$1=new Uint8Array(0x10);function rng$1(){if(!getRandomValues$1&&(getRandomValues$1='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!getRandomValues$1))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return getRandomValues$1(rnds8$1);}const byteToHex$1=[];for(let e=0x0;e<0x100;++e)byteToHex$1['push']((e+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify$1(_0xbbae64,_0x12cf8f=0x0){return byteToHex$1[_0xbbae64[_0x12cf8f+0x0]]+byteToHex$1[_0xbbae64[_0x12cf8f+0x1]]+byteToHex$1[_0xbbae64[_0x12cf8f+0x2]]+byteToHex$1[_0xbbae64[_0x12cf8f+0x3]]+'-'+byteToHex$1[_0xbbae64[_0x12cf8f+0x4]]+byteToHex$1[_0xbbae64[_0x12cf8f+0x5]]+'-'+byteToHex$1[_0xbbae64[_0x12cf8f+0x6]]+byteToHex$1[_0xbbae64[_0x12cf8f+0x7]]+'-'+byteToHex$1[_0xbbae64[_0x12cf8f+0x8]]+byteToHex$1[_0xbbae64[_0x12cf8f+0x9]]+'-'+byteToHex$1[_0xbbae64[_0x12cf8f+0xa]]+byteToHex$1[_0xbbae64[_0x12cf8f+0xb]]+byteToHex$1[_0xbbae64[_0x12cf8f+0xc]]+byteToHex$1[_0xbbae64[_0x12cf8f+0xd]]+byteToHex$1[_0xbbae64[_0x12cf8f+0xe]]+byteToHex$1[_0xbbae64[_0x12cf8f+0xf]];}const randomUUID$1='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$2={'randomUUID':randomUUID$1};function v4$1(_0x488ca7,_0x838b15,_0x117397){if(native$2['randomUUID']&&!_0x488ca7)return native$2['randomUUID']();const _0x2c37cd=(_0x488ca7=_0x488ca7||{})['random']||(_0x488ca7['rng']||rng$1)();return _0x2c37cd[0x6]=0xf&_0x2c37cd[0x6]|0x40,_0x2c37cd[0x8]=0x3f&_0x2c37cd[0x8]|0x80,unsafeStringify$1(_0x2c37cd);}const asSdkError=_0x32d939=>_0x32d939 instanceof Error?_0x32d939:_0x32d939 instanceof Object?Object['assign'](new Error(),_0x32d939):'string'==typeof _0x32d939?new Error(_0x32d939):new Error('AWS\x20SDK\x20error\x20wrapper\x20for\x20'+_0x32d939),resolveRetryConfig=_0x4e4e69=>{const {retryStrategy:_0x21678f}=_0x4e4e69,_0x1f7cf9=normalizeProvider$1(_0x4e4e69['maxAttempts']??DEFAULT_MAX_ATTEMPTS);return{..._0x4e4e69,'maxAttempts':_0x1f7cf9,'retryStrategy':async()=>{if(_0x21678f)return _0x21678f;return await normalizeProvider$1(_0x4e4e69['retryMode'])()===RETRY_MODES['ADAPTIVE']?new AdaptiveRetryStrategy(_0x1f7cf9):new StandardRetryStrategy(_0x1f7cf9);}};},getAllAliases=(_0x11a58a,_0x3f2ea3)=>{const _0x3fb62f=[];if(_0x11a58a&&_0x3fb62f['push'](_0x11a58a),_0x3f2ea3){for(const _0x5853d2 of _0x3f2ea3)_0x3fb62f['push'](_0x5853d2);}return _0x3fb62f;},getMiddlewareNameWithAliases=(_0x519e4a,_0x5548f9)=>''+(_0x519e4a||'anonymous')+(_0x5548f9&&_0x5548f9['length']>0x0?'\x20(a.k.a.\x20'+_0x5548f9['join'](',')+')':''),constructStack=()=>{let _0xcb2c45=[],_0x5369ea=[],_0x20b39f=!0x1;const _0x305a1f=new Set(),_0x33cf7d=_0x1f586b=>(_0xcb2c45['forEach'](_0x42802d=>{_0x1f586b['add'](_0x42802d['middleware'],{..._0x42802d});}),_0x5369ea['forEach'](_0x2bf765=>{_0x1f586b['addRelativeTo'](_0x2bf765['middleware'],{..._0x2bf765});}),_0x1f586b['identifyOnResolve']?.(_0x457842['identifyOnResolve']()),_0x1f586b),_0xb0675d=_0x346430=>{const _0x231338=[];return _0x346430['before']['forEach'](_0x454a9f=>{0x0===_0x454a9f['before']['length']&&0x0===_0x454a9f['after']['length']?_0x231338['push'](_0x454a9f):_0x231338['push'](..._0xb0675d(_0x454a9f));}),_0x231338['push'](_0x346430),_0x346430['after']['reverse']()['forEach'](_0x221207=>{0x0===_0x221207['before']['length']&&0x0===_0x221207['after']['length']?_0x231338['push'](_0x221207):_0x231338['push'](..._0xb0675d(_0x221207));}),_0x231338;},_0x42bdad=(_0x2b3ccb=!0x1)=>{const _0x2032e8=[],_0x360380=[],_0x1c7096={};_0xcb2c45['forEach'](_0x70a560=>{const _0x4a5205={..._0x70a560,'before':[],'after':[]};for(const _0x4a3e18 of getAllAliases(_0x4a5205['name'],_0x4a5205['aliases']))_0x1c7096[_0x4a3e18]=_0x4a5205;_0x2032e8['push'](_0x4a5205);}),_0x5369ea['forEach'](_0x340d44=>{const _0x58d669={..._0x340d44,'before':[],'after':[]};for(const _0x419dee of getAllAliases(_0x58d669['name'],_0x58d669['aliases']))_0x1c7096[_0x419dee]=_0x58d669;_0x360380['push'](_0x58d669);}),_0x360380['forEach'](_0x74a214=>{if(_0x74a214['toMiddleware']){const _0x39e28b=_0x1c7096[_0x74a214['toMiddleware']];if(void 0x0===_0x39e28b){if(_0x2b3ccb)return;throw new Error(_0x74a214['toMiddleware']+'\x20is\x20not\x20found\x20when\x20adding\x20'+getMiddlewareNameWithAliases(_0x74a214['name'],_0x74a214['aliases'])+'\x20middleware\x20'+_0x74a214['relation']+'\x20'+_0x74a214['toMiddleware']);}'after'===_0x74a214['relation']&&_0x39e28b['after']['push'](_0x74a214),'before'===_0x74a214['relation']&&_0x39e28b['before']['push'](_0x74a214);}});const _0x16ab3c=(_0x45f9f8=_0x2032e8,_0x45f9f8['sort']((_0x2b576f,_0x35fe57)=>stepWeights[_0x35fe57['step']]-stepWeights[_0x2b576f['step']]||priorityWeights[_0x35fe57['priority']||'normal']-priorityWeights[_0x2b576f['priority']||'normal']))['map'](_0xb0675d)['reduce']((_0x572c03,_0x33abf3)=>(_0x572c03['push'](..._0x33abf3),_0x572c03),[]);var _0x45f9f8;return _0x16ab3c;},_0x457842={'add':(_0x32fb95,_0x51c1e3={})=>{const {name:_0x51f9de,override:_0xd5a5b9,aliases:_0x294912}=_0x51c1e3,_0x39aee7={'step':'initialize','priority':'normal','middleware':_0x32fb95,..._0x51c1e3},_0x5520de=getAllAliases(_0x51f9de,_0x294912);if(_0x5520de['length']>0x0){if(_0x5520de['some'](_0x43a34e=>_0x305a1f['has'](_0x43a34e))){if(!_0xd5a5b9)throw new Error('Duplicate\x20middleware\x20name\x20\x27'+getMiddlewareNameWithAliases(_0x51f9de,_0x294912)+'\x27');for(const _0x1332ed of _0x5520de){const _0x354dd7=_0xcb2c45['findIndex'](_0x4f2b58=>_0x4f2b58['name']===_0x1332ed||_0x4f2b58['aliases']?.['some'](_0x4f085b=>_0x4f085b===_0x1332ed));if(-0x1===_0x354dd7)continue;const _0x247122=_0xcb2c45[_0x354dd7];if(_0x247122['step']!==_0x39aee7['step']||_0x39aee7['priority']!==_0x247122['priority'])throw new Error('\x22'+getMiddlewareNameWithAliases(_0x247122['name'],_0x247122['aliases'])+'\x22\x20middleware\x20with\x20'+_0x247122['priority']+'\x20priority\x20in\x20'+_0x247122['step']+'\x20step\x20cannot\x20be\x20overridden\x20by\x20\x22'+getMiddlewareNameWithAliases(_0x51f9de,_0x294912)+'\x22\x20middleware\x20with\x20'+_0x39aee7['priority']+'\x20priority\x20in\x20'+_0x39aee7['step']+'\x20step.');_0xcb2c45['splice'](_0x354dd7,0x1);}}for(const _0x2e192d of _0x5520de)_0x305a1f['add'](_0x2e192d);}_0xcb2c45['push'](_0x39aee7);},'addRelativeTo':(_0x3dc5c9,_0x5b4515)=>{const {name:_0x471b73,override:_0x32281d,aliases:_0x374f20}=_0x5b4515,_0x120ecb={'middleware':_0x3dc5c9,..._0x5b4515},_0x5e40cd=getAllAliases(_0x471b73,_0x374f20);if(_0x5e40cd['length']>0x0){if(_0x5e40cd['some'](_0x50f8a9=>_0x305a1f['has'](_0x50f8a9))){if(!_0x32281d)throw new Error('Duplicate\x20middleware\x20name\x20\x27'+getMiddlewareNameWithAliases(_0x471b73,_0x374f20)+'\x27');for(const _0x196210 of _0x5e40cd){const _0x497811=_0x5369ea['findIndex'](_0x225e82=>_0x225e82['name']===_0x196210||_0x225e82['aliases']?.['some'](_0x4f1f36=>_0x4f1f36===_0x196210));if(-0x1===_0x497811)continue;const _0xd7ea20=_0x5369ea[_0x497811];if(_0xd7ea20['toMiddleware']!==_0x120ecb['toMiddleware']||_0xd7ea20['relation']!==_0x120ecb['relation'])throw new Error('\x22'+getMiddlewareNameWithAliases(_0xd7ea20['name'],_0xd7ea20['aliases'])+'\x22\x20middleware\x20'+_0xd7ea20['relation']+'\x20\x22'+_0xd7ea20['toMiddleware']+'\x22\x20middleware\x20cannot\x20be\x20overridden\x20by\x20\x22'+getMiddlewareNameWithAliases(_0x471b73,_0x374f20)+'\x22\x20middleware\x20'+_0x120ecb['relation']+'\x20\x22'+_0x120ecb['toMiddleware']+'\x22\x20middleware.');_0x5369ea['splice'](_0x497811,0x1);}}for(const _0x5ddca6 of _0x5e40cd)_0x305a1f['add'](_0x5ddca6);}_0x5369ea['push'](_0x120ecb);},'clone':()=>_0x33cf7d(constructStack()),'use':_0x15f527=>{_0x15f527['applyToStack'](_0x457842);},'remove':_0x1aeab0=>'string'==typeof _0x1aeab0?(_0x1432ec=>{let _0x4983ec=!0x1;const _0x401235=_0x3c0e64=>{const _0x439a88=getAllAliases(_0x3c0e64['name'],_0x3c0e64['aliases']);if(_0x439a88['includes'](_0x1432ec)){_0x4983ec=!0x0;for(const _0x161c76 of _0x439a88)_0x305a1f['delete'](_0x161c76);return!0x1;}return!0x0;};return _0xcb2c45=_0xcb2c45['filter'](_0x401235),_0x5369ea=_0x5369ea['filter'](_0x401235),_0x4983ec;})(_0x1aeab0):(_0x295a8c=>{let _0x102b45=!0x1;const _0x5815e4=_0x59f425=>{if(_0x59f425['middleware']===_0x295a8c){_0x102b45=!0x0;for(const _0x124274 of getAllAliases(_0x59f425['name'],_0x59f425['aliases']))_0x305a1f['delete'](_0x124274);return!0x1;}return!0x0;};return _0xcb2c45=_0xcb2c45['filter'](_0x5815e4),_0x5369ea=_0x5369ea['filter'](_0x5815e4),_0x102b45;})(_0x1aeab0),'removeByTag':_0xa3ecbf=>{let _0x50914c=!0x1;const _0x18ba93=_0xe82874=>{const {tags:_0x25e8fd,name:_0x34f386,aliases:_0x40d097}=_0xe82874;if(_0x25e8fd&&_0x25e8fd['includes'](_0xa3ecbf)){const _0x317fb0=getAllAliases(_0x34f386,_0x40d097);for(const _0x1dae3c of _0x317fb0)_0x305a1f['delete'](_0x1dae3c);return _0x50914c=!0x0,!0x1;}return!0x0;};return _0xcb2c45=_0xcb2c45['filter'](_0x18ba93),_0x5369ea=_0x5369ea['filter'](_0x18ba93),_0x50914c;},'concat':_0x90caed=>{const _0x4239a6=_0x33cf7d(constructStack());return _0x4239a6['use'](_0x90caed),_0x4239a6['identifyOnResolve'](_0x20b39f||_0x4239a6['identifyOnResolve']()||(_0x90caed['identifyOnResolve']?.()??!0x1)),_0x4239a6;},'applyToStack':_0x33cf7d,'identify':()=>_0x42bdad(!0x0)['map'](_0x3b9891=>{const _0x80856=_0x3b9891['step']??_0x3b9891['relation']+'\x20'+_0x3b9891['toMiddleware'];return getMiddlewareNameWithAliases(_0x3b9891['name'],_0x3b9891['aliases'])+'\x20-\x20'+_0x80856;}),'identifyOnResolve':_0x33742b=>('boolean'==typeof _0x33742b&&(_0x20b39f=_0x33742b),_0x20b39f),'resolve':(_0x30dee8,_0x296176)=>{for(const _0x3fcc2e of _0x42bdad()['map'](_0x37026a=>_0x37026a['middleware'])['reverse']())_0x30dee8=_0x3fcc2e(_0x30dee8,_0x296176);return _0x20b39f&&console['log'](_0x457842['identify']()),_0x30dee8;}};return _0x457842;},stepWeights={'initialize':0x5,'serialize':0x4,'build':0x3,'finalizeRequest':0x2,'deserialize':0x1},priorityWeights={'high':0x3,'normal':0x2,'low':0x1};class Client{constructor(_0x28953a){this['config']=_0x28953a,this['middlewareStack']=constructStack();}['send'](_0x31730c,_0x36fa10,_0x5482fa){const _0x524169='function'!=typeof _0x36fa10?_0x36fa10:void 0x0,_0x548527='function'==typeof _0x36fa10?_0x36fa10:_0x5482fa;let _0x2aec0c;if(void 0x0===_0x524169&&!0x0===this['config']['cacheMiddleware']){this['handlers']||(this['handlers']=new WeakMap());const _0x204019=this['handlers'];_0x204019['has'](_0x31730c['constructor'])?_0x2aec0c=_0x204019['get'](_0x31730c['constructor']):(_0x2aec0c=_0x31730c['resolveMiddleware'](this['middlewareStack'],this['config'],_0x524169),_0x204019['set'](_0x31730c['constructor'],_0x2aec0c));}else delete this['handlers'],_0x2aec0c=_0x31730c['resolveMiddleware'](this['middlewareStack'],this['config'],_0x524169);if(!_0x548527)return _0x2aec0c(_0x31730c)['then'](_0x15c661=>_0x15c661['output']);_0x2aec0c(_0x31730c)['then'](_0x2c6aaf=>_0x548527(null,_0x2c6aaf['output']),_0x1deef3=>_0x548527(_0x1deef3))['catch'](()=>{});}['destroy'](){this['config']?.['requestHandler']?.['destroy']?.(),delete this['handlers'];}}class Command{constructor(){this['middlewareStack']=constructStack();}static['classBuilder'](){return new ClassBuilder();}['resolveMiddlewareWithContext'](_0x2b99d3,_0x183104,_0x1be73c,{middlewareFn:_0x5d01e9,clientName:_0x44f53c,commandName:_0x125bb7,inputFilterSensitiveLog:_0x153933,outputFilterSensitiveLog:_0xa3c551,smithyContext:_0x11e825,additionalContext:_0x20d8d0,CommandCtor:_0x21f240}){for(const _0x2681c1 of _0x5d01e9['bind'](this)(_0x21f240,_0x2b99d3,_0x183104,_0x1be73c))this['middlewareStack']['use'](_0x2681c1);const _0x58c091=_0x2b99d3['concat'](this['middlewareStack']),{logger:_0x3b3dcb}=_0x183104,_0x25eac6={'logger':_0x3b3dcb,'clientName':_0x44f53c,'commandName':_0x125bb7,'inputFilterSensitiveLog':_0x153933,'outputFilterSensitiveLog':_0xa3c551,[SMITHY_CONTEXT_KEY]:{'commandInstance':this,..._0x11e825},..._0x20d8d0},{requestHandler:_0x5591a5}=_0x183104;return _0x58c091['resolve'](_0x40d4b3=>_0x5591a5['handle'](_0x40d4b3['request'],_0x1be73c||{}),_0x25eac6);}}class ClassBuilder{constructor(){this['_init']=()=>{},this['_ep']={},this['_middlewareFn']=()=>[],this['_commandName']='',this['_clientName']='',this['_additionalContext']={},this['_smithyContext']={},this['_inputFilterSensitiveLog']=_0x22f400=>_0x22f400,this['_outputFilterSensitiveLog']=_0x45340b=>_0x45340b,this['_serializer']=null,this['_deserializer']=null;}['init'](_0x2c853c){this['_init']=_0x2c853c;}['ep'](_0x18e4b2){return this['_ep']=_0x18e4b2,this;}['m'](_0x2876cd){return this['_middlewareFn']=_0x2876cd,this;}['s'](_0x4cabba,_0x101913,_0x12512b={}){return this['_smithyContext']={'service':_0x4cabba,'operation':_0x101913,..._0x12512b},this;}['c'](_0x3ed1ad={}){return this['_additionalContext']=_0x3ed1ad,this;}['n'](_0x5093ca,_0x16f841){return this['_clientName']=_0x5093ca,this['_commandName']=_0x16f841,this;}['f'](_0x1e705f=_0x50fa5a=>_0x50fa5a,_0x22e4e9=_0x44c9ed=>_0x44c9ed){return this['_inputFilterSensitiveLog']=_0x1e705f,this['_outputFilterSensitiveLog']=_0x22e4e9,this;}['ser'](_0x4aeff5){return this['_serializer']=_0x4aeff5,this;}['de'](_0x3fb48e){return this['_deserializer']=_0x3fb48e,this;}['build'](){const _0x5bf372=this;let _0x288417;return _0x288417=class extends Command{static['getEndpointParameterInstructions'](){return _0x5bf372['_ep'];}constructor(...[_0x5bd54f]){super(),this['serialize']=_0x5bf372['_serializer'],this['deserialize']=_0x5bf372['_deserializer'],this['input']=_0x5bd54f??{},_0x5bf372['_init'](this);}['resolveMiddleware'](_0x43577a,_0x1e17d4,_0x53f6d9){return this['resolveMiddlewareWithContext'](_0x43577a,_0x1e17d4,_0x53f6d9,{'CommandCtor':_0x288417,'middlewareFn':_0x5bf372['_middlewareFn'],'clientName':_0x5bf372['_clientName'],'commandName':_0x5bf372['_commandName'],'inputFilterSensitiveLog':_0x5bf372['_inputFilterSensitiveLog'],'outputFilterSensitiveLog':_0x5bf372['_outputFilterSensitiveLog'],'smithyContext':_0x5bf372['_smithyContext'],'additionalContext':_0x5bf372['_additionalContext']});}};}}const SENSITIVE_STRING='***SensitiveInformation***',expectLong=_0x2145c1=>{if(null!=_0x2145c1){if(Number['isInteger'](_0x2145c1)&&!Number['isNaN'](_0x2145c1))return _0x2145c1;throw new TypeError('Expected\x20integer,\x20got\x20'+typeof _0x2145c1+':\x20'+_0x2145c1);}},expectInt32=_0x463005=>expectSizedInt(_0x463005,0x20),expectSizedInt=(_0x1e4610,_0x28ff31)=>{const _0x153831=expectLong(_0x1e4610);if(void 0x0!==_0x153831&&castInt(_0x153831,_0x28ff31)!==_0x153831)throw new TypeError('Expected\x20'+_0x28ff31+'-bit\x20integer,\x20got\x20'+_0x1e4610);return _0x153831;},castInt=(_0x3b211f,_0x1616a1)=>{switch(_0x1616a1){case 0x20:return Int32Array['of'](_0x3b211f)[0x0];case 0x10:return Int16Array['of'](_0x3b211f)[0x0];case 0x8:return Int8Array['of'](_0x3b211f)[0x0];}},expectString=_0x30f128=>{if(null!=_0x30f128){if('string'==typeof _0x30f128)return _0x30f128;if(['boolean','number','bigint']['includes'](typeof _0x30f128))return logger['warn'](stackTraceWarning('Expected\x20string,\x20got\x20'+typeof _0x30f128+':\x20'+_0x30f128)),String(_0x30f128);throw new TypeError('Expected\x20string,\x20got\x20'+typeof _0x30f128+':\x20'+_0x30f128);}},stackTraceWarning=_0x33f988=>String(new TypeError(_0x33f988)['stack']||_0x33f988)['split']('\x0a')['slice'](0x0,0x5)['filter'](_0x319b59=>!_0x319b59['includes']('stackTraceWarning'))['join']('\x0a'),logger={'warn':console['warn']};class ServiceException extends Error{constructor(_0x1f0cc5){super(_0x1f0cc5['message']),Object['setPrototypeOf'](this,ServiceException['prototype']),this['name']=_0x1f0cc5['name'],this['$fault']=_0x1f0cc5['$fault'],this['$metadata']=_0x1f0cc5['$metadata'];}static['isInstance'](_0x1ea379){if(!_0x1ea379)return!0x1;const _0x25e6f9=_0x1ea379;return Boolean(_0x25e6f9['$fault'])&&Boolean(_0x25e6f9['$metadata'])&&('client'===_0x25e6f9['$fault']||'server'===_0x25e6f9['$fault']);}}const decorateServiceException=(_0xd38708,_0x5bb98b={})=>{Object['entries'](_0x5bb98b)['filter'](([,_0x17e63d])=>void 0x0!==_0x17e63d)['forEach'](([_0x9e257c,_0x3eddfc])=>{null!=_0xd38708[_0x9e257c]&&''!==_0xd38708[_0x9e257c]||(_0xd38708[_0x9e257c]=_0x3eddfc);});const _0x362882=_0xd38708['message']||_0xd38708['Message']||'UnknownError';return _0xd38708['message']=_0x362882,delete _0xd38708['Message'],_0xd38708;},throwDefaultError$1=({output:_0x463e38,parsedBody:_0x533d37,exceptionCtor:_0x237b2e,errorCode:_0x1e14c5})=>{const _0x8fe888=deserializeMetadata$1(_0x463e38),_0xe68d94=_0x8fe888['httpStatusCode']?_0x8fe888['httpStatusCode']+'':void 0x0,_0x125180=new _0x237b2e({'name':_0x533d37?.['code']||_0x533d37?.['Code']||_0x1e14c5||_0xe68d94||'UnknownError','$fault':'client','$metadata':_0x8fe888});throw decorateServiceException(_0x125180,_0x533d37);},withBaseException=_0x10ae31=>({output:_0x5a77d2,parsedBody:_0x141213,errorCode:_0x4822fd})=>{throwDefaultError$1({'output':_0x5a77d2,'parsedBody':_0x141213,'exceptionCtor':_0x10ae31,'errorCode':_0x4822fd});},deserializeMetadata$1=_0x578e93=>({'httpStatusCode':_0x578e93['statusCode'],'requestId':_0x578e93['headers']['x-amzn-requestid']??_0x578e93['headers']['x-amzn-request-id']??_0x578e93['headers']['x-amz-request-id'],'extendedRequestId':_0x578e93['headers']['x-amz-id-2'],'cfId':_0x578e93['headers']['x-amz-cf-id']}),loadConfigsForDefaultMode=_0x1408c5=>{switch(_0x1408c5){case'standard':case'cross-region':return{'retryMode':'standard','connectionTimeout':0xc1c};case'in-region':return{'retryMode':'standard','connectionTimeout':0x44c};case'mobile':return{'retryMode':'standard','connectionTimeout':0x7530};default:return{};}},getChecksumConfiguration=_0x4ad98a=>{const _0x3a6fbb=[];for(const _0x4a67e1 in AlgorithmId){const _0xa29059=AlgorithmId[_0x4a67e1];void 0x0!==_0x4ad98a[_0xa29059]&&_0x3a6fbb['push']({'algorithmId':()=>_0xa29059,'checksumConstructor':()=>_0x4ad98a[_0xa29059]});}return{'_checksumAlgorithms':_0x3a6fbb,'addChecksumAlgorithm'(_0x228b46){this['_checksumAlgorithms']['push'](_0x228b46);},'checksumAlgorithms'(){return this['_checksumAlgorithms'];}};},resolveChecksumRuntimeConfig=_0x16c359=>{const _0x34e144={};return _0x16c359['checksumAlgorithms']()['forEach'](_0x20054f=>{_0x34e144[_0x20054f['algorithmId']()]=_0x20054f['checksumConstructor']();}),_0x34e144;},getRetryConfiguration=_0x4a5ab3=>{let _0x39b772=_0x4a5ab3['retryStrategy'];return{'setRetryStrategy'(_0x432719){_0x39b772=_0x432719;},'retryStrategy':()=>_0x39b772};},resolveRetryRuntimeConfig=_0x1d2874=>{const _0x195fd4={};return _0x195fd4['retryStrategy']=_0x1d2874['retryStrategy'](),_0x195fd4;},getDefaultExtensionConfiguration=_0x31e456=>({...getChecksumConfiguration(_0x31e456),...getRetryConfiguration(_0x31e456)}),resolveDefaultRuntimeConfig=_0x4f47a7=>({...resolveChecksumRuntimeConfig(_0x4f47a7),...resolveRetryRuntimeConfig(_0x4f47a7)});class NoOpLogger{['trace'](){}['debug'](){}['info'](){}['warn'](){}['error'](){}}function map$1(_0x192de8,_0x2d25ff,_0x1f5868){let _0x24d5f4,_0x13f63e,_0x38660f;if(void 0x0===_0x2d25ff&&void 0x0===_0x1f5868)_0x24d5f4={},_0x38660f=_0x192de8;else{if(_0x24d5f4=_0x192de8,'function'==typeof _0x2d25ff)return _0x13f63e=_0x2d25ff,_0x38660f=_0x1f5868,mapWithFilter(_0x24d5f4,_0x13f63e,_0x38660f);_0x38660f=_0x2d25ff;}for(const _0x59ba5b of Object['keys'](_0x38660f))Array['isArray'](_0x38660f[_0x59ba5b])?applyInstruction(_0x24d5f4,null,_0x38660f,_0x59ba5b):_0x24d5f4[_0x59ba5b]=_0x38660f[_0x59ba5b];return _0x24d5f4;}const take=(_0xa3373a,_0x1c1031)=>{const _0x3443e8={};for(const _0x5c8faa in _0x1c1031)applyInstruction(_0x3443e8,_0xa3373a,_0x1c1031,_0x5c8faa);return _0x3443e8;},mapWithFilter=(_0x23096b,_0x2920eb,_0x1c9ac8)=>map$1(_0x23096b,Object['entries'](_0x1c9ac8)['reduce']((_0x3b46ec,[_0x1c0d82,_0x227cc6])=>(Array['isArray'](_0x227cc6)?_0x3b46ec[_0x1c0d82]=_0x227cc6:_0x3b46ec[_0x1c0d82]='function'==typeof _0x227cc6?[_0x2920eb,_0x227cc6()]:[_0x2920eb,_0x227cc6],_0x3b46ec),{})),applyInstruction=(_0x55e61b,_0x5b5d19,_0x1eed20,_0x1393d0)=>{if(null!==_0x5b5d19){let _0x91ba67=_0x1eed20[_0x1393d0];'function'==typeof _0x91ba67&&(_0x91ba67=[,_0x91ba67]);const [_0x5c7931=nonNullish,_0x240fee=pass,_0x625418=_0x1393d0]=_0x91ba67;return void(('function'==typeof _0x5c7931&&_0x5c7931(_0x5b5d19[_0x625418])||'function'!=typeof _0x5c7931&&_0x5c7931)&&(_0x55e61b[_0x1393d0]=_0x240fee(_0x5b5d19[_0x625418])));}let [_0x5582af,_0x4bcff0]=_0x1eed20[_0x1393d0];if('function'==typeof _0x4bcff0){let _0x25ec17;const _0x40f98f=void 0x0===_0x5582af&&null!=(_0x25ec17=_0x4bcff0()),_0x14afea='function'==typeof _0x5582af&&!!_0x5582af(void 0x0)||'function'!=typeof _0x5582af&&!!_0x5582af;_0x40f98f?_0x55e61b[_0x1393d0]=_0x25ec17:_0x14afea&&(_0x55e61b[_0x1393d0]=_0x4bcff0());}else{const _0x5aac5d=void 0x0===_0x5582af&&null!=_0x4bcff0,_0xe05fcb='function'==typeof _0x5582af&&!!_0x5582af(_0x4bcff0)||'function'!=typeof _0x5582af&&!!_0x5582af;(_0x5aac5d||_0xe05fcb)&&(_0x55e61b[_0x1393d0]=_0x4bcff0);}},nonNullish=_0x3bd1ee=>null!=_0x3bd1ee,pass=_0x55301c=>_0x55301c,isStreamingPayload=_0x186861=>_0x186861?.['body']instanceof ReadableStream,retryMiddleware=_0xc1b400=>(_0x160d8,_0x376091)=>async _0x2b166d=>{let _0x5613ba=await _0xc1b400['retryStrategy']();const _0x2589cc=await _0xc1b400['maxAttempts']();if(!isRetryStrategyV2(_0x5613ba))return _0x5613ba?.['mode']&&(_0x376091['userAgent']=[..._0x376091['userAgent']||[],['cfg/retry-mode',_0x5613ba['mode']]]),_0x5613ba['retry'](_0x160d8,_0x2b166d);{let _0x39e2f8=await _0x5613ba['acquireInitialRetryToken'](_0x376091['partition_id']),_0x3d4200=new Error(),_0xe4445e=0x0,_0x2de043=0x0;const {request:_0x14f761}=_0x2b166d,_0x25b0f8=HttpRequest['isInstance'](_0x14f761);for(_0x25b0f8&&(_0x14f761['headers'][INVOCATION_ID_HEADER]=v4$1());;)try{_0x25b0f8&&(_0x14f761['headers'][REQUEST_HEADER]='attempt='+(_0xe4445e+0x1)+';\x20max='+_0x2589cc);const {response:_0x4cdffe,output:_0x25e8c9}=await _0x160d8(_0x2b166d);return _0x5613ba['recordSuccess'](_0x39e2f8),_0x25e8c9['$metadata']['attempts']=_0xe4445e+0x1,_0x25e8c9['$metadata']['totalRetryDelay']=_0x2de043,{'response':_0x4cdffe,'output':_0x25e8c9};}catch(_0x56bf31){const _0x32916f=getRetryErrorInfo(_0x56bf31);if(_0x3d4200=asSdkError(_0x56bf31),_0x25b0f8&&isStreamingPayload(_0x14f761))throw(_0x376091['logger']instanceof NoOpLogger?console:_0x376091['logger'])?.['warn']('An\x20error\x20was\x20encountered\x20in\x20a\x20non-retryable\x20streaming\x20request.'),_0x3d4200;try{_0x39e2f8=await _0x5613ba['refreshRetryTokenForRetry'](_0x39e2f8,_0x32916f);}catch(_0x164326){throw _0x3d4200['$metadata']||(_0x3d4200['$metadata']={}),_0x3d4200['$metadata']['attempts']=_0xe4445e+0x1,_0x3d4200['$metadata']['totalRetryDelay']=_0x2de043,_0x3d4200;}_0xe4445e=_0x39e2f8['getRetryCount']();const _0x585130=_0x39e2f8['getRetryDelay']();_0x2de043+=_0x585130,await new Promise(_0x36f09a=>setTimeout(_0x36f09a,_0x585130));}}},isRetryStrategyV2=_0x40a0ad=>void 0x0!==_0x40a0ad['acquireInitialRetryToken']&&void 0x0!==_0x40a0ad['refreshRetryTokenForRetry']&&void 0x0!==_0x40a0ad['recordSuccess'],getRetryErrorInfo=_0x349709=>{const _0x23ff70={'error':_0x349709,'errorType':getRetryErrorType(_0x349709)},_0x1214dc=getRetryAfterHint(_0x349709['$response']);return _0x1214dc&&(_0x23ff70['retryAfterHint']=_0x1214dc),_0x23ff70;},getRetryErrorType=_0x36892c=>isThrottlingError(_0x36892c)?'THROTTLING':isTransientError(_0x36892c)?'TRANSIENT':isServerError(_0x36892c)?'SERVER_ERROR':'CLIENT_ERROR',retryMiddlewareOptions={'name':'retryMiddleware','tags':['RETRY'],'step':'finalizeRequest','priority':'high','override':!0x0},getRetryPlugin=_0x47a3ac=>({'applyToStack':_0x41e068=>{_0x41e068['add'](retryMiddleware(_0x47a3ac),retryMiddlewareOptions);}}),getRetryAfterHint=_0xd85bc9=>{if(!HttpResponse['isInstance'](_0xd85bc9))return;const _0x93b5ff=Object['keys'](_0xd85bc9['headers'])['find'](_0x3038e0=>'retry-after'===_0x3038e0['toLowerCase']());if(!_0x93b5ff)return;const _0x681b3c=_0xd85bc9['headers'][_0x93b5ff],_0x421fc6=Number(_0x681b3c);if(!Number['isNaN'](_0x421fc6))return new Date(0x3e8*_0x421fc6);return new Date(_0x681b3c);},getDateHeader=_0x5c95ea=>HttpResponse['isInstance'](_0x5c95ea)?_0x5c95ea['headers']?.['date']??_0x5c95ea['headers']?.['Date']:void 0x0,getSkewCorrectedDate=_0x134081=>new Date(Date['now']()+_0x134081),isClockSkewed=(_0x37a63e,_0x2a2e42)=>Math['abs'](getSkewCorrectedDate(_0x2a2e42)['getTime']()-_0x37a63e)>=0x493e0,getUpdatedSystemClockOffset=(_0x5333f0,_0x13ce37)=>{const _0x3636e7=Date['parse'](_0x5333f0);return isClockSkewed(_0x3636e7,_0x13ce37)?_0x3636e7-Date['now']():_0x13ce37;},throwSigningPropertyError=(_0x3db4de,_0x10e3df)=>{if(!_0x10e3df)throw new Error('Property\x20`'+_0x3db4de+'`\x20is\x20not\x20resolved\x20for\x20AWS\x20SDK\x20SigV4Auth');return _0x10e3df;},validateSigningProperties=async _0x2928dd=>{const _0x3a4279=throwSigningPropertyError('context',_0x2928dd['context']),_0x7fdf93=throwSigningPropertyError('config',_0x2928dd['config']),_0x3dd474=_0x3a4279['endpointV2']?.['properties']?.['authSchemes']?.[0x0],_0x5d6a78=throwSigningPropertyError('signer',_0x7fdf93['signer']),_0x26241d=await _0x5d6a78(_0x3dd474),_0x1e9321=_0x2928dd?.['signingRegion'],_0x11d1e8=_0x2928dd?.['signingName'];return{'config':_0x7fdf93,'signer':_0x26241d,'signingRegion':_0x1e9321,'signingName':_0x11d1e8};};class AwsSdkSigV4Signer{async['sign'](_0x594b4f,_0x5b1fbb,_0x104090){if(!HttpRequest['isInstance'](_0x594b4f))throw new Error('The\x20request\x20is\x20not\x20an\x20instance\x20of\x20`HttpRequest`\x20and\x20cannot\x20be\x20signed');const {config:_0x2d4578,signer:_0x3be29e,signingRegion:_0x24f303,signingName:_0x17feca}=await validateSigningProperties(_0x104090);return await _0x3be29e['sign'](_0x594b4f,{'signingDate':getSkewCorrectedDate(_0x2d4578['systemClockOffset']),'signingRegion':_0x24f303,'signingService':_0x17feca});}['errorHandler'](_0x388f47){return _0x4c3cc4=>{const _0xff222a=_0x4c3cc4['ServerTime']??getDateHeader(_0x4c3cc4['$response']);if(_0xff222a){const _0x2593eb=throwSigningPropertyError('config',_0x388f47['config']),_0x12cc29=_0x2593eb['systemClockOffset'];_0x2593eb['systemClockOffset']=getUpdatedSystemClockOffset(_0xff222a,_0x2593eb['systemClockOffset']),_0x2593eb['systemClockOffset']!==_0x12cc29&&_0x4c3cc4['$metadata']&&(_0x4c3cc4['$metadata']['clockSkewCorrected']=!0x0);}throw _0x4c3cc4;};}['successHandler'](_0x24f403,_0x519ca6){const _0xa35a27=getDateHeader(_0x24f403);if(_0xa35a27){const _0x24fc7a=throwSigningPropertyError('config',_0x519ca6['config']);_0x24fc7a['systemClockOffset']=getUpdatedSystemClockOffset(_0xa35a27,_0x24fc7a['systemClockOffset']);}}}const ALGORITHM_QUERY_PARAM='X-Amz-Algorithm',CREDENTIAL_QUERY_PARAM='X-Amz-Credential',AMZ_DATE_QUERY_PARAM='X-Amz-Date',SIGNED_HEADERS_QUERY_PARAM='X-Amz-SignedHeaders',EXPIRES_QUERY_PARAM='X-Amz-Expires',SIGNATURE_QUERY_PARAM='X-Amz-Signature',TOKEN_QUERY_PARAM='X-Amz-Security-Token',AUTH_HEADER='authorization',AMZ_DATE_HEADER=AMZ_DATE_QUERY_PARAM['toLowerCase'](),DATE_HEADER='date',GENERATED_HEADERS=[AUTH_HEADER,AMZ_DATE_HEADER,DATE_HEADER],SIGNATURE_HEADER=SIGNATURE_QUERY_PARAM['toLowerCase'](),SHA256_HEADER='x-amz-content-sha256',TOKEN_HEADER=TOKEN_QUERY_PARAM['toLowerCase'](),ALWAYS_UNSIGNABLE_HEADERS={'authorization':!0x0,'cache-control':!0x0,'connection':!0x0,'expect':!0x0,'from':!0x0,'keep-alive':!0x0,'max-forwards':!0x0,'pragma':!0x0,'referer':!0x0,'te':!0x0,'trailer':!0x0,'transfer-encoding':!0x0,'upgrade':!0x0,'user-agent':!0x0,'x-amzn-trace-id':!0x0},PROXY_HEADER_PATTERN=/^proxy-/,SEC_HEADER_PATTERN=/^sec-/,ALGORITHM_IDENTIFIER='AWS4-HMAC-SHA256',EVENT_ALGORITHM_IDENTIFIER='AWS4-HMAC-SHA256-PAYLOAD',UNSIGNED_PAYLOAD='UNSIGNED-PAYLOAD',MAX_CACHE_SIZE=0x32,KEY_TYPE_IDENTIFIER='aws4_request',MAX_PRESIGNED_TTL=0x93a80,signingKeyCache={},cacheQueue=[],createScope=(_0x5135be,_0x4e7476,_0x23bf1f)=>_0x5135be+'/'+_0x4e7476+'/'+_0x23bf1f+'/'+KEY_TYPE_IDENTIFIER,getSigningKey=async(_0x19c711,_0x2a5409,_0x39bafe,_0x3eae1a,_0x4d11fe)=>{const _0x26483f=_0x39bafe+':'+_0x3eae1a+':'+_0x4d11fe+':'+toHex(await hmac(_0x19c711,_0x2a5409['secretAccessKey'],_0x2a5409['accessKeyId']))+':'+_0x2a5409['sessionToken'];if(_0x26483f in signingKeyCache)return signingKeyCache[_0x26483f];for(cacheQueue['push'](_0x26483f);cacheQueue['length']>MAX_CACHE_SIZE;)delete signingKeyCache[cacheQueue['shift']()];let _0x29ec11='AWS4'+_0x2a5409['secretAccessKey'];for(const _0x4a7251 of[_0x39bafe,_0x3eae1a,_0x4d11fe,KEY_TYPE_IDENTIFIER])_0x29ec11=await hmac(_0x19c711,_0x29ec11,_0x4a7251);return signingKeyCache[_0x26483f]=_0x29ec11;},hmac=(_0x225f18,_0x5278c3,_0x5df52a)=>{const _0x5b6081=new _0x225f18(_0x5278c3);return _0x5b6081['update'](toUint8Array(_0x5df52a)),_0x5b6081['digest']();},getCanonicalHeaders=({headers:_0x743a63},_0x290edc,_0x11eede)=>{const _0xbe3fec={};for(const _0x29e73c of Object['keys'](_0x743a63)['sort']()){if(null==_0x743a63[_0x29e73c])continue;const _0x4ba838=_0x29e73c['toLowerCase']();(_0x4ba838 in ALWAYS_UNSIGNABLE_HEADERS||_0x290edc?.['has'](_0x4ba838)||PROXY_HEADER_PATTERN['test'](_0x4ba838)||SEC_HEADER_PATTERN['test'](_0x4ba838))&&(!_0x11eede||_0x11eede&&!_0x11eede['has'](_0x4ba838))||(_0xbe3fec[_0x4ba838]=_0x743a63[_0x29e73c]['trim']()['replace'](/\s+/g,'\x20'));}return _0xbe3fec;},getCanonicalQuery=({query:_0x5887cf={}})=>{const _0x945f20=[],_0x18ddab={};for(const _0x3fa1cc of Object['keys'](_0x5887cf)){if(_0x3fa1cc['toLowerCase']()===SIGNATURE_HEADER)continue;const _0x46fbc2=escapeUri(_0x3fa1cc);_0x945f20['push'](_0x46fbc2);const _0x132f73=_0x5887cf[_0x3fa1cc];'string'==typeof _0x132f73?_0x18ddab[_0x46fbc2]=_0x46fbc2+'='+escapeUri(_0x132f73):Array['isArray'](_0x132f73)&&(_0x18ddab[_0x46fbc2]=_0x132f73['slice'](0x0)['reduce']((_0x333e2a,_0x133f70)=>_0x333e2a['concat']([_0x46fbc2+'='+escapeUri(_0x133f70)]),[])['sort']()['join']('&'));}return _0x945f20['sort']()['map'](_0x19ce08=>_0x18ddab[_0x19ce08])['filter'](_0x46f1f9=>_0x46f1f9)['join']('&');},isArrayBuffer=_0x1e0fbf=>'function'==typeof ArrayBuffer&&_0x1e0fbf instanceof ArrayBuffer||'[object\x20ArrayBuffer]'===Object['prototype']['toString']['call'](_0x1e0fbf),getPayloadHash=async({headers:_0x5ac217,body:_0x432b6c},_0x57e1c0)=>{for(const _0x341b61 of Object['keys'](_0x5ac217))if(_0x341b61['toLowerCase']()===SHA256_HEADER)return _0x5ac217[_0x341b61];if(null==_0x432b6c)return'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';if('string'==typeof _0x432b6c||ArrayBuffer['isView'](_0x432b6c)||isArrayBuffer(_0x432b6c)){const _0x3c41ff=new _0x57e1c0();return _0x3c41ff['update'](toUint8Array(_0x432b6c)),toHex(await _0x3c41ff['digest']());}return UNSIGNED_PAYLOAD;};class HeaderFormatter{['format'](_0x1dccca){const _0x58e423=[];for(const _0x573ade of Object['keys'](_0x1dccca)){const _0x424e87=fromUtf8$2(_0x573ade);_0x58e423['push'](Uint8Array['from']([_0x424e87['byteLength']]),_0x424e87,this['formatHeaderValue'](_0x1dccca[_0x573ade]));}const _0xb08019=new Uint8Array(_0x58e423['reduce']((_0x8f4909,_0x39d08f)=>_0x8f4909+_0x39d08f['byteLength'],0x0));let _0x2e16e5=0x0;for(const _0x2366b2 of _0x58e423)_0xb08019['set'](_0x2366b2,_0x2e16e5),_0x2e16e5+=_0x2366b2['byteLength'];return _0xb08019;}['formatHeaderValue'](_0x287f3f){switch(_0x287f3f['type']){case'boolean':return Uint8Array['from']([_0x287f3f['value']?0x0:0x1]);case'byte':return Uint8Array['from']([0x2,_0x287f3f['value']]);case'short':const _0x1a94c3=new DataView(new ArrayBuffer(0x3));return _0x1a94c3['setUint8'](0x0,0x3),_0x1a94c3['setInt16'](0x1,_0x287f3f['value'],!0x1),new Uint8Array(_0x1a94c3['buffer']);case'integer':const _0x2f8559=new DataView(new ArrayBuffer(0x5));return _0x2f8559['setUint8'](0x0,0x4),_0x2f8559['setInt32'](0x1,_0x287f3f['value'],!0x1),new Uint8Array(_0x2f8559['buffer']);case'long':const _0x37fe91=new Uint8Array(0x9);return _0x37fe91[0x0]=0x5,_0x37fe91['set'](_0x287f3f['value']['bytes'],0x1),_0x37fe91;case'binary':const _0x399601=new DataView(new ArrayBuffer(0x3+_0x287f3f['value']['byteLength']));_0x399601['setUint8'](0x0,0x6),_0x399601['setUint16'](0x1,_0x287f3f['value']['byteLength'],!0x1);const _0x2f4694=new Uint8Array(_0x399601['buffer']);return _0x2f4694['set'](_0x287f3f['value'],0x3),_0x2f4694;case'string':const _0x4b2712=fromUtf8$2(_0x287f3f['value']),_0x6a6d96=new DataView(new ArrayBuffer(0x3+_0x4b2712['byteLength']));_0x6a6d96['setUint8'](0x0,0x7),_0x6a6d96['setUint16'](0x1,_0x4b2712['byteLength'],!0x1);const _0x4d9c7a=new Uint8Array(_0x6a6d96['buffer']);return _0x4d9c7a['set'](_0x4b2712,0x3),_0x4d9c7a;case'timestamp':const _0x40486b=new Uint8Array(0x9);return _0x40486b[0x0]=0x8,_0x40486b['set'](Int64$1['fromNumber'](_0x287f3f['value']['valueOf']())['bytes'],0x1),_0x40486b;case'uuid':if(!UUID_PATTERN$1['test'](_0x287f3f['value']))throw new Error('Invalid\x20UUID\x20received:\x20'+_0x287f3f['value']);const _0xc7f141=new Uint8Array(0x11);return _0xc7f141[0x0]=0x9,_0xc7f141['set'](fromHex(_0x287f3f['value']['replace'](/\-/g,'')),0x1),_0xc7f141;}}}var HEADER_VALUE_TYPE$1;!function(_0xc30a24){_0xc30a24[_0xc30a24['boolTrue']=0x0]='boolTrue',_0xc30a24[_0xc30a24['boolFalse']=0x1]='boolFalse',_0xc30a24[_0xc30a24['byte']=0x2]='byte',_0xc30a24[_0xc30a24['short']=0x3]='short',_0xc30a24[_0xc30a24['integer']=0x4]='integer',_0xc30a24[_0xc30a24['long']=0x5]='long',_0xc30a24[_0xc30a24['byteArray']=0x6]='byteArray',_0xc30a24[_0xc30a24['string']=0x7]='string',_0xc30a24[_0xc30a24['timestamp']=0x8]='timestamp',_0xc30a24[_0xc30a24['uuid']=0x9]='uuid';}(HEADER_VALUE_TYPE$1||(HEADER_VALUE_TYPE$1={}));const UUID_PATTERN$1=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;let Int64$1=class e{constructor(_0x14e0f9){if(this['bytes']=_0x14e0f9,0x8!==_0x14e0f9['byteLength'])throw new Error('Int64\x20buffers\x20must\x20be\x20exactly\x208\x20bytes');}static['fromNumber'](_0xca2add){if(_0xca2add>0x8000000000000000||_0xca2add<-0x8000000000000000)throw new Error(_0xca2add+'\x20is\x20too\x20large\x20(or,\x20if\x20negative,\x20too\x20small)\x20to\x20represent\x20as\x20an\x20Int64');const _0x1451b5=new Uint8Array(0x8);for(let _0x37ebc3=0x7,_0x43711c=Math['abs'](Math['round'](_0xca2add));_0x37ebc3>-0x1&&_0x43711c>0x0;_0x37ebc3--,_0x43711c/=0x100)_0x1451b5[_0x37ebc3]=_0x43711c;return _0xca2add<0x0&&negate$1(_0x1451b5),new e(_0x1451b5);}['valueOf'](){const _0x38fd8e=this['bytes']['slice'](0x0),_0x34994f=0x80&_0x38fd8e[0x0];return _0x34994f&&negate$1(_0x38fd8e),parseInt(toHex(_0x38fd8e),0x10)*(_0x34994f?-0x1:0x1);}['toString'](){return String(this['valueOf']());}};function negate$1(_0x2ec7eb){for(let _0xbdf718=0x0;_0xbdf718<0x8;_0xbdf718++)_0x2ec7eb[_0xbdf718]^=0xff;for(let _0xf6b152=0x7;_0xf6b152>-0x1&&(_0x2ec7eb[_0xf6b152]++,0x0===_0x2ec7eb[_0xf6b152]);_0xf6b152--);}const hasHeader=(_0x49e0d1,_0x363ed9)=>{_0x49e0d1=_0x49e0d1['toLowerCase']();for(const _0x3e91d0 of Object['keys'](_0x363ed9))if(_0x49e0d1===_0x3e91d0['toLowerCase']())return!0x0;return!0x1;},moveHeadersToQuery=(_0x4d20fa,_0x3bf37a={})=>{const {headers:_0x392f53,query:_0x3657f1={}}=HttpRequest['clone'](_0x4d20fa);for(const _0x28805c of Object['keys'](_0x392f53)){const _0x38911b=_0x28805c['toLowerCase']();('x-amz-'===_0x38911b['slice'](0x0,0x6)&&!_0x3bf37a['unhoistableHeaders']?.['has'](_0x38911b)||_0x3bf37a['hoistableHeaders']?.['has'](_0x38911b))&&(_0x3657f1[_0x28805c]=_0x392f53[_0x28805c],delete _0x392f53[_0x28805c]);}return{..._0x4d20fa,'headers':_0x392f53,'query':_0x3657f1};},prepareRequest=_0x4c8fd1=>{_0x4c8fd1=HttpRequest['clone'](_0x4c8fd1);for(const _0x32f445 of Object['keys'](_0x4c8fd1['headers']))GENERATED_HEADERS['indexOf'](_0x32f445['toLowerCase']())>-0x1&&delete _0x4c8fd1['headers'][_0x32f445];return _0x4c8fd1;},iso8601=_0x491c33=>toDate(_0x491c33)['toISOString']()['replace'](/\.\d{3}Z$/,'Z'),toDate=_0x14130d=>'number'==typeof _0x14130d?new Date(0x3e8*_0x14130d):'string'==typeof _0x14130d?Number(_0x14130d)?new Date(0x3e8*Number(_0x14130d)):new Date(_0x14130d):_0x14130d;class SignatureV4{constructor({applyChecksum:_0x2e760a,credentials:_0x46afa2,region:_0x2e4214,service:_0x1b639a,sha256:_0x5ba722,uriEscapePath:_0x2ab48b=!0x0}){this['headerFormatter']=new HeaderFormatter(),this['service']=_0x1b639a,this['sha256']=_0x5ba722,this['uriEscapePath']=_0x2ab48b,this['applyChecksum']='boolean'!=typeof _0x2e760a||_0x2e760a,this['regionProvider']=normalizeProvider$1(_0x2e4214),this['credentialProvider']=normalizeProvider$1(_0x46afa2);}async['presign'](_0x59d866,_0x471ae8={}){const {signingDate:_0x1a28b5=new Date(),expiresIn:_0x377d80=0xe10,unsignableHeaders:_0x62aa59,unhoistableHeaders:_0x402981,signableHeaders:_0x190732,hoistableHeaders:_0x36f55e,signingRegion:_0x388188,signingService:_0x52bca9}=_0x471ae8,_0x4144d4=await this['credentialProvider']();this['validateResolvedCredentials'](_0x4144d4);const _0x4b0766=_0x388188??await this['regionProvider'](),{longDate:_0x402f9b,shortDate:_0x617be8}=formatDate(_0x1a28b5);if(_0x377d80>MAX_PRESIGNED_TTL)return Promise['reject']('Signature\x20version\x204\x20presigned\x20URLs\x20must\x20have\x20an\x20expiration\x20date\x20less\x20than\x20one\x20week\x20in\x20the\x20future');const _0x22712f=createScope(_0x617be8,_0x4b0766,_0x52bca9??this['service']),_0x5b3eec=moveHeadersToQuery(prepareRequest(_0x59d866),{'unhoistableHeaders':_0x402981,'hoistableHeaders':_0x36f55e});_0x4144d4['sessionToken']&&(_0x5b3eec['query'][TOKEN_QUERY_PARAM]=_0x4144d4['sessionToken']),_0x5b3eec['query'][ALGORITHM_QUERY_PARAM]=ALGORITHM_IDENTIFIER,_0x5b3eec['query'][CREDENTIAL_QUERY_PARAM]=_0x4144d4['accessKeyId']+'/'+_0x22712f,_0x5b3eec['query'][AMZ_DATE_QUERY_PARAM]=_0x402f9b,_0x5b3eec['query'][EXPIRES_QUERY_PARAM]=_0x377d80['toString'](0xa);const _0x588a9a=getCanonicalHeaders(_0x5b3eec,_0x62aa59,_0x190732);return _0x5b3eec['query'][SIGNED_HEADERS_QUERY_PARAM]=getCanonicalHeaderList(_0x588a9a),_0x5b3eec['query'][SIGNATURE_QUERY_PARAM]=await this['getSignature'](_0x402f9b,_0x22712f,this['getSigningKey'](_0x4144d4,_0x4b0766,_0x617be8,_0x52bca9),this['createCanonicalRequest'](_0x5b3eec,_0x588a9a,await getPayloadHash(_0x59d866,this['sha256']))),_0x5b3eec;}async['sign'](_0x5c226c,_0x53c7d8){return'string'==typeof _0x5c226c?this['signString'](_0x5c226c,_0x53c7d8):_0x5c226c['headers']&&_0x5c226c['payload']?this['signEvent'](_0x5c226c,_0x53c7d8):_0x5c226c['message']?this['signMessage'](_0x5c226c,_0x53c7d8):this['signRequest'](_0x5c226c,_0x53c7d8);}async['signEvent']({headers:_0x56a374,payload:_0x4f8e9a},{signingDate:_0x261c2b=new Date(),priorSignature:_0x526203,signingRegion:_0x5af88e,signingService:_0x2d48d1}){const _0x4fc9cb=_0x5af88e??await this['regionProvider'](),{shortDate:_0x3f2a9f,longDate:_0x3e59fa}=formatDate(_0x261c2b),_0x4c76d5=createScope(_0x3f2a9f,_0x4fc9cb,_0x2d48d1??this['service']),_0x4f2fba=await getPayloadHash({'headers':{},'body':_0x4f8e9a},this['sha256']),_0x5ce31f=new this['sha256']();_0x5ce31f['update'](_0x56a374);const _0x46a069=toHex(await _0x5ce31f['digest']()),_0x383817=[EVENT_ALGORITHM_IDENTIFIER,_0x3e59fa,_0x4c76d5,_0x526203,_0x46a069,_0x4f2fba]['join']('\x0a');return this['signString'](_0x383817,{'signingDate':_0x261c2b,'signingRegion':_0x4fc9cb,'signingService':_0x2d48d1});}async['signMessage'](_0x1e21db,{signingDate:_0x48ff8b=new Date(),signingRegion:_0x170ff9,signingService:_0x361040}){return this['signEvent']({'headers':this['headerFormatter']['format'](_0x1e21db['message']['headers']),'payload':_0x1e21db['message']['body']},{'signingDate':_0x48ff8b,'signingRegion':_0x170ff9,'signingService':_0x361040,'priorSignature':_0x1e21db['priorSignature']})['then'](_0x2b1799=>({'message':_0x1e21db['message'],'signature':_0x2b1799}));}async['signString'](_0x3f1573,{signingDate:_0x2188b0=new Date(),signingRegion:_0x421169,signingService:_0x29d39f}={}){const _0x45b512=await this['credentialProvider']();this['validateResolvedCredentials'](_0x45b512);const _0x39d713=_0x421169??await this['regionProvider'](),{shortDate:_0x46f3ad}=formatDate(_0x2188b0),_0x5977d3=new this['sha256'](await this['getSigningKey'](_0x45b512,_0x39d713,_0x46f3ad,_0x29d39f));return _0x5977d3['update'](toUint8Array(_0x3f1573)),toHex(await _0x5977d3['digest']());}async['signRequest'](_0x3c8d96,{signingDate:_0x29bdde=new Date(),signableHeaders:_0x1b1b43,unsignableHeaders:_0x562254,signingRegion:_0x442b7c,signingService:_0x50c73e}={}){const _0x10f31e=await this['credentialProvider']();this['validateResolvedCredentials'](_0x10f31e);const _0x8d9105=_0x442b7c??await this['regionProvider'](),_0x2682b5=prepareRequest(_0x3c8d96),{longDate:_0x41dfa9,shortDate:_0x2cab1b}=formatDate(_0x29bdde),_0x411792=createScope(_0x2cab1b,_0x8d9105,_0x50c73e??this['service']);_0x2682b5['headers'][AMZ_DATE_HEADER]=_0x41dfa9,_0x10f31e['sessionToken']&&(_0x2682b5['headers'][TOKEN_HEADER]=_0x10f31e['sessionToken']);const _0x247162=await getPayloadHash(_0x2682b5,this['sha256']);!hasHeader(SHA256_HEADER,_0x2682b5['headers'])&&this['applyChecksum']&&(_0x2682b5['headers'][SHA256_HEADER]=_0x247162);const _0x5db6bb=getCanonicalHeaders(_0x2682b5,_0x562254,_0x1b1b43),_0x3f9d0f=await this['getSignature'](_0x41dfa9,_0x411792,this['getSigningKey'](_0x10f31e,_0x8d9105,_0x2cab1b,_0x50c73e),this['createCanonicalRequest'](_0x2682b5,_0x5db6bb,_0x247162));return _0x2682b5['headers'][AUTH_HEADER]=ALGORITHM_IDENTIFIER+'\x20Credential='+_0x10f31e['accessKeyId']+'/'+_0x411792+',\x20SignedHeaders='+getCanonicalHeaderList(_0x5db6bb)+',\x20Signature='+_0x3f9d0f,_0x2682b5;}['createCanonicalRequest'](_0x48975a,_0x298e59,_0x349ad0){const _0x1726f1=Object['keys'](_0x298e59)['sort']();return _0x48975a['method']+'\x0a'+this['getCanonicalPath'](_0x48975a)+'\x0a'+getCanonicalQuery(_0x48975a)+'\x0a'+_0x1726f1['map'](_0x4c38b1=>_0x4c38b1+':'+_0x298e59[_0x4c38b1])['join']('\x0a')+'\x0a\x0a'+_0x1726f1['join'](';')+'\x0a'+_0x349ad0;}async['createStringToSign'](_0x35182c,_0x30fa4c,_0x4a64bf){const _0x27f2ec=new this['sha256']();_0x27f2ec['update'](toUint8Array(_0x4a64bf));const _0x49cce9=await _0x27f2ec['digest']();return ALGORITHM_IDENTIFIER+'\x0a'+_0x35182c+'\x0a'+_0x30fa4c+'\x0a'+toHex(_0x49cce9);}['getCanonicalPath']({path:_0x247e82}){if(this['uriEscapePath']){const _0x37c1c6=[];for(const _0x4b0e78 of _0x247e82['split']('/'))0x0!==_0x4b0e78?.['length']&&'.'!==_0x4b0e78&&('..'===_0x4b0e78?_0x37c1c6['pop']():_0x37c1c6['push'](_0x4b0e78));const _0x517f63=''+(_0x247e82?.['startsWith']('/')?'/':'')+_0x37c1c6['join']('/')+(_0x37c1c6['length']>0x0&&_0x247e82?.['endsWith']('/')?'/':'');return escapeUri(_0x517f63)['replace'](/%2F/g,'/');}return _0x247e82;}async['getSignature'](_0x210960,_0x1f7ebe,_0x4d19b0,_0x3cfa44){const _0x521914=await this['createStringToSign'](_0x210960,_0x1f7ebe,_0x3cfa44),_0x5ad036=new this['sha256'](await _0x4d19b0);return _0x5ad036['update'](toUint8Array(_0x521914)),toHex(await _0x5ad036['digest']());}['getSigningKey'](_0x16d575,_0x494e82,_0x4f3365,_0xcb045e){return getSigningKey(this['sha256'],_0x16d575,_0x4f3365,_0x494e82,_0xcb045e||this['service']);}['validateResolvedCredentials'](_0x46a499){if('object'!=typeof _0x46a499||'string'!=typeof _0x46a499['accessKeyId']||'string'!=typeof _0x46a499['secretAccessKey'])throw new Error('Resolved\x20credential\x20object\x20is\x20not\x20valid');}}const formatDate=_0x3ee75c=>{const _0x2c7109=iso8601(_0x3ee75c)['replace'](/[\-:]/g,'');return{'longDate':_0x2c7109,'shortDate':_0x2c7109['slice'](0x0,0x8)};},getCanonicalHeaderList=_0x340e54=>Object['keys'](_0x340e54)['sort']()['join'](';'),resolveAwsSdkSigV4Config=_0x3514e2=>{let _0x5b542a;_0x3514e2['credentials']&&(_0x5b542a=memoizeIdentityProvider(_0x3514e2['credentials'],isIdentityExpired,doesIdentityRequireRefresh)),_0x5b542a||(_0x5b542a=_0x3514e2['credentialDefaultProvider']?normalizeProvider(_0x3514e2['credentialDefaultProvider'](Object['assign']({},_0x3514e2,{'parentClientConfig':_0x3514e2}))):async()=>{throw new Error('`credentials`\x20is\x20missing');});const {signingEscapePath:_0x193532=!0x0,systemClockOffset:_0x275326=_0x3514e2['systemClockOffset']||0x0,sha256:_0x4cdb06}=_0x3514e2;let _0x53d142;return _0x53d142=_0x3514e2['signer']?normalizeProvider(_0x3514e2['signer']):_0x3514e2['regionInfoProvider']?()=>normalizeProvider(_0x3514e2['region'])()['then'](async _0x5500ca=>[await _0x3514e2['regionInfoProvider'](_0x5500ca,{'useFipsEndpoint':await _0x3514e2['useFipsEndpoint'](),'useDualstackEndpoint':await _0x3514e2['useDualstackEndpoint']()})||{},_0x5500ca])['then'](([_0x3620da,_0x372a16])=>{const {signingRegion:_0x289feb,signingService:_0x2a35e4}=_0x3620da;_0x3514e2['signingRegion']=_0x3514e2['signingRegion']||_0x289feb||_0x372a16,_0x3514e2['signingName']=_0x3514e2['signingName']||_0x2a35e4||_0x3514e2['serviceId'];const _0x3b13bf={..._0x3514e2,'credentials':_0x5b542a,'region':_0x3514e2['signingRegion'],'service':_0x3514e2['signingName'],'sha256':_0x4cdb06,'uriEscapePath':_0x193532};return new(_0x3514e2['signerConstructor']||SignatureV4)(_0x3b13bf);}):async _0x4bd79f=>{const _0xdb143c=(_0x4bd79f=Object['assign']({},{'name':'sigv4','signingName':_0x3514e2['signingName']||_0x3514e2['defaultSigningName'],'signingRegion':await normalizeProvider(_0x3514e2['region'])(),'properties':{}},_0x4bd79f))['signingRegion'],_0x2ea811=_0x4bd79f['signingName'];_0x3514e2['signingRegion']=_0x3514e2['signingRegion']||_0xdb143c,_0x3514e2['signingName']=_0x3514e2['signingName']||_0x2ea811||_0x3514e2['serviceId'];const _0x3b1676={..._0x3514e2,'credentials':_0x5b542a,'region':_0x3514e2['signingRegion'],'service':_0x3514e2['signingName'],'sha256':_0x4cdb06,'uriEscapePath':_0x193532};return new(_0x3514e2['signerConstructor']||SignatureV4)(_0x3b1676);},{..._0x3514e2,'systemClockOffset':_0x275326,'signingEscapePath':_0x193532,'credentials':_0x5b542a,'signer':_0x53d142};},collectBodyString=(_0x195e97,_0x388a68)=>collectBody(_0x195e97,_0x388a68)['then'](_0x2d49db=>_0x388a68['utf8Encoder'](_0x2d49db)),parseJsonBody=(_0x51e80a,_0x4915e8)=>collectBodyString(_0x51e80a,_0x4915e8)['then'](_0x53d5a2=>{if(_0x53d5a2['length'])try{return JSON['parse'](_0x53d5a2);}catch(_0x25d32a){throw'SyntaxError'===_0x25d32a?.['name']&&Object['defineProperty'](_0x25d32a,'$responseBodyText',{'value':_0x53d5a2}),_0x25d32a;}return{};}),parseJsonErrorBody=async(_0x434cbf,_0x2412bb)=>{const _0x467f1b=await parseJsonBody(_0x434cbf,_0x2412bb);return _0x467f1b['message']=_0x467f1b['message']??_0x467f1b['Message'],_0x467f1b;},loadRestJsonErrorCode=(_0x51947f,_0x4c9f3c)=>{const _0xba325d=_0x1847e9=>{let _0x36c6de=_0x1847e9;return'number'==typeof _0x36c6de&&(_0x36c6de=_0x36c6de['toString']()),_0x36c6de['indexOf'](',')>=0x0&&(_0x36c6de=_0x36c6de['split'](',')[0x0]),_0x36c6de['indexOf'](':')>=0x0&&(_0x36c6de=_0x36c6de['split'](':')[0x0]),_0x36c6de['indexOf']('#')>=0x0&&(_0x36c6de=_0x36c6de['split']('#')[0x1]),_0x36c6de;},_0x3a1b71=(_0x1c2be6=_0x51947f['headers'],_0x45592d='x-amzn-errortype',Object['keys'](_0x1c2be6)['find'](_0x12e3aa=>_0x12e3aa['toLowerCase']()===_0x45592d['toLowerCase']()));var _0x1c2be6,_0x45592d;return void 0x0!==_0x3a1b71?_0xba325d(_0x51947f['headers'][_0x3a1b71]):void 0x0!==_0x4c9f3c['code']?_0xba325d(_0x4c9f3c['code']):void 0x0!==_0x4c9f3c['__type']?_0xba325d(_0x4c9f3c['__type']):void 0x0;},defaultBedrockRuntimeHttpAuthSchemeParametersProvider=async(_0x1e8b3b,_0x32499f,_0xaafd57)=>({'operation':getSmithyContext(_0x32499f)['operation'],'region':await normalizeProvider$1(_0x1e8b3b['region'])()||((()=>{throw new Error('expected\x20`region`\x20to\x20be\x20configured\x20for\x20`aws.auth#sigv4`');})())});function createAwsAuthSigv4HttpAuthOption(_0x3763ae){return{'schemeId':'aws.auth#sigv4','signingProperties':{'name':'bedrock','region':_0x3763ae['region']},'propertiesExtractor':(_0x5b5286,_0x13c6e7)=>({'signingProperties':{'config':_0x5b5286,'context':_0x13c6e7}})};}const defaultBedrockRuntimeHttpAuthSchemeProvider=_0x45a2e6=>{const _0x11bdd6=[];return _0x45a2e6['operation'],_0x11bdd6['push'](createAwsAuthSigv4HttpAuthOption(_0x45a2e6)),_0x11bdd6;},resolveHttpAuthSchemeConfig=_0x169cf7=>({...resolveAwsSdkSigV4Config(_0x169cf7)}),resolveClientEndpointParameters=_0x274f98=>({..._0x274f98,'useDualstackEndpoint':_0x274f98['useDualstackEndpoint']??!0x1,'useFipsEndpoint':_0x274f98['useFipsEndpoint']??!0x1,'defaultSigningName':'bedrock'}),commonParams={'UseFIPS':{'type':'builtInParams','name':'useFipsEndpoint'},'Endpoint':{'type':'builtInParams','name':'endpoint'},'Region':{'type':'builtInParams','name':'region'},'UseDualStack':{'type':'builtInParams','name':'useDualstackEndpoint'}};var version$2='3.621.0',packageInfo={'version':version$2};const fromUtf8$1=_0x19d748=>new TextEncoder()['encode'](_0x19d748);var fromUtf8='undefined'!=typeof Buffer&&Buffer['from']?function(_0x29fa1e){return Buffer['from'](_0x29fa1e,'utf8');}:fromUtf8$1;function convertToBuffer(_0x5d6609){return _0x5d6609 instanceof Uint8Array?_0x5d6609:'string'==typeof _0x5d6609?fromUtf8(_0x5d6609):ArrayBuffer['isView'](_0x5d6609)?new Uint8Array(_0x5d6609['buffer'],_0x5d6609['byteOffset'],_0x5d6609['byteLength']/Uint8Array['BYTES_PER_ELEMENT']):new Uint8Array(_0x5d6609);}function isEmptyData(_0x2d8f6f){return'string'==typeof _0x2d8f6f?0x0===_0x2d8f6f['length']:0x0===_0x2d8f6f['byteLength'];}function uint32ArrayFrom(_0x5283e7){if(!Uint32Array['from']){for(var _0x56f865=new Uint32Array(_0x5283e7['length']),_0x3ea10f=0x0;_0x3ea10f<_0x5283e7['length'];)_0x56f865[_0x3ea10f]=_0x5283e7[_0x3ea10f],_0x3ea10f+=0x1;return _0x56f865;}return Uint32Array['from'](_0x5283e7);}var SHA_256_HASH={'name':'SHA-256'},SHA_256_HMAC_ALGO={'name':'HMAC','hash':SHA_256_HASH},EMPTY_DATA_SHA_256=new Uint8Array([0xe3,0xb0,0xc4,0x42,0x98,0xfc,0x1c,0x14,0x9a,0xfb,0xf4,0xc8,0x99,0x6f,0xb9,0x24,0x27,0xae,0x41,0xe4,0x64,0x9b,0x93,0x4c,0xa4,0x95,0x99,0x1b,0x78,0x52,0xb8,0x55]);const fallbackWindow={};function locateWindow(){return'undefined'!=typeof window?window:'undefined'!=typeof self?self:fallbackWindow;}var Sha256$2=(function(){function _0x5dd137(_0x4ab495){this['toHash']=new Uint8Array(0x0),this['secret']=_0x4ab495,this['reset']();}return _0x5dd137['prototype']['update']=function(_0x2a5f49){if(!isEmptyData(_0x2a5f49)){var _0x5cb3d8=convertToBuffer(_0x2a5f49),_0x102cc8=new Uint8Array(this['toHash']['byteLength']+_0x5cb3d8['byteLength']);_0x102cc8['set'](this['toHash'],0x0),_0x102cc8['set'](_0x5cb3d8,this['toHash']['byteLength']),this['toHash']=_0x102cc8;}},_0x5dd137['prototype']['digest']=function(){var _0x572e98=this;return this['key']?this['key']['then'](function(_0x54f727){return locateWindow()['crypto']['subtle']['sign'](SHA_256_HMAC_ALGO,_0x54f727,_0x572e98['toHash'])['then'](function(_0x446b31){return new Uint8Array(_0x446b31);});}):isEmptyData(this['toHash'])?Promise['resolve'](EMPTY_DATA_SHA_256):Promise['resolve']()['then'](function(){return locateWindow()['crypto']['subtle']['digest'](SHA_256_HASH,_0x572e98['toHash']);})['then'](function(_0x22bc7c){return Promise['resolve'](new Uint8Array(_0x22bc7c));});},_0x5dd137['prototype']['reset']=function(){var _0xbba11e=this;this['toHash']=new Uint8Array(0x0),this['secret']&&void 0x0!==this['secret']&&(this['key']=new Promise(function(_0x24eaf4,_0x1fb365){locateWindow()['crypto']['subtle']['importKey']('raw',convertToBuffer(_0xbba11e['secret']),SHA_256_HMAC_ALGO,!0x1,['sign'])['then'](_0x24eaf4,_0x1fb365);}),this['key']['catch'](function(){}));},_0x5dd137;}());function __awaiter(_0x408814,_0x1ea0dd,_0x433dbc,_0x53bff8){return new(_0x433dbc||(_0x433dbc=Promise))(function(_0x1ac05b,_0x2ca303){function _0x4693ed(_0x2643b1){try{_0x4f1365(_0x53bff8['next'](_0x2643b1));}catch(_0x5b6fc3){_0x2ca303(_0x5b6fc3);}}function _0x594422(_0x1d7906){try{_0x4f1365(_0x53bff8['throw'](_0x1d7906));}catch(_0x2b8a69){_0x2ca303(_0x2b8a69);}}function _0x4f1365(_0x29934a){_0x29934a['done']?_0x1ac05b(_0x29934a['value']):function(_0x4333a4){return _0x4333a4 instanceof _0x433dbc?_0x4333a4:new _0x433dbc(function(_0x7a3c4a){_0x7a3c4a(_0x4333a4);});}(_0x29934a['value'])['then'](_0x4693ed,_0x594422);}_0x4f1365((_0x53bff8=_0x53bff8['apply'](_0x408814,_0x1ea0dd||[]))['next']());});}function __generator(_0x2d4a24,_0x16378c){var _0x24b2cc,_0x45c5b7,t,_0x30f46e={'label':0x0,'sent':function(){if(0x1&t[0x0])throw t[0x1];return t[0x1];},'trys':[],'ops':[]},_0x35e5a4=Object['create'](('function'==typeof Iterator?Iterator:Object)['prototype']);return _0x35e5a4['next']=_0x586b28(0x0),_0x35e5a4['throw']=_0x586b28(0x1),_0x35e5a4['return']=_0x586b28(0x2),'function'==typeof Symbol&&(_0x35e5a4[Symbol['iterator']]=function(){return this;}),_0x35e5a4;function _0x586b28(_0x760673){return function(_0x451863){return function(_0x1c0d2c){if(_0x24b2cc)throw new TypeError('Generator\x20is\x20already\x20executing.');for(;_0x35e5a4&&(_0x35e5a4=0x0,_0x1c0d2c[0x0]&&(_0x30f46e=0x0)),_0x30f46e;)try{if(_0x24b2cc=0x1,_0x45c5b7&&(t=0x2&_0x1c0d2c[0x0]?_0x45c5b7['return']:_0x1c0d2c[0x0]?_0x45c5b7['throw']||((t=_0x45c5b7['return'])&&t['call'](_0x45c5b7),0x0):_0x45c5b7['next'])&&!(t=t['call'](_0x45c5b7,_0x1c0d2c[0x1]))['done'])return t;switch(_0x45c5b7=0x0,t&&(_0x1c0d2c=[0x2&_0x1c0d2c[0x0],t['value']]),_0x1c0d2c[0x0]){case 0x0:case 0x1:t=_0x1c0d2c;break;case 0x4:return _0x30f46e['label']++,{'value':_0x1c0d2c[0x1],'done':!0x1};case 0x5:_0x30f46e['label']++,_0x45c5b7=_0x1c0d2c[0x1],_0x1c0d2c=[0x0];continue;case 0x7:_0x1c0d2c=_0x30f46e['ops']['pop'](),_0x30f46e['trys']['pop']();continue;default:if(!(t=_0x30f46e['trys'],(t=t['length']>0x0&&t[t['length']-0x1])||0x6!==_0x1c0d2c[0x0]&&0x2!==_0x1c0d2c[0x0])){_0x30f46e=0x0;continue;}if(0x3===_0x1c0d2c[0x0]&&(!t||_0x1c0d2c[0x1]>t[0x0]&&_0x1c0d2c[0x1]<t[0x3])){_0x30f46e['label']=_0x1c0d2c[0x1];break;}if(0x6===_0x1c0d2c[0x0]&&_0x30f46e['label']<t[0x1]){_0x30f46e['label']=t[0x1],t=_0x1c0d2c;break;}if(t&&_0x30f46e['label']<t[0x2]){_0x30f46e['label']=t[0x2],_0x30f46e['ops']['push'](_0x1c0d2c);break;}t[0x2]&&_0x30f46e['ops']['pop'](),_0x30f46e['trys']['pop']();continue;}_0x1c0d2c=_0x16378c['call'](_0x2d4a24,_0x30f46e);}catch(_0x484bf0){_0x1c0d2c=[0x6,_0x484bf0],_0x45c5b7=0x0;}finally{_0x24b2cc=t=0x0;}if(0x5&_0x1c0d2c[0x0])throw _0x1c0d2c[0x1];return{'value':_0x1c0d2c[0x0]?_0x1c0d2c[0x1]:void 0x0,'done':!0x0};}([_0x760673,_0x451863]);};}}function __values(_0x444441){var _0x267258='function'==typeof Symbol&&Symbol['iterator'],_0x4928c7=_0x267258&&_0x444441[_0x267258],_0x3e28b9=0x0;if(_0x4928c7)return _0x4928c7['call'](_0x444441);if(_0x444441&&'number'==typeof _0x444441['length'])return{'next':function(){return _0x444441&&_0x3e28b9>=_0x444441['length']&&(_0x444441=void 0x0),{'value':_0x444441&&_0x444441[_0x3e28b9++],'done':!_0x444441};}};throw new TypeError(_0x267258?'Object\x20is\x20not\x20iterable.':'Symbol.iterator\x20is\x20not\x20defined.');}'function'==typeof SuppressedError&&SuppressedError;var BLOCK_SIZE=0x40,DIGEST_LENGTH=0x20,KEY=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),INIT=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],MAX_HASHABLE_LENGTH=Math['pow'](0x2,0x35)-0x1,RawSha256=(function(){function _0x3c64b5(){this['state']=Int32Array['from'](INIT),this['temp']=new Int32Array(0x40),this['buffer']=new Uint8Array(0x40),this['bufferLength']=0x0,this['bytesHashed']=0x0,this['finished']=!0x1;}return _0x3c64b5['prototype']['update']=function(_0x18a188){if(this['finished'])throw new Error('Attempted\x20to\x20update\x20an\x20already\x20finished\x20hash.');var _0x2a54ac=0x0,_0x13b573=_0x18a188['byteLength'];if(this['bytesHashed']+=_0x13b573,0x8*this['bytesHashed']>MAX_HASHABLE_LENGTH)throw new Error('Cannot\x20hash\x20more\x20than\x202^53\x20-\x201\x20bits');for(;_0x13b573>0x0;)this['buffer'][this['bufferLength']++]=_0x18a188[_0x2a54ac++],_0x13b573--,this['bufferLength']===BLOCK_SIZE&&(this['hashBuffer'](),this['bufferLength']=0x0);},_0x3c64b5['prototype']['digest']=function(){if(!this['finished']){var _0x3b7a1c=0x8*this['bytesHashed'],_0x3c699d=new DataView(this['buffer']['buffer'],this['buffer']['byteOffset'],this['buffer']['byteLength']),_0x302546=this['bufferLength'];if(_0x3c699d['setUint8'](this['bufferLength']++,0x80),_0x302546%BLOCK_SIZE>=BLOCK_SIZE-0x8){for(var _0x3a685d=this['bufferLength'];_0x3a685d<BLOCK_SIZE;_0x3a685d++)_0x3c699d['setUint8'](_0x3a685d,0x0);this['hashBuffer'](),this['bufferLength']=0x0;}for(_0x3a685d=this['bufferLength'];_0x3a685d<BLOCK_SIZE-0x8;_0x3a685d++)_0x3c699d['setUint8'](_0x3a685d,0x0);_0x3c699d['setUint32'](BLOCK_SIZE-0x8,Math['floor'](_0x3b7a1c/0x100000000),!0x0),_0x3c699d['setUint32'](BLOCK_SIZE-0x4,_0x3b7a1c),this['hashBuffer'](),this['finished']=!0x0;}var _0x35b70f=new Uint8Array(DIGEST_LENGTH);for(_0x3a685d=0x0;_0x3a685d<0x8;_0x3a685d++)_0x35b70f[0x4*_0x3a685d]=this['state'][_0x3a685d]>>>0x18&0xff,_0x35b70f[0x4*_0x3a685d+0x1]=this['state'][_0x3a685d]>>>0x10&0xff,_0x35b70f[0x4*_0x3a685d+0x2]=this['state'][_0x3a685d]>>>0x8&0xff,_0x35b70f[0x4*_0x3a685d+0x3]=this['state'][_0x3a685d]>>>0x0&0xff;return _0x35b70f;},_0x3c64b5['prototype']['hashBuffer']=function(){for(var _0x1defa0=this['buffer'],_0x37d221=this['state'],_0x21b2dc=_0x37d221[0x0],_0x505cd3=_0x37d221[0x1],_0x2a8989=_0x37d221[0x2],_0x4566f0=_0x37d221[0x3],_0x57f2a0=_0x37d221[0x4],_0xfb85d0=_0x37d221[0x5],_0x4d6eab=_0x37d221[0x6],_0x5ae612=_0x37d221[0x7],_0x253b81=0x0;_0x253b81<BLOCK_SIZE;_0x253b81++){if(_0x253b81<0x10)this['temp'][_0x253b81]=(0xff&_0x1defa0[0x4*_0x253b81])<<0x18|(0xff&_0x1defa0[0x4*_0x253b81+0x1])<<0x10|(0xff&_0x1defa0[0x4*_0x253b81+0x2])<<0x8|0xff&_0x1defa0[0x4*_0x253b81+0x3];else{var _0x55c4b6=this['temp'][_0x253b81-0x2],_0x3ac9d9=(_0x55c4b6>>>0x11|_0x55c4b6<<0xf)^(_0x55c4b6>>>0x13|_0x55c4b6<<0xd)^_0x55c4b6>>>0xa,_0x4512bf=((_0x55c4b6=this['temp'][_0x253b81-0xf])>>>0x7|_0x55c4b6<<0x19)^(_0x55c4b6>>>0x12|_0x55c4b6<<0xe)^_0x55c4b6>>>0x3;this['temp'][_0x253b81]=(_0x3ac9d9+this['temp'][_0x253b81-0x7]|0x0)+(_0x4512bf+this['temp'][_0x253b81-0x10]|0x0);}var _0x4c87f5=(((_0x57f2a0>>>0x6|_0x57f2a0<<0x1a)^(_0x57f2a0>>>0xb|_0x57f2a0<<0x15)^(_0x57f2a0>>>0x19|_0x57f2a0<<0x7))+(_0x57f2a0&_0xfb85d0^~_0x57f2a0&_0x4d6eab)|0x0)+(_0x5ae612+(KEY[_0x253b81]+this['temp'][_0x253b81]|0x0)|0x0)|0x0,_0x5b2077=((_0x21b2dc>>>0x2|_0x21b2dc<<0x1e)^(_0x21b2dc>>>0xd|_0x21b2dc<<0x13)^(_0x21b2dc>>>0x16|_0x21b2dc<<0xa))+(_0x21b2dc&_0x505cd3^_0x21b2dc&_0x2a8989^_0x505cd3&_0x2a8989)|0x0;_0x5ae612=_0x4d6eab,_0x4d6eab=_0xfb85d0,_0xfb85d0=_0x57f2a0,_0x57f2a0=_0x4566f0+_0x4c87f5|0x0,_0x4566f0=_0x2a8989,_0x2a8989=_0x505cd3,_0x505cd3=_0x21b2dc,_0x21b2dc=_0x4c87f5+_0x5b2077|0x0;}_0x37d221[0x0]+=_0x21b2dc,_0x37d221[0x1]+=_0x505cd3,_0x37d221[0x2]+=_0x2a8989,_0x37d221[0x3]+=_0x4566f0,_0x37d221[0x4]+=_0x57f2a0,_0x37d221[0x5]+=_0xfb85d0,_0x37d221[0x6]+=_0x4d6eab,_0x37d221[0x7]+=_0x5ae612;},_0x3c64b5;}()),Sha256$1=(function(){function _0x7be6e2(_0x19b4ea){this['secret']=_0x19b4ea,this['hash']=new RawSha256(),this['reset']();}return _0x7be6e2['prototype']['update']=function(_0x598a78){if(!isEmptyData(_0x598a78)&&!this['error'])try{this['hash']['update'](convertToBuffer(_0x598a78));}catch(_0x3efe1c){this['error']=_0x3efe1c;}},_0x7be6e2['prototype']['digestSync']=function(){if(this['error'])throw this['error'];return this['outer']?(this['outer']['finished']||this['outer']['update'](this['hash']['digest']()),this['outer']['digest']()):this['hash']['digest']();},_0x7be6e2['prototype']['digest']=function(){return __awaiter(this,void 0x0,void 0x0,function(){return __generator(this,function(_0x3af0bc){return[0x2,this['digestSync']()];});});},_0x7be6e2['prototype']['reset']=function(){if(this['hash']=new RawSha256(),this['secret']){this['outer']=new RawSha256();var _0x58b264=bufferFromSecret(this['secret']),_0x1c90fa=new Uint8Array(BLOCK_SIZE);_0x1c90fa['set'](_0x58b264);for(var _0x449a93=0x0;_0x449a93<BLOCK_SIZE;_0x449a93++)_0x58b264[_0x449a93]^=0x36,_0x1c90fa[_0x449a93]^=0x5c;this['hash']['update'](_0x58b264),this['outer']['update'](_0x1c90fa);for(_0x449a93=0x0;_0x449a93<_0x58b264['byteLength'];_0x449a93++)_0x58b264[_0x449a93]=0x0;}},_0x7be6e2;}());function bufferFromSecret(_0x306a32){var _0x146222=convertToBuffer(_0x306a32);if(_0x146222['byteLength']>BLOCK_SIZE){var _0x20ab86=new RawSha256();_0x20ab86['update'](_0x146222),_0x146222=_0x20ab86['digest']();}var _0x2ac8a7=new Uint8Array(BLOCK_SIZE);return _0x2ac8a7['set'](_0x146222),_0x2ac8a7;}var subtleCryptoMethods=['decrypt','digest','encrypt','exportKey','generateKey','importKey','sign','verify'];function supportsWebCrypto(_0x1b7fa9){return!(!supportsSecureRandom(_0x1b7fa9)||'object'!=typeof _0x1b7fa9['crypto']['subtle'])&&supportsSubtleCrypto(_0x1b7fa9['crypto']['subtle']);}function supportsSecureRandom(_0x2e5c19){return'object'==typeof _0x2e5c19&&'object'==typeof _0x2e5c19['crypto']&&'function'==typeof _0x2e5c19['crypto']['getRandomValues'];}function supportsSubtleCrypto(_0x15292a){return _0x15292a&&subtleCryptoMethods['every'](function(_0x4d9552){return'function'==typeof _0x15292a[_0x4d9552];});}var Sha256=(function(){function _0x12beea(_0x30245c){supportsWebCrypto(locateWindow())?this['hash']=new Sha256$2(_0x30245c):this['hash']=new Sha256$1(_0x30245c);}return _0x12beea['prototype']['update']=function(_0x1c492a,_0x590c9f){this['hash']['update'](convertToBuffer(_0x1c492a));},_0x12beea['prototype']['digest']=function(){return this['hash']['digest']();},_0x12beea['prototype']['reset']=function(){this['hash']['reset']();},_0x12beea;}()),commonjsGlobal='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},es5={'exports':{}};es5['exports']=function(_0x5b7bf4){var t={};function _0x38086d(_0x39add8){if(t[_0x39add8])return t[_0x39add8]['exports'];var _0x5cb0fa=t[_0x39add8]={'i':_0x39add8,'l':!0x1,'exports':{}};return _0x5b7bf4[_0x39add8]['call'](_0x5cb0fa['exports'],_0x5cb0fa,_0x5cb0fa['exports'],_0x38086d),_0x5cb0fa['l']=!0x0,_0x5cb0fa['exports'];}return _0x38086d['m']=_0x5b7bf4,_0x38086d['c']=t,_0x38086d['d']=function(_0x5a168e,t,_0x36c069){_0x38086d['o'](_0x5a168e,t)||Object['defineProperty'](_0x5a168e,t,{'enumerable':!0x0,'get':_0x36c069});},_0x38086d['r']=function(_0x3f9003){'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](_0x3f9003,Symbol['toStringTag'],{'value':'Module'}),Object['defineProperty'](_0x3f9003,'__esModule',{'value':!0x0});},_0x38086d['t']=function(_0x9b8833,t){if(0x1&t&&(_0x9b8833=_0x38086d(_0x9b8833)),0x8&t)return _0x9b8833;if(0x4&t&&'object'==typeof _0x9b8833&&_0x9b8833&&_0x9b8833['__esModule'])return _0x9b8833;var _0x1f3b4e=Object['create'](null);if(_0x38086d['r'](_0x1f3b4e),Object['defineProperty'](_0x1f3b4e,'default',{'enumerable':!0x0,'value':_0x9b8833}),0x2&t&&'string'!=typeof _0x9b8833){for(var _0x113a75 in _0x9b8833)_0x38086d['d'](_0x1f3b4e,_0x113a75,function(t){return _0x9b8833[t];}['bind'](null,_0x113a75));}return _0x1f3b4e;},_0x38086d['n']=function(_0x1f970f){var t=_0x1f970f&&_0x1f970f['__esModule']?function(){return _0x1f970f['default'];}:function(){return _0x1f970f;};return _0x38086d['d'](t,'a',t),t;},_0x38086d['o']=function(_0x4f0b23,t){return Object['prototype']['hasOwnProperty']['call'](_0x4f0b23,t);},_0x38086d['p']='',_0x38086d(_0x38086d['s']=0x5a);}({0x11:function(_0x3fda55,t,_0x4ea8c6){t['__esModule']=!0x0,t['default']=void 0x0;var _0x275395=_0x4ea8c6(0x12),_0x4db393=(function(){function _0x4f3c7d(){}return _0x4f3c7d['getFirstMatch']=function(_0x4211d9,t){var _0xc93a86=t['match'](_0x4211d9);return _0xc93a86&&_0xc93a86['length']>0x0&&_0xc93a86[0x1]||'';},_0x4f3c7d['getSecondMatch']=function(_0x22383b,t){var _0x5b490b=t['match'](_0x22383b);return _0x5b490b&&_0x5b490b['length']>0x1&&_0x5b490b[0x2]||'';},_0x4f3c7d['matchAndReturnConst']=function(_0x46d271,t,_0x35347e){if(_0x46d271['test'](t))return _0x35347e;},_0x4f3c7d['getWindowsVersionName']=function(_0x26927b){switch(_0x26927b){case'NT':return'NT';case'XP':case'NT\x205.1':return'XP';case'NT\x205.0':return'2000';case'NT\x205.2':return'2003';case'NT\x206.0':return'Vista';case'NT\x206.1':return'7';case'NT\x206.2':return'8';case'NT\x206.3':return'8.1';case'NT\x2010.0':return'10';default:return;}},_0x4f3c7d['getMacOSVersionName']=function(_0xb06388){var t=_0xb06388['split']('.')['splice'](0x0,0x2)['map'](function(_0x11dd09){return parseInt(_0x11dd09,0xa)||0x0;});if(t['push'](0x0),0xa===t[0x0])switch(t[0x1]){case 0x5:return'Leopard';case 0x6:return'Snow\x20Leopard';case 0x7:return'Lion';case 0x8:return'Mountain\x20Lion';case 0x9:return'Mavericks';case 0xa:return'Yosemite';case 0xb:return'El\x20Capitan';case 0xc:return'Sierra';case 0xd:return'High\x20Sierra';case 0xe:return'Mojave';case 0xf:return'Catalina';default:return;}},_0x4f3c7d['getAndroidVersionName']=function(_0x1ac184){var t=_0x1ac184['split']('.')['splice'](0x0,0x2)['map'](function(_0x5d5f84){return parseInt(_0x5d5f84,0xa)||0x0;});if(t['push'](0x0),!(0x1===t[0x0]&&t[0x1]<0x5))return 0x1===t[0x0]&&t[0x1]<0x6?'Cupcake':0x1===t[0x0]&&t[0x1]>=0x6?'Donut':0x2===t[0x0]&&t[0x1]<0x2?'Eclair':0x2===t[0x0]&&0x2===t[0x1]?'Froyo':0x2===t[0x0]&&t[0x1]>0x2?'Gingerbread':0x3===t[0x0]?'Honeycomb':0x4===t[0x0]&&t[0x1]<0x1?'Ice\x20Cream\x20Sandwich':0x4===t[0x0]&&t[0x1]<0x4?'Jelly\x20Bean':0x4===t[0x0]&&t[0x1]>=0x4?'KitKat':0x5===t[0x0]?'Lollipop':0x6===t[0x0]?'Marshmallow':0x7===t[0x0]?'Nougat':0x8===t[0x0]?'Oreo':0x9===t[0x0]?'Pie':void 0x0;},_0x4f3c7d['getVersionPrecision']=function(_0x3e327c){return _0x3e327c['split']('.')['length'];},_0x4f3c7d['compareVersions']=function(t,_0x3f50b2,_0x3e5be1){void 0x0===_0x3e5be1&&(_0x3e5be1=!0x1);var _0x104217=_0x4f3c7d['getVersionPrecision'](t),_0x11009b=_0x4f3c7d['getVersionPrecision'](_0x3f50b2),_0x2a2ce0=Math['max'](_0x104217,_0x11009b),_0x23a252=0x0,_0x2b0a99=_0x4f3c7d['map']([t,_0x3f50b2],function(t){var _0x24954e=_0x2a2ce0-_0x4f3c7d['getVersionPrecision'](t),_0x49bc75=t+new Array(_0x24954e+0x1)['join']('.0');return _0x4f3c7d['map'](_0x49bc75['split']('.'),function(_0x43602d){return new Array(0x14-_0x43602d['length'])['join']('0')+_0x43602d;})['reverse']();});for(_0x3e5be1&&(_0x23a252=_0x2a2ce0-Math['min'](_0x104217,_0x11009b)),_0x2a2ce0-=0x1;_0x2a2ce0>=_0x23a252;){if(_0x2b0a99[0x0][_0x2a2ce0]>_0x2b0a99[0x1][_0x2a2ce0])return 0x1;if(_0x2b0a99[0x0][_0x2a2ce0]===_0x2b0a99[0x1][_0x2a2ce0]){if(_0x2a2ce0===_0x23a252)return 0x0;_0x2a2ce0-=0x1;}else{if(_0x2b0a99[0x0][_0x2a2ce0]<_0x2b0a99[0x1][_0x2a2ce0])return-0x1;}}},_0x4f3c7d['map']=function(_0x2f9557,t){var _0x83fee2,_0x38bfb4=[];if(Array['prototype']['map'])return Array['prototype']['map']['call'](_0x2f9557,t);for(_0x83fee2=0x0;_0x83fee2<_0x2f9557['length'];_0x83fee2+=0x1)_0x38bfb4['push'](t(_0x2f9557[_0x83fee2]));return _0x38bfb4;},_0x4f3c7d['find']=function(_0x44bb67,t){var _0x34adcb,_0x29c142;if(Array['prototype']['find'])return Array['prototype']['find']['call'](_0x44bb67,t);for(_0x34adcb=0x0,_0x29c142=_0x44bb67['length'];_0x34adcb<_0x29c142;_0x34adcb+=0x1){var _0xf84623=_0x44bb67[_0x34adcb];if(t(_0xf84623,_0x34adcb))return _0xf84623;}},_0x4f3c7d['assign']=function(_0x526d65){for(var t,_0x13db97,_0x400139=_0x526d65,_0x47f01a=arguments['length'],_0xe66108=new Array(_0x47f01a>0x1?_0x47f01a-0x1:0x0),_0x673022=0x1;_0x673022<_0x47f01a;_0x673022++)_0xe66108[_0x673022-0x1]=arguments[_0x673022];if(Object['assign'])return Object['assign']['apply'](Object,[_0x526d65]['concat'](_0xe66108));var _0x24d24d=function(){var _0x2ddc42=_0xe66108[t];'object'==typeof _0x2ddc42&&null!==_0x2ddc42&&Object['keys'](_0x2ddc42)['forEach'](function(t){_0x400139[t]=_0x2ddc42[t];});};for(t=0x0,_0x13db97=_0xe66108['length'];t<_0x13db97;t+=0x1)_0x24d24d();return _0x526d65;},_0x4f3c7d['getBrowserAlias']=function(_0xce4fac){return _0x275395['BROWSER_ALIASES_MAP'][_0xce4fac];},_0x4f3c7d['getBrowserTypeByAlias']=function(_0x308687){return _0x275395['BROWSER_MAP'][_0x308687]||'';},_0x4f3c7d;}());t['default']=_0x4db393,_0x3fda55['exports']=t['default'];},0x12:function(_0x1d9a37,t,_0x3edda7){t['__esModule']=!0x0,t['ENGINE_MAP']=t['OS_MAP']=t['PLATFORMS_MAP']=t['BROWSER_MAP']=t['BROWSER_ALIASES_MAP']=void 0x0,t['BROWSER_ALIASES_MAP']={'Amazon\x20Silk':'amazon_silk','Android\x20Browser':'android','Bada':'bada','BlackBerry':'blackberry','Chrome':'chrome','Chromium':'chromium','Electron':'electron','Epiphany':'epiphany','Firefox':'firefox','Focus':'focus','Generic':'generic','Google\x20Search':'google_search','Googlebot':'googlebot','Internet\x20Explorer':'ie','K-Meleon':'k_meleon','Maxthon':'maxthon','Microsoft\x20Edge':'edge','MZ\x20Browser':'mz','NAVER\x20Whale\x20Browser':'naver','Opera':'opera','Opera\x20Coast':'opera_coast','PhantomJS':'phantomjs','Puffin':'puffin','QupZilla':'qupzilla','QQ':'qq','QQLite':'qqlite','Safari':'safari','Sailfish':'sailfish','Samsung\x20Internet\x20for\x20Android':'samsung_internet','SeaMonkey':'seamonkey','Sleipnir':'sleipnir','Swing':'swing','Tizen':'tizen','UC\x20Browser':'uc','Vivaldi':'vivaldi','WebOS\x20Browser':'webos','WeChat':'wechat','Yandex\x20Browser':'yandex','Roku':'roku'},t['BROWSER_MAP']={'amazon_silk':'Amazon\x20Silk','android':'Android\x20Browser','bada':'Bada','blackberry':'BlackBerry','chrome':'Chrome','chromium':'Chromium','electron':'Electron','epiphany':'Epiphany','firefox':'Firefox','focus':'Focus','generic':'Generic','googlebot':'Googlebot','google_search':'Google\x20Search','ie':'Internet\x20Explorer','k_meleon':'K-Meleon','maxthon':'Maxthon','edge':'Microsoft\x20Edge','mz':'MZ\x20Browser','naver':'NAVER\x20Whale\x20Browser','opera':'Opera','opera_coast':'Opera\x20Coast','phantomjs':'PhantomJS','puffin':'Puffin','qupzilla':'QupZilla','qq':'QQ\x20Browser','qqlite':'QQ\x20Browser\x20Lite','safari':'Safari','sailfish':'Sailfish','samsung_internet':'Samsung\x20Internet\x20for\x20Android','seamonkey':'SeaMonkey','sleipnir':'Sleipnir','swing':'Swing','tizen':'Tizen','uc':'UC\x20Browser','vivaldi':'Vivaldi','webos':'WebOS\x20Browser','wechat':'WeChat','yandex':'Yandex\x20Browser'},t['PLATFORMS_MAP']={'tablet':'tablet','mobile':'mobile','desktop':'desktop','tv':'tv'},t['OS_MAP']={'WindowsPhone':'Windows\x20Phone','Windows':'Windows','MacOS':'macOS','iOS':'iOS','Android':'Android','WebOS':'WebOS','BlackBerry':'BlackBerry','Bada':'Bada','Tizen':'Tizen','Linux':'Linux','ChromeOS':'Chrome\x20OS','PlayStation4':'PlayStation\x204','Roku':'Roku'},t['ENGINE_MAP']={'EdgeHTML':'EdgeHTML','Blink':'Blink','Trident':'Trident','Presto':'Presto','Gecko':'Gecko','WebKit':'WebKit'};},0x5a:function(_0x4d3098,t,_0x3398a0){t['__esModule']=!0x0,t['default']=void 0x0;var _0x5f134b,_0x41f28a=(_0x5f134b=_0x3398a0(0x5b))&&_0x5f134b['__esModule']?_0x5f134b:{'default':_0x5f134b},_0x2c7d98=_0x3398a0(0x12);function _0x3650a8(_0xff55a5,t){for(var _0x231b47=0x0;_0x231b47<t['length'];_0x231b47++){var _0x498fab=t[_0x231b47];_0x498fab['enumerable']=_0x498fab['enumerable']||!0x1,_0x498fab['configurable']=!0x0,'value'in _0x498fab&&(_0x498fab['writable']=!0x0),Object['defineProperty'](_0xff55a5,_0x498fab['key'],_0x498fab);}}var _0x37acea=(function(){function _0x35388f(){}var t,_0x4d58df,_0x165b9b;return _0x35388f['getParser']=function(_0x51784a,t){if(void 0x0===t&&(t=!0x1),'string'!=typeof _0x51784a)throw new Error('UserAgent\x20should\x20be\x20a\x20string');return new _0x41f28a['default'](_0x51784a,t);},_0x35388f['parse']=function(_0x34d0d5){return new _0x41f28a['default'](_0x34d0d5)['getResult']();},t=_0x35388f,_0x165b9b=[{'key':'BROWSER_MAP','get':function(){return _0x2c7d98['BROWSER_MAP'];}},{'key':'ENGINE_MAP','get':function(){return _0x2c7d98['ENGINE_MAP'];}},{'key':'OS_MAP','get':function(){return _0x2c7d98['OS_MAP'];}},{'key':'PLATFORMS_MAP','get':function(){return _0x2c7d98['PLATFORMS_MAP'];}}],(_0x4d58df=null)&&_0x3650a8(t['prototype'],_0x4d58df),_0x165b9b&&_0x3650a8(t,_0x165b9b),_0x35388f;}());t['default']=_0x37acea,_0x4d3098['exports']=t['default'];},0x5b:function(_0x3c248e,t,_0x375259){t['__esModule']=!0x0,t['default']=void 0x0;var _0x1af1c2=_0x5abe72(_0x375259(0x5c)),_0x3d4a4d=_0x5abe72(_0x375259(0x5d)),_0x21840a=_0x5abe72(_0x375259(0x5e)),_0x3a1f3d=_0x5abe72(_0x375259(0x5f)),_0x3cc3fd=_0x5abe72(_0x375259(0x11));function _0x5abe72(_0xf77b96){return _0xf77b96&&_0xf77b96['__esModule']?_0xf77b96:{'default':_0xf77b96};}var _0x4cad84=(function(){function _0x234224(_0x14a4a2,t){if(void 0x0===t&&(t=!0x1),null==_0x14a4a2||''===_0x14a4a2)throw new Error('UserAgent\x20parameter\x20can\x27t\x20be\x20empty');this['_ua']=_0x14a4a2,this['parsedResult']={},!0x0!==t&&this['parse']();}var t=_0x234224['prototype'];return t['getUA']=function(){return this['_ua'];},t['test']=function(_0x1d1515){return _0x1d1515['test'](this['_ua']);},t['parseBrowser']=function(){var _0xb96810=this;this['parsedResult']['browser']={};var t=_0x3cc3fd['default']['find'](_0x1af1c2['default'],function(t){if('function'==typeof t['test'])return t['test'](_0xb96810);if(t['test']instanceof Array)return t['test']['some'](function(t){return _0xb96810['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['browser']=t['describe'](this['getUA']())),this['parsedResult']['browser'];},t['getBrowser']=function(){return this['parsedResult']['browser']?this['parsedResult']['browser']:this['parseBrowser']();},t['getBrowserName']=function(_0x458300){return _0x458300?String(this['getBrowser']()['name'])['toLowerCase']()||'':this['getBrowser']()['name']||'';},t['getBrowserVersion']=function(){return this['getBrowser']()['version'];},t['getOS']=function(){return this['parsedResult']['os']?this['parsedResult']['os']:this['parseOS']();},t['parseOS']=function(){var _0x5d4a97=this;this['parsedResult']['os']={};var t=_0x3cc3fd['default']['find'](_0x3d4a4d['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x5d4a97);if(t['test']instanceof Array)return t['test']['some'](function(t){return _0x5d4a97['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['os']=t['describe'](this['getUA']())),this['parsedResult']['os'];},t['getOSName']=function(_0x3c1597){var t=this['getOS']()['name'];return _0x3c1597?String(t)['toLowerCase']()||'':t||'';},t['getOSVersion']=function(){return this['getOS']()['version'];},t['getPlatform']=function(){return this['parsedResult']['platform']?this['parsedResult']['platform']:this['parsePlatform']();},t['getPlatformType']=function(_0x5cb8f1){void 0x0===_0x5cb8f1&&(_0x5cb8f1=!0x1);var t=this['getPlatform']()['type'];return _0x5cb8f1?String(t)['toLowerCase']()||'':t||'';},t['parsePlatform']=function(){var _0x24cdcf=this;this['parsedResult']['platform']={};var t=_0x3cc3fd['default']['find'](_0x21840a['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x24cdcf);if(t['test']instanceof Array)return t['test']['some'](function(t){return _0x24cdcf['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['platform']=t['describe'](this['getUA']())),this['parsedResult']['platform'];},t['getEngine']=function(){return this['parsedResult']['engine']?this['parsedResult']['engine']:this['parseEngine']();},t['getEngineName']=function(_0x29ac08){return _0x29ac08?String(this['getEngine']()['name'])['toLowerCase']()||'':this['getEngine']()['name']||'';},t['parseEngine']=function(){var _0x1647f2=this;this['parsedResult']['engine']={};var t=_0x3cc3fd['default']['find'](_0x3a1f3d['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x1647f2);if(t['test']instanceof Array)return t['test']['some'](function(t){return _0x1647f2['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['engine']=t['describe'](this['getUA']())),this['parsedResult']['engine'];},t['parse']=function(){return this['parseBrowser'](),this['parseOS'](),this['parsePlatform'](),this['parseEngine'](),this;},t['getResult']=function(){return _0x3cc3fd['default']['assign']({},this['parsedResult']);},t['satisfies']=function(_0xecdf15){var t=this,_0xb99caa={},_0x15ae52=0x0,_0x4a4e46={},_0x5666e1=0x0;if(Object['keys'](_0xecdf15)['forEach'](function(t){var _0x1f21d4=_0xecdf15[t];'string'==typeof _0x1f21d4?(_0x4a4e46[t]=_0x1f21d4,_0x5666e1+=0x1):'object'==typeof _0x1f21d4&&(_0xb99caa[t]=_0x1f21d4,_0x15ae52+=0x1);}),_0x15ae52>0x0){var _0x3d29d9=Object['keys'](_0xb99caa),_0x5b3010=_0x3cc3fd['default']['find'](_0x3d29d9,function(_0x349958){return t['isOS'](_0x349958);});if(_0x5b3010){var _0x3089bb=this['satisfies'](_0xb99caa[_0x5b3010]);if(void 0x0!==_0x3089bb)return _0x3089bb;}var _0xde6083=_0x3cc3fd['default']['find'](_0x3d29d9,function(_0x466ac1){return t['isPlatform'](_0x466ac1);});if(_0xde6083){var _0xa6e17f=this['satisfies'](_0xb99caa[_0xde6083]);if(void 0x0!==_0xa6e17f)return _0xa6e17f;}}if(_0x5666e1>0x0){var _0x416b57=Object['keys'](_0x4a4e46),_0xe665cf=_0x3cc3fd['default']['find'](_0x416b57,function(_0x74e0fd){return t['isBrowser'](_0x74e0fd,!0x0);});if(void 0x0!==_0xe665cf)return this['compareVersion'](_0x4a4e46[_0xe665cf]);}},t['isBrowser']=function(_0x30573c,t){void 0x0===t&&(t=!0x1);var _0x22b9d6=this['getBrowserName']()['toLowerCase'](),_0x292888=_0x30573c['toLowerCase'](),_0x351e66=_0x3cc3fd['default']['getBrowserTypeByAlias'](_0x292888);return t&&_0x351e66&&(_0x292888=_0x351e66['toLowerCase']()),_0x292888===_0x22b9d6;},t['compareVersion']=function(_0x4e5993){var t=[0x0],_0x366345=_0x4e5993,_0x4e3a00=!0x1,_0x2a34ab=this['getBrowserVersion']();if('string'==typeof _0x2a34ab)return'>'===_0x4e5993[0x0]||'<'===_0x4e5993[0x0]?(_0x366345=_0x4e5993['substr'](0x1),'='===_0x4e5993[0x1]?(_0x4e3a00=!0x0,_0x366345=_0x4e5993['substr'](0x2)):t=[],'>'===_0x4e5993[0x0]?t['push'](0x1):t['push'](-0x1)):'='===_0x4e5993[0x0]?_0x366345=_0x4e5993['substr'](0x1):'~'===_0x4e5993[0x0]&&(_0x4e3a00=!0x0,_0x366345=_0x4e5993['substr'](0x1)),t['indexOf'](_0x3cc3fd['default']['compareVersions'](_0x2a34ab,_0x366345,_0x4e3a00))>-0x1;},t['isOS']=function(_0x2203d2){return this['getOSName'](!0x0)===String(_0x2203d2)['toLowerCase']();},t['isPlatform']=function(_0x3cf4f1){return this['getPlatformType'](!0x0)===String(_0x3cf4f1)['toLowerCase']();},t['isEngine']=function(_0x3751a9){return this['getEngineName'](!0x0)===String(_0x3751a9)['toLowerCase']();},t['is']=function(_0x5b3dc5,t){return void 0x0===t&&(t=!0x1),this['isBrowser'](_0x5b3dc5,t)||this['isOS'](_0x5b3dc5)||this['isPlatform'](_0x5b3dc5);},t['some']=function(_0x52b168){var t=this;return void 0x0===_0x52b168&&(_0x52b168=[]),_0x52b168['some'](function(_0x1562e2){return t['is'](_0x1562e2);});},_0x234224;}());t['default']=_0x4cad84,_0x3c248e['exports']=t['default'];},0x5c:function(_0x36d5d9,t,_0xd4886e){t['__esModule']=!0x0,t['default']=void 0x0;var _0x2c6359,_0x504358=(_0x2c6359=_0xd4886e(0x11))&&_0x2c6359['__esModule']?_0x2c6359:{'default':_0x2c6359},_0x510e46=/version\/(\d+(\.?_?\d+)+)/i,_0x21f410=[{'test':[/googlebot/i],'describe':function(_0x4a3fd1){var t={'name':'Googlebot'},_0x4c613a=_0x504358['default']['getFirstMatch'](/googlebot\/(\d+(\.\d+))/i,_0x4a3fd1)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x4a3fd1);return _0x4c613a&&(t['version']=_0x4c613a),t;}},{'test':[/opera/i],'describe':function(_0x29ed8f){var t={'name':'Opera'},_0x327a8b=_0x504358['default']['getFirstMatch'](_0x510e46,_0x29ed8f)||_0x504358['default']['getFirstMatch'](/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,_0x29ed8f);return _0x327a8b&&(t['version']=_0x327a8b),t;}},{'test':[/opr\/|opios/i],'describe':function(_0x789a22){var t={'name':'Opera'},_0x11cdf2=_0x504358['default']['getFirstMatch'](/(?:opr|opios)[\s/](\S+)/i,_0x789a22)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x789a22);return _0x11cdf2&&(t['version']=_0x11cdf2),t;}},{'test':[/SamsungBrowser/i],'describe':function(_0x3c6f5a){var t={'name':'Samsung\x20Internet\x20for\x20Android'},_0xf3c29e=_0x504358['default']['getFirstMatch'](_0x510e46,_0x3c6f5a)||_0x504358['default']['getFirstMatch'](/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x3c6f5a);return _0xf3c29e&&(t['version']=_0xf3c29e),t;}},{'test':[/Whale/i],'describe':function(_0x25f119){var t={'name':'NAVER\x20Whale\x20Browser'},_0x400f5f=_0x504358['default']['getFirstMatch'](_0x510e46,_0x25f119)||_0x504358['default']['getFirstMatch'](/(?:whale)[\s/](\d+(?:\.\d+)+)/i,_0x25f119);return _0x400f5f&&(t['version']=_0x400f5f),t;}},{'test':[/MZBrowser/i],'describe':function(_0xbaa20b){var t={'name':'MZ\x20Browser'},_0x43e1a8=_0x504358['default']['getFirstMatch'](/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,_0xbaa20b)||_0x504358['default']['getFirstMatch'](_0x510e46,_0xbaa20b);return _0x43e1a8&&(t['version']=_0x43e1a8),t;}},{'test':[/focus/i],'describe':function(_0x3f9206){var t={'name':'Focus'},_0x490e3c=_0x504358['default']['getFirstMatch'](/(?:focus)[\s/](\d+(?:\.\d+)+)/i,_0x3f9206)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x3f9206);return _0x490e3c&&(t['version']=_0x490e3c),t;}},{'test':[/swing/i],'describe':function(_0x1bd269){var t={'name':'Swing'},_0x1424b0=_0x504358['default']['getFirstMatch'](/(?:swing)[\s/](\d+(?:\.\d+)+)/i,_0x1bd269)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x1bd269);return _0x1424b0&&(t['version']=_0x1424b0),t;}},{'test':[/coast/i],'describe':function(_0x314a0a){var t={'name':'Opera\x20Coast'},_0x21366c=_0x504358['default']['getFirstMatch'](_0x510e46,_0x314a0a)||_0x504358['default']['getFirstMatch'](/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,_0x314a0a);return _0x21366c&&(t['version']=_0x21366c),t;}},{'test':[/opt\/\d+(?:.?_?\d+)+/i],'describe':function(_0x248877){var t={'name':'Opera\x20Touch'},_0x5bbee4=_0x504358['default']['getFirstMatch'](/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,_0x248877)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x248877);return _0x5bbee4&&(t['version']=_0x5bbee4),t;}},{'test':[/yabrowser/i],'describe':function(_0xa30082){var t={'name':'Yandex\x20Browser'},_0x413544=_0x504358['default']['getFirstMatch'](/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,_0xa30082)||_0x504358['default']['getFirstMatch'](_0x510e46,_0xa30082);return _0x413544&&(t['version']=_0x413544),t;}},{'test':[/ucbrowser/i],'describe':function(_0x5b7674){var t={'name':'UC\x20Browser'},_0x4a3cd4=_0x504358['default']['getFirstMatch'](_0x510e46,_0x5b7674)||_0x504358['default']['getFirstMatch'](/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x5b7674);return _0x4a3cd4&&(t['version']=_0x4a3cd4),t;}},{'test':[/Maxthon|mxios/i],'describe':function(_0x24aca2){var t={'name':'Maxthon'},_0x151f36=_0x504358['default']['getFirstMatch'](_0x510e46,_0x24aca2)||_0x504358['default']['getFirstMatch'](/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,_0x24aca2);return _0x151f36&&(t['version']=_0x151f36),t;}},{'test':[/epiphany/i],'describe':function(_0x4bca7e){var t={'name':'Epiphany'},_0x3b6559=_0x504358['default']['getFirstMatch'](_0x510e46,_0x4bca7e)||_0x504358['default']['getFirstMatch'](/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,_0x4bca7e);return _0x3b6559&&(t['version']=_0x3b6559),t;}},{'test':[/puffin/i],'describe':function(_0x2cd1ed){var t={'name':'Puffin'},_0x288fa0=_0x504358['default']['getFirstMatch'](_0x510e46,_0x2cd1ed)||_0x504358['default']['getFirstMatch'](/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,_0x2cd1ed);return _0x288fa0&&(t['version']=_0x288fa0),t;}},{'test':[/sleipnir/i],'describe':function(_0x2c5867){var t={'name':'Sleipnir'},_0x4595f6=_0x504358['default']['getFirstMatch'](_0x510e46,_0x2c5867)||_0x504358['default']['getFirstMatch'](/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,_0x2c5867);return _0x4595f6&&(t['version']=_0x4595f6),t;}},{'test':[/k-meleon/i],'describe':function(_0x40d640){var t={'name':'K-Meleon'},_0x446d10=_0x504358['default']['getFirstMatch'](_0x510e46,_0x40d640)||_0x504358['default']['getFirstMatch'](/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,_0x40d640);return _0x446d10&&(t['version']=_0x446d10),t;}},{'test':[/micromessenger/i],'describe':function(_0x35b337){var t={'name':'WeChat'},_0x4d996c=_0x504358['default']['getFirstMatch'](/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,_0x35b337)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x35b337);return _0x4d996c&&(t['version']=_0x4d996c),t;}},{'test':[/qqbrowser/i],'describe':function(_0x12bc22){var t={'name':/qqbrowserlite/i['test'](_0x12bc22)?'QQ\x20Browser\x20Lite':'QQ\x20Browser'},_0x56d06a=_0x504358['default']['getFirstMatch'](/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,_0x12bc22)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x12bc22);return _0x56d06a&&(t['version']=_0x56d06a),t;}},{'test':[/msie|trident/i],'describe':function(_0x5d4a58){var t={'name':'Internet\x20Explorer'},_0xe855b6=_0x504358['default']['getFirstMatch'](/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,_0x5d4a58);return _0xe855b6&&(t['version']=_0xe855b6),t;}},{'test':[/\sedg\//i],'describe':function(_0x8120a){var t={'name':'Microsoft\x20Edge'},_0x313224=_0x504358['default']['getFirstMatch'](/\sedg\/(\d+(\.?_?\d+)+)/i,_0x8120a);return _0x313224&&(t['version']=_0x313224),t;}},{'test':[/edg([ea]|ios)/i],'describe':function(_0x246a58){var t={'name':'Microsoft\x20Edge'},_0x749391=_0x504358['default']['getSecondMatch'](/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,_0x246a58);return _0x749391&&(t['version']=_0x749391),t;}},{'test':[/vivaldi/i],'describe':function(_0x4f0b21){var t={'name':'Vivaldi'},_0x5c985c=_0x504358['default']['getFirstMatch'](/vivaldi\/(\d+(\.?_?\d+)+)/i,_0x4f0b21);return _0x5c985c&&(t['version']=_0x5c985c),t;}},{'test':[/seamonkey/i],'describe':function(_0x586124){var t={'name':'SeaMonkey'},_0x57fd04=_0x504358['default']['getFirstMatch'](/seamonkey\/(\d+(\.?_?\d+)+)/i,_0x586124);return _0x57fd04&&(t['version']=_0x57fd04),t;}},{'test':[/sailfish/i],'describe':function(_0x1a9155){var t={'name':'Sailfish'},_0x2879b2=_0x504358['default']['getFirstMatch'](/sailfish\s?browser\/(\d+(\.\d+)?)/i,_0x1a9155);return _0x2879b2&&(t['version']=_0x2879b2),t;}},{'test':[/silk/i],'describe':function(_0x141111){var t={'name':'Amazon\x20Silk'},_0x353bb2=_0x504358['default']['getFirstMatch'](/silk\/(\d+(\.?_?\d+)+)/i,_0x141111);return _0x353bb2&&(t['version']=_0x353bb2),t;}},{'test':[/phantom/i],'describe':function(_0x52926f){var t={'name':'PhantomJS'},_0x2672ba=_0x504358['default']['getFirstMatch'](/phantomjs\/(\d+(\.?_?\d+)+)/i,_0x52926f);return _0x2672ba&&(t['version']=_0x2672ba),t;}},{'test':[/slimerjs/i],'describe':function(_0x49d21e){var t={'name':'SlimerJS'},_0x2a001a=_0x504358['default']['getFirstMatch'](/slimerjs\/(\d+(\.?_?\d+)+)/i,_0x49d21e);return _0x2a001a&&(t['version']=_0x2a001a),t;}},{'test':[/blackberry|\bbb\d+/i,/rim\stablet/i],'describe':function(_0x414e60){var t={'name':'BlackBerry'},_0x1cbff3=_0x504358['default']['getFirstMatch'](_0x510e46,_0x414e60)||_0x504358['default']['getFirstMatch'](/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,_0x414e60);return _0x1cbff3&&(t['version']=_0x1cbff3),t;}},{'test':[/(web|hpw)[o0]s/i],'describe':function(_0x10e204){var t={'name':'WebOS\x20Browser'},_0x21ce77=_0x504358['default']['getFirstMatch'](_0x510e46,_0x10e204)||_0x504358['default']['getFirstMatch'](/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,_0x10e204);return _0x21ce77&&(t['version']=_0x21ce77),t;}},{'test':[/bada/i],'describe':function(_0x1b006e){var t={'name':'Bada'},_0x1c6190=_0x504358['default']['getFirstMatch'](/dolfin\/(\d+(\.?_?\d+)+)/i,_0x1b006e);return _0x1c6190&&(t['version']=_0x1c6190),t;}},{'test':[/tizen/i],'describe':function(_0x50e341){var t={'name':'Tizen'},_0x23a59c=_0x504358['default']['getFirstMatch'](/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,_0x50e341)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x50e341);return _0x23a59c&&(t['version']=_0x23a59c),t;}},{'test':[/qupzilla/i],'describe':function(_0x5cbf3b){var t={'name':'QupZilla'},_0x7b20a9=_0x504358['default']['getFirstMatch'](/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,_0x5cbf3b)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x5cbf3b);return _0x7b20a9&&(t['version']=_0x7b20a9),t;}},{'test':[/firefox|iceweasel|fxios/i],'describe':function(_0x51e4a0){var t={'name':'Firefox'},_0x3b0c76=_0x504358['default']['getFirstMatch'](/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,_0x51e4a0);return _0x3b0c76&&(t['version']=_0x3b0c76),t;}},{'test':[/electron/i],'describe':function(_0x1912c3){var t={'name':'Electron'},_0x4e1a17=_0x504358['default']['getFirstMatch'](/(?:electron)\/(\d+(\.?_?\d+)+)/i,_0x1912c3);return _0x4e1a17&&(t['version']=_0x4e1a17),t;}},{'test':[/MiuiBrowser/i],'describe':function(_0x40f027){var t={'name':'Miui'},_0x5d0fd5=_0x504358['default']['getFirstMatch'](/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x40f027);return _0x5d0fd5&&(t['version']=_0x5d0fd5),t;}},{'test':[/chromium/i],'describe':function(_0x1a554e){var t={'name':'Chromium'},_0x4c6fd6=_0x504358['default']['getFirstMatch'](/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,_0x1a554e)||_0x504358['default']['getFirstMatch'](_0x510e46,_0x1a554e);return _0x4c6fd6&&(t['version']=_0x4c6fd6),t;}},{'test':[/chrome|crios|crmo/i],'describe':function(_0x40e9c2){var t={'name':'Chrome'},_0x3b6503=_0x504358['default']['getFirstMatch'](/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,_0x40e9c2);return _0x3b6503&&(t['version']=_0x3b6503),t;}},{'test':[/GSA/i],'describe':function(_0x319f67){var t={'name':'Google\x20Search'},_0x3e8b43=_0x504358['default']['getFirstMatch'](/(?:GSA)\/(\d+(\.?_?\d+)+)/i,_0x319f67);return _0x3e8b43&&(t['version']=_0x3e8b43),t;}},{'test':function(_0x3de4e6){var t=!_0x3de4e6['test'](/like android/i),_0x4b4f23=_0x3de4e6['test'](/android/i);return t&&_0x4b4f23;},'describe':function(_0x153747){var t={'name':'Android\x20Browser'},_0x20db04=_0x504358['default']['getFirstMatch'](_0x510e46,_0x153747);return _0x20db04&&(t['version']=_0x20db04),t;}},{'test':[/playstation 4/i],'describe':function(_0x4dbc15){var t={'name':'PlayStation\x204'},_0x5a9566=_0x504358['default']['getFirstMatch'](_0x510e46,_0x4dbc15);return _0x5a9566&&(t['version']=_0x5a9566),t;}},{'test':[/safari|applewebkit/i],'describe':function(_0x5eb854){var t={'name':'Safari'},_0x171b2a=_0x504358['default']['getFirstMatch'](_0x510e46,_0x5eb854);return _0x171b2a&&(t['version']=_0x171b2a),t;}},{'test':[/.*/i],'describe':function(_0x77a734){var t=-0x1!==_0x77a734['search']('\x5c(')?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{'name':_0x504358['default']['getFirstMatch'](t,_0x77a734),'version':_0x504358['default']['getSecondMatch'](t,_0x77a734)};}}];t['default']=_0x21f410,_0x36d5d9['exports']=t['default'];},0x5d:function(_0x1a160b,t,_0x410996){t['__esModule']=!0x0,t['default']=void 0x0;var _0x36e473,_0x26e836=(_0x36e473=_0x410996(0x11))&&_0x36e473['__esModule']?_0x36e473:{'default':_0x36e473},_0x4dfff0=_0x410996(0x12),_0x8bf79=[{'test':[/Roku\/DVP/],'describe':function(_0x411944){var t=_0x26e836['default']['getFirstMatch'](/Roku\/DVP-(\d+\.\d+)/i,_0x411944);return{'name':_0x4dfff0['OS_MAP']['Roku'],'version':t};}},{'test':[/windows phone/i],'describe':function(_0x561b0b){var t=_0x26e836['default']['getFirstMatch'](/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,_0x561b0b);return{'name':_0x4dfff0['OS_MAP']['WindowsPhone'],'version':t};}},{'test':[/windows /i],'describe':function(_0x576dec){var t=_0x26e836['default']['getFirstMatch'](/Windows ((NT|XP)( \d\d?.\d)?)/i,_0x576dec),_0x24952d=_0x26e836['default']['getWindowsVersionName'](t);return{'name':_0x4dfff0['OS_MAP']['Windows'],'version':t,'versionName':_0x24952d};}},{'test':[/Macintosh(.*?) FxiOS(.*?)\//],'describe':function(_0x3bc1cd){var t={'name':_0x4dfff0['OS_MAP']['iOS']},_0xdcae4=_0x26e836['default']['getSecondMatch'](/(Version\/)(\d[\d.]+)/,_0x3bc1cd);return _0xdcae4&&(t['version']=_0xdcae4),t;}},{'test':[/macintosh/i],'describe':function(_0x22e9da){var t=_0x26e836['default']['getFirstMatch'](/mac os x (\d+(\.?_?\d+)+)/i,_0x22e9da)['replace'](/[_\s]/g,'.'),_0xed8ec2=_0x26e836['default']['getMacOSVersionName'](t),_0x73d572={'name':_0x4dfff0['OS_MAP']['MacOS'],'version':t};return _0xed8ec2&&(_0x73d572['versionName']=_0xed8ec2),_0x73d572;}},{'test':[/(ipod|iphone|ipad)/i],'describe':function(_0x24f19c){var t=_0x26e836['default']['getFirstMatch'](/os (\d+([_\s]\d+)*) like mac os x/i,_0x24f19c)['replace'](/[_\s]/g,'.');return{'name':_0x4dfff0['OS_MAP']['iOS'],'version':t};}},{'test':function(_0xefc5d1){var t=!_0xefc5d1['test'](/like android/i),_0x2803b3=_0xefc5d1['test'](/android/i);return t&&_0x2803b3;},'describe':function(_0x3c1b6d){var t=_0x26e836['default']['getFirstMatch'](/android[\s/-](\d+(\.\d+)*)/i,_0x3c1b6d),_0x567e91=_0x26e836['default']['getAndroidVersionName'](t),_0x3afbd7={'name':_0x4dfff0['OS_MAP']['Android'],'version':t};return _0x567e91&&(_0x3afbd7['versionName']=_0x567e91),_0x3afbd7;}},{'test':[/(web|hpw)[o0]s/i],'describe':function(_0x35f22c){var t=_0x26e836['default']['getFirstMatch'](/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,_0x35f22c),_0x342384={'name':_0x4dfff0['OS_MAP']['WebOS']};return t&&t['length']&&(_0x342384['version']=t),_0x342384;}},{'test':[/blackberry|\bbb\d+/i,/rim\stablet/i],'describe':function(_0x1c9657){var t=_0x26e836['default']['getFirstMatch'](/rim\stablet\sos\s(\d+(\.\d+)*)/i,_0x1c9657)||_0x26e836['default']['getFirstMatch'](/blackberry\d+\/(\d+([_\s]\d+)*)/i,_0x1c9657)||_0x26e836['default']['getFirstMatch'](/\bbb(\d+)/i,_0x1c9657);return{'name':_0x4dfff0['OS_MAP']['BlackBerry'],'version':t};}},{'test':[/bada/i],'describe':function(_0xda7791){var t=_0x26e836['default']['getFirstMatch'](/bada\/(\d+(\.\d+)*)/i,_0xda7791);return{'name':_0x4dfff0['OS_MAP']['Bada'],'version':t};}},{'test':[/tizen/i],'describe':function(_0x403264){var t=_0x26e836['default']['getFirstMatch'](/tizen[/\s](\d+(\.\d+)*)/i,_0x403264);return{'name':_0x4dfff0['OS_MAP']['Tizen'],'version':t};}},{'test':[/linux/i],'describe':function(){return{'name':_0x4dfff0['OS_MAP']['Linux']};}},{'test':[/CrOS/],'describe':function(){return{'name':_0x4dfff0['OS_MAP']['ChromeOS']};}},{'test':[/PlayStation 4/],'describe':function(_0x59b6f4){var t=_0x26e836['default']['getFirstMatch'](/PlayStation 4[/\s](\d+(\.\d+)*)/i,_0x59b6f4);return{'name':_0x4dfff0['OS_MAP']['PlayStation4'],'version':t};}}];t['default']=_0x8bf79,_0x1a160b['exports']=t['default'];},0x5e:function(_0x1dc7bb,t,_0x334759){t['__esModule']=!0x0,t['default']=void 0x0;var _0x4243ec,_0x4464c0=(_0x4243ec=_0x334759(0x11))&&_0x4243ec['__esModule']?_0x4243ec:{'default':_0x4243ec},_0x580be2=_0x334759(0x12),_0x2c88a9=[{'test':[/googlebot/i],'describe':function(){return{'type':'bot','vendor':'Google'};}},{'test':[/huawei/i],'describe':function(_0x2cfd31){var t=_0x4464c0['default']['getFirstMatch'](/(can-l01)/i,_0x2cfd31)&&'Nova',_0x5aa936={'type':_0x580be2['PLATFORMS_MAP']['mobile'],'vendor':'Huawei'};return t&&(_0x5aa936['model']=t),_0x5aa936;}},{'test':[/nexus\s*(?:7|8|9|10).*/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet'],'vendor':'Nexus'};}},{'test':[/ipad/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet'],'vendor':'Apple','model':'iPad'};}},{'test':[/Macintosh(.*?) FxiOS(.*?)\//],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet'],'vendor':'Apple','model':'iPad'};}},{'test':[/kftt build/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet'],'vendor':'Amazon','model':'Kindle\x20Fire\x20HD\x207'};}},{'test':[/silk/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet'],'vendor':'Amazon'};}},{'test':[/tablet(?! pc)/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet']};}},{'test':function(_0x4676bf){var t=_0x4676bf['test'](/ipod|iphone/i),_0x5bab79=_0x4676bf['test'](/like (ipod|iphone)/i);return t&&!_0x5bab79;},'describe':function(_0x586426){var t=_0x4464c0['default']['getFirstMatch'](/(ipod|iphone)/i,_0x586426);return{'type':_0x580be2['PLATFORMS_MAP']['mobile'],'vendor':'Apple','model':t};}},{'test':[/nexus\s*[0-6].*/i,/galaxy nexus/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['mobile'],'vendor':'Nexus'};}},{'test':[/[^-]mobi/i],'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['mobile']};}},{'test':function(_0x28533e){return'blackberry'===_0x28533e['getBrowserName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['mobile'],'vendor':'BlackBerry'};}},{'test':function(_0x23c007){return'bada'===_0x23c007['getBrowserName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['mobile']};}},{'test':function(_0x19f806){return'windows\x20phone'===_0x19f806['getBrowserName']();},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['mobile'],'vendor':'Microsoft'};}},{'test':function(_0x5c1c19){var t=Number(String(_0x5c1c19['getOSVersion']())['split']('.')[0x0]);return'android'===_0x5c1c19['getOSName'](!0x0)&&t>=0x3;},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tablet']};}},{'test':function(_0x70b0ed){return'android'===_0x70b0ed['getOSName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['mobile']};}},{'test':function(_0x19f6c3){return'macos'===_0x19f6c3['getOSName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['desktop'],'vendor':'Apple'};}},{'test':function(_0x21fbc4){return'windows'===_0x21fbc4['getOSName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['desktop']};}},{'test':function(_0x583405){return'linux'===_0x583405['getOSName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['desktop']};}},{'test':function(_0x3601fa){return'playstation\x204'===_0x3601fa['getOSName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tv']};}},{'test':function(_0x29d006){return'roku'===_0x29d006['getOSName'](!0x0);},'describe':function(){return{'type':_0x580be2['PLATFORMS_MAP']['tv']};}}];t['default']=_0x2c88a9,_0x1dc7bb['exports']=t['default'];},0x5f:function(_0x1a3afa,t,_0x4f0337){t['__esModule']=!0x0,t['default']=void 0x0;var _0x42c417,_0x121332=(_0x42c417=_0x4f0337(0x11))&&_0x42c417['__esModule']?_0x42c417:{'default':_0x42c417},_0x275b6e=_0x4f0337(0x12),_0x2b8a3e=[{'test':function(_0x9776d0){return'microsoft\x20edge'===_0x9776d0['getBrowserName'](!0x0);},'describe':function(_0x4bf2a6){if(/\sedg\//i['test'](_0x4bf2a6))return{'name':_0x275b6e['ENGINE_MAP']['Blink']};var t=_0x121332['default']['getFirstMatch'](/edge\/(\d+(\.?_?\d+)+)/i,_0x4bf2a6);return{'name':_0x275b6e['ENGINE_MAP']['EdgeHTML'],'version':t};}},{'test':[/trident/i],'describe':function(_0x57d325){var t={'name':_0x275b6e['ENGINE_MAP']['Trident']},_0xf66e3e=_0x121332['default']['getFirstMatch'](/trident\/(\d+(\.?_?\d+)+)/i,_0x57d325);return _0xf66e3e&&(t['version']=_0xf66e3e),t;}},{'test':function(_0x3aca03){return _0x3aca03['test'](/presto/i);},'describe':function(_0x2c0570){var t={'name':_0x275b6e['ENGINE_MAP']['Presto']},_0x1705c9=_0x121332['default']['getFirstMatch'](/presto\/(\d+(\.?_?\d+)+)/i,_0x2c0570);return _0x1705c9&&(t['version']=_0x1705c9),t;}},{'test':function(_0x217367){var t=_0x217367['test'](/gecko/i),_0x54c005=_0x217367['test'](/like gecko/i);return t&&!_0x54c005;},'describe':function(_0x3172bd){var t={'name':_0x275b6e['ENGINE_MAP']['Gecko']},_0x9a2e56=_0x121332['default']['getFirstMatch'](/gecko\/(\d+(\.?_?\d+)+)/i,_0x3172bd);return _0x9a2e56&&(t['version']=_0x9a2e56),t;}},{'test':[/(apple)?webkit\/537\.36/i],'describe':function(){return{'name':_0x275b6e['ENGINE_MAP']['Blink']};}},{'test':[/(apple)?webkit/i],'describe':function(_0x1c513c){var t={'name':_0x275b6e['ENGINE_MAP']['WebKit']},_0x4d5742=_0x121332['default']['getFirstMatch'](/webkit\/(\d+(\.?_?\d+)+)/i,_0x1c513c);return _0x4d5742&&(t['version']=_0x4d5742),t;}}];t['default']=_0x2b8a3e,_0x1a3afa['exports']=t['default'];}});var es5Exports=es5['exports'];const defaultUserAgent=({serviceId:_0x1e06f3,clientVersion:_0x8f8483})=>async()=>{const _0x1685e0='undefined'!=typeof window&&window?.['navigator']?.['userAgent']?es5Exports['parse'](window['navigator']['userAgent']):void 0x0,_0x72cd25=[['aws-sdk-js',_0x8f8483],['ua','2.0'],['os/'+(_0x1685e0?.['os']?.['name']||'other'),_0x1685e0?.['os']?.['version']],['lang/js'],['md/browser',(_0x1685e0?.['browser']?.['name']??'unknown')+'_'+(_0x1685e0?.['browser']?.['version']??'unknown')]];return _0x1e06f3&&_0x72cd25['push'](['api/'+_0x1e06f3,_0x8f8483]),_0x72cd25;};var Crc32=(function(){function _0x5d47a9(){this['checksum']=0xffffffff;}return _0x5d47a9['prototype']['update']=function(_0x3b0c1d){var _0x167b5d,_0x1d8578;try{for(var _0x29c417=__values(_0x3b0c1d),_0x506cf8=_0x29c417['next']();!_0x506cf8['done'];_0x506cf8=_0x29c417['next']()){var _0x29c685=_0x506cf8['value'];this['checksum']=this['checksum']>>>0x8^lookupTable[0xff&(this['checksum']^_0x29c685)];}}catch(_0x48a526){_0x167b5d={'error':_0x48a526};}finally{try{_0x506cf8&&!_0x506cf8['done']&&(_0x1d8578=_0x29c417['return'])&&_0x1d8578['call'](_0x29c417);}finally{if(_0x167b5d)throw _0x167b5d['error'];}}return this;},_0x5d47a9['prototype']['digest']=function(){return(0xffffffff^this['checksum'])>>>0x0;},_0x5d47a9;}()),a_lookUpTable=[0x0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,0x37d83bf0,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d],lookupTable=uint32ArrayFrom(a_lookUpTable),HEADER_VALUE_TYPE;class Int64{constructor(_0x4af178){if(this['bytes']=_0x4af178,0x8!==_0x4af178['byteLength'])throw new Error('Int64\x20buffers\x20must\x20be\x20exactly\x208\x20bytes');}static['fromNumber'](_0x4b021b){if(_0x4b021b>0x8000000000000000||_0x4b021b<-0x8000000000000000)throw new Error(_0x4b021b+'\x20is\x20too\x20large\x20(or,\x20if\x20negative,\x20too\x20small)\x20to\x20represent\x20as\x20an\x20Int64');const _0x181572=new Uint8Array(0x8);for(let _0x552ffe=0x7,_0x5b0827=Math['abs'](Math['round'](_0x4b021b));_0x552ffe>-0x1&&_0x5b0827>0x0;_0x552ffe--,_0x5b0827/=0x100)_0x181572[_0x552ffe]=_0x5b0827;return _0x4b021b<0x0&&negate(_0x181572),new Int64(_0x181572);}['valueOf'](){const _0x1139c9=this['bytes']['slice'](0x0),_0x1870e5=0x80&_0x1139c9[0x0];return _0x1870e5&&negate(_0x1139c9),parseInt(toHex(_0x1139c9),0x10)*(_0x1870e5?-0x1:0x1);}['toString'](){return String(this['valueOf']());}}function negate(_0x4c3df8){for(let _0x207b19=0x0;_0x207b19<0x8;_0x207b19++)_0x4c3df8[_0x207b19]^=0xff;for(let _0x505879=0x7;_0x505879>-0x1&&(_0x4c3df8[_0x505879]++,0x0===_0x4c3df8[_0x505879]);_0x505879--);}class HeaderMarshaller{constructor(_0x443136,_0xe2fed){this['toUtf8']=_0x443136,this['fromUtf8']=_0xe2fed;}['format'](_0x3d2437){const _0x3487ed=[];for(const _0x509305 of Object['keys'](_0x3d2437)){const _0x4acdf2=this['fromUtf8'](_0x509305);_0x3487ed['push'](Uint8Array['from']([_0x4acdf2['byteLength']]),_0x4acdf2,this['formatHeaderValue'](_0x3d2437[_0x509305]));}const _0x5b0076=new Uint8Array(_0x3487ed['reduce']((_0x43dc2c,_0x385967)=>_0x43dc2c+_0x385967['byteLength'],0x0));let _0x249b7d=0x0;for(const _0x109c51 of _0x3487ed)_0x5b0076['set'](_0x109c51,_0x249b7d),_0x249b7d+=_0x109c51['byteLength'];return _0x5b0076;}['formatHeaderValue'](_0x47e412){switch(_0x47e412['type']){case'boolean':return Uint8Array['from']([_0x47e412['value']?0x0:0x1]);case'byte':return Uint8Array['from']([0x2,_0x47e412['value']]);case'short':const _0x3dcbb9=new DataView(new ArrayBuffer(0x3));return _0x3dcbb9['setUint8'](0x0,0x3),_0x3dcbb9['setInt16'](0x1,_0x47e412['value'],!0x1),new Uint8Array(_0x3dcbb9['buffer']);case'integer':const _0x84f535=new DataView(new ArrayBuffer(0x5));return _0x84f535['setUint8'](0x0,0x4),_0x84f535['setInt32'](0x1,_0x47e412['value'],!0x1),new Uint8Array(_0x84f535['buffer']);case'long':const _0x4e255e=new Uint8Array(0x9);return _0x4e255e[0x0]=0x5,_0x4e255e['set'](_0x47e412['value']['bytes'],0x1),_0x4e255e;case'binary':const _0x5e860e=new DataView(new ArrayBuffer(0x3+_0x47e412['value']['byteLength']));_0x5e860e['setUint8'](0x0,0x6),_0x5e860e['setUint16'](0x1,_0x47e412['value']['byteLength'],!0x1);const _0x299ca1=new Uint8Array(_0x5e860e['buffer']);return _0x299ca1['set'](_0x47e412['value'],0x3),_0x299ca1;case'string':const _0x362c5d=this['fromUtf8'](_0x47e412['value']),_0x2e89be=new DataView(new ArrayBuffer(0x3+_0x362c5d['byteLength']));_0x2e89be['setUint8'](0x0,0x7),_0x2e89be['setUint16'](0x1,_0x362c5d['byteLength'],!0x1);const _0x46b29a=new Uint8Array(_0x2e89be['buffer']);return _0x46b29a['set'](_0x362c5d,0x3),_0x46b29a;case'timestamp':const _0x2b4fb2=new Uint8Array(0x9);return _0x2b4fb2[0x0]=0x8,_0x2b4fb2['set'](Int64['fromNumber'](_0x47e412['value']['valueOf']())['bytes'],0x1),_0x2b4fb2;case'uuid':if(!UUID_PATTERN['test'](_0x47e412['value']))throw new Error('Invalid\x20UUID\x20received:\x20'+_0x47e412['value']);const _0x49b3be=new Uint8Array(0x11);return _0x49b3be[0x0]=0x9,_0x49b3be['set'](fromHex(_0x47e412['value']['replace'](/\-/g,'')),0x1),_0x49b3be;}}['parse'](_0x16eade){const _0x5ed0ed={};let _0x3c4eac=0x0;for(;_0x3c4eac<_0x16eade['byteLength'];){const _0xda3985=_0x16eade['getUint8'](_0x3c4eac++),_0x46e562=this['toUtf8'](new Uint8Array(_0x16eade['buffer'],_0x16eade['byteOffset']+_0x3c4eac,_0xda3985));switch(_0x3c4eac+=_0xda3985,_0x16eade['getUint8'](_0x3c4eac++)){case 0x0:_0x5ed0ed[_0x46e562]={'type':BOOLEAN_TAG,'value':!0x0};break;case 0x1:_0x5ed0ed[_0x46e562]={'type':BOOLEAN_TAG,'value':!0x1};break;case 0x2:_0x5ed0ed[_0x46e562]={'type':BYTE_TAG,'value':_0x16eade['getInt8'](_0x3c4eac++)};break;case 0x3:_0x5ed0ed[_0x46e562]={'type':SHORT_TAG,'value':_0x16eade['getInt16'](_0x3c4eac,!0x1)},_0x3c4eac+=0x2;break;case 0x4:_0x5ed0ed[_0x46e562]={'type':INT_TAG,'value':_0x16eade['getInt32'](_0x3c4eac,!0x1)},_0x3c4eac+=0x4;break;case 0x5:_0x5ed0ed[_0x46e562]={'type':LONG_TAG,'value':new Int64(new Uint8Array(_0x16eade['buffer'],_0x16eade['byteOffset']+_0x3c4eac,0x8))},_0x3c4eac+=0x8;break;case 0x6:const _0x4e7c32=_0x16eade['getUint16'](_0x3c4eac,!0x1);_0x3c4eac+=0x2,_0x5ed0ed[_0x46e562]={'type':BINARY_TAG,'value':new Uint8Array(_0x16eade['buffer'],_0x16eade['byteOffset']+_0x3c4eac,_0x4e7c32)},_0x3c4eac+=_0x4e7c32;break;case 0x7:const _0x52b450=_0x16eade['getUint16'](_0x3c4eac,!0x1);_0x3c4eac+=0x2,_0x5ed0ed[_0x46e562]={'type':STRING_TAG,'value':this['toUtf8'](new Uint8Array(_0x16eade['buffer'],_0x16eade['byteOffset']+_0x3c4eac,_0x52b450))},_0x3c4eac+=_0x52b450;break;case 0x8:_0x5ed0ed[_0x46e562]={'type':TIMESTAMP_TAG,'value':new Date(new Int64(new Uint8Array(_0x16eade['buffer'],_0x16eade['byteOffset']+_0x3c4eac,0x8))['valueOf']())},_0x3c4eac+=0x8;break;case 0x9:const _0x4cafa2=new Uint8Array(_0x16eade['buffer'],_0x16eade['byteOffset']+_0x3c4eac,0x10);_0x3c4eac+=0x10,_0x5ed0ed[_0x46e562]={'type':UUID_TAG,'value':toHex(_0x4cafa2['subarray'](0x0,0x4))+'-'+toHex(_0x4cafa2['subarray'](0x4,0x6))+'-'+toHex(_0x4cafa2['subarray'](0x6,0x8))+'-'+toHex(_0x4cafa2['subarray'](0x8,0xa))+'-'+toHex(_0x4cafa2['subarray'](0xa))};break;default:throw new Error('Unrecognized\x20header\x20type\x20tag');}}return _0x5ed0ed;}}!function(_0x5213fb){_0x5213fb[_0x5213fb['boolTrue']=0x0]='boolTrue',_0x5213fb[_0x5213fb['boolFalse']=0x1]='boolFalse',_0x5213fb[_0x5213fb['byte']=0x2]='byte',_0x5213fb[_0x5213fb['short']=0x3]='short',_0x5213fb[_0x5213fb['integer']=0x4]='integer',_0x5213fb[_0x5213fb['long']=0x5]='long',_0x5213fb[_0x5213fb['byteArray']=0x6]='byteArray',_0x5213fb[_0x5213fb['string']=0x7]='string',_0x5213fb[_0x5213fb['timestamp']=0x8]='timestamp',_0x5213fb[_0x5213fb['uuid']=0x9]='uuid';}(HEADER_VALUE_TYPE||(HEADER_VALUE_TYPE={}));const BOOLEAN_TAG='boolean',BYTE_TAG='byte',SHORT_TAG='short',INT_TAG='integer',LONG_TAG='long',BINARY_TAG='binary',STRING_TAG='string',TIMESTAMP_TAG='timestamp',UUID_TAG='uuid',UUID_PATTERN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,PRELUDE_MEMBER_LENGTH=0x4,PRELUDE_LENGTH=0x2*PRELUDE_MEMBER_LENGTH,CHECKSUM_LENGTH=0x4,MINIMUM_MESSAGE_LENGTH=PRELUDE_LENGTH+0x2*CHECKSUM_LENGTH;function splitMessage({byteLength:_0x1d30bf,byteOffset:_0x1a0008,buffer:_0x492b2f}){if(_0x1d30bf<MINIMUM_MESSAGE_LENGTH)throw new Error('Provided\x20message\x20too\x20short\x20to\x20accommodate\x20event\x20stream\x20message\x20overhead');const _0xf38dc=new DataView(_0x492b2f,_0x1a0008,_0x1d30bf),_0x41ad56=_0xf38dc['getUint32'](0x0,!0x1);if(_0x1d30bf!==_0x41ad56)throw new Error('Reported\x20message\x20length\x20does\x20not\x20match\x20received\x20message\x20length');const _0x4528ff=_0xf38dc['getUint32'](PRELUDE_MEMBER_LENGTH,!0x1),_0x557a0b=_0xf38dc['getUint32'](PRELUDE_LENGTH,!0x1),_0x3dda69=_0xf38dc['getUint32'](_0x1d30bf-CHECKSUM_LENGTH,!0x1),_0x4ac1af=new Crc32()['update'](new Uint8Array(_0x492b2f,_0x1a0008,PRELUDE_LENGTH));if(_0x557a0b!==_0x4ac1af['digest']())throw new Error('The\x20prelude\x20checksum\x20specified\x20in\x20the\x20message\x20('+_0x557a0b+')\x20does\x20not\x20match\x20the\x20calculated\x20CRC32\x20checksum\x20('+_0x4ac1af['digest']()+')');if(_0x4ac1af['update'](new Uint8Array(_0x492b2f,_0x1a0008+PRELUDE_LENGTH,_0x1d30bf-(PRELUDE_LENGTH+CHECKSUM_LENGTH))),_0x3dda69!==_0x4ac1af['digest']())throw new Error('The\x20message\x20checksum\x20('+_0x4ac1af['digest']()+')\x20did\x20not\x20match\x20the\x20expected\x20value\x20of\x20'+_0x3dda69);return{'headers':new DataView(_0x492b2f,_0x1a0008+PRELUDE_LENGTH+CHECKSUM_LENGTH,_0x4528ff),'body':new Uint8Array(_0x492b2f,_0x1a0008+PRELUDE_LENGTH+CHECKSUM_LENGTH+_0x4528ff,_0x41ad56-_0x4528ff-(PRELUDE_LENGTH+CHECKSUM_LENGTH+CHECKSUM_LENGTH))};}class EventStreamCodec{constructor(_0x93a3b,_0x3b61b1){this['headerMarshaller']=new HeaderMarshaller(_0x93a3b,_0x3b61b1),this['messageBuffer']=[],this['isEndOfStream']=!0x1;}['feed'](_0x4218ec){this['messageBuffer']['push'](this['decode'](_0x4218ec));}['endOfStream'](){this['isEndOfStream']=!0x0;}['getMessage'](){const _0x42471e=this['messageBuffer']['pop'](),_0x174594=this['isEndOfStream'];return{'getMessage':()=>_0x42471e,'isEndOfStream':()=>_0x174594};}['getAvailableMessages'](){const _0xacf001=this['messageBuffer'];this['messageBuffer']=[];const _0x57b1d4=this['isEndOfStream'];return{'getMessages':()=>_0xacf001,'isEndOfStream':()=>_0x57b1d4};}['encode']({headers:_0x1a9546,body:_0x1a1d71}){const _0x164e15=this['headerMarshaller']['format'](_0x1a9546),_0x123f74=_0x164e15['byteLength']+_0x1a1d71['byteLength']+0x10,_0x24f5c3=new Uint8Array(_0x123f74),_0x3b6802=new DataView(_0x24f5c3['buffer'],_0x24f5c3['byteOffset'],_0x24f5c3['byteLength']),_0x599945=new Crc32();return _0x3b6802['setUint32'](0x0,_0x123f74,!0x1),_0x3b6802['setUint32'](0x4,_0x164e15['byteLength'],!0x1),_0x3b6802['setUint32'](0x8,_0x599945['update'](_0x24f5c3['subarray'](0x0,0x8))['digest'](),!0x1),_0x24f5c3['set'](_0x164e15,0xc),_0x24f5c3['set'](_0x1a1d71,_0x164e15['byteLength']+0xc),_0x3b6802['setUint32'](_0x123f74-0x4,_0x599945['update'](_0x24f5c3['subarray'](0x8,_0x123f74-0x4))['digest'](),!0x1),_0x24f5c3;}['decode'](_0x4cbe13){const {headers:_0x1708d1,body:_0x241220}=splitMessage(_0x4cbe13);return{'headers':this['headerMarshaller']['parse'](_0x1708d1),'body':_0x241220};}['formatHeaders'](_0x288ddf){return this['headerMarshaller']['format'](_0x288ddf);}}class MessageDecoderStream{constructor(_0x44245b){this['options']=_0x44245b;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x4a414f of this['options']['inputStream']){const _0x4fb361=this['options']['decoder']['decode'](_0x4a414f);yield _0x4fb361;}}}class MessageEncoderStream{constructor(_0xe3c3a5){this['options']=_0xe3c3a5;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x2da350 of this['options']['messageStream']){const _0x5520c0=this['options']['encoder']['encode'](_0x2da350);yield _0x5520c0;}this['options']['includeEndFrame']&&(yield new Uint8Array(0x0));}}class SmithyMessageDecoderStream{constructor(_0xfc9bac){this['options']=_0xfc9bac;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x57d458 of this['options']['messageStream']){const _0x2c86ff=await this['options']['deserializer'](_0x57d458);void 0x0!==_0x2c86ff&&(yield _0x2c86ff);}}}class SmithyMessageEncoderStream{constructor(_0x16416e){this['options']=_0x16416e;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x32695c of this['options']['inputStream']){const _0x5522f0=this['options']['serializer'](_0x32695c);yield _0x5522f0;}}}function getChunkedStream(_0x427de4){let _0xdd39bf=0x0,_0x4a1e47=0x0,_0x283020=null,_0xdda100=null;const _0x5db342=_0x2db012=>{if('number'!=typeof _0x2db012)throw new Error('Attempted\x20to\x20allocate\x20an\x20event\x20message\x20where\x20size\x20was\x20not\x20a\x20number:\x20'+_0x2db012);_0xdd39bf=_0x2db012,_0x4a1e47=0x4,_0x283020=new Uint8Array(_0x2db012),new DataView(_0x283020['buffer'])['setUint32'](0x0,_0x2db012,!0x1);};return{[Symbol['asyncIterator']]:async function*(){const _0x155186=_0x427de4[Symbol['asyncIterator']]();for(;;){const {value:_0x5c3f9e,done:_0x215986}=await _0x155186['next']();if(_0x215986){if(!_0xdd39bf)return;if(_0xdd39bf!==_0x4a1e47)throw new Error('Truncated\x20event\x20message\x20received.');return void(yield _0x283020);}const _0xac9d2d=_0x5c3f9e['length'];let _0x2c59d2=0x0;for(;_0x2c59d2<_0xac9d2d;){if(!_0x283020){const _0x5aa9e9=_0xac9d2d-_0x2c59d2;_0xdda100||(_0xdda100=new Uint8Array(0x4));const _0x4c7b1d=Math['min'](0x4-_0x4a1e47,_0x5aa9e9);if(_0xdda100['set'](_0x5c3f9e['slice'](_0x2c59d2,_0x2c59d2+_0x4c7b1d),_0x4a1e47),_0x4a1e47+=_0x4c7b1d,_0x2c59d2+=_0x4c7b1d,_0x4a1e47<0x4)break;_0x5db342(new DataView(_0xdda100['buffer'])['getUint32'](0x0,!0x1)),_0xdda100=null;}const _0x244542=Math['min'](_0xdd39bf-_0x4a1e47,_0xac9d2d-_0x2c59d2);_0x283020['set'](_0x5c3f9e['slice'](_0x2c59d2,_0x2c59d2+_0x244542),_0x4a1e47),_0x4a1e47+=_0x244542,_0x2c59d2+=_0x244542,_0xdd39bf&&_0xdd39bf===_0x4a1e47&&(yield _0x283020,_0x283020=null,_0xdd39bf=0x0,_0x4a1e47=0x0);}}}};}function getMessageUnmarshaller(_0x28d67a,_0x1cfc6c){return async function(_0x1e882c){const {value:_0x377f7d}=_0x1e882c['headers'][':message-type'];if('error'===_0x377f7d){const _0x151817=new Error(_0x1e882c['headers'][':error-message']['value']||'UnknownError');throw _0x151817['name']=_0x1e882c['headers'][':error-code']['value'],_0x151817;}if('exception'===_0x377f7d){const _0x4710c8=_0x1e882c['headers'][':exception-type']['value'],_0x38cd78={[_0x4710c8]:_0x1e882c},_0x3244be=await _0x28d67a(_0x38cd78);if(_0x3244be['$unknown']){const _0xe8c0b3=new Error(_0x1cfc6c(_0x1e882c['body']));throw _0xe8c0b3['name']=_0x4710c8,_0xe8c0b3;}throw _0x3244be[_0x4710c8];}if('event'===_0x377f7d){const _0x95ce07={[_0x1e882c['headers'][':event-type']['value']]:_0x1e882c},_0x371246=await _0x28d67a(_0x95ce07);if(_0x371246['$unknown'])return;return _0x371246;}throw Error('Unrecognizable\x20event\x20type:\x20'+_0x1e882c['headers'][':event-type']['value']);};}let EventStreamMarshaller$1=class{constructor({utf8Encoder:_0x376ea7,utf8Decoder:_0x12f7a1}){this['eventStreamCodec']=new EventStreamCodec(_0x376ea7,_0x12f7a1),this['utfEncoder']=_0x376ea7;}['deserialize'](_0x83f10c,_0x59f135){const _0x51cd13=getChunkedStream(_0x83f10c);return new SmithyMessageDecoderStream({'messageStream':new MessageDecoderStream({'inputStream':_0x51cd13,'decoder':this['eventStreamCodec']}),'deserializer':getMessageUnmarshaller(_0x59f135,this['utfEncoder'])});}['serialize'](_0x297d9d,_0x10dbfb){return new MessageEncoderStream({'messageStream':new SmithyMessageEncoderStream({'inputStream':_0x297d9d,'serializer':_0x10dbfb}),'encoder':this['eventStreamCodec'],'includeEndFrame':!0x0});}};const readableStreamtoIterable=_0x27860c=>({[Symbol['asyncIterator']]:async function*(){const _0x3548c2=_0x27860c['getReader']();try{for(;;){const {done:_0x2e10f4,value:_0x1eddbd}=await _0x3548c2['read']();if(_0x2e10f4)return;yield _0x1eddbd;}}finally{_0x3548c2['releaseLock']();}}}),iterableToReadableStream=_0x351ddc=>{const _0x404f0e=_0x351ddc[Symbol['asyncIterator']]();return new ReadableStream({async 'pull'(_0x565909){const {done:_0x3c614e,value:_0x5b7505}=await _0x404f0e['next']();if(_0x3c614e)return _0x565909['close']();_0x565909['enqueue'](_0x5b7505);}});};class EventStreamMarshaller{constructor({utf8Encoder:_0x5bb74b,utf8Decoder:_0x5d729b}){this['universalMarshaller']=new EventStreamMarshaller$1({'utf8Decoder':_0x5d729b,'utf8Encoder':_0x5bb74b});}['deserialize'](_0x149677,_0x36e949){const _0x1e7156=isReadableStream(_0x149677)?readableStreamtoIterable(_0x149677):_0x149677;return this['universalMarshaller']['deserialize'](_0x1e7156,_0x36e949);}['serialize'](_0x4f8dc2,_0xe68621){const _0x2bd6d0=this['universalMarshaller']['serialize'](_0x4f8dc2,_0xe68621);return'function'==typeof ReadableStream?iterableToReadableStream(_0x2bd6d0):_0x2bd6d0;}}const isReadableStream=_0x55ca68=>'function'==typeof ReadableStream&&_0x55ca68 instanceof ReadableStream,eventStreamSerdeProvider=_0x1d1df4=>new EventStreamMarshaller(_0x1d1df4);function requestTimeout(_0x24c1aa=0x0){return new Promise((_0x235fc9,_0x349825)=>{_0x24c1aa&&setTimeout(()=>{const _0x3e7286=new Error('Request\x20did\x20not\x20complete\x20within\x20'+_0x24c1aa+'\x20ms');_0x3e7286['name']='TimeoutError',_0x349825(_0x3e7286);},_0x24c1aa);});}const keepAliveSupport={'supported':void 0x0};class FetchHttpHandler{static['create'](_0x17cd72){return'function'==typeof _0x17cd72?.['handle']?_0x17cd72:new FetchHttpHandler(_0x17cd72);}constructor(_0x596368){'function'==typeof _0x596368?this['configProvider']=_0x596368()['then'](_0x51bde3=>_0x51bde3||{}):(this['config']=_0x596368??{},this['configProvider']=Promise['resolve'](this['config'])),void 0x0===keepAliveSupport['supported']&&(keepAliveSupport['supported']=Boolean('undefined'!=typeof Request&&'keepalive'in new Request('https://[::1]')));}['destroy'](){}async['handle'](_0x920e79,{abortSignal:_0x31a73e}={}){this['config']||(this['config']=await this['configProvider']);const _0x7074e6=this['config']['requestTimeout'],_0x2e770d=!0x0===this['config']['keepAlive'],_0x4fbca4=this['config']['credentials'];if(_0x31a73e?.['aborted']){const _0x2d98c8=new Error('Request\x20aborted');return _0x2d98c8['name']='AbortError',Promise['reject'](_0x2d98c8);}let _0x4d562c=_0x920e79['path'];const _0x8623e5=buildQueryString(_0x920e79['query']||{});_0x8623e5&&(_0x4d562c+='?'+_0x8623e5),_0x920e79['fragment']&&(_0x4d562c+='#'+_0x920e79['fragment']);let _0x3130da='';(null!=_0x920e79['username']||null!=_0x920e79['password'])&&(_0x3130da=(_0x920e79['username']??'')+':'+(_0x920e79['password']??'')+'@');const {port:_0x323aeb,method:_0x58448e}=_0x920e79,_0xa41d71=_0x920e79['protocol']+'//'+_0x3130da+_0x920e79['hostname']+(_0x323aeb?':'+_0x323aeb:'')+_0x4d562c,_0x3b59bc='GET'===_0x58448e||'HEAD'===_0x58448e?void 0x0:_0x920e79['body'],_0x5d4e95={'body':_0x3b59bc,'headers':new Headers(_0x920e79['headers']),'method':_0x58448e,'credentials':_0x4fbca4};this['config']?.['cache']&&(_0x5d4e95['cache']=this['config']['cache']),_0x3b59bc&&(_0x5d4e95['duplex']='half'),'undefined'!=typeof AbortController&&(_0x5d4e95['signal']=_0x31a73e),keepAliveSupport['supported']&&(_0x5d4e95['keepalive']=_0x2e770d),'function'==typeof this['config']['requestInit']&&Object['assign'](_0x5d4e95,this['config']['requestInit'](_0x920e79));let _0x247deb=()=>{};const _0x56812d=new Request(_0xa41d71,_0x5d4e95),_0x1b0b42=[fetch(_0x56812d)['then'](_0x560f4a=>{const _0x5015d2=_0x560f4a['headers'],_0x8756b2={};for(const _0x1d8c82 of _0x5015d2['entries']())_0x8756b2[_0x1d8c82[0x0]]=_0x1d8c82[0x1];return null!=_0x560f4a['body']?{'response':new HttpResponse({'headers':_0x8756b2,'reason':_0x560f4a['statusText'],'statusCode':_0x560f4a['status'],'body':_0x560f4a['body']})}:_0x560f4a['blob']()['then'](_0x5631b4=>({'response':new HttpResponse({'headers':_0x8756b2,'reason':_0x560f4a['statusText'],'statusCode':_0x560f4a['status'],'body':_0x5631b4})}));}),requestTimeout(_0x7074e6)];return _0x31a73e&&_0x1b0b42['push'](new Promise((_0x2b7e00,_0x2efc65)=>{const _0x5bf5f1=()=>{const _0x299619=new Error('Request\x20aborted');_0x299619['name']='AbortError',_0x2efc65(_0x299619);};if('function'==typeof _0x31a73e['addEventListener']){const _0x1c65a2=_0x31a73e;_0x1c65a2['addEventListener']('abort',_0x5bf5f1,{'once':!0x0}),_0x247deb=()=>_0x1c65a2['removeEventListener']('abort',_0x5bf5f1);}else _0x31a73e['onabort']=_0x5bf5f1;})),Promise['race'](_0x1b0b42)['finally'](_0x247deb);}['updateHttpClientConfig'](_0x439348,_0x3f5fb0){this['config']=void 0x0,this['configProvider']=this['configProvider']['then'](_0x275895=>(_0x275895[_0x439348]=_0x3f5fb0,_0x275895));}['httpHandlerConfigs'](){return this['config']??{};}}const streamCollector=_0x1d7a87=>'function'==typeof Blob&&_0x1d7a87 instanceof Blob?collectBlob(_0x1d7a87):collectStream(_0x1d7a87);async function collectBlob(_0x251772){const _0x1e29b2=await readToBase64(_0x251772),_0x55db4a=fromBase64(_0x1e29b2);return new Uint8Array(_0x55db4a);}async function collectStream(_0x50410a){const _0x9bd1a7=[],_0xa6a7cf=_0x50410a['getReader']();let _0x499fb4=!0x1,_0x1a5c38=0x0;for(;!_0x499fb4;){const {done:_0x32a1fb,value:_0x5328d9}=await _0xa6a7cf['read']();_0x5328d9&&(_0x9bd1a7['push'](_0x5328d9),_0x1a5c38+=_0x5328d9['length']),_0x499fb4=_0x32a1fb;}const _0x5388ad=new Uint8Array(_0x1a5c38);let _0x42c434=0x0;for(const _0x60f95d of _0x9bd1a7)_0x5388ad['set'](_0x60f95d,_0x42c434),_0x42c434+=_0x60f95d['length'];return _0x5388ad;}function readToBase64(_0x59cc55){return new Promise((_0x1b896b,_0x536c9a)=>{const _0x54c80c=new FileReader();_0x54c80c['onloadend']=()=>{if(0x2!==_0x54c80c['readyState'])return _0x536c9a(new Error('Reader\x20aborted\x20too\x20early'));const _0x12fcd4=_0x54c80c['result']??'',_0x5950a7=_0x12fcd4['indexOf'](','),_0x384679=_0x5950a7>-0x1?_0x5950a7+0x1:_0x12fcd4['length'];_0x1b896b(_0x12fcd4['substring'](_0x384679));},_0x54c80c['onabort']=()=>_0x536c9a(new Error('Read\x20aborted')),_0x54c80c['onerror']=()=>_0x536c9a(_0x54c80c['error']),_0x54c80c['readAsDataURL'](_0x59cc55);});}const invalidProvider=_0x1b736f=>()=>Promise['reject'](_0x1b736f),TEXT_ENCODER$1='function'==typeof TextEncoder?new TextEncoder():null,calculateBodyLength=_0x2731c9=>{if('string'==typeof _0x2731c9){if(TEXT_ENCODER$1)return TEXT_ENCODER$1['encode'](_0x2731c9)['byteLength'];let _0x5ae9b9=_0x2731c9['length'];for(let _0x7c79de=_0x5ae9b9-0x1;_0x7c79de>=0x0;_0x7c79de--){const _0x44c716=_0x2731c9['charCodeAt'](_0x7c79de);_0x44c716>0x7f&&_0x44c716<=0x7ff?_0x5ae9b9++:_0x44c716>0x7ff&&_0x44c716<=0xffff&&(_0x5ae9b9+=0x2),_0x44c716>=0xdc00&&_0x44c716<=0xdfff&&_0x7c79de--;}return _0x5ae9b9;}if('number'==typeof _0x2731c9['byteLength'])return _0x2731c9['byteLength'];if('number'==typeof _0x2731c9['size'])return _0x2731c9['size'];throw new Error('Body\x20Length\x20computation\x20failed\x20for\x20'+_0x2731c9);},s='required',t$1='fn',u='argv',v='ref',a=!0x0,b='isSet',c='booleanEquals',d='error',e='endpoint',f='tree',g='PartitionResult',h={[s]:!0x1,'type':'String'},i$2={[s]:!0x0,'default':!0x1,'type':'Boolean'},j={[v]:'Endpoint'},k={[t$1]:c,[u]:[{[v]:'UseFIPS'},!0x0]},l={[t$1]:c,[u]:[{[v]:'UseDualStack'},!0x0]},m={},n={[t$1]:'getAttr',[u]:[{[v]:g},'supportsFIPS']},o={[t$1]:c,[u]:[!0x0,{[t$1]:'getAttr',[u]:[{[v]:g},'supportsDualStack']}]},p=[k],q=[l],r=[{[v]:'Region'}],_data={'parameters':{'Region':h,'UseDualStack':i$2,'UseFIPS':i$2,'Endpoint':h},'rules':[{'conditions':[{[t$1]:b,[u]:[j]}],'rules':[{'conditions':p,'error':'Invalid\x20Configuration:\x20FIPS\x20and\x20custom\x20endpoint\x20are\x20not\x20supported','type':d},{'rules':[{'conditions':q,'error':'Invalid\x20Configuration:\x20Dualstack\x20and\x20custom\x20endpoint\x20are\x20not\x20supported','type':d},{'endpoint':{'url':j,'properties':m,'headers':m},'type':e}],'type':f}],'type':f},{'rules':[{'conditions':[{[t$1]:b,[u]:r}],'rules':[{'conditions':[{[t$1]:'aws.partition',[u]:r,'assign':g}],'rules':[{'conditions':[k,l],'rules':[{'conditions':[{[t$1]:c,[u]:[a,n]},o],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}','properties':m,'headers':m},'type':e}],'type':f}],'type':f},{'error':'FIPS\x20and\x20DualStack\x20are\x20enabled,\x20but\x20this\x20partition\x20does\x20not\x20support\x20one\x20or\x20both','type':d}],'type':f},{'conditions':p,'rules':[{'conditions':[{[t$1]:c,[u]:[n,a]}],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}','properties':m,'headers':m},'type':e}],'type':f}],'type':f},{'error':'FIPS\x20is\x20enabled\x20but\x20this\x20partition\x20does\x20not\x20support\x20FIPS','type':d}],'type':f},{'conditions':q,'rules':[{'conditions':[o],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}','properties':m,'headers':m},'type':e}],'type':f}],'type':f},{'error':'DualStack\x20is\x20enabled\x20but\x20this\x20partition\x20does\x20not\x20support\x20DualStack','type':d}],'type':f},{'rules':[{'endpoint':{'url':'https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}','properties':m,'headers':m},'type':e}],'type':f}],'type':f}],'type':f},{'error':'Invalid\x20Configuration:\x20Missing\x20Region','type':d}],'type':f}]},ruleSet=_data,defaultEndpointResolver=(_0x151942,_0x15d636={})=>resolveEndpoint(ruleSet,{'endpointParams':_0x151942,'logger':_0x15d636['logger']});customEndpointFunctions['aws']=awsEndpointFunctions;const getRuntimeConfig$1=_0x1b9944=>({'apiVersion':'2023-09-30','base64Decoder':_0x1b9944?.['base64Decoder']??fromBase64,'base64Encoder':_0x1b9944?.['base64Encoder']??toBase64,'disableHostPrefix':_0x1b9944?.['disableHostPrefix']??!0x1,'endpointProvider':_0x1b9944?.['endpointProvider']??defaultEndpointResolver,'extensions':_0x1b9944?.['extensions']??[],'httpAuthSchemeProvider':_0x1b9944?.['httpAuthSchemeProvider']??defaultBedrockRuntimeHttpAuthSchemeProvider,'httpAuthSchemes':_0x1b9944?.['httpAuthSchemes']??[{'schemeId':'aws.auth#sigv4','identityProvider':_0x60122d=>_0x60122d['getIdentityProvider']('aws.auth#sigv4'),'signer':new AwsSdkSigV4Signer()}],'logger':_0x1b9944?.['logger']??new NoOpLogger(),'serviceId':_0x1b9944?.['serviceId']??'Bedrock\x20Runtime','urlParser':_0x1b9944?.['urlParser']??parseUrl,'utf8Decoder':_0x1b9944?.['utf8Decoder']??fromUtf8$2,'utf8Encoder':_0x1b9944?.['utf8Encoder']??toUtf8}),memoize$2=(_0x323d41,_0xcf37a0,_0x480f31)=>{let _0x38d104,_0x56a84d,_0x5e3880,_0x483a79=!0x1;return async _0x3cd217=>(_0x5e3880&&!_0x3cd217?.['forceRefresh']||(_0x38d104=await((async()=>{_0x56a84d||(_0x56a84d=_0x323d41());try{_0x38d104=await _0x56a84d,_0x5e3880=!0x0,_0x483a79=!0x1;}finally{_0x56a84d=void 0x0;}return _0x38d104;})())),_0x38d104);},DEFAULTS_MODE_OPTIONS=['in-region','cross-region','mobile','standard','legacy'],resolveDefaultsModeConfig=({defaultsMode:_0x516eed}={})=>memoize$2(async()=>{const _0x3407e1='function'==typeof _0x516eed?await _0x516eed():_0x516eed;switch(_0x3407e1?.['toLowerCase']()){case'auto':return Promise['resolve'](isMobileBrowser()?'mobile':'standard');case'mobile':case'in-region':case'cross-region':case'standard':case'legacy':return Promise['resolve'](_0x3407e1?.['toLocaleLowerCase']());case void 0x0:return Promise['resolve']('legacy');default:throw new Error('Invalid\x20parameter\x20for\x20\x22defaultsMode\x22,\x20expect\x20'+DEFAULTS_MODE_OPTIONS['join'](',\x20')+',\x20got\x20'+_0x3407e1);}}),isMobileBrowser=()=>{const _0xf9e120='undefined'!=typeof window&&window?.['navigator']?.['userAgent']?es5Exports['parse'](window['navigator']['userAgent']):void 0x0,_0x56f89f=_0xf9e120?.['platform']?.['type'];return'tablet'===_0x56f89f||'mobile'===_0x56f89f;},getRuntimeConfig=_0x28e74c=>{const _0x1601e3=resolveDefaultsModeConfig(_0x28e74c),_0x186b9c=()=>_0x1601e3()['then'](loadConfigsForDefaultMode),_0x1e4df9=getRuntimeConfig$1(_0x28e74c);return{..._0x1e4df9,..._0x28e74c,'runtime':'browser','defaultsMode':_0x1601e3,'bodyLengthChecker':_0x28e74c?.['bodyLengthChecker']??calculateBodyLength,'credentialDefaultProvider':_0x28e74c?.['credentialDefaultProvider']??(_0x1a4d42=>()=>Promise['reject'](new Error('Credential\x20is\x20missing'))),'defaultUserAgentProvider':_0x28e74c?.['defaultUserAgentProvider']??defaultUserAgent({'serviceId':_0x1e4df9['serviceId'],'clientVersion':packageInfo['version']}),'eventStreamSerdeProvider':_0x28e74c?.['eventStreamSerdeProvider']??eventStreamSerdeProvider,'maxAttempts':_0x28e74c?.['maxAttempts']??DEFAULT_MAX_ATTEMPTS,'region':_0x28e74c?.['region']??invalidProvider('Region\x20is\x20missing'),'requestHandler':FetchHttpHandler['create'](_0x28e74c?.['requestHandler']??_0x186b9c),'retryMode':_0x28e74c?.['retryMode']??(async()=>(await _0x186b9c())['retryMode']||DEFAULT_RETRY_MODE),'sha256':_0x28e74c?.['sha256']??Sha256,'streamCollector':_0x28e74c?.['streamCollector']??streamCollector,'useDualstackEndpoint':_0x28e74c?.['useDualstackEndpoint']??(()=>Promise['resolve'](DEFAULT_USE_DUALSTACK_ENDPOINT)),'useFipsEndpoint':_0x28e74c?.['useFipsEndpoint']??(()=>Promise['resolve'](DEFAULT_USE_FIPS_ENDPOINT))};},getAwsRegionExtensionConfiguration=_0x38dcd2=>{let _0x4f3960=async()=>{if(void 0x0===_0x38dcd2['region'])throw new Error('Region\x20is\x20missing\x20from\x20runtimeConfig');const _0x10812e=_0x38dcd2['region'];return'string'==typeof _0x10812e?_0x10812e:_0x10812e();};return{'setRegion'(_0x20c2df){_0x4f3960=_0x20c2df;},'region':()=>_0x4f3960};},resolveAwsRegionExtensionConfiguration=_0x26d4a7=>({'region':_0x26d4a7['region']()}),getHttpAuthExtensionConfiguration=_0x4ee30f=>{const _0x21c11f=_0x4ee30f['httpAuthSchemes'];let _0x15ad44=_0x4ee30f['httpAuthSchemeProvider'],_0x297bc2=_0x4ee30f['credentials'];return{'setHttpAuthScheme'(_0x3f62d9){const _0x16ff78=_0x21c11f['findIndex'](_0x336c1c=>_0x336c1c['schemeId']===_0x3f62d9['schemeId']);-0x1===_0x16ff78?_0x21c11f['push'](_0x3f62d9):_0x21c11f['splice'](_0x16ff78,0x1,_0x3f62d9);},'httpAuthSchemes':()=>_0x21c11f,'setHttpAuthSchemeProvider'(_0x25aa83){_0x15ad44=_0x25aa83;},'httpAuthSchemeProvider':()=>_0x15ad44,'setCredentials'(_0x32b337){_0x297bc2=_0x32b337;},'credentials':()=>_0x297bc2};},resolveHttpAuthRuntimeConfig=_0x565859=>({'httpAuthSchemes':_0x565859['httpAuthSchemes'](),'httpAuthSchemeProvider':_0x565859['httpAuthSchemeProvider'](),'credentials':_0x565859['credentials']()}),asPartial=t=>t,resolveRuntimeExtensions=(_0x3fe9c4,_0x318d61)=>{const _0x417f3a={...asPartial(getAwsRegionExtensionConfiguration(_0x3fe9c4)),...asPartial(getDefaultExtensionConfiguration(_0x3fe9c4)),...asPartial(getHttpHandlerExtensionConfiguration(_0x3fe9c4)),...asPartial(getHttpAuthExtensionConfiguration(_0x3fe9c4))};return _0x318d61['forEach'](_0x24ee52=>_0x24ee52['configure'](_0x417f3a)),{..._0x3fe9c4,...resolveAwsRegionExtensionConfiguration(_0x417f3a),...resolveDefaultRuntimeConfig(_0x417f3a),...resolveHttpHandlerRuntimeConfig(_0x417f3a),...resolveHttpAuthRuntimeConfig(_0x417f3a)};};class BedrockRuntimeClient extends Client{constructor(...[_0xfc65b4]){const _0x35675b=getRuntimeConfig(_0xfc65b4||{}),_0x3be8bb=resolveClientEndpointParameters(_0x35675b),_0x481569=resolveRegionConfig(_0x3be8bb),_0x4e26be=resolveUserAgentConfig(resolveHostHeaderConfig(resolveEndpointConfig(_0x481569))),_0x401faa=resolveRetryConfig(_0x4e26be),_0x3ce84d=resolveEventStreamSerdeConfig(_0x401faa),_0x330cc2=resolveHttpAuthSchemeConfig(_0x3ce84d),_0x3b41b6=resolveRuntimeExtensions(_0x330cc2,_0xfc65b4?.['extensions']||[]);super(_0x3b41b6),this['config']=_0x3b41b6,this['middlewareStack']['use'](getHostHeaderPlugin(this['config'])),this['middlewareStack']['use'](getLoggerPlugin(this['config'])),this['middlewareStack']['use'](getRecursionDetectionPlugin(this['config'])),this['middlewareStack']['use'](getUserAgentPlugin(this['config'])),this['middlewareStack']['use'](getRetryPlugin(this['config'])),this['middlewareStack']['use'](getContentLengthPlugin(this['config'])),this['middlewareStack']['use'](getHttpAuthSchemeEndpointRuleSetPlugin(this['config'],{'httpAuthSchemeParametersProvider':this['getDefaultHttpAuthSchemeParametersProvider'](),'identityProviderConfigProvider':this['getIdentityProviderConfigProvider']()})),this['middlewareStack']['use'](getHttpSigningPlugin(this['config']));}['destroy'](){super['destroy']();}['getDefaultHttpAuthSchemeParametersProvider'](){return defaultBedrockRuntimeHttpAuthSchemeParametersProvider;}['getIdentityProviderConfigProvider'](){return async _0x248618=>new DefaultIdentityProviderConfig({'aws.auth#sigv4':_0x248618['credentials']});}}class BedrockRuntimeServiceException extends ServiceException{constructor(_0x35a4b8){super(_0x35a4b8),Object['setPrototypeOf'](this,BedrockRuntimeServiceException['prototype']);}}class AccessDeniedException extends BedrockRuntimeServiceException{constructor(_0x18fc8a){super({'name':'AccessDeniedException','$fault':'client',..._0x18fc8a}),this['name']='AccessDeniedException',this['$fault']='client',Object['setPrototypeOf'](this,AccessDeniedException['prototype']);}}var GuardrailContentBlock,DocumentSource,GuardrailConverseContentBlock,ImageSource,ToolResultContentBlock,ContentBlock,SystemContentBlock,ToolChoice,ToolInputSchema,Tool,ConverseOutput,ContentBlockDelta,ContentBlockStart,ConverseStreamOutput,ResponseStream;!function(_0x5ad03a){_0x5ad03a['visit']=(_0x378d3a,_0x3182b3)=>void 0x0!==_0x378d3a['text']?_0x3182b3['text'](_0x378d3a['text']):_0x3182b3['_'](_0x378d3a['$unknown'][0x0],_0x378d3a['$unknown'][0x1]);}(GuardrailContentBlock||(GuardrailContentBlock={}));class InternalServerException extends BedrockRuntimeServiceException{constructor(_0x23a046){super({'name':'InternalServerException','$fault':'server',..._0x23a046}),this['name']='InternalServerException',this['$fault']='server',Object['setPrototypeOf'](this,InternalServerException['prototype']);}}class ResourceNotFoundException extends BedrockRuntimeServiceException{constructor(_0x12697e){super({'name':'ResourceNotFoundException','$fault':'client',..._0x12697e}),this['name']='ResourceNotFoundException',this['$fault']='client',Object['setPrototypeOf'](this,ResourceNotFoundException['prototype']);}}class ServiceQuotaExceededException extends BedrockRuntimeServiceException{constructor(_0x47f791){super({'name':'ServiceQuotaExceededException','$fault':'client',..._0x47f791}),this['name']='ServiceQuotaExceededException',this['$fault']='client',Object['setPrototypeOf'](this,ServiceQuotaExceededException['prototype']);}}class ThrottlingException extends BedrockRuntimeServiceException{constructor(_0x41d265){super({'name':'ThrottlingException','$fault':'client',..._0x41d265}),this['name']='ThrottlingException',this['$fault']='client',Object['setPrototypeOf'](this,ThrottlingException['prototype']);}}class ValidationException extends BedrockRuntimeServiceException{constructor(_0x13730d){super({'name':'ValidationException','$fault':'client',..._0x13730d}),this['name']='ValidationException',this['$fault']='client',Object['setPrototypeOf'](this,ValidationException['prototype']);}}!function(_0x3fd7fc){_0x3fd7fc['visit']=(_0x594d53,_0x89734b)=>void 0x0!==_0x594d53['bytes']?_0x89734b['bytes'](_0x594d53['bytes']):_0x89734b['_'](_0x594d53['$unknown'][0x0],_0x594d53['$unknown'][0x1]);}(DocumentSource||(DocumentSource={})),function(_0x5529f5){_0x5529f5['visit']=(_0x2481ae,_0x4770e9)=>void 0x0!==_0x2481ae['text']?_0x4770e9['text'](_0x2481ae['text']):_0x4770e9['_'](_0x2481ae['$unknown'][0x0],_0x2481ae['$unknown'][0x1]);}(GuardrailConverseContentBlock||(GuardrailConverseContentBlock={})),function(_0x39e30a){_0x39e30a['visit']=(_0x39ebcc,_0x59bf6b)=>void 0x0!==_0x39ebcc['bytes']?_0x59bf6b['bytes'](_0x39ebcc['bytes']):_0x59bf6b['_'](_0x39ebcc['$unknown'][0x0],_0x39ebcc['$unknown'][0x1]);}(ImageSource||(ImageSource={})),function(_0x5d7700){_0x5d7700['visit']=(_0x2598b7,_0x28fbe9)=>void 0x0!==_0x2598b7['json']?_0x28fbe9['json'](_0x2598b7['json']):void 0x0!==_0x2598b7['text']?_0x28fbe9['text'](_0x2598b7['text']):void 0x0!==_0x2598b7['image']?_0x28fbe9['image'](_0x2598b7['image']):void 0x0!==_0x2598b7['document']?_0x28fbe9['document'](_0x2598b7['document']):_0x28fbe9['_'](_0x2598b7['$unknown'][0x0],_0x2598b7['$unknown'][0x1]);}(ToolResultContentBlock||(ToolResultContentBlock={})),function(_0x499994){_0x499994['visit']=(_0x18310b,_0x42a02b)=>void 0x0!==_0x18310b['text']?_0x42a02b['text'](_0x18310b['text']):void 0x0!==_0x18310b['image']?_0x42a02b['image'](_0x18310b['image']):void 0x0!==_0x18310b['document']?_0x42a02b['document'](_0x18310b['document']):void 0x0!==_0x18310b['toolUse']?_0x42a02b['toolUse'](_0x18310b['toolUse']):void 0x0!==_0x18310b['toolResult']?_0x42a02b['toolResult'](_0x18310b['toolResult']):void 0x0!==_0x18310b['guardContent']?_0x42a02b['guardContent'](_0x18310b['guardContent']):_0x42a02b['_'](_0x18310b['$unknown'][0x0],_0x18310b['$unknown'][0x1]);}(ContentBlock||(ContentBlock={})),function(_0x3cd4f4){_0x3cd4f4['visit']=(_0x5263c8,_0x16ae0f)=>void 0x0!==_0x5263c8['text']?_0x16ae0f['text'](_0x5263c8['text']):void 0x0!==_0x5263c8['guardContent']?_0x16ae0f['guardContent'](_0x5263c8['guardContent']):_0x16ae0f['_'](_0x5263c8['$unknown'][0x0],_0x5263c8['$unknown'][0x1]);}(SystemContentBlock||(SystemContentBlock={})),function(_0x462123){_0x462123['visit']=(_0x4b5483,_0x3e2fb8)=>void 0x0!==_0x4b5483['auto']?_0x3e2fb8['auto'](_0x4b5483['auto']):void 0x0!==_0x4b5483['any']?_0x3e2fb8['any'](_0x4b5483['any']):void 0x0!==_0x4b5483['tool']?_0x3e2fb8['tool'](_0x4b5483['tool']):_0x3e2fb8['_'](_0x4b5483['$unknown'][0x0],_0x4b5483['$unknown'][0x1]);}(ToolChoice||(ToolChoice={})),function(_0x4bd924){_0x4bd924['visit']=(_0x4d8c2d,_0x32f166)=>void 0x0!==_0x4d8c2d['json']?_0x32f166['json'](_0x4d8c2d['json']):_0x32f166['_'](_0x4d8c2d['$unknown'][0x0],_0x4d8c2d['$unknown'][0x1]);}(ToolInputSchema||(ToolInputSchema={})),function(_0x2369f3){_0x2369f3['visit']=(_0x2cf9fc,_0x5e38b5)=>void 0x0!==_0x2cf9fc['toolSpec']?_0x5e38b5['toolSpec'](_0x2cf9fc['toolSpec']):_0x5e38b5['_'](_0x2cf9fc['$unknown'][0x0],_0x2cf9fc['$unknown'][0x1]);}(Tool||(Tool={})),function(_0x365545){_0x365545['visit']=(_0xd62358,_0x15b417)=>void 0x0!==_0xd62358['message']?_0x15b417['message'](_0xd62358['message']):_0x15b417['_'](_0xd62358['$unknown'][0x0],_0xd62358['$unknown'][0x1]);}(ConverseOutput||(ConverseOutput={}));class ModelErrorException extends BedrockRuntimeServiceException{constructor(_0x38f691){super({'name':'ModelErrorException','$fault':'client',..._0x38f691}),this['name']='ModelErrorException',this['$fault']='client',Object['setPrototypeOf'](this,ModelErrorException['prototype']),this['originalStatusCode']=_0x38f691['originalStatusCode'],this['resourceName']=_0x38f691['resourceName'];}}class ModelNotReadyException extends BedrockRuntimeServiceException{constructor(_0x145264){super({'name':'ModelNotReadyException','$fault':'client',..._0x145264}),this['name']='ModelNotReadyException',this['$fault']='client',Object['setPrototypeOf'](this,ModelNotReadyException['prototype']);}}class ModelTimeoutException extends BedrockRuntimeServiceException{constructor(_0xa4ba5){super({'name':'ModelTimeoutException','$fault':'client',..._0xa4ba5}),this['name']='ModelTimeoutException',this['$fault']='client',Object['setPrototypeOf'](this,ModelTimeoutException['prototype']);}}class ServiceUnavailableException extends BedrockRuntimeServiceException{constructor(_0x58f9b8){super({'name':'ServiceUnavailableException','$fault':'server',..._0x58f9b8}),this['name']='ServiceUnavailableException',this['$fault']='server',Object['setPrototypeOf'](this,ServiceUnavailableException['prototype']);}}!function(_0x2a826c){_0x2a826c['visit']=(_0x228176,_0x305409)=>void 0x0!==_0x228176['text']?_0x305409['text'](_0x228176['text']):void 0x0!==_0x228176['toolUse']?_0x305409['toolUse'](_0x228176['toolUse']):_0x305409['_'](_0x228176['$unknown'][0x0],_0x228176['$unknown'][0x1]);}(ContentBlockDelta||(ContentBlockDelta={})),function(_0xa58038){_0xa58038['visit']=(_0x265784,_0x2c824a)=>void 0x0!==_0x265784['toolUse']?_0x2c824a['toolUse'](_0x265784['toolUse']):_0x2c824a['_'](_0x265784['$unknown'][0x0],_0x265784['$unknown'][0x1]);}(ContentBlockStart||(ContentBlockStart={}));class ModelStreamErrorException extends BedrockRuntimeServiceException{constructor(_0x484f41){super({'name':'ModelStreamErrorException','$fault':'client',..._0x484f41}),this['name']='ModelStreamErrorException',this['$fault']='client',Object['setPrototypeOf'](this,ModelStreamErrorException['prototype']),this['originalStatusCode']=_0x484f41['originalStatusCode'],this['originalMessage']=_0x484f41['originalMessage'];}}!function(_0x2548e3){_0x2548e3['visit']=(_0x5ccffc,_0x1381a1)=>void 0x0!==_0x5ccffc['messageStart']?_0x1381a1['messageStart'](_0x5ccffc['messageStart']):void 0x0!==_0x5ccffc['contentBlockStart']?_0x1381a1['contentBlockStart'](_0x5ccffc['contentBlockStart']):void 0x0!==_0x5ccffc['contentBlockDelta']?_0x1381a1['contentBlockDelta'](_0x5ccffc['contentBlockDelta']):void 0x0!==_0x5ccffc['contentBlockStop']?_0x1381a1['contentBlockStop'](_0x5ccffc['contentBlockStop']):void 0x0!==_0x5ccffc['messageStop']?_0x1381a1['messageStop'](_0x5ccffc['messageStop']):void 0x0!==_0x5ccffc['metadata']?_0x1381a1['metadata'](_0x5ccffc['metadata']):void 0x0!==_0x5ccffc['internalServerException']?_0x1381a1['internalServerException'](_0x5ccffc['internalServerException']):void 0x0!==_0x5ccffc['modelStreamErrorException']?_0x1381a1['modelStreamErrorException'](_0x5ccffc['modelStreamErrorException']):void 0x0!==_0x5ccffc['validationException']?_0x1381a1['validationException'](_0x5ccffc['validationException']):void 0x0!==_0x5ccffc['throttlingException']?_0x1381a1['throttlingException'](_0x5ccffc['throttlingException']):void 0x0!==_0x5ccffc['serviceUnavailableException']?_0x1381a1['serviceUnavailableException'](_0x5ccffc['serviceUnavailableException']):_0x1381a1['_'](_0x5ccffc['$unknown'][0x0],_0x5ccffc['$unknown'][0x1]);}(ConverseStreamOutput||(ConverseStreamOutput={})),function(_0x5ac91a){_0x5ac91a['visit']=(_0x36ea78,_0xc91239)=>void 0x0!==_0x36ea78['chunk']?_0xc91239['chunk'](_0x36ea78['chunk']):void 0x0!==_0x36ea78['internalServerException']?_0xc91239['internalServerException'](_0x36ea78['internalServerException']):void 0x0!==_0x36ea78['modelStreamErrorException']?_0xc91239['modelStreamErrorException'](_0x36ea78['modelStreamErrorException']):void 0x0!==_0x36ea78['validationException']?_0xc91239['validationException'](_0x36ea78['validationException']):void 0x0!==_0x36ea78['throttlingException']?_0xc91239['throttlingException'](_0x36ea78['throttlingException']):void 0x0!==_0x36ea78['modelTimeoutException']?_0xc91239['modelTimeoutException'](_0x36ea78['modelTimeoutException']):void 0x0!==_0x36ea78['serviceUnavailableException']?_0xc91239['serviceUnavailableException'](_0x36ea78['serviceUnavailableException']):_0xc91239['_'](_0x36ea78['$unknown'][0x0],_0x36ea78['$unknown'][0x1]);}(ResponseStream||(ResponseStream={}));const InvokeModelRequestFilterSensitiveLog=_0xf15ec8=>({..._0xf15ec8,..._0xf15ec8['body']&&{'body':SENSITIVE_STRING}}),InvokeModelResponseFilterSensitiveLog=_0x22eef0=>({..._0x22eef0,..._0x22eef0['body']&&{'body':SENSITIVE_STRING}}),InvokeModelWithResponseStreamRequestFilterSensitiveLog=_0x3923f3=>({..._0x3923f3,..._0x3923f3['body']&&{'body':SENSITIVE_STRING}}),InvokeModelWithResponseStreamResponseFilterSensitiveLog=_0x13a92=>({..._0x13a92,..._0x13a92['body']&&{'body':'STREAMING_CONTENT'}}),se_InvokeModelCommand=async(_0x3ecf3b,_0x4214c7)=>{const _0x38f8cb=requestBuilder(_0x3ecf3b,_0x4214c7),_0x53c08f=map$1({},isSerializableHeaderValue,{[_ct]:_0x3ecf3b[_cT]||'application/octet-stream',[_a$1]:_0x3ecf3b[_a$1],[_xabt]:_0x3ecf3b[_t],[_xabg]:_0x3ecf3b[_gI],[_xabg_]:_0x3ecf3b[_gV]});let _0x44837c;return _0x38f8cb['bp']('/model/{modelId}/invoke'),_0x38f8cb['p']('modelId',()=>_0x3ecf3b['modelId'],'{modelId}',!0x1),void 0x0!==_0x3ecf3b['body']&&(_0x44837c=_0x3ecf3b['body']),_0x38f8cb['m']('POST')['h'](_0x53c08f)['b'](_0x44837c),_0x38f8cb['build']();},se_InvokeModelWithResponseStreamCommand=async(_0x2efd63,_0x14f860)=>{const _0x3ff519=requestBuilder(_0x2efd63,_0x14f860),_0x494e38=map$1({},isSerializableHeaderValue,{[_ct]:_0x2efd63[_cT]||'application/octet-stream',[_xaba]:_0x2efd63[_a$1],[_xabt]:_0x2efd63[_t],[_xabg]:_0x2efd63[_gI],[_xabg_]:_0x2efd63[_gV]});let _0x3c8d61;return _0x3ff519['bp']('/model/{modelId}/invoke-with-response-stream'),_0x3ff519['p']('modelId',()=>_0x2efd63['modelId'],'{modelId}',!0x1),void 0x0!==_0x2efd63['body']&&(_0x3c8d61=_0x2efd63['body']),_0x3ff519['m']('POST')['h'](_0x494e38)['b'](_0x3c8d61),_0x3ff519['build']();},de_InvokeModelCommand=async(_0x5b6f40,_0x35a15e)=>{if(0xc8!==_0x5b6f40['statusCode']&&_0x5b6f40['statusCode']>=0x12c)return de_CommandError(_0x5b6f40,_0x35a15e);const _0x1bf345=map$1({'$metadata':deserializeMetadata(_0x5b6f40),[_cT]:[,_0x5b6f40['headers'][_ct]]}),_0x368cb3=await collectBody(_0x5b6f40['body'],_0x35a15e);return _0x1bf345['body']=_0x368cb3,_0x1bf345;},de_InvokeModelWithResponseStreamCommand=async(_0x14c580,_0x3770c4)=>{if(0xc8!==_0x14c580['statusCode']&&_0x14c580['statusCode']>=0x12c)return de_CommandError(_0x14c580,_0x3770c4);const _0x125654=map$1({'$metadata':deserializeMetadata(_0x14c580),[_cT]:[,_0x14c580['headers'][_xabct]]}),_0x2b56db=_0x14c580['body'];return _0x125654['body']=de_ResponseStream(_0x2b56db,_0x3770c4),_0x125654;},de_CommandError=async(_0xf6396a,_0x44d06e)=>{const _0x59770f={..._0xf6396a,'body':await parseJsonErrorBody(_0xf6396a['body'],_0x44d06e)},_0x36ac8a=loadRestJsonErrorCode(_0xf6396a,_0x59770f['body']);switch(_0x36ac8a){case'AccessDeniedException':case'com.amazonaws.bedrockruntime#AccessDeniedException':throw await de_AccessDeniedExceptionRes(_0x59770f);case'InternalServerException':case'com.amazonaws.bedrockruntime#InternalServerException':throw await de_InternalServerExceptionRes(_0x59770f);case'ResourceNotFoundException':case'com.amazonaws.bedrockruntime#ResourceNotFoundException':throw await de_ResourceNotFoundExceptionRes(_0x59770f);case'ServiceQuotaExceededException':case'com.amazonaws.bedrockruntime#ServiceQuotaExceededException':throw await de_ServiceQuotaExceededExceptionRes(_0x59770f);case'ThrottlingException':case'com.amazonaws.bedrockruntime#ThrottlingException':throw await de_ThrottlingExceptionRes(_0x59770f);case'ValidationException':case'com.amazonaws.bedrockruntime#ValidationException':throw await de_ValidationExceptionRes(_0x59770f);case'ModelErrorException':case'com.amazonaws.bedrockruntime#ModelErrorException':throw await de_ModelErrorExceptionRes(_0x59770f);case'ModelNotReadyException':case'com.amazonaws.bedrockruntime#ModelNotReadyException':throw await de_ModelNotReadyExceptionRes(_0x59770f);case'ModelTimeoutException':case'com.amazonaws.bedrockruntime#ModelTimeoutException':throw await de_ModelTimeoutExceptionRes(_0x59770f);case'ServiceUnavailableException':case'com.amazonaws.bedrockruntime#ServiceUnavailableException':throw await de_ServiceUnavailableExceptionRes(_0x59770f);case'ModelStreamErrorException':case'com.amazonaws.bedrockruntime#ModelStreamErrorException':throw await de_ModelStreamErrorExceptionRes(_0x59770f);default:const _0x569614=_0x59770f['body'];return throwDefaultError({'output':_0xf6396a,'parsedBody':_0x569614,'errorCode':_0x36ac8a});}},throwDefaultError=withBaseException(BedrockRuntimeServiceException),de_AccessDeniedExceptionRes=async(_0x537f6b,_0x5e6b55)=>{const _0x159bd7=map$1({}),_0x596c2a=_0x537f6b['body'],_0x2c04dd=take(_0x596c2a,{'message':expectString});Object['assign'](_0x159bd7,_0x2c04dd);const _0xd09217=new AccessDeniedException({'$metadata':deserializeMetadata(_0x537f6b),..._0x159bd7});return decorateServiceException(_0xd09217,_0x537f6b['body']);},de_InternalServerExceptionRes=async(_0x58a3b7,_0x18c7dd)=>{const _0x9d862f=map$1({}),_0x484db0=_0x58a3b7['body'],_0x148778=take(_0x484db0,{'message':expectString});Object['assign'](_0x9d862f,_0x148778);const _0x1bc090=new InternalServerException({'$metadata':deserializeMetadata(_0x58a3b7),..._0x9d862f});return decorateServiceException(_0x1bc090,_0x58a3b7['body']);},de_ModelErrorExceptionRes=async(_0x497c58,_0x5211ee)=>{const _0x46aa66=map$1({}),_0x2a1043=_0x497c58['body'],_0x50fa48=take(_0x2a1043,{'message':expectString,'originalStatusCode':expectInt32,'resourceName':expectString});Object['assign'](_0x46aa66,_0x50fa48);const _0x3678dd=new ModelErrorException({'$metadata':deserializeMetadata(_0x497c58),..._0x46aa66});return decorateServiceException(_0x3678dd,_0x497c58['body']);},de_ModelNotReadyExceptionRes=async(_0x1a323f,_0x5f382f)=>{const _0x12911f=map$1({}),_0x41f0b4=_0x1a323f['body'],_0xe2c1d5=take(_0x41f0b4,{'message':expectString});Object['assign'](_0x12911f,_0xe2c1d5);const _0x10c9e3=new ModelNotReadyException({'$metadata':deserializeMetadata(_0x1a323f),..._0x12911f});return decorateServiceException(_0x10c9e3,_0x1a323f['body']);},de_ModelStreamErrorExceptionRes=async(_0x478c72,_0x1a9454)=>{const _0xc72dd0=map$1({}),_0x3e461e=_0x478c72['body'],_0x26635b=take(_0x3e461e,{'message':expectString,'originalMessage':expectString,'originalStatusCode':expectInt32});Object['assign'](_0xc72dd0,_0x26635b);const _0x97bc58=new ModelStreamErrorException({'$metadata':deserializeMetadata(_0x478c72),..._0xc72dd0});return decorateServiceException(_0x97bc58,_0x478c72['body']);},de_ModelTimeoutExceptionRes=async(_0x1b8ce,_0x3a3758)=>{const _0xaa3742=map$1({}),_0x4577a6=_0x1b8ce['body'],_0xcbf158=take(_0x4577a6,{'message':expectString});Object['assign'](_0xaa3742,_0xcbf158);const _0x14b213=new ModelTimeoutException({'$metadata':deserializeMetadata(_0x1b8ce),..._0xaa3742});return decorateServiceException(_0x14b213,_0x1b8ce['body']);},de_ResourceNotFoundExceptionRes=async(_0xac4e98,_0x1fb1b7)=>{const _0x3c916a=map$1({}),_0x1d20f7=_0xac4e98['body'],_0x58c4d9=take(_0x1d20f7,{'message':expectString});Object['assign'](_0x3c916a,_0x58c4d9);const _0x8d558c=new ResourceNotFoundException({'$metadata':deserializeMetadata(_0xac4e98),..._0x3c916a});return decorateServiceException(_0x8d558c,_0xac4e98['body']);},de_ServiceQuotaExceededExceptionRes=async(_0x28b5f7,_0x20bd87)=>{const _0x530a62=map$1({}),_0x2faee3=_0x28b5f7['body'],_0x45fc98=take(_0x2faee3,{'message':expectString});Object['assign'](_0x530a62,_0x45fc98);const _0x19b3d7=new ServiceQuotaExceededException({'$metadata':deserializeMetadata(_0x28b5f7),..._0x530a62});return decorateServiceException(_0x19b3d7,_0x28b5f7['body']);},de_ServiceUnavailableExceptionRes=async(_0x33cb29,_0x481d6b)=>{const _0x19844c=map$1({}),_0x29c452=_0x33cb29['body'],_0x484e3e=take(_0x29c452,{'message':expectString});Object['assign'](_0x19844c,_0x484e3e);const _0xf3e2ff=new ServiceUnavailableException({'$metadata':deserializeMetadata(_0x33cb29),..._0x19844c});return decorateServiceException(_0xf3e2ff,_0x33cb29['body']);},de_ThrottlingExceptionRes=async(_0x1ccf34,_0x4680f6)=>{const _0x1eecd1=map$1({}),_0x56f1ff=_0x1ccf34['body'],_0x55681a=take(_0x56f1ff,{'message':expectString});Object['assign'](_0x1eecd1,_0x55681a);const _0x3c3ab7=new ThrottlingException({'$metadata':deserializeMetadata(_0x1ccf34),..._0x1eecd1});return decorateServiceException(_0x3c3ab7,_0x1ccf34['body']);},de_ValidationExceptionRes=async(_0x35d949,_0xdc1a2c)=>{const _0x20bb38=map$1({}),_0xac121b=_0x35d949['body'],_0xd4802e=take(_0xac121b,{'message':expectString});Object['assign'](_0x20bb38,_0xd4802e);const _0x5c5cb5=new ValidationException({'$metadata':deserializeMetadata(_0x35d949),..._0x20bb38});return decorateServiceException(_0x5c5cb5,_0x35d949['body']);},de_ResponseStream=(_0x3b7e05,_0x596e26)=>_0x596e26['eventStreamMarshaller']['deserialize'](_0x3b7e05,async _0x1505aa=>null!=_0x1505aa['chunk']?{'chunk':await de_PayloadPart_event(_0x1505aa['chunk'],_0x596e26)}:null!=_0x1505aa['internalServerException']?{'internalServerException':await de_InternalServerException_event(_0x1505aa['internalServerException'],_0x596e26)}:null!=_0x1505aa['modelStreamErrorException']?{'modelStreamErrorException':await de_ModelStreamErrorException_event(_0x1505aa['modelStreamErrorException'],_0x596e26)}:null!=_0x1505aa['validationException']?{'validationException':await de_ValidationException_event(_0x1505aa['validationException'],_0x596e26)}:null!=_0x1505aa['throttlingException']?{'throttlingException':await de_ThrottlingException_event(_0x1505aa['throttlingException'],_0x596e26)}:null!=_0x1505aa['modelTimeoutException']?{'modelTimeoutException':await de_ModelTimeoutException_event(_0x1505aa['modelTimeoutException'],_0x596e26)}:null!=_0x1505aa['serviceUnavailableException']?{'serviceUnavailableException':await de_ServiceUnavailableException_event(_0x1505aa['serviceUnavailableException'],_0x596e26)}:{'$unknown':_0x3b7e05}),de_InternalServerException_event=async(_0x68db28,_0x48ee10)=>{const _0x19b9b9={..._0x68db28,'body':await parseJsonBody(_0x68db28['body'],_0x48ee10)};return de_InternalServerExceptionRes(_0x19b9b9);},de_ModelStreamErrorException_event=async(_0x361ba0,_0x120013)=>{const _0x4348c7={..._0x361ba0,'body':await parseJsonBody(_0x361ba0['body'],_0x120013)};return de_ModelStreamErrorExceptionRes(_0x4348c7);},de_ModelTimeoutException_event=async(_0x375dc3,_0x47d1aa)=>{const _0x4abdf0={..._0x375dc3,'body':await parseJsonBody(_0x375dc3['body'],_0x47d1aa)};return de_ModelTimeoutExceptionRes(_0x4abdf0);},de_PayloadPart_event=async(_0x1a18bb,_0xacd52e)=>{const _0x4d4fa8={},_0xed1549=await parseJsonBody(_0x1a18bb['body'],_0xacd52e);return Object['assign'](_0x4d4fa8,de_PayloadPart(_0xed1549,_0xacd52e)),_0x4d4fa8;},de_ServiceUnavailableException_event=async(_0x2304ca,_0x11c6c2)=>{const _0x4680b7={..._0x2304ca,'body':await parseJsonBody(_0x2304ca['body'],_0x11c6c2)};return de_ServiceUnavailableExceptionRes(_0x4680b7);},de_ThrottlingException_event=async(_0x2fd256,_0x50b0bb)=>{const _0x4e4ee9={..._0x2fd256,'body':await parseJsonBody(_0x2fd256['body'],_0x50b0bb)};return de_ThrottlingExceptionRes(_0x4e4ee9);},de_ValidationException_event=async(_0x28341e,_0x4b7673)=>{const _0x4891e7={..._0x28341e,'body':await parseJsonBody(_0x28341e['body'],_0x4b7673)};return de_ValidationExceptionRes(_0x4891e7);},de_PayloadPart=(_0x105f97,_0x31145d)=>take(_0x105f97,{'bytes':_0x31145d['base64Decoder']}),deserializeMetadata=_0x1065c3=>({'httpStatusCode':_0x1065c3['statusCode'],'requestId':_0x1065c3['headers']['x-amzn-requestid']??_0x1065c3['headers']['x-amzn-request-id']??_0x1065c3['headers']['x-amz-request-id'],'extendedRequestId':_0x1065c3['headers']['x-amz-id-2'],'cfId':_0x1065c3['headers']['x-amz-cf-id']}),isSerializableHeaderValue=_0x4b14a8=>!(null==_0x4b14a8||''===_0x4b14a8||Object['getOwnPropertyNames'](_0x4b14a8)['includes']('length')&&0x0==_0x4b14a8['length']||Object['getOwnPropertyNames'](_0x4b14a8)['includes']('size')&&0x0==_0x4b14a8['size']),_a$1='accept',_cT='contentType',_ct='content-type',_gI='guardrailIdentifier',_gV='guardrailVersion',_t='trace',_xaba='x-amzn-bedrock-accept',_xabct='x-amzn-bedrock-content-type',_xabg='x-amzn-bedrock-guardrailidentifier',_xabg_='x-amzn-bedrock-guardrailversion',_xabt='x-amzn-bedrock-trace';class InvokeModelCommand extends Command['classBuilder']()['ep']({...commonParams})['m'](function(_0x50001e,_0x2c3580,_0x43256e,_0x359026){return[getSerdePlugin(_0x43256e,this['serialize'],this['deserialize']),getEndpointPlugin(_0x43256e,_0x50001e['getEndpointParameterInstructions']())];})['s']('AmazonBedrockFrontendService','InvokeModel',{})['n']('BedrockRuntimeClient','InvokeModelCommand')['f'](InvokeModelRequestFilterSensitiveLog,InvokeModelResponseFilterSensitiveLog)['ser'](se_InvokeModelCommand)['de'](de_InvokeModelCommand)['build'](){}class InvokeModelWithResponseStreamCommand extends Command['classBuilder']()['ep']({...commonParams})['m'](function(_0x72dd1a,_0xed3278,_0x238662,_0x9616c0){return[getSerdePlugin(_0x238662,this['serialize'],this['deserialize']),getEndpointPlugin(_0x238662,_0x72dd1a['getEndpointParameterInstructions']())];})['s']('AmazonBedrockFrontendService','InvokeModelWithResponseStream',{'eventStream':{'output':!0x0}})['n']('BedrockRuntimeClient','InvokeModelWithResponseStreamCommand')['f'](InvokeModelWithResponseStreamRequestFilterSensitiveLog,InvokeModelWithResponseStreamResponseFilterSensitiveLog)['ser'](se_InvokeModelWithResponseStreamCommand)['de'](de_InvokeModelWithResponseStreamCommand)['build'](){}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}constructor(_0x50dd1b){super(_0x50dd1b),_0x50dd1b['config']['get']('ai.aws.requestParameters')||_0x50dd1b['config']['define']('ai.aws.requestParameters',{'model':'anthropic.claude-v2','max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':'bedrock-2023-05-31','stream':!0x0}),this['_apiUrl']=_0x50dd1b['config']['get']('ai.aws.apiUrl'),this['_bedrockClientConfig']=_0x50dd1b['config']['get']('ai.aws.bedrockClientConfig'),this['_requestHeaders']=_0x50dd1b['config']['get']('ai.aws.requestHeaders'),this['_requestParameters']=_0x50dd1b['config']['get']('ai.aws.requestParameters');}async['sendRequest']({query:_0x4b5c7b,context:_0x8e5f06,onData:_0x59367c,actionId:_0x5e7f25}){const {model:_0x323566,stream:_0x4d90f4,..._0x223b67}=await this['_prepareRequestParameters'](this['_requestParameters'],_0x5e7f25),_0x4c33c6={'prompt':await this['preparePrompt'](_0x4b5c7b,_0x8e5f06,_0x323566,_0x5e7f25),..._0x223b67};this['_apiUrl']?await this['_processProxyRequest'](_0x4c33c6,_0x323566,_0x4d90f4,_0x59367c,_0x5e7f25):await this['_processAWSRequest'](_0x4c33c6,_0x323566,_0x4d90f4,_0x59367c);}async['preparePrompt'](_0xca3ba7,_0x294aae,_0xe68e86,_0x41ffbe){let _0x148307,_0x484868;return _0x294aae?(_0x148307='Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x484868='Instruction:\x0a'+_0xca3ba7+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x294aae):(_0x148307='Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x484868=_0xca3ba7),'meta.llama'==this['getModelFamily'](_0xe68e86)?'<<SYS>>\x0a'+_0x148307+'\x0a<</SYS>>\x0a[INST]\x0a'+_0x484868+'\x0a[/INST]':'Human:\x0a'+_0x148307+'\x0a'+_0x484868+'\x0a\x0aAssistant:';}['getModelFamily'](_0x2ab5c9){if(/^anthropic\.claude/['test'](_0x2ab5c9))return'anthropic.claude';if(/^ai21\.j2/['test'](_0x2ab5c9))return'ai21.j2';if(/^cohere\.command/['test'](_0x2ab5c9))return'cohere.command';if(/^meta\.llama/['test'](_0x2ab5c9))return'meta.llama';throw new AIRequestError(getTranslation$h(this['editor']['locale'],'AI_ERROR_UNSUPPORTED_MODEL',_0x2ab5c9));}async['_processProxyRequest'](_0x4cb419,_0x629ae5,_0x2f267f,_0x254191,_0x235eab){const _0x4d8b22={'method':'POST','headers':await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x235eab),'body':JSON['stringify']({..._0x4cb419,'model':_0x629ae5,'stream':_0x2f267f}),'signal':this['abortController']['signal']},_0x1603df=await fetch(this['_apiUrl'],_0x4d8b22);_0x2f267f?await this['_readStreamableResponse'](_0x1603df,_0x629ae5,_0x254191):await this['_readStaticResponse'](_0x1603df,_0x629ae5,_0x254191);}async['_processAWSRequest'](_0x539664,_0x2e0773,_0x2580dc,_0x33ab3d){const _0x5edfcf=new BedrockRuntimeClient(this['_bedrockClientConfig']),_0x1b5f68={'body':JSON['stringify'](_0x539664),'contentType':'application/json','accept':'application/json','modelId':_0x2e0773};let _0x19bbc6;if(_0x2580dc){const _0x35603b=new InvokeModelWithResponseStreamCommand(_0x1b5f68);_0x19bbc6=await _0x5edfcf['send'](_0x35603b,{'abortSignal':this['abortController']['signal']}),await this['_readAsyncIterableResponse'](_0x19bbc6,_0x2e0773,_0x33ab3d);}else{const _0x193144=new InvokeModelCommand(_0x1b5f68);_0x19bbc6=await _0x5edfcf['send'](_0x193144,{'abortSignal':this['abortController']['signal']}),await this['_readStaticResponse'](_0x19bbc6,_0x2e0773,_0x33ab3d);}}async['_readAsyncIterableResponse'](_0x30a2b3,_0x2d9acb,_0x4ca16a){const _0x60954c=_0x30a2b3['body'],_0xfb1859=new TextDecoder('utf-8');let _0x5d5545='';for await(const _0x8d55c7 of _0x60954c)if(_0x8d55c7['chunk']){const _0x49a21e=_0xfb1859['decode'](_0x8d55c7['chunk']['bytes']),_0x3a173f=JSON['parse'](_0x49a21e);_0x5d5545+=this['_getGeneratedText'](_0x3a173f,_0x2d9acb),_0x4ca16a(_0x5d5545);}return Promise['resolve']();}async['_readStreamableResponse'](_0x41c8aa,_0x7c436,_0x3c45f5){const _0x54eb91=_0x41c8aa['body'],_0x49df8e=new TextDecoder('utf-8'),_0x51efbb=_0x54eb91['getReader']();let _0x5b056e='',_0x354c85='',_0xcee753=!0x1;for(;!_0xcee753;){const {done:_0x36a50f,value:_0x2fbd8b}=await _0x51efbb['read']();if(_0xcee753=_0x36a50f,_0xcee753)break;const _0x1ee491=(_0x5b056e+_0x49df8e['decode'](_0x2fbd8b))['split']('\x0a')['map'](_0x5d506b=>{try{return _0x5b056e='',JSON['parse'](_0x5d506b);}catch(_0x5befe4){return _0x5b056e=_0x5d506b,null;}})['filter'](_0x3fbfab=>null!==_0x3fbfab);if(_0x1ee491['length']){const _0x37234f=_0x1ee491['map'](_0x20920b=>this['_getGeneratedText'](_0x20920b,_0x7c436))['join']('');_0x354c85+=_0x37234f,_0x3c45f5(_0x354c85);}}return Promise['resolve']();}async['_readStaticResponse'](_0x256e8e,_0x2b553e,_0x327d65){let _0x1b51a0;return _0x1b51a0=_0x256e8e instanceof Response?await _0x256e8e['json']():JSON['parse'](Buffer['from'](_0x256e8e['body'])['toString']('utf8')),(_0x327d65(this['_getGeneratedText'](_0x1b51a0,_0x2b553e)),Promise['resolve']());}['_getGeneratedText'](_0x2badbc,_0xec5678){switch(this['getModelFamily'](_0xec5678)){case'anthropic.claude':return _0x2badbc['completion'];case'ai21.j2':return _0x2badbc['completions'][0x0]['data']['text'];case'cohere.command':return _0x2badbc['generations'][0x0]['text'];case'meta.llama':return _0x2badbc['generation'];}}}class CaseChangeCommand extends _0xa280c5{constructor(_0x43a96c,_0x7931c2){super(_0x43a96c),this['_transformCallback']=_0x7931c2;}['execute'](){const _0x47f426=this['editor']['model'],_0x3ee72d=Array['from'](this['_getAffectedRanges']()),_0x155de3=Array['from'](_0x47f426['document']['selection']['getRanges']());_0x47f426['change'](_0x894245=>{for(const _0x1b4012 of _0x3ee72d)this['_modifyContent'](_0x1b4012,_0x894245);_0x894245['setSelection'](_0x155de3);});}['refresh'](){for(const _0x4e716c of this['_getAffectedRanges']())for(const _0xa03884 of _0x4e716c)if(_0xa03884['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x484302=this['editor']['model'],_0x3fae6b=_0x484302['document']['selection'];if(_0x3fae6b['isCollapsed']){const _0x2f5ecf=this['_findAncestorTextBlock'](_0x3fae6b['getFirstPosition']()['parent']);return _0x2f5ecf?[_0x484302['createRangeIn'](_0x2f5ecf)]:[];}return _0x3fae6b['getRanges']();}['_modifyContent'](_0x478168,_0x283b70){for(const _0x36004f of this['_getElementsAllowingText'](_0x478168)){const _0x309d28=this['_getElementTextContent'](_0x36004f),_0x2610c4=this['_transformCallback'](_0x309d28);for(const _0x10db1e of this['_getTextNodesRangeLimited'](_0x36004f,_0x478168))this['_replaceTextNodeData'](_0x10db1e,_0x2610c4,_0x283b70);}}['_findAncestorTextBlock'](_0x49aba1){const _0x2161d3=this['editor']['model']['schema'];if(_0x49aba1['is']('element')&&_0x2161d3['checkChild'](_0x49aba1,'$text'))return _0x49aba1;const _0x286184=_0x49aba1['parent'];return!_0x286184||_0x2161d3['isLimit'](_0x49aba1)?null:this['_findAncestorTextBlock'](_0x286184);}*['_getElementsAllowingText'](_0x185d28){const _0x4808fb=new Set();for(const {item:_0x1925c5}of _0x185d28['getWalker']()){const _0x1216e4=this['_findAncestorTextBlock'](_0x1925c5);_0x1216e4&&!_0x4808fb['has'](_0x1216e4)&&(_0x4808fb['add'](_0x1216e4),yield _0x1216e4);}}['_getElementTextContent'](_0x47a247){return Array['from'](_0x47a247['getChildren']())['reduce']((_0x4d90af,_0x1c17fa)=>_0x4d90af+(_0x1c17fa['is']('$text')?_0x1c17fa['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x59c505,_0x5193e8){const _0x5e9ec2=_0x5193e8['getIntersection'](this['editor']['model']['createRangeIn'](_0x59c505));if(_0x5e9ec2){for(const _0x50b090 of _0x5e9ec2['getItems']())_0x50b090['is']('$textProxy')&&_0x50b090['parent']==_0x59c505&&(yield _0x50b090);}}['_replaceTextNodeData'](_0x31e097,_0x1ba260,_0xe83b4c){const _0x5f4da4=_0x1ba260['substring'](_0x31e097['startOffset'],_0x31e097['endOffset']);if(_0x5f4da4===_0x31e097['data'])return;const _0x39d55a=_0x31e097['getAttributes']();this['editor']['model']['insertContent'](_0xe83b4c['createText'](_0x5f4da4,_0x39d55a),_0xe83b4c['createSelection'](_0xe83b4c['createRangeOn'](_0x31e097)));}}function getTranslation$g(_0x3e80a5,_0x44b0f5,..._0x32b7f9){const t=_0x3e80a5['t'];switch(_0x44b0f5){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x32b7f9);default:return _0x44b0f5;}}class CaseChangeEditing extends Plugin{constructor(){super(...arguments),this['_currentCommandIndex']=0x0;}static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3e79f7=this['editor'],_0x4a2617=_0x3e79f7['locale']['contentLanguage'],_0x171e7e=normalizeExcludeWordCallback(_0x3e79f7['config']['get']('caseChange.titleCase.excludeWords')),_0x19d065={'changeCaseUpper':new CaseChangeCommand(_0x3e79f7,_0x49c155=>_0x49c155['toLocaleUpperCase'](_0x4a2617)),'changeCaseLower':new CaseChangeCommand(_0x3e79f7,_0x102fd4=>_0x102fd4['toLocaleLowerCase'](_0x4a2617)),'changeCaseTitle':new CaseChangeCommand(_0x3e79f7,_0x11fda0=>capitalizeText(_0x11fda0,_0x171e7e,_0x4a2617))};for(const [_0xbf4db1,_0x1aaf83]of Object['entries'](_0x19d065))_0x3e79f7['commands']['add'](_0xbf4db1,_0x1aaf83),_0x1aaf83['on']('execute',()=>{this['_announceCaseChangeOperation'](_0xbf4db1);});this['listenTo'](_0x3e79f7['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x3e79f7['keystrokes']['set']('shift+f3',(_0x29c550,_0x4e0716)=>{const _0x376e59=_getOptions(this['editor']['locale']),_0x51a246=_0x376e59[this['_currentCommandIndex']%_0x376e59['length']]['commandName'];_0x3e79f7['execute'](_0x51a246),this['_currentCommandIndex']++,_0x4e0716();});}['afterInit'](){checkLicense$e(this);}['_announceCaseChangeOperation'](_0x57da51){const {ui:_0x24d277,locale:_0x5def19}=this['editor'],_0x39a283=_getOptions(_0x5def19)['find'](_0x17208e=>_0x17208e['commandName']===_0x57da51)['label']['toLowerCase']();_0x24d277['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x5def19,'Changed\x20case\x20to\x20%0',_0x39a283));}}function _getOptions(_0x51f8d4){return[{'label':getTranslation$g(_0x51f8d4,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x51f8d4,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x51f8d4,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0xf7b36a,_0x53dbe1,_0x4d327a){return replaceWords(_0xf7b36a,(_0x12efb4,_0x29f644,_0x4b2092)=>{const _0x5bb2f5=_0x12efb4['toLocaleLowerCase'](_0x4d327a);return _0x53dbe1(_0x5bb2f5,{'charOffset':_0x29f644,'wordIndex':_0x4b2092,'blockText':_0xf7b36a})?_0x5bb2f5:_0x5bb2f5['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x301fe0=>_0x301fe0['toLocaleUpperCase'](_0x4d327a));});}function replaceWords(_0x5dfc1,_0x1bb84c){let _0x2c777a='',_0x342d22=0x0,_0x5d0f4d=0x0;for(const _0xe636dd of _0x5dfc1['matchAll'](/ +/g)){const _0x16db81=_0xe636dd['index'],_0x561f67=_0x5dfc1['substring'](_0x342d22,_0x16db81);_0x561f67['length']&&(_0x2c777a+=_0x1bb84c(_0x561f67,_0x342d22,_0x5d0f4d++)),_0x2c777a+=_0xe636dd[0x0],_0x342d22=_0x16db81+_0xe636dd[0x0]['length'];}const _0x2e9b=_0x5dfc1['substring'](_0x342d22);return _0x2e9b['length']&&(_0x2c777a+=_0x1bb84c(_0x2e9b,_0x342d22,_0x5d0f4d)),_0x2c777a;}function normalizeExcludeWordCallback(_0x369896=[]){return'function'==typeof _0x369896?_0x369896:(_0x44ed6b,{wordIndex:_0x39f89b})=>_0x39f89b>0x0&&_0x369896['includes'](_0x44ed6b);}async function checkLicense$e(_0x342d35){const _0x583824=_0x6a6bcf([0x55,0x37,0x65,0x47,0x63,0x36,0x77,0x78,0x6e,0x4a,0x6a,0x51,0x70,0x72,0x4d,0x67,0x64,0x58,0x4e,0x79,0x73,0x6f,0x74,0x44,0x57,0x6b,0x4b,0x71,0x4c,0x32,0x54,0x33,0x53,0x59,0x75,0x34,0x31,0x52,0x68,0x41,0x42,0x30,0x48,0x61,0x62,0x56,0x6d,0x7a,0x43,0x6c,0x39,0x5a,0x76,0x38,0x35,0x50,0x46,0x49,0x4f,0x69,0x66,0x45]),_0x3281b3=window[_0x6a6bcf([0x44,0x61,0x74,0x65])][_0x6a6bcf([0x6e,0x6f,0x77])](),_0x2a3214=_0x342d35[_0x6a6bcf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ea637=new window[(_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59f272=>{_0x2a3214[_0x6a6bcf([0x6f,0x6e,0x63,0x65])](_0x6a6bcf([0x72,0x65,0x61,0x64,0x79]),_0x59f272);}),_0x1087ab={[_0x6a6bcf([0x6b,0x74,0x79])]:_0x6a6bcf([0x45,0x43]),[_0x6a6bcf([0x75,0x73,0x65])]:_0x6a6bcf([0x73,0x69,0x67]),[_0x6a6bcf([0x63,0x72,0x76])]:_0x6a6bcf([0x50,0x2d,0x32,0x35,0x36]),[_0x6a6bcf([0x78])]:_0x6a6bcf([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]),[_0x6a6bcf([0x79])]:_0x6a6bcf([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]),[_0x6a6bcf([0x61,0x6c,0x67])]:_0x6a6bcf([0x45,0x53,0x32,0x35,0x36])},_0x2bb7b1=_0x2a3214[_0x6a6bcf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6a6bcf([0x67,0x65,0x74])](_0x6a6bcf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x39960c=await(async function(){let _0x29e111,_0x56cb81=null,_0x258f57=null;try{if(_0x2bb7b1==_0x6a6bcf([0x47,0x50,0x4c]))return _0x6a6bcf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29e111=(function(){const _0x14643d=_0x2bb7b1[_0x6a6bcf([0x73,0x70,0x6c,0x69,0x74])](_0x6a6bcf([0x2e]));if(0x3!=_0x14643d[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4863a5=_0x14643d[0x1];return _0x55d874(_0x4863a5);function _0x55d874(_0x254731){const _0x395c89=_0x1dba4f(_0x254731);return _0x395c89&&_0xd58671()?_0x395c89:null;function _0xd58671(){const _0x357ec1=_0x395c89[_0x6a6bcf([0x6a,0x74,0x69])],_0x2417b3=window[_0x6a6bcf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x357ec1[_0x6a6bcf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x357ec1[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39e9b2={..._0x395c89,[_0x6a6bcf([0x6a,0x74,0x69])]:_0x357ec1[_0x6a6bcf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x357ec1[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39e9b2[_0x6a6bcf([0x76,0x63])],_0x27bfba(_0x39e9b2)==_0x2417b3;}}}()),!_0x29e111)return _0x6a6bcf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x29e111[_0x6a6bcf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x258f57=function(_0x26ebda,_0x3bfc63){return new window[(_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572f1f=>{if(_0x3b89df())return _0x572f1f(_0x6a6bcf([0x56,0x61,0x6c,0x69,0x64]));_0x513a2b(),_0x2a3214[_0x6a6bcf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6a6bcf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22cf7e=!0x1;const _0x34e0f1=uid();function _0x21c881(_0x3db9c5){return!!_0x3db9c5&&(typeof _0x3db9c5===_0x6a6bcf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3db9c5===_0x6a6bcf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3db9c5[_0x6a6bcf([0x74,0x68,0x65,0x6e])]===_0x6a6bcf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3db9c5[_0x6a6bcf([0x63,0x61,0x74,0x63,0x68])]===_0x6a6bcf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4688ef(_0x49dbd8){_0x38ad39(_0x49dbd8)[_0x6a6bcf([0x74,0x68,0x65,0x6e])](_0x2dc0bf=>{if(!_0x2dc0bf||_0x2dc0bf[_0x6a6bcf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6a6bcf([0x6f,0x6b]))return _0x6a6bcf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21a856(_0x27bfba(_0x34e0f1+_0x3bfc63))!=_0x2dc0bf[_0x6a6bcf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6a6bcf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6a6bcf([0x56,0x61,0x6c,0x69,0x64]);})[_0x6a6bcf([0x74,0x68,0x65,0x6e])](_0x95f1d5=>(_0x17dc13(),_0x95f1d5),()=>{const _0x1e59f3=_0x425783();return null==_0x1e59f3?(_0x17dc13(),_0x6a6bcf([0x56,0x61,0x6c,0x69,0x64])):_0x6a6bcf(_0x3281b3-_0x1e59f3>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6a6bcf([0x74,0x68,0x65,0x6e])](_0x572f1f)[_0x6a6bcf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x572f1f(_0x6a6bcf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23c7aa=0x36ee80;function _0x17dc13(){const _0x56d7e3=_0x6a6bcf([0x6c,0x6c,0x63,0x74,0x2d])+_0x21a856(_0x27bfba(_0x26ebda)),_0x1dbd11=_0x20e349(_0x21a856(window[_0x6a6bcf([0x4d,0x61,0x74,0x68])][_0x6a6bcf([0x63,0x65,0x69,0x6c])](_0x3281b3/_0x23c7aa)));window[_0x6a6bcf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6a6bcf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56d7e3,_0x1dbd11);}function _0x425783(){const _0x37d201=_0x6a6bcf([0x6c,0x6c,0x63,0x74,0x2d])+_0x21a856(_0x27bfba(_0x26ebda)),_0x3ba540=window[_0x6a6bcf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6a6bcf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d201);return _0x3ba540?window[_0x6a6bcf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20e349(_0x3ba540),0x10)*_0x23c7aa:null;}function _0x38ad39(_0x9d32f){return new window[(_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e27fd,_0x103017)=>{_0x9d32f[_0x6a6bcf([0x74,0x68,0x65,0x6e])](_0x1e27fd,_0x103017),window[_0x6a6bcf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x103017,0x1d4c0);});}}_0x2a3214[_0x6a6bcf([0x6f,0x6e])](_0x6a6bcf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ff4a9,_0xa37fb3)=>{if(_0xa37fb3[0x0]!=_0x26ebda)return _0x572f1f(_0x6a6bcf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa37fb3[0x1]={..._0xa37fb3[0x1],[_0x6a6bcf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e0f1};},{[_0x6a6bcf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6a6bcf([0x68,0x69,0x67,0x68])}),_0x2a3214[_0x6a6bcf([0x6f,0x6e])](_0x6a6bcf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1feaa6=>{_0x21c881(_0x1feaa6[_0x6a6bcf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22cf7e=!0x0,_0x4688ef(_0x1feaa6[_0x6a6bcf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6a6bcf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6a6bcf([0x6c,0x6f,0x77])}),_0x4ea637[_0x6a6bcf([0x74,0x68,0x65,0x6e])](()=>{_0x22cf7e||_0x572f1f(_0x6a6bcf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b89df(){return _0x2a3214[_0x6a6bcf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6a6bcf([0x76,0x69,0x65,0x77])][_0x6a6bcf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6a6bcf([0x61,0x75,0x74,0x6f]);}function _0x513a2b(){_0x2a3214[_0x6a6bcf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6a6bcf([0x76,0x69,0x65,0x77])][_0x6a6bcf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6a6bcf([0x61,0x75,0x74,0x6f]);}}(_0x29e111[_0x6a6bcf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29e111[_0x6a6bcf([0x6a,0x74,0x69])]));const _0x1e60e7=await(async function(){let _0x4e9dc0=!0x0;try{const _0xf452cb=_0x2bb7b1[_0x6a6bcf([0x73,0x70,0x6c,0x69,0x74])](_0x6a6bcf([0x2e])),[_0x1d827c,_0x11fb6b,_0x7e5748]=_0xf452cb;return _0x4b48f6(_0x1d827c),await _0x1d14b6(_0x1d827c,_0x11fb6b,_0x7e5748),_0x4e9dc0;}catch(_0x5e72c6){return!0x1;}function _0x4b48f6(_0x2e3a19){const _0xc30631=_0x1dba4f(_0x2e3a19);_0xc30631&&_0xc30631[_0x6a6bcf([0x61,0x6c,0x67])]==_0x6a6bcf([0x45,0x53,0x32,0x35,0x36])||(_0x4e9dc0=!0x1);}async function _0x1d14b6(_0x24f6d8,_0x51a86a,_0x46805f){const _0x5604a8=window[_0x6a6bcf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6a6bcf([0x66,0x72,0x6f,0x6d])](_0x445a19(_0x46805f),_0x278f73=>_0x278f73[_0x6a6bcf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22f00c=new window[(_0x6a6bcf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6a6bcf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24f6d8+_0x6a6bcf([0x2e])+_0x51a86a),_0x53d65f=window[_0x6a6bcf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6a6bcf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53d65f)return;const _0x203538=await _0x53d65f[_0x6a6bcf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6a6bcf([0x6a,0x77,0x6b]),_0x1087ab,{[_0x6a6bcf([0x6e,0x61,0x6d,0x65])]:_0x6a6bcf([0x45,0x43,0x44,0x53,0x41]),[_0x6a6bcf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6a6bcf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6a6bcf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53d65f[_0x6a6bcf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6a6bcf([0x6e,0x61,0x6d,0x65])]:_0x6a6bcf([0x45,0x43,0x44,0x53,0x41]),[_0x6a6bcf([0x68,0x61,0x73,0x68])]:{[_0x6a6bcf([0x6e,0x61,0x6d,0x65])]:_0x6a6bcf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x203538,_0x5604a8,_0x22f00c)||(_0x4e9dc0=!0x1);}}());return _0x1e60e7?(function(){const _0x2e04d5=_0x29e111[_0x6a6bcf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2e04d5)return!0x1;if(_0x2e04d5[_0x6a6bcf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a6bcf([0x2a])))return!0x0;if(_0x2e04d5[_0x6a6bcf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a6bcf([0x43,0x43])))return!0x0;if(_0x2e04d5[_0x6a6bcf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a6bcf([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x1f2ca3=[_0x6a6bcf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6a6bcf([0x74,0x72,0x69,0x61,0x6c])][_0x6a6bcf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e111[_0x6a6bcf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3281b3/0x3e8:0x67b67080;return _0x29e111[_0x6a6bcf([0x65,0x78,0x70])]<_0x1f2ca3;}())?_0x6a6bcf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5ea53e=_0x29e111[_0x6a6bcf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ea53e||0x0==_0x5ea53e[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1464ce}=new URL(window[_0x6a6bcf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ea53e[_0x6a6bcf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1464ce))return!0x0;const _0x3527ef=_0x1464ce[_0x6a6bcf([0x73,0x70,0x6c,0x69,0x74])](_0x6a6bcf([0x2e]));return _0x5ea53e[_0x6a6bcf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e69ed=>_0x5e69ed[_0x6a6bcf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a6bcf([0x2a])))[_0x6a6bcf([0x6d,0x61,0x70])](_0x4e265d=>_0x4e265d[_0x6a6bcf([0x73,0x70,0x6c,0x69,0x74])](_0x6a6bcf([0x2e])))[_0x6a6bcf([0x73,0x6f,0x6d,0x65])](_0x3157b0=>_0x3527ef[_0x6a6bcf([0x65,0x76,0x65,0x72,0x79])]((_0x50068f,_0x5965df)=>_0x3157b0[_0x5965df]===_0x50068f||_0x3157b0[_0x5965df]===_0x6a6bcf([0x2a])));}())?(_0x29e111[_0x6a6bcf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6a6bcf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56cb81=_0x5dd712(_0x6a6bcf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29e111[_0x6a6bcf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6a6bcf([0x74,0x72,0x69,0x61,0x6c])&&(_0x56cb81=_0x5dd712(_0x6a6bcf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x56cb81&&_0x258f57)return new window[(_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d366d,_0x36e235)=>{_0x56cb81[_0x6a6bcf([0x74,0x68,0x65,0x6e])](_0x3d366d,_0x36e235),_0x258f57[_0x6a6bcf([0x74,0x68,0x65,0x6e])](_0x38ec32=>{_0x38ec32!=_0x6a6bcf([0x56,0x61,0x6c,0x69,0x64])&&_0x3d366d(_0x38ec32);},_0x36e235);});return _0x56cb81||_0x258f57||_0x6a6bcf([0x56,0x61,0x6c,0x69,0x64]);}())):_0x6a6bcf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6a6bcf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6a6bcf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x24f748){return _0x6a6bcf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5dd712(_0x100057){const _0x5e0e8f=new window[(_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213c71=>setTimeout(_0x213c71,0x93ecc)),_0x3d7d15=_0x4ea637[_0x6a6bcf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a8b32=>{let _0x4c5944=0x0;_0x2a3214[_0x6a6bcf([0x6d,0x6f,0x64,0x65,0x6c])][_0x6a6bcf([0x6f,0x6e])](_0x6a6bcf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1237f7,_0xfddf01)=>{_0xfddf01[0x0][_0x6a6bcf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c5944++,0x1f8==_0x4c5944&&(_0x4a8b32(),_0x1237f7[_0x6a6bcf([0x6f,0x66,0x66])]());});})),_0x4d65c4=[_0x5e0e8f,_0x3d7d15];return window[_0x6a6bcf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6a6bcf([0x72,0x61,0x63,0x65])](_0x4d65c4)[_0x6a6bcf([0x74,0x68,0x65,0x6e])](()=>_0x100057);}function _0x1dba4f(_0x227779){return _0x227779[_0x6a6bcf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6a6bcf([0x65,0x79]))?JSON[_0x6a6bcf([0x70,0x61,0x72,0x73,0x65])](_0x445a19(_0x227779)):null;}function _0x445a19(_0x581490){return window[_0x6a6bcf([0x61,0x74,0x6f,0x62])](_0x581490[_0x6a6bcf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6a6bcf([0x2b]))[_0x6a6bcf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6a6bcf([0x2f])));}function _0x27bfba(_0x18afde){let _0x2e495a=0x1505;function _0x5c8c40(_0x1786fb){for(let _0x107e7f=0x0;_0x107e7f<_0x1786fb[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x107e7f++){const _0xc508cd=_0x1786fb[_0x6a6bcf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x107e7f);_0x2e495a=(_0x2e495a<<0x5)+_0x2e495a+_0xc508cd,_0x2e495a&=_0x2e495a;}}return function _0x42ef58(_0x17f482){Array[_0x6a6bcf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17f482)?_0x17f482[_0x6a6bcf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42ef58):_0x17f482&&typeof _0x17f482==_0x6a6bcf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6a6bcf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17f482)[_0x6a6bcf([0x73,0x6f,0x72,0x74])]()[_0x6a6bcf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44ae4e,_0x34f0d4])=>{_0x5c8c40(_0x44ae4e),_0x42ef58(_0x34f0d4);}):_0x5c8c40(window[_0x6a6bcf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17f482));}(_0x18afde),_0x2e495a>>>0x0;}function _0x21a856(_0x476471){return _0x476471[_0x6a6bcf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6a6bcf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6a6bcf([0x30]));}function _0x20e349(_0x35f73b){return _0x35f73b[_0x6a6bcf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6a6bcf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6a6bcf([0x6a,0x6f,0x69,0x6e])]('');}function _0x16e83c(){}function _0x6a6bcf(_0x581309){return _0x581309['map'](_0x3e3dc5=>String['fromCharCode'](_0x3e3dc5))['join']('');}!function(_0x1a7cb8){const _0x14e4af=(function(){const _0xf6d3fc=window[_0x6a6bcf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6a6bcf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6a6bcf([0x6e,0x6f,0x77])]())[_0x6a6bcf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6a6bcf([0x2e]),'');let _0x1591db=_0x6a6bcf([0x55]);for(let _0x31a12e=0x0;_0x31a12e<_0xf6d3fc[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31a12e+=0x2){let _0x4d8b3f=window[_0x6a6bcf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf6d3fc[_0x6a6bcf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31a12e,_0x31a12e+0x2));_0x4d8b3f>=_0x583824[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d8b3f-=_0x583824[_0x6a6bcf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1591db+=_0x583824[_0x4d8b3f];}return _0x1591db;}());_0x2a3214[_0x14e4af]=_0x6a6bcf([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a7cb8,_0x1a7cb8!=_0x6a6bcf([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4ea637,_0x2a3214[_0x6a6bcf([0x6d,0x6f,0x64,0x65,0x6c])][_0x6a6bcf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16e83c,_0x2a3214[_0x6a6bcf([0x6d,0x6f,0x64,0x65,0x6c])][_0x6a6bcf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16e83c,_0x2a3214[_0x6a6bcf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6a6bcf([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x39960c);}class CaseChangeUI extends Plugin{static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5de38c=this['editor'];this['_registerComponents'](),_0x5de38c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x5de38c['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x231d64=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c6dd2;for(const _0x79d3fd in _0x231d64){const _0xddda52=_0x79d3fd,_0x616b31=_0x231d64[_0xddda52];if('caseChangeLicenseKeyValid'==_0x616b31||'caseChangeLicenseKeyInvalid'==_0x616b31||'caseChangeLicenseKeyExpired'==_0x616b31||'caseChangeLicenseKeyDomainLimit'==_0x616b31||'caseChangeLicenseKeyNotAllowed'==_0x616b31||'caseChangeLicenseKeyEvaluationLimit'==_0x616b31||'caseChangeLicenseKeyTrialLimit'==_0x616b31||'caseChangeLicenseKeyUsageLimit'==_0x616b31){delete _0x231d64[_0xddda52],_0x4c6dd2=_0x616b31,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x4c6dd2&&_0x231d64['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x4c6dd2&&_0x231d64['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x4c6dd2&&_0x231d64['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x4c6dd2&&_0x231d64['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x4c6dd2&&_0x231d64['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x4c6dd2&&_0x231d64['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x4c6dd2&&_0x231d64['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x195831=this['editor'],{itemDefinitions:_0x102be3,commands:_0x4d7dd9}=this['_getListItemDefinitionsAndCommands']();_0x195831['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x102be3,_0x4d7dd9)),_0x195831['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x102be3,_0x4d7dd9));}['_createMenuBarMenuView'](_0x2eb2b4,_0x136444){const _0x50f336=this['editor'],_0x118987=_0x50f336['locale'],_0x21ef9c=new MenuBarMenuView(_0x118987),_0x30e6ce=new MenuBarMenuListView(_0x118987);_0x30e6ce['set']({'ariaLabel':getTranslation$g(_0x118987,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x21ef9c['buttonView']),_0x21ef9c['bind']('isEnabled')['toMany'](_0x136444,'isEnabled',(..._0x266af4)=>_0x266af4['some'](_0x18678e=>_0x18678e));for(const _0x1c8ce6 of _0x2eb2b4){const _0x595710=new MenuBarMenuListItemView(_0x118987,_0x21ef9c),_0x34693a=new MenuBarMenuListItemButtonView(_0x118987);_0x34693a['delegate']('execute')['to'](_0x21ef9c),_0x34693a['bind'](...Object['keys'](_0x1c8ce6['model']))['to'](_0x1c8ce6['model']),_0x34693a['on']('execute',()=>{_0x50f336['execute'](_0x1c8ce6['model']['commandName']),_0x50f336['editing']['view']['focus']();}),_0x595710['children']['add'](_0x34693a),_0x30e6ce['items']['add'](_0x595710);}return _0x21ef9c['panelView']['children']['add'](_0x30e6ce),_0x21ef9c;}['_createDropdownView'](_0x4d2df8,_0x300cf5){const _0x12d13b=this['editor'],_0x4c92e3=createDropdown(_0x12d13b['locale']);return this['_setButtonProperties'](_0x4c92e3['buttonView']),_0x4c92e3['buttonView']['set']({'tooltip':!0x0}),_0x4c92e3['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),addListToDropdown(_0x4c92e3,_0x4d2df8,{'ariaLabel':getTranslation$g(_0x12d13b['locale'],'Case\x20change'),'role':'menu'}),_0x4c92e3['bind']('isEnabled')['toMany'](_0x300cf5,'isEnabled',(..._0x3d4688)=>_0x3d4688['some'](_0x8e304=>_0x8e304)),this['listenTo'](_0x4c92e3,'execute',_0x2b0325=>{_0x12d13b['execute'](_0x2b0325['source']['commandName']),_0x12d13b['editing']['view']['focus']();}),_0x4c92e3;}['_setButtonProperties'](_0x2dae75){const _0x25560b=this['editor'];_0x2dae75['set']({'label':getTranslation$g(_0x25560b['locale'],'Case\x20change'),'icon':icons['caseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x4f0e0f=new Collection(),_0x5def81=[];for(const _0x4bb398 of _getOptions(this['editor']['locale'])){const _0xa48832=this['editor']['commands']['get'](_0x4bb398['commandName']),_0x426ba7=new ViewModel({'commandName':_0x4bb398['commandName'],'label':_0x4bb398['label'],'role':'menuitemradio','withText':!0x0});_0x426ba7['bind']('isEnabled')['to'](_0xa48832,'isEnabled'),_0x4f0e0f['add']({'type':'button','model':_0x426ba7}),_0x5def81['push'](_0xa48832);}return{'itemDefinitions':_0x4f0e0f,'commands':_0x5def81};}}class CaseChange extends Plugin{static get['requires'](){return[CaseChangeEditing,CaseChangeUI];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x197638,_0x3eda52){super(),this['model']=_0x197638,this['model']['_isAttached']=!0x0,this['view']=_0x3eda52,this['listenTo'](_0x3eda52,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x3eda52,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x3eda52,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x3eda52,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x3eda52,'addComment',(_0x5c799a,_0x3700f0)=>this['addComment'](_0x3700f0)),this['listenTo'](_0x3eda52,'updateComment',(_0x466035,_0x2be1b6,_0x3ecaf1)=>this['updateComment'](_0x2be1b6,_0x3ecaf1)),this['listenTo'](_0x3eda52,'removeComment',(_0x3193f2,_0x3b5cf3)=>this['removeComment'](_0x3b5cf3));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x1fa69f){this['model']['addComment']({'content':_0x1fa69f,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x38e8f4,_0x5ac074){this['model']['getComment'](_0x38e8f4)['update']({'content':_0x5ac074});}['removeComment'](_0x14b873){this['model']['getComment'](_0x14b873)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x77e4e7,_0x1b004e,_0x1ce6ef){const t=_0x77e4e7['t'];switch(_0x1b004e){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x1ce6ef);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x1ce6ef);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x1ce6ef);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x1ce6ef);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1ce6ef);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x1ce6ef);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1ce6ef);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1ce6ef);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}class CommentEditorUIView extends EditorUIView{constructor(_0x20a194,_0x2703bf){super(_0x20a194);const _0x69ee13=uid();this['main']=this['createCollection'](),this['editable']=new InlineEditableUIView(_0x20a194,_0x2703bf,void 0x0,{'label':()=>getTranslation$f(_0x20a194,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x20a194['uiLanguageDirection'],'lang':_0x20a194['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x69ee13},'children':[{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}}class CommentEditorUI extends EditorUI{constructor(_0x3142ca){super(_0x3142ca),this['view']=new CommentEditorUIView(_0x3142ca['locale'],_0x3142ca['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x53060a=this['editor']['editing']['view'],_0x589aaf=this['view']['editable'],_0x3abe10=_0x53060a['document']['getRoot']();_0x589aaf['name']=_0x3abe10['rootName'],this['view']['render']();const _0x43cf9a=_0x589aaf['element'];this['setEditableElement'](_0x589aaf['name'],_0x43cf9a),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x53060a['attachDomRoot'](_0x43cf9a),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const defaultPlugins=[Clipboard,Enter,ShiftEnter,SelectAll,Typing,Undo,Paragraph];class CommentEditor extends/* #__PURE__ -- @preserve */
ObservableMixin(Editor){constructor(_0x29753f={}){function _0x111bb4(_0x4233a1){return _0x4233a1['map'](_0x12e878=>String['fromCharCode'](_0x12e878))['join']('');}(_0x29753f=Object['assign']({},_0x29753f))['plugins']||(_0x29753f['plugins']=CommentEditor['defaultPlugins']),super(_0x29753f),this['ui']=new CommentEditorUI(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this[_0x111bb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x111bb4([0x76,0x69,0x65,0x77])][_0x111bb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x111bb4([0x61,0x75,0x74,0x6f]),this[_0x111bb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x111bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x111bb4([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x111bb4([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x111bb4([0x6f,0x6b])});}['create'](){const _0x184414=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x184414))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x2a89dc=>{const _0x22b4e4=this['model']['document']['getRoot'](),_0x2b80ba=_0x22b4e4&&_0x22b4e4['getChild'](_0x22b4e4['childCount']-0x1);_0x2a89dc['setSelection'](_0x2b80ba,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x366596=this['editing']['view'],_0x3c4515=_0x366596['document']['getRoot'](),_0x42f4ad=_0x3c4515['getChild'](0x0);_0x3c4515['childCount']>0x1||!_0x42f4ad||'p'!=_0x42f4ad['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(disablePlaceholder(_0x366596,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x42f4ad['placeholder']=this['placeholder']),enablePlaceholder({'view':_0x366596,'element':_0x42f4ad,'keepOnFocus':!0x0}),this['placeholderElement']=_0x42f4ad);}}CommentEditor['defaultPlugins']=defaultPlugins;class CommentInputView extends View{constructor(_0x2bb022,_0x580aae={}){super(_0x2bb022),this['editor']=null,this['_editorConfig']=_0x580aae,this['set']('value',_0x580aae['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x2bb022,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x2bb022,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new KeystrokeHandler(),this['focusTracker']=new FocusTracker(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x3a7ddd,_0x43923c)=>{this['cancelButtonView']['fire']('execute'),_0x43923c();}),this['keystrokes']['set']('Ctrl+Enter',(_0x361df1,_0x995c9)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x995c9());}),this['on']('submit',(_0x1c3f8e,_0x55329c)=>{_0x55329c['length']>0xfde8?(alert(getTranslation$f(_0x2bb022,'TOO_LONG_COMMENT_ALERT',[_0x55329c['length'],0xfde8])),_0x1c3f8e['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new CommentEditor(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x1ffc63=this['editor'];this['element']['insertBefore'](_0x1ffc63['ui']['element'],this['element']['firstChild']),_0x1ffc63['model']['document']['on']('change',()=>this['value']=_0x1ffc63['getData']()),_0x1ffc63['bind']('placeholder')['to'](this),this['focusables']['add'](_0x1ffc63['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x5d6fd8){-0x1===_0x5d6fd8?(this['focusCycler']['focusFirst'](),this['focusCycler']['focusLast']()):this['focusCycler']['focusFirst']();}async['destroy'](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this['fire']('editorDestroyed',this['editor'])),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x374764}=this,_0x2f03ef=new ButtonView(_0x374764);return _0x2f03ef['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2f03ef['withText']=!0x0,_0x2f03ef['bind']('label')['to'](this,'submitLabel'),_0x2f03ef['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x2f03ef['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x4b332f,_0x1900f0)=>!_0x1900f0&&!!_0x4b332f['trim']()),_0x2f03ef;}['_createCancelButton'](){const {locale:_0x147ef1}=this,_0xfc2cfc=new ButtonView(_0x147ef1);return _0xfc2cfc['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0xfc2cfc['label']=getTranslation$f(_0x147ef1,'Cancel'),_0xfc2cfc['withText']=!0x0,_0xfc2cfc['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0xfc2cfc;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x29c5a0=>{this['focusTracker']['add'](_0x29c5a0['element']);}),this['focusables']['on']('change',(_0x166c57,_0x203453)=>{for(const _0x59177a of Array['from'](_0x203453['added'])['reverse']())this['focusTracker']['add'](_0x59177a['element']);});}}class CommentThreadInputView extends View{constructor(_0xb8695,_0x10db2e,_0x575c8a){super(_0xb8695),this['commentInputView']=new CommentInputView(_0xb8695,_0x575c8a),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x2d35ef,_0x3f6fd9)=>_0x2d35ef||!!_0x3f6fd9),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView']['editor']&&this['commentInputView']['createEditor']();}),this['commentInputView']['delegate']('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new UserView(_0xb8695,_0x10db2e),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user','aria-hidden':!0x0}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['render'](){super['render'](),this['_focusOnNonInteractiveMouseDown']();}['destroy'](){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}['focus'](_0x5d3a33){this['commentInputView']['focus'](_0x5d3a33);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x3c42de,_0x459d51)=>{const {submitButtonView:_0x1f7cfc,cancelButtonView:_0x1c85c3,editor:_0x48a1f6}=this['commentInputView'];[_0x1f7cfc['element'],_0x1c85c3['element'],_0x48a1f6?_0x48a1f6['editing']['view']['getDomRoot']():null]['filter'](_0xe1af9e=>_0xe1af9e)['some'](_0x44f53d=>_0x44f53d['contains'](_0x459d51['target']))||(this['focus'](),_0x459d51['preventDefault']());});}}class CollapsedCommentsView extends View{constructor(_0x35f5f6){super(_0x35f5f6);const _0xecdc71=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0xecdc71['to']('count',_0x5cf2eb=>getTranslation$f(_0x35f5f6,'NUMBER_OF_COMMENTS',_0x5cf2eb))}]});}}class CommentsListView extends View{constructor(_0x22d7dd,_0x3eec93,_0x1d8898){super(_0x22d7dd);const _0x1ffcaa=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x3eec93['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x3eec93,this['_config']=_0x1d8898,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x51e8b0=>this['commentViews']['map'](_0x14d873=>_0x14d873['element'])['includes'](_0x51e8b0['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x22d7dd),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x5d38e0=>_0x5d38e0-this['_config']['maxCommentsWhenCollapsed']);for(const _0x19df39 of _0x3eec93['comments'])this['_handleNewCommentModel'](_0x19df39);this['_handleInfoComment'](),this['listenTo'](_0x3eec93['comments'],'add',(_0x1abdd7,_0x51228b)=>{const _0x27fa6e=this['_calculatePosition'](_0x51228b);this['length']++,this['_handleNewCommentModel'](_0x51228b,_0x27fa6e),this['refreshVisibleViews']();}),this['listenTo'](_0x3eec93['comments'],'remove',(_0x5d0109,_0x23a342)=>{this['length']--,this['_handleRemoveCommentModel'](_0x23a342),this['refreshVisibleViews']();}),this['listenTo'](_0x3eec93,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x3eec93,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments',_0x1ffcaa['if']('length','ck-hidden',_0xbd78f3=>!_0xbd78f3)],'aria-label':getTranslation$f(_0x22d7dd,'Thread\x20comments')},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews'](),this['_setupKeyboardNavigation']();}['focus'](_0x19b3ff){-0x1===_0x19b3ff?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x20adc9 of this['commentViews'])_0x20adc9['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x5b820d,_0x5b62d9){const _0x30effb=new this['_config']['CommentView'](this['locale'],_0x5b820d,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x30effb['viewUid']=_0x5b820d['id'],_0x30effb['delegate']('removeComment')['to'](this),_0x30effb['delegate']('updateComment')['to'](this),_0x30effb['delegate']('resolveCommentThread')['to'](this),_0x30effb['delegate']('editorReady')['to'](this),_0x30effb['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x30effb,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x30effb,_0x5b62d9);}['_calculatePosition'](_0x21dcf3){const _0x32a81c=this['_model']['_findOptimalIndex'](_0x21dcf3);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x21dcf3['authoredAt']?_0x32a81c-0x1:_0x32a81c:_0x32a81c-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0xd265ab={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':getTranslation$f(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0xd265ab,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0xd265ab));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x4e19b6){const _0x127096=this['commentViews']['remove'](_0x4e19b6['id']);this['stopListening'](_0x127096),_0x127096['isEditMode']&&this['_updateHasDirtyComment'](),_0x127096['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0xe7a97d=>_0xe7a97d['isEditMode']);}['_rearrangeCollapse'](){const _0x269a30=cloneCollection(this['commentViews']),_0x41b464=this['_collapsedCommentsView']['count'];for(let _0x251fe6=0x1;_0x251fe6<=_0x41b464;_0x251fe6++)_0x269a30['remove'](0x1);for(const _0x3c8433 of _0x269a30)_0x3c8433['collapse']();_0x41b464>0x0&&_0x269a30['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(_0x3b7284(Array['from'](this['visibleViews']),Array['from'](_0x269a30)),this['visibleViews'],_0x269a30);}['_rearrangeExpand'](){applyDiffToCollection(_0x3b7284(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x43f222 of this['visibleViews'])_0x43f222['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x4b62e1=>{this['focusTracker']['add'](_0x4b62e1['element']),this['keystrokes']['listenTo'](_0x4b62e1['element']);}),this['commentViews']['on']('change',(_0x40c673,_0x49a0c1)=>{for(const _0x7f0134 of _0x49a0c1['removed'])this['focusTracker']['remove'](_0x7f0134['element']),this['keystrokes']['stopListening'](_0x7f0134['element']);for(const _0x29e69d of Array['from'](_0x49a0c1['added'])['reverse']())this['focusTracker']['add'](_0x29e69d['element']),this['keystrokes']['listenTo'](_0x29e69d['element']);});}}function cloneCollection(_0x2a06f9){const _0x50d03f=new Collection();for(const _0x59b65a of _0x2a06f9)_0x50d03f['add'](_0x59b65a);return _0x50d03f;}function applyDiffToCollection(_0x2dbd65,_0x11b1a9,_0x581a7f){let _0x1aeab4=0x0;for(const _0x369e5e of _0x2dbd65)switch(_0x369e5e){case'insert':_0x11b1a9['add'](_0x581a7f['get'](_0x1aeab4),_0x1aeab4),_0x1aeab4++;break;case'delete':_0x11b1a9['remove'](_0x1aeab4);break;case'equal':_0x1aeab4++;}}var undoIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m5.042\x209.367\x202.189\x201.837a.75.75\x200\x200\x201-.965\x201.149l-3.788-3.18a.747.747\x200\x200\x201-.21-.284.75.75\x200\x200\x201\x20.17-.945L6.23\x204.762a.75.75\x200\x201\x201\x20.964\x201.15L4.863\x207.866h8.917A.75.75\x200\x200\x201\x2014\x207.9a4\x204\x200\x201\x201-1.477\x207.718l.344-1.489a2.5\x202.5\x200\x201\x200\x201.094-4.73l.008-.032H5.042z\x22/></svg>';class CommentThreadHeaderContextView extends View{constructor(_0x34adb8){super(_0x34adb8);const _0x550805=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x550805['to']('contextValue',_0x4fc9b9=>getTranslation$f(_0x34adb8,'THREAD_CONTEXT_LABEL',_0x4fc9b9)),'tabindex':-0x1},'children':[{'text':_0x550805['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const MAX_CONTENT_LENGTH=0x96;class CommentThreadHeaderView extends View{constructor(_0x1c2b5,_0x2593a2){super(_0x1c2b5);const _0x5205c3=this['bindTemplate'];this['_model']=_0x2593a2,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x2df61f=>!!_0x2df61f),this['bind']('contextValue')['to'](this['_model'],'context',_0x5849f5=>_0x5849f5&&_0x5849f5['value']?this['_trimContextValue'](_0x5849f5['value']):getTranslation$f(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x5205c3['if']('hasContext','ck-context--quotes')]},'children':[this['contextView']]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_createReopenButton'](){const _0x56b333=new ButtonView(this['locale']);return _0x56b333['label']=getTranslation$f(this['locale'],'Reopen'),_0x56b333['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x56b333['icon']=undoIcon,_0x56b333['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1e7d79=>!_0x1e7d79),_0x56b333['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x19539e,_0x45739b)=>_0x19539e&&_0x45739b),_0x56b333['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x56b333;}['_trimContextValue'](_0x88891e){const _0x27d618=MAX_CONTENT_LENGTH-0x3;if(_0x88891e['length']<MAX_CONTENT_LENGTH)return _0x88891e;const _0xc69199=_0x88891e['lastIndexOf']('\x20',_0x27d618);return _0x88891e['substring'](0x0,_0xc69199>-0x1?_0xc69199:_0x27d618)+'...';}['_attachContextActions'](){const _0x53fa10=this['element']['querySelector']('.ck-context'),_0x260a0b=_0x53fa10['querySelector']('.ck-context__value');this['listenTo'](_0x53fa10,'mouseenter',()=>{_0x260a0b['offsetWidth']<_0x260a0b['scrollWidth']&&_0x53fa10['classList']['add']('overlay');}),this['listenTo'](_0x53fa10,'mouseleave',()=>{_0x53fa10['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x2eaebb of this['focusables'])this['focusTracker']['add'](_0x2eaebb['element']),this['keystrokes']['listenTo'](_0x2eaebb['element']);}['_createContextView'](){const _0xb4a933=new CommentThreadHeaderContextView(this['locale']);return _0xb4a933['bind']('contextValue')['to'](this),_0xb4a933;}}class BaseCommentThreadView extends View{constructor(_0x13af93,_0x738ac1,_0x37ed88,_0x4b48e5){super(_0x13af93),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x738ac1,this['_localUser']=_0x37ed88,this['_config']=_0x4b48e5,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x13af93,_0x738ac1),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x13af93,getTranslation$f(_0x13af93,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x13af93,_0x738ac1,Object['assign']({'CommentView':this['_config']['CommentView']},_0x4b48e5)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x5f1398,_0x5d2226)=>_0x5f1398||!!_0x5d2226),this['bind']('isUnlinked')['to'](_0x738ac1,'unlinkedAt',_0x587f1b=>!!_0x587f1b),this['bind']('ariaLabel')['to'](this,'length',_0x484575=>{const _0x1ec041=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x484575,_0x1ec041]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2568df=>_0x2568df['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x2a9d9d=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x5e4498=_0x2a9d9d['commentInputView'];return _0x2a9d9d['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x5e4498,'value',(_0x212a7f,_0x511e17,_0x5650da,_0x398572,_0x31521f)=>!!_0x31521f||!!_0x398572&&_0x5650da&&!_0x511e17||_0x212a7f&&_0x5650da&&!_0x511e17),_0x5e4498['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x5d416f,_0x3994a2,_0x44147f)=>{let _0x372cbc;return _0x372cbc=_0x44147f&&_0x3994a2?'Reply\x20to\x20reopen\x20discussion...':_0x5d416f?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x372cbc);}),_0x5e4498['bind']('submitLabel')['to'](this,'length',_0x8ff473=>getTranslation$f(this['locale'],_0x8ff473?'Reply':'Comment')),_0x5e4498['on']('submit',(_0x5ead2c,_0x2ba37f)=>{this['fire']('addComment',_0x2ba37f),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x5e4498['on']('cancel',()=>{this['focus']();}),_0x5e4498['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x5e4498['on']('cancel',_0x470e80=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x470e80['stop']());}),this['on']('change:isActive',(_0x25f64f,_0x28d792,_0x29b5f1)=>{_0x29b5f1||this['length']||_0x5e4498['value']||this['fire']('removeCommentThread');}),_0x2a9d9d;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
ConfirmMixin(BaseCommentThreadView){constructor(_0x81e9ca,_0x48c8d8,_0x140fe9,_0x8df925){super(_0x81e9ca,_0x48c8d8,_0x140fe9,_0x8df925),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x81e9ca,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x3f8699,_0xdce9d5,_0x379972)=>{_0x379972||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x56846c,_0x998698,_0x1be7e8)=>{_0x1be7e8&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x593444=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x593444['if']('isActive','ck-thread--active'),_0x593444['if']('isUnlinked','ck-thread--unlinked'),_0x593444['if']('isConfirm','ck-thread--remove-confirmation'),_0x593444['to']('actionIndicator',_0x376da4=>_0x376da4?'ck-thread--'+_0x376da4:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x593444['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container'),this['_model']['on']('change:archivedAt',()=>{this['_updateArchivedThreadHeader']();}),this['_updateArchivedThreadHeader']();}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x1dc215 of this['commentsListView']['commentViews'])_0x1dc215['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x1b0cbe}=this,_0x42c3fb=this['commentsListView']['commentViews']['get'](0x0);_0x42c3fb===this['_boundFirstCommentView']||_0x42c3fb['isSystemComment']||(this['_boundFirstCommentView']=_0x42c3fb,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x42c3fb,'actionIndicator',_0x1a1499=>'remove'===_0x1a1499?'remove':null),_0x42c3fb['placeholder']=getTranslation$f(_0x1b0cbe,'Write\x20a\x20comment...'),_0x42c3fb['removeButton']['on']('execute',_0x580efe=>{_0x580efe['stop'](),this['showConfirm'](getTranslation$f(_0x1b0cbe,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x42c3fb['focus']();}),_0x42c3fb['actionBar']['add'](this['resolveButton'],0x0),_0x42c3fb['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x5b3dd3=new LateFocusButtonView(this['locale']);return _0x5b3dd3['label']=getTranslation$f(this['locale'],'Resolve'),_0x5b3dd3['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0x5b3dd3['icon']=_0x40ee59['check'],_0x5b3dd3['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x5b3dd3['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x483a42=>!_0x483a42),_0x5b3dd3['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x46dc1c,_0xf0d058)=>_0x46dc1c&&!_0xf0d058),_0x5b3dd3['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x5b3dd3;}['_updateArchivedThreadHeader'](){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}}class CommentContentView extends View{constructor(_0x28ac61){super(_0x28ac61),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x3817e4,_0x498846,_0x20cbb0)=>{this['element']['innerHTML']=_0x20cbb0;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends View{constructor(_0x2bf18c,_0x2a484e,_0x1f1e4a){super(_0x2bf18c),this['_model']=_0x2a484e,this['_config']=_0x1f1e4a,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x2a484e,'content',_0x2a484e,'authoredAt',(_0x109c86,_0x402e29)=>getTranslation$f(_0x2bf18c,'COMMENT_ARIA_LABEL',[_0x2a484e['author']['name'],_0x1f1e4a['formatDateTime'](_0x402e29),new DOMParser()['parseFromString'](_0x109c86,'text/html')['body']['textContent'],_0x2a484e['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x2bf18c,getTranslation$f(_0x2bf18c,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new ViewCollection(),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x1ab50c=>_0x1ab50c['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['_setupKeyboardNavigation']();}async['destroy'](){await this['visibleView']['get'](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentContentView']()));}['getExternalCommentNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):getTranslation$f(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$f(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0xcc965b=new CommentContentView(this['locale']);return _0xcc965b['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x178285,_0x3c05fc)=>_0x3c05fc?trimHtml(_0x178285,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x178285),_0xcc965b;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x4205b1=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x4205b1['value']=this['_model']['content'],_0x4205b1['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x4205b1['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x4205b1['on']('submit',(_0x455dfc,_0x283ca1)=>{this['fire']('updateComment',this['_model']['id'],_0x283ca1),this['switchToDisplayMode'](),this['focus']();}),_0x4205b1['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x4205b1['once']('editorReady',()=>{_0x4205b1['focus']();}),_0x4205b1['createEditor'](),_0x4205b1['delegate']('editorReady')['to'](this),_0x4205b1['delegate']('editorDestroyed')['to'](this),_0x4205b1;}['_setupKeyboardNavigation'](){const _0x312d79=this['element'];this['keystrokes']['listenTo'](_0x312d79);for(const _0x2f47e8 of this['focusables'])this['focusTracker']['add'](_0x2f47e8['element']),this['keystrokes']['listenTo'](_0x2f47e8['element']);this['focusables']['on']('change',(_0x54ff74,_0x245f44)=>{for(const _0xee10cf of _0x245f44['removed'])this['focusTracker']['remove'](_0xee10cf['element']),this['keystrokes']['stopListening'](_0xee10cf['element']);for(const _0xb100bf of _0x245f44['added'])this['focusTracker']['add'](_0xb100bf['element']),this['keystrokes']['listenTo'](_0xb100bf['element']);}),this['keystrokes']['set']('enter',(_0x5c58e8,_0x418c0b)=>{_0x312d79===_0x5c58e8['target']&&(this['focusCycler']['focusFirst'](),_0x418c0b());}),this['keystrokes']['set']('esc',(_0x441d57,_0x567ff4)=>{_0x312d79!==_0x441d57['target']&&(this['focus'](),_0x567ff4());});}}var removeIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5.2\x207h9.2c.6\x200\x201\x20.4\x201\x201v9.9c0\x20.5-.4\x201-1\x201H5.2a1\x201\x200\x200\x201-1-1V8c0-.6.4-1\x201-1zm1\x201.5c-.3\x200-.5.2-.5.5v8c0\x20.3.2.5.5.5h.5c.2\x200\x20.5-.2.5-.5V9c0-.3-.3-.5-.5-.5h-.5zm3.2\x200c-.2\x200-.5.2-.5.5v8c0\x20.3.3.5.5.5h.5c.3\x200\x20.5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.4zm3.5\x200c-.2\x200-.5.2-.5.5v8c0\x20.3.3.5.5.5h.5c.3\x200\x20.5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.5zm-1.4-7.1H8.3L6.5\x203.6H3.8c-.5\x200-.7.3-.7.8s.2.7.7.7h12c.6\x200\x20.9-.2.9-.7\x200-.5-.3-.8-1-.8h-2.4l-1.8-2.2z\x22/></svg>\x0a';class CommentView extends/* #__PURE__ -- @preserve */
ConfirmMixin(BaseCommentView){constructor(_0x3e923b,_0x48a60a,_0x3018c6){super(_0x3e923b,_0x48a60a,_0x3018c6),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x3e923b,'Reply...')),this['bind']('authoredAt')['to'](_0x48a60a),this['bind']('resolvedAt')['to'](_0x48a60a),this['actionBar']=this['createCollection'](),this['isSystemComment']||(this['editButton']=this['_createEditButton'](),this['removeButton']=this['_createRemoveButton'](),this['items']=this['createCollection'](),this['items']['addMany']([this['editButton'],this['removeButton']]),this['dropdown']=this['_createDropdown'](),this['actionBar']['add'](this['dropdown']),this['focusables']['add'](this['dropdown'])),this['userView']=new UserView(_0x3e923b,_0x48a60a['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x48a60a,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x4b525b=this['bindTemplate'],_0x2b072b=[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x4b525b['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x4b525b['to']('authoredAt',_0x316281=>this['_config']['formatDateTime'](_0x316281))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x4b525b['if']('isEditMode','ck-comment__actions--hidden'),_0x4b525b['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']},this['ariaDescriptionView']];return this['_model']['isExternal']&&_0x2b072b['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x4b525b['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1,'aria-label':_0x4b525b['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x4b525b['if']('isEditMode','ck-comment--edit'),_0x4b525b['if']('isSystemComment','ck-comment--info'),_0x4b525b['to']('actionIndicator',_0x3fa765=>_0x3fa765?'ck-comment--'+_0x3fa765:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id'],'role':'group'},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x2b072b}]}]};}['_createEditButton'](){const _0x10a62e=new ButtonView(this['locale']);return _0x10a62e['label']=getTranslation$f(this['locale'],'Edit'),_0x10a62e['icon']=_0x40ee59['pencil'],_0x10a62e['withText']=!0x0,_0x10a62e['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x10a62e['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0xabd86=>!_0xabd86),_0x10a62e['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x10a62e['on']('execute',()=>this['switchToEditMode']()),_0x10a62e;}['_createRemoveButton'](){const _0x5323d9=new ButtonView(this['locale']);return _0x5323d9['label']=getTranslation$f(this['locale'],'Remove'),_0x5323d9['icon']=removeIcon,_0x5323d9['withText']=!0x0,_0x5323d9['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x5323d9['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x50c936=>!_0x50c936),_0x5323d9['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x5323d9['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x5323d9;}['_createDropdown'](){const _0x15d49d=createDropdown(this['locale'],LateFocusDropdownButtonView),_0x552251=_0x15d49d['panelView']['children'],_0x31825a=new ListView(this['locale']),_0x129bae=_0x15d49d['bindTemplate'];focusChildOnDropdownOpen(_0x15d49d,()=>this['items']['find'](_0x3fbaf9=>_0x3fbaf9['isVisible'])),_0x15d49d['extendTemplate']({'attributes':{'class':[_0x129bae['if']('isVisible','ck-hidden',_0x53d4c4=>!_0x53d4c4)]}});const _0x4b115f=(_0x2d1aa3,_0x3871ef=-0x1)=>{const _0x260d9d=new ListItemView(this['locale']);_0x260d9d['children']['add'](_0x2d1aa3);const _0x5c7000=_0x3871ef>-0x1?_0x3871ef:_0x31825a['items']['length'];_0x31825a['items']['add'](_0x260d9d,_0x5c7000);const _0x416290=Array['from'](this['items']);_0x15d49d['unbind']('isEnabled','isVisible'),_0x15d49d['bind']('isEnabled')['toMany'](_0x416290,'isEnabled',(..._0x2b66f0)=>_0x2b66f0['some'](_0xe2e57b=>_0xe2e57b)),_0x15d49d['bind']('isVisible')['toMany'](_0x416290,'isVisible',(..._0xc82a9a)=>_0xc82a9a['some'](_0x2194b4=>_0x2194b4));};_0x15d49d['panelPosition']='sw',_0x15d49d['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':_0x40ee59['threeVerticalDots']});for(const _0x593457 of this['items'])_0x4b115f(_0x593457);return _0x552251['add'](_0x31825a),_0x15d49d['listenTo'](this['items'],'add',(_0x444ece,_0x3c868f,_0x315faf)=>{_0x4b115f(_0x3c868f,_0x315faf);}),_0x15d49d['listenTo'](this['items'],'remove',(_0x14a798,_0xda6dd2,_0x217bcd)=>{_0x31825a['items']['remove'](_0x217bcd);}),_0x15d49d;}['_attachActions'](_0x58ab93,_0x36d521){const _0x5437de=_0x58ab93&&_0x58ab93['element'];_0x5437de&&(this['listenTo'](_0x5437de,'mouseenter',()=>this['actionIndicator']=_0x36d521),this['listenTo'](_0x5437de,'focus',()=>this['actionIndicator']=_0x36d521),this['listenTo'](_0x5437de,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x5437de,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x1f97ae=super['_createCommentInputView']();return _0x1f97ae['bind']('placeholder')['to'](this),_0x1f97ae;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x47b9ab){const _0x7e54d2=throttle$1(_0x47b9ab,0x1e),_0x13a375=new MutationObserver(_0x63e326=>{for(const _0x304a80 of _0x63e326)('attributes'==_0x304a80['type']&&'class'==_0x304a80['attributeName']||'childList'==_0x304a80['type']||'characterData'==_0x304a80['type'])&&_0x7e54d2();});return{'attach'(_0x6e1729){_0x13a375['observe'](_0x6e1729,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x13a375['disconnect'](),_0x7e54d2['cancel']();}};}class AnnotationView extends View{constructor(_0x399901,_0x3354bc){super(_0x399901),this['id']=uid(),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['keystrokes']['set']('Esc',(_0x412953,_0x4ca3f1)=>this['fire']('Esc',_0x4ca3f1)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set']('height',0x0),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['set']('length',0x0),this['set']('type',''),this['_mutationObserver']=createMutationObserver(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x3354bc),this['mainView']=_0x3354bc;const _0x1601f8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x1601f8['if']('isActive','ck-annotation-wrapper--active')],'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['focusTracker']['add'](this['element']),this['keystrokes']['listenTo'](this['element']),this['_mutationObserver']['attach'](this['element']);}['destroy'](){this['content']['clear'](),this['keystrokes']['destroy'](),this['focusTracker']['destroy'](),this['_mutationObserver']['detach'](),super['destroy']();}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['_updateHeight'](){const _0x439716=this['element']['clientHeight'];_0x439716&&(this['height']=_0x439716);}}let Annotation$1=class e extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor({view:_0x3d657c,target:_0x325a14,type:_0x4b0487,isVisible:_0x195992=!0x0}){super(),this['view']=_0x3d657c,this['view']['element']||this['view']['render'](),this['_type']=_0x4b0487,this['_target']=_0x325a14,e['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new Collection([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x4ab11d,_0x580002)=>{this['view']['focusTracker']['add'](_0x580002);}),this['focusableElements']['on']('remove',(_0x384f15,_0x3d12da)=>{this['view']['focusTracker']['remove'](_0x3d12da);}),this['set']('isVisible',_0x195992);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x3d9dd0=this['_getNormalizedTarget']();return e['_assertCorrectTarget'](_0x3d9dd0),_0x3d9dd0;}get['targetRect'](){const _0x436998=this['target'];if(null===_0x436998)return null;if(_0x436998 instanceof Rect)return _0x436998;const _0x4ac3df=_0x436998['filter'](_0x419530=>isDomElementVisible(_0x419530));return 0x0===_0x4ac3df['length']?null:new Rect(_0x4ac3df[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x273173){this['view']['isActive']=_0x273173,this['view']['mainView']['isActive']=_0x273173;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x5bab3b){if(!(null===_0x5bab3b||_0x5bab3b instanceof Rect||Array['isArray'](_0x5bab3b)&&_0x5bab3b['every'](_0x15750c=>isElement$1(_0x15750c))))throw new CKEditorError('annotation-invalid-target',null,{'target':_0x5bab3b});}['_getNormalizedTarget'](){const _0x45a364='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x45a364)?[_0x45a364]:_0x45a364;}};function isElement$1(_0x365ac2){return null!==_0x365ac2&&'object'==typeof _0x365ac2&&'nodeType'in _0x365ac2&&0x1===_0x365ac2['nodeType'];}function isDomElementVisible(_0x193f0c){if(_0x193f0c['offsetParent'])return!0x0;return!!_0x193f0c['getClientRects']()['item'](0x0);}class AnnotationCollection extends Collection{constructor(_0x54c6e9=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new FocusTracker(),this['_focusTracker']['on']('change:isFocused',(_0x5c3a32,_0x3efe9c,_0x13c060)=>{_0x13c060||this['fire']('blur');});for(const _0x3c0586 of _0x54c6e9)this['add'](_0x3c0586);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x56a705){if(this['has'](_0x56a705))throw new CKEditorError('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x56a705['innerView'],_0x56a705),this['_viewToAnnotation']['set'](_0x56a705['view'],_0x56a705);for(const _0x5ab3dd of _0x56a705['focusableElements'])this['_focusTracker']['add'](_0x5ab3dd);this['listenTo'](_0x56a705['focusableElements'],'add',(_0x4c9a5c,_0x1e1e3f)=>{this['_focusTracker']['add'](_0x1e1e3f);}),this['listenTo'](_0x56a705['focusableElements'],'remove',(_0x4c2920,_0x89a4c4)=>{this['_focusTracker']['remove'](_0x89a4c4);}),this['listenTo'](_0x56a705['view']['focusTracker'],'change:isFocused',(_0x2a916c,_0x158ab3,_0x5c8e9d)=>{_0x5c8e9d&&this['fire']('focus',_0x56a705);}),_0x56a705['updateTargetRect']();const _0x592dd6=this['_getOrderInContent'](_0x56a705['view']['targetRect']);return super['add'](_0x56a705,_0x592dd6);}['remove'](_0x463961){if(!this['has'](_0x463961))throw new CKEditorError('annotationcollection-not-existing-item',null);this['stopListening'](_0x463961['view']['focusTracker']),this['stopListening'](_0x463961['focusableElements']);for(const _0x8fe071 of _0x463961['focusableElements'])this['_focusTracker']['remove'](_0x8fe071);return this['_viewToAnnotation']['delete'](_0x463961['view']),this['_innerViewToAnnotation']['delete'](_0x463961['innerView']),super['remove'](_0x463961);}['getByInnerView'](_0x3e21b2){return this['_innerViewToAnnotation']['get'](_0x3e21b2);}['getByView'](_0x5dd9e3){return this['_viewToAnnotation']['get'](_0x5dd9e3);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x3f0267 of this)_0x3f0267['updateTargetRect']();this['_sort']();}['_sort'](){const _0x489c37=Array['from'](this)['sort']((_0x15175d,_0x42091e)=>elementOffsetComparator(_0x15175d['view']['targetRect'],_0x42091e['view']['targetRect']));for(let _0xd34465=_0x489c37['length']-0x1;_0xd34465>0x0;_0xd34465--){const _0x32034b=_0x489c37[_0xd34465];_0xd34465!==this['getIndex'](_0x32034b)&&(this['remove'](_0x32034b),this['add'](_0x32034b));}}['_getOrderInContent'](_0x400b7a){let _0x148812=0x0;if(!_0x400b7a)return this['length'];for(const _0x2fe9f6 of this){const _0xdcd753=_0x2fe9f6['view']['targetRect'];if(_0xdcd753){if(elementOffsetComparator(_0x400b7a,_0xdcd753)<0x0)return _0x148812;_0x148812++;}}return _0x148812;}}function bindAnnotationCollections({source:_0x23aa96,target:_0x4da170,filter:_0x1b0e40}){for(const _0x100e28 of _0x23aa96)_0x1b0e40(_0x100e28)&&_0x4da170['add'](_0x100e28);_0x4da170['listenTo'](_0x23aa96,'add',(_0x36b718,_0x4e0c74)=>{_0x1b0e40(_0x4e0c74)&&_0x4da170['add'](_0x4e0c74);}),_0x4da170['listenTo'](_0x23aa96,'remove',(_0x3aee68,_0x46ba79)=>{_0x4da170['has'](_0x46ba79)&&_0x4da170['remove'](_0x46ba79);});}function elementOffsetComparator(_0x17d803,_0x4ef943){if(null===_0x17d803&&null===_0x4ef943)return 0x0;if(null===_0x17d803)return-0x1;if(null===_0x4ef943)return 0x1;const _0x2d104a=_0x17d803['top']-_0x4ef943['top'];return 0x0==_0x2d104a?_0x17d803['left']-_0x4ef943['left']:_0x2d104a;}class Annotations extends ContextPlugin{static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29fd34){if(super(_0x29fd34),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x29fd34 instanceof Editor){const _0x43f7d7=_0x29fd34['locale'];_0x29fd34['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x43f7d7,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x32a41d){this['collection']['add'](_0x32a41d);}['remove'](_0x3fb0d9){this['collection']['remove'](_0x3fb0d9),_0x3fb0d9['destroy']();}['refreshVisibility'](){for(const _0x36607e of this['collection'])_0x36607e['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x50bf34){return this['collection']['getByInnerView'](_0x50bf34);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x4d2b4f of this['collection'])_0x4d2b4f['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x52e685){this['fire']('_activateAnnotation',_0x52e685);}['createAnnotation'](_0x15d877){return new Annotation$1(_0x15d877);}['createAnnotationView'](_0x21d39d,_0x2d76db){return new AnnotationView(_0x21d39d,_0x2d76db);}['_addActiveAnnotation'](_0x8e7e1a){const _0x146d05=new Set(this['activeAnnotations']);_0x146d05['add'](_0x8e7e1a),this['activeAnnotations']=_0x146d05;}['_removeActiveAnnotation'](_0x1123e9){const _0x5bc1f7=new Set(this['activeAnnotations']);_0x5bc1f7['delete'](_0x1123e9),this['activeAnnotations']=_0x5bc1f7;}['_bindAnnotationsToVisibleAnnotations'](){const _0x45bb67=this['collection'],_0x348007=this['_visibleAnnotations'];function _0x38d40f(_0x4793c3){const _0x4cb2b5=_0x4793c3['source'];_0x4cb2b5['isVisible']&&!_0x348007['has'](_0x4cb2b5)?_0x348007['add'](_0x4cb2b5):!_0x4cb2b5['isVisible']&&_0x348007['has'](_0x4cb2b5)&&_0x348007['remove'](_0x4cb2b5),_0x4cb2b5['view']['focusTracker']['remove'](_0x4cb2b5['view']['element']),_0x4cb2b5['view']['focusTracker']['add'](_0x4cb2b5['view']['element']);}this['listenTo'](_0x45bb67,'add',(_0x3d31ea,_0x566a6f)=>{_0x566a6f['isVisible']&&_0x348007['add'](_0x566a6f),this['listenTo'](_0x566a6f,'change:isVisible',_0x38d40f);}),this['listenTo'](_0x45bb67,'remove',(_0x194b00,_0x1fcc92)=>{_0x348007['has'](_0x1fcc92)&&_0x348007['remove'](_0x1fcc92),this['stopListening'](_0x1fcc92,'change:isVisible',_0x38d40f);});}['_setupEnterAnnotationKeystroke'](){const _0x34399d=_0x4e0eb5=>{_0x4e0eb5['on']('ready',()=>{_0x4e0eb5['keystrokes']['set'](FOCUS_ANNOTATION_KEYSTROKE,(_0x536a0e,_0x467c13)=>{const _0x46e68d=first(this['activeAnnotations']['values']());_0x46e68d&&(_0x46e68d['view']['focus'](),_0x467c13());});});};this['context']instanceof Editor?_0x34399d(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x1f1ab0,_0x234121)=>{_0x34399d(_0x234121);});}['_setupEscapeAnnotationHandling'](){const _0x3a519a=_0x3218fc=>{const _0xdd4301=_0x3218fc['source'],_0x1cc277=[];let _0x1fbc48;if(Array['isArray'](_0xdd4301['target'])){_0x1fbc48=_0xdd4301['target'][0x0],this['context']instanceof Editor?_0x1cc277['push'](this['context']):this['context']['editors']&&_0x1cc277['push'](...this['context']['editors']);for(const _0x5ede84 of _0x1cc277)for(const _0x369fb2 of _0x5ede84['editing']['view']['domRoots']['values']())if(_0x369fb2['contains'](_0x1fbc48))return void _0x5ede84['editing']['view']['focus']();_0x1fbc48['focus']();}};this['listenTo'](this['collection'],'add',(_0x5577b8,_0x13f786)=>{this['listenTo'](_0x13f786,'escape',_0x3a519a,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x32c735,_0x2e4ad9)=>{this['stopListening'](_0x2e4ad9,'escape',_0x3a519a);});}}const noChannel=Symbol('noChannel'),defaultPermissions={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends ContextPlugin{static get['requires'](){return[Annotations,PendingActions,Users];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x60d131){super(_0x60d131),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x7a8ba1=this['context']['config'];_0x7a8ba1['define']('comments.maxCommentsWhenCollapsed',0x2),_0x7a8ba1['define']('comments.maxThreadTotalWeight',0x1f4),_0x7a8ba1['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x7a8ba1['define']('comments.CommentThreadView',CommentThreadView),_0x7a8ba1['define']('comments.CommentView',CommentView),_0x7a8ba1['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x15e75f=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x28ac94,_0x3ba0ca)=>this['_addCommentThread'](_0x3ba0ca)),this['on']('submitCommentThread',(_0x57b9c0,_0x4869f9)=>this['_submitCommentThread'](_0x4869f9)),this['on']('resolveCommentThread',(_0x2cb670,_0x297dd5)=>this['_resolveCommentThread'](_0x297dd5)),this['on']('resolveCommentThread',(_0x141fa3,_0x4c1ea7)=>this['_updateActiveAnnotation'](_0x4c1ea7),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x1eafbe,_0x3bf052)=>this['_reopenCommentThread'](_0x3bf052)),this['on']('reopenCommentThread',(_0x56a560,_0x1df40e)=>this['_updateActiveAnnotation'](_0x1df40e),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x25a3d2,_0x12ce87)=>this['_removeCommentThread'](_0x12ce87)),this['on']('updateCommentThread',(_0x36f459,_0xfc57e5)=>this['_updateCommentThread'](_0xfc57e5)),this['on']('updateCommentThread',(_0x25116b,_0x1b39d3)=>this['_updateActiveAnnotation'](_0x1b39d3),{'priority':'lowest'}),this['on']('addComment',(_0x297a25,_0x19c913)=>this['_addComment'](_0x19c913)),this['on']('updateComment',(_0x2d67e6,_0x153701)=>this['_updateComment'](_0x153701)),this['on']('removeComment',(_0x5a06af,_0x1a38ec)=>this['_removeComment'](_0x1a38ec)),this['on']('addComment',(_0x50d2a2,{threadId:_0x45f97e,isFromAdapter:_0x460c58})=>{if(_0x460c58)return;const _0x178395=this['getCommentThread'](_0x45f97e),_0x24e100=_0x178395&&this['_threadToController']['get'](_0x178395);_0x24e100&&_0x24e100['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x15e75f,'change:activeAnnotations',(_0x1d8c8e,_0x53b9e4,_0x32ef5f)=>{const _0x1609de=Array['from'](_0x32ef5f)['map'](_0x7a5254=>this['_viewToController']['get'](_0x7a5254['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x1609de?_0x1609de['model']:null;});}set['adapter'](_0x21424a){if(this['_adapter'])throw new CKEditorError('commentsrepository-adapter-already-set');this['_adapter']=_0x21424a;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x5dae59=noChannel,threadId:_0x1acad1=uid(),comments:_0x2bb2cb=[],unlinkedAt:_0x31f2e6=null,resolvedAt:_0x338b28=null,resolvedBy:_0x26def6=null,target:_0x25c670=null,context:_0xc430e7=null,attributes:_0x78e2ed={},isResolvable:_0x209fe1=!0x0,isSubmitted:_0x3f7e49=!0x1,isFromAdapter:_0x4be562=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x5dae59),{'channelId':_0x5dae59,'threadId':_0x1acad1,'comments':_0x2bb2cb,'unlinkedAt':_0x31f2e6,'resolvedAt':_0x338b28,'resolvedBy':_0x26def6,'target':_0x25c670,'context':_0xc430e7,'attributes':_0x78e2ed,'isFromAdapter':_0x4be562,'isResolvable':_0x209fe1,'isSubmitted':_0x3f7e49}),this['getCommentThread'](_0x1acad1);}['openNewCommentThread']({channelId:_0x5c14d3=noChannel,threadId:_0x14d267=uid(),target:_0xfb4320,context:_0x309b73=null,isResolvable:_0x1e90bf=!0x0}){if(this['_readOnlyChannels']['has'](_0x5c14d3)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0xfb4320)throw new CKEditorError('commentsrepository-missing-target');const _0x178658=this['addCommentThread']({'channelId':_0x5c14d3,'threadId':_0x14d267,'target':_0xfb4320,'context':_0x309b73,'isResolvable':_0x1e90bf});if(!_0x178658)return null;const _0x5c1db3=this['_threadToController']['get'](_0x178658),_0xcf3ab8=_0x5c1db3['view']['commentThreadInputView']['commentInputView'],_0x2f8e0d=this['context']['plugins']['get'](Annotations),_0x2b4ea2=_0x2f8e0d['getByInnerView'](_0x5c1db3['view']);return _0x2f8e0d['activate'](_0x2b4ea2),_0xcf3ab8['once']('editorReady',()=>_0xcf3ab8['focus']()),_0x178658;}['hasCommentThread'](_0x8b3c99){if('string'!=typeof _0x8b3c99)throw new CKEditorError('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x8b3c99);}['updateCommentThread']({channelId:_0x495251=noChannel,threadId:_0x635c1d,context:_0x51c8bc,unlinkedAt:_0x4992ee,attributes:_0x2c754a,isFromAdapter:_0x3cb43a=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x495251),{'channelId':_0x495251,'threadId':_0x635c1d,'context':_0x51c8bc,'unlinkedAt':_0x4992ee,'attributes':_0x2c754a,'isFromAdapter':_0x3cb43a}),this['getCommentThread'](_0x635c1d);}['getCommentThread'](_0x9772b4){if('string'!=typeof _0x9772b4)throw new CKEditorError('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x9772b4);}['fetchCommentThread']({channelId:_0x214b8f,threadId:_0x4ea027}={}){const _0x172071=this['getCommentThread'](_0x4ea027);if(_0x172071)return Promise['resolve'](_0x172071);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new CKEditorError('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x214b8f,'threadId':_0x4ea027})['then'](_0x574b87=>this['hasCommentThread'](_0x4ea027)?this['getCommentThread'](_0x4ea027):_0x574b87?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x214b8f},_0x574b87)):void 0x0)['catch'](_0xd73c5a=>{throw console['error'](_0xd73c5a),new CKEditorError('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0xad70af,skipNotAttached:_0x1c78b8=!0x1,skipEmpty:_0x213717=!0x1,toJSON:_0x298013=!0x1}={}){const _0x4cb657=[];for(const _0x59af49 of this['_threads']['values']())_0xad70af&&_0x59af49['channelId']!==_0xad70af||_0x1c78b8&&!_0x59af49['isAttached']||_0x213717&&0x0===_0x59af49['length']||_0x4cb657['push'](_0x59af49);return _0x298013?_0x4cb657['map'](_0x28167f=>_0x28167f['toJSON']()):_0x4cb657;}['setActiveCommentThread'](_0x50aefc){const _0x2d52ee=this['context']['plugins']['get'](Annotations);if(!_0x50aefc)return void(this['activeCommentThread']&&_0x2d52ee['deactivateAll']());const _0x3e02b6=this['getCommentThread'](_0x50aefc);if(!_0x3e02b6)throw new CKEditorError('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x50aefc});if(!this['_threadToController']['has'](_0x3e02b6))throw new CKEditorError('commentsrepository-active-not-attached',null,{'threadId':_0x50aefc});const _0x2d8807=_0x2d52ee['getByInnerView'](this['_threadToController']['get'](_0x3e02b6)['view']);_0x2d52ee['activate'](_0x2d8807);}['switchReadOnly'](_0x653380,_0x48b531){_0x653380?this['_readOnlyChannels']['add'](_0x48b531):this['_readOnlyChannels']['delete'](_0x48b531),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x138835){return this['_readOnlyChannels']['has'](_0x138835)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x2de5ab,_0x149c46){return new CommentThreadController(_0x2de5ab,_0x149c46);}['setPermissions'](_0x5ef096,_0x2a079f=noChannel){this['_permissions']['set'](_0x2a079f,_0x5ef096),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x2b4706=noChannel){return this['_permissions']['has'](_0x2b4706)?this['_permissions']['get'](_0x2b4706):defaultPermissions;}['_addCommentThread']({channelId:_0x50fdd2,threadId:_0x1f7860,comments:_0x177e39,unlinkedAt:_0x1473ce,resolvedAt:_0x383caf,resolvedBy:_0x1d9cf7,target:_0x1e86e2,context:_0x39d745,attributes:_0x383891,isFromAdapter:_0x34f09e,isResolvable:_0x356640,isSubmitted:_0x3f0771}){if('string'!=typeof _0x1f7860)throw new CKEditorError('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1f7860});if(this['hasCommentThread'](_0x1f7860))throw new CKEditorError('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x1f7860});const _0x49d8dc=new CommentThread(this,{'channelId':_0x50fdd2,'id':_0x1f7860,'context':_0x39d745,'attributes':_0x383891,'unlinkedAt':_0x1473ce,'resolvedAt':_0x383caf,'resolvedBy':_0x1d9cf7?this['context']['plugins']['get'](Users)['getUser'](_0x1d9cf7):null,'isResolvable':_0x356640,'isSubmitted':_0x3f0771||_0x34f09e});this['_threads']['set'](_0x1f7860,_0x49d8dc);for(const _0x31df45 of _0x177e39)_0x49d8dc['_add'](this['_createNewComment']({'threadId':_0x1f7860,..._0x31df45}));return _0x1e86e2&&_0x49d8dc['attachTo'](_0x1e86e2),_0x34f09e||!_0x49d8dc['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x50fdd2,'threadId':_0x1f7860});}['_submitCommentThread']({channelId:_0x1238ca,threadId:_0x424819}){if(!this['hasCommentThread'](_0x424819))throw new CKEditorError('commentsrepository-missing-comment-thread',this);const _0x239b62=this['getCommentThread'](_0x424819);if(_0x239b62['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x2ab32c,comments:_0x22bee9,resolvedAt:_0xf4fa6e,resolvedBy:_0x5d52d6,context:_0xb89c4f,attributes:_0x134e68}=_0x239b62,_0x11db49=this['context']['plugins']['get']('PendingActions'),_0x1cc689=_0x11db49['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x1238ca,'threadId':_0x2ab32c,'comments':_0x22bee9['map'](_0x5601ac=>_0x5601ac['toJSON']()),'resolvedAt':_0xf4fa6e,'resolvedBy':_0x5d52d6?_0x5d52d6['id']:_0x5d52d6,'context':_0xb89c4f,'attributes':_0x134e68})['then'](({comments:_0x23f112})=>{_0x11db49['remove'](_0x1cc689);for(const _0x3f7aa8 of _0x23f112)this['_updateComment']({'channelId':_0x1238ca,'threadId':_0x424819,'commentId':_0x3f7aa8['commentId'],'createdAt':_0x3f7aa8['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x57ebbd=>{throw console['error'](_0x57ebbd),new CKEditorError('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x40f72d,target:_0x4c5c72}){const _0x146dc3=this['getCommentThread'](_0x40f72d);if(!_0x146dc3)throw new CKEditorError('commentsrepository-attach-missing-comment-thread',this);const _0xe9b709=this['context']['plugins']['get']('PendingActions'),_0x557971=this['context']['plugins']['get'](Annotations),_0x50573f=this['_createCommentThreadView'](_0x146dc3),_0x5e3529=new CommentThreadController(_0x146dc3,_0x50573f);let _0x3144fb=null;_0x50573f['on']('change:isDirty',(_0x3a782d,_0x2a0c3c,_0x3bf55f)=>{_0x3bf55f?_0x3144fb=_0xe9b709['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x3144fb&&(_0xe9b709['remove'](_0x3144fb),_0x3144fb=null);}),this['_threadToController']['set'](_0x146dc3,_0x5e3529),this['_viewToController']['set'](_0x50573f,_0x5e3529);const _0x1bed8c=new AnnotationView(this['context']['locale'],_0x50573f);_0x1bed8c['bind']('length')['to'](_0x50573f),_0x1bed8c['bind']('isDirty')['to'](_0x50573f,'isDirty',_0x50573f,'length',(_0x4090ae,_0x28f09e)=>_0x4090ae||!_0x28f09e),_0x1bed8c['bind']('isActive')['to'](_0x50573f),_0x1bed8c['type']='comment';const _0x4b43de=new Annotation$1({'view':_0x1bed8c,'target':_0x4c5c72,'type':'comment','isVisible':!_0x146dc3['archivedAt']});return _0x50573f['on']('escape',()=>{_0x4b43de['fire']('escape');}),this['_bindAnnotationToEditors'](_0x50573f,_0x4b43de),_0x557971['add'](_0x4b43de),_0x4b43de;}['_bindAnnotationToEditors'](_0x207a22,_0x4526da){this['listenTo'](_0x207a22,'editorReady',(_0x5a5280,_0x8edf47)=>{const _0x3df464=_0x8edf47['ui']['view']['body']['bodyCollectionContainer'];_0x4526da['focusableElements']['add'](_0x3df464),this['context']instanceof Editor&&this['context']['ui']['focusTracker']['add'](_0x3df464);},{'priority':'highest'}),this['listenTo'](_0x207a22,'editorDestroyed',(_0x185a45,_0x55e3cc)=>{const _0x443868=_0x55e3cc['ui']['view']['body']['bodyCollectionContainer'];_0x4526da['focusableElements']['has'](_0x443868)&&_0x4526da['focusableElements']['remove'](_0x443868),this['context']instanceof Editor&&this['context']['ui']['focusTracker']['remove'](_0x443868);});}['_unbindEditors'](_0x251a32){this['stopListening'](_0x251a32,'editorReady'),this['stopListening'](_0x251a32,'editorDestroyed');}['_createCommentThreadView'](_0x5e45df){const _0x10a1ab=this['context']['plugins']['get'](Users),{config:_0x1b9f73,locale:_0x431702}=this['context'],_0x5de2e5=getDateTimeFormatter(_0x1b9f73['get']('locale'));return new(0x0,(_0x1b9f73['get']('comments'))['CommentThreadView'])(_0x431702,_0x5e45df,_0x10a1ab['me'],{'editorConfig':{..._0x1b9f73['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x1b9f73['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x1b9f73['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x1b9f73['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x1b9f73['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x5de2e5,'CommentView':_0x1b9f73['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x2f0c78,channelId:_0x4f1227,resolvedAt:_0x59b815,resolvedBy:_0x4824e8,isFromAdapter:_0x22fa09}){if(!this['hasCommentThread'](_0x2f0c78))throw new CKEditorError('commentsrepository-missing-comment-thread',null,{'threadId':_0x2f0c78});const _0x120faa=this['getCommentThread'](_0x2f0c78);if(_0x120faa['isResolved'])throw new CKEditorError('commentsrepository-resolved-comment-thread',null,{'threadId':_0x2f0c78});const _0x322196=this['context']['plugins']['get'](Users);if(_0x120faa['resolvedBy']=_0x322196['getUser'](_0x4824e8),_0x120faa['resolvedAt']=_0x59b815,_0x22fa09||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x43a043=this['context']['plugins']['get']('PendingActions'),_0x555feb=_0x43a043['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x4f1227,'threadId':_0x2f0c78})['then'](({resolvedAt:_0xafa4a9,resolvedBy:_0x489f41})=>{_0x43a043['remove'](_0x555feb),_0x120faa['resolvedBy']['id']!==_0x489f41&&(_0x120faa['resolvedBy']=_0x322196['getUser'](_0x489f41)),_0x120faa['resolvedAt']=_0xafa4a9;})['catch'](_0x376e8d=>{throw console['error'](_0x376e8d),new CKEditorError('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x263375,channelId:_0x33db94,isFromAdapter:_0x2ab1e0}){if(!this['hasCommentThread'](_0x263375))throw new CKEditorError('commentsrepository-missing-comment-thread',null,{'threadId':_0x263375});const _0x5dc98f=this['getCommentThread'](_0x263375);if(!_0x5dc98f['isResolved'])throw new CKEditorError('commentsrepository-reopen-comment-thread',null,{'threadId':_0x263375});if(_0x5dc98f['resolvedBy']=null,_0x5dc98f['resolvedAt']=null,_0x2ab1e0||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x55d0e4=this['context']['plugins']['get']('PendingActions'),_0x46175c=_0x55d0e4['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x33db94,'threadId':_0x263375})['then'](()=>_0x55d0e4['remove'](_0x46175c))['catch'](_0x49444d=>{throw console['error'](_0x49444d),new CKEditorError('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x2089a3,isFromAdapter:_0x4ab52c}){const _0x2f4188=this['getCommentThread'](_0x2089a3);if(!_0x2f4188)throw new CKEditorError('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x2089a3),this['_threads']['delete'](_0x2089a3),!_0x2f4188['isSubmitted']||_0x4ab52c||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x54d9f8=this['context']['plugins']['get']('PendingActions'),{channelId:_0x38d91e}=_0x2f4188,_0x54f9ef=_0x54d9f8['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x38d91e,'threadId':_0x2089a3})['then'](()=>_0x54d9f8['remove'](_0x54f9ef))['catch'](_0x403cbc=>{throw console['error'](_0x403cbc),new CKEditorError('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x28845c,unlinkedAt:_0x46cae8,context:_0x4e1b3b,attributes:_0x4d75d0,isFromAdapter:_0x5edb96}){if('string'!=typeof _0x28845c)throw new CKEditorError('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x28845c});if(!this['hasCommentThread'](_0x28845c))throw new CKEditorError('commentsrepository-missing-comment-thread',null,{'threadId':_0x28845c});const _0x430352=this['getCommentThread'](_0x28845c);let _0x4197b8=!0x1;if(void 0x0!==_0x4e1b3b&&_0x430352['context']!==_0x4e1b3b&&(_0x430352['context']=_0x4e1b3b,_0x4197b8=!0x0),void 0x0!==_0x46cae8&&_0x430352['unlinkedAt']!==_0x46cae8&&(_0x430352['unlinkedAt']=_0x46cae8,_0x4197b8=!0x0),_0x4d75d0&&!isEqual(_0x4d75d0,_0x430352['attributes'])&&(_0x430352['attributes']=_0x4d75d0,_0x4197b8=!0x0),!_0x4197b8)return Promise['resolve']();if(!_0x430352['isSubmitted']||_0x5edb96||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x2410e8=this['context']['plugins']['get']('PendingActions'),{channelId:_0xd0cc68}=_0x430352,_0x3a334f=_0x2410e8['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0xd0cc68,'threadId':_0x28845c,'context':_0x4e1b3b,'unlinkedAt':_0x46cae8,'attributes':_0x4d75d0})['then'](()=>_0x2410e8['remove'](_0x3a334f))['catch'](_0xb4f029=>{throw console['error'](_0xb4f029),new CKEditorError('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x35b39f){const _0x52d7ec=this['context']['plugins']['get'](Annotations),_0x840959=this['getCommentThread'](_0x35b39f);if(_0x840959['_isAttached']=!0x1,this['_threadToController']['has'](_0x840959)){const _0x38148e=this['_threadToController']['get'](_0x840959),_0x2991e7=_0x38148e['view'],_0x354683=_0x52d7ec['getByInnerView'](_0x2991e7);this['_threadToController']['delete'](_0x840959),this['_viewToController']['delete'](_0x2991e7),_0x354683&&_0x52d7ec['remove'](_0x354683),_0x38148e['destroy'](),_0x2991e7['destroy']()['then'](()=>{this['_unbindEditors'](_0x2991e7);});}}['_updateActiveAnnotation']({threadId:_0x3cb1b8,resolvedAt:_0x51f823}){const _0x3289b1=!!_0x51f823,_0x439e15=this['context']['plugins']['get'](Annotations),_0x3af367=this['getCommentThread'](_0x3cb1b8);if(this['_threadToController']['has'](_0x3af367)){const _0x10f2ef=this['_threadToController']['get'](_0x3af367)['view'],_0x2a1ac6=_0x439e15['getByInnerView'](_0x10f2ef);_0x2a1ac6&&(_0x3289b1&&_0x439e15['_removeActiveAnnotation'](_0x2a1ac6),_0x2a1ac6['refreshVisibility']());}}['_getExternalAuthor'](_0xfe869f){const _0xf30afd=this['context']['plugins']['get'](Users),_0x1544a6=hashObject('external:'+_0xfe869f),_0x23b4fe=_0xf30afd['getUser'](_0x1544a6);return _0x23b4fe||_0xf30afd['addUser']({'id':_0x1544a6,'name':_0xfe869f});}['_createNewComment']({threadId:_0x30f7e4,commentId:_0x13f890=uid(),content:_0x22b1c0,authorId:_0x34e372,createdAt:_0xfbd95f,attributes:_0x5599fc}){if('string'!=typeof _0x13f890)throw new CKEditorError('commentsrepository-invalid-commentid');if('string'!=typeof _0x34e372)throw new CKEditorError('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x22b1c0||!_0x22b1c0['trim']())throw new CKEditorError('commentsrepository-invalid-comment-content');const _0x2ba019=this['context']['plugins']['get'](Users)['getUser'](_0x34e372);if(!_0x2ba019)throw new CKEditorError('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x34e372});let _0x37604e=null,_0x5802c7=_0xfbd95f;return _0x5599fc&&_0x5599fc['@external']&&(_0x37604e=this['_getExternalAuthor'](_0x5599fc['@external']['authorName']),_0x5802c7=new Date(_0x5599fc['@external']['createdAt'])),new Comment(this,{'threadId':_0x30f7e4,'id':_0x13f890,'author':_0x37604e||_0x2ba019,'creator':_0x2ba019,'content':_0x22b1c0,'createdAt':_0xfbd95f,'authoredAt':_0x5802c7,'attributes':_0x5599fc});}['_addComment'](_0x287a97){let {threadId:_0x2f618f,content:_0x2a083f,attributes:_0x2ac906,isFromAdapter:_0x4c27e8}=_0x287a97;const _0x501f61=this['getCommentThread'](_0x287a97['threadId']);if(!_0x501f61)throw new CKEditorError('commentsrepository-add-comment-to-missing-comment-thread',this);const _0xa9bb64=this['_createNewComment'](_0x287a97),{id:_0x1d34ac}=_0xa9bb64;if(_0x501f61['_add'](_0xa9bb64),_0x4c27e8||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x501f61['isSubmitted'])return Promise['resolve']();const _0x35f5ce=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1d6930}=_0x501f61,_0x39e4ef=_0x35f5ce['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x2ac906||(_0x2ac906={}),this['adapter']['addComment']({'channelId':_0x1d6930,'threadId':_0x2f618f,'commentId':_0x1d34ac,'content':_0x2a083f,'attributes':_0x2ac906})['then'](_0x29c389=>{_0x35f5ce['remove'](_0x39e4ef),_0x29c389&&this['_updateComment']({'channelId':_0x1d6930,'threadId':_0x2f618f,'commentId':_0x1d34ac,'createdAt':_0x29c389['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x4e6739=>{throw console['error'](_0x4e6739),new CKEditorError('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0xe549c9,commentId:_0x4f8978,content:_0x26df91,createdAt:_0x2ba5e3,attributes:_0x1cd309,isFromAdapter:_0x183547}){if(void 0x0!==_0x26df91&&('string'!=typeof _0x26df91||!_0x26df91['trim']()['length']))throw new CKEditorError('commentsrepository-update-comment-invalid-content');const _0x40a446=this['getCommentThread'](_0xe549c9),_0x20ea1e=_0x40a446['getComment'](_0x4f8978);if(!_0x20ea1e)throw new CKEditorError('commentsrepository-update-missing-comment',this);let _0x375ce6=!0x1;if(_0x26df91&&_0x26df91!==_0x20ea1e['content']&&(_0x20ea1e['isEditable']||_0x183547)&&(_0x20ea1e['content']=_0x26df91,_0x375ce6=!0x0),_0x2ba5e3&&_0x2ba5e3!==_0x20ea1e['createdAt']&&(_0x20ea1e['createdAt']=_0x2ba5e3,_0x20ea1e['attributes']&&_0x20ea1e['attributes']['@external']||(_0x20ea1e['authoredAt']=_0x2ba5e3),_0x375ce6=!0x0),_0x1cd309&&!isEqual(_0x1cd309,_0x20ea1e['attributes'])&&(_0x20ea1e['attributes']=_0x1cd309,_0x375ce6=!0x0),!_0x375ce6)return Promise['resolve']();if(_0x40a446['fire']('commentUpdated'),_0x183547||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x17cd39=this['context']['plugins']['get']('PendingActions'),{channelId:_0x54d4be}=this['getCommentThread'](_0x20ea1e['threadId']),_0x1c2e2c=_0x17cd39['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x54d4be,'threadId':_0xe549c9,'commentId':_0x4f8978,'content':_0x26df91,'attributes':_0x1cd309})['then'](()=>_0x17cd39['remove'](_0x1c2e2c))['catch'](_0x4500a0=>{throw console['error'](_0x4500a0),new CKEditorError('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x5786a8,commentId:_0x5ae8b0,isFromAdapter:_0x1c23e4}){const _0x3931e6=this['getCommentThread'](_0x5786a8),_0x73b328=_0x3931e6['getComment'](_0x5ae8b0);if(!_0x73b328)throw new CKEditorError('commentsrepository-remove-missing-comment',this);if(_0x3931e6['_remove'](_0x73b328),_0x1c23e4||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x43c8d9=this['context']['plugins']['get']('PendingActions'),{channelId:_0x29f7e4}=_0x3931e6,_0xb79657=_0x43c8d9['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x29f7e4,'threadId':_0x5786a8,'commentId':_0x5ae8b0})['then'](()=>_0x43c8d9['remove'](_0xb79657))['catch'](_0xb8cb84=>{throw console['error'](_0xb8cb84),new CKEditorError('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x5da03d,_0xd02ff4){super();const _0x1d5dae=_0xd02ff4['isResolvable'];this['channelId']=_0xd02ff4['channelId'],this['id']=_0xd02ff4['id'],this['comments']=new Collection(),this['_repository']=_0x5da03d,this['_isAttached']=!0x1,this['_isSubmitted']=_0xd02ff4['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x5da03d,'_permissions',_0x5da03d,'_readOnlyChannels',()=>_0x5da03d['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x5da03d,'_permissions',()=>_0x5da03d['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x5da03d,'_permissions',()=>{const _0x2d809c=_0x5da03d['getPermissions'](this['channelId']);return _0x2d809c['write']||_0x2d809c['admin'];}),this['bind']('isResolvable')['to'](_0x5da03d,'_permissions',()=>_0x1d5dae&&_0x5da03d['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0xd02ff4['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x3bb8e0,_0x5b51b2)=>_0x3bb8e0?_0x5b51b2?_0x3bb8e0<_0x5b51b2?_0x3bb8e0:_0x5b51b2:_0x3bb8e0:_0x5b51b2),this['set']('unlinkedAt',_0xd02ff4['unlinkedAt']||null),this['set']('resolvedAt',_0xd02ff4['resolvedAt']||null),this['set']('resolvedBy',_0xd02ff4['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0xe8c8a8=>!!_0xe8c8a8),this['set']('attributes',_0xd02ff4['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x2a9e42,_0x487e27)=>_0x2a9e42+_0x487e27['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x41fad2,id:_0x555906}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x41fad2),{'channelId':_0x41fad2,'threadId':_0x555906});}['setUnlinkedAt'](_0x5c54d1){this['_update']({'unlinkedAt':_0x5c54d1});}['resolve']({resolvedAt:_0x3b3ab0=new Date(),resolvedBy:_0x3bdaa3=null,isFromAdapter:_0x36b809=!0x1}={}){const _0x3ebc40=this['_repository']['context']['plugins']['get'](Users)['me'],{channelId:_0x584493,id:_0x1ea7c0}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x584493),{'channelId':_0x584493,'threadId':_0x1ea7c0,'resolvedAt':_0x3b3ab0,'resolvedBy':_0x3bdaa3||_0x3ebc40['id'],'isFromAdapter':_0x36b809});}['reopen']({isFromAdapter:_0x185dfa=!0x1}={}){const {channelId:_0xf49ca1,id:_0x1ef523}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0xf49ca1),{'channelId':_0xf49ca1,'threadId':_0x1ef523,'isFromAdapter':_0x185dfa});}['setContext'](_0x579d16){this['context']||this['_update']({'context':_0x579d16});}['setAttribute'](_0x306ab2,_0x5cd475){const _0x57c030=cloneDeep(this['attributes']);set$1(_0x57c030,_0x306ab2,_0x5cd475),this['_update']({'attributes':_0x57c030});}['removeAttribute'](_0x2b2e2d){const _0x57bbdf=cloneDeep(this['attributes']);unset(_0x57bbdf,_0x2b2e2d),this['_update']({'attributes':_0x57bbdf});}['remove']({isFromAdapter:_0x171472=!0x1}={}){const {channelId:_0x5908b2,id:_0x2e6027}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x5908b2),{'channelId':_0x5908b2,'threadId':_0x2e6027,'isFromAdapter':_0x171472});}['attachTo'](_0x19f2ea){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x19f2ea});}['addComment'](_0x46912e){const {channelId:_0x47dd5c,id:_0xb6e748}=this;this['_repository']['fire'](toEventName('addComment',_0x47dd5c,_0xb6e748),Object['assign']({'channelId':_0x47dd5c,'threadId':_0xb6e748},_0x46912e));}['getComment'](_0xa162b3){if('string'!=typeof _0xa162b3)throw new CKEditorError('commentsrepository-get-comment-invalid-id',null,{'commentId':_0xa162b3});return this['comments']['get'](_0xa162b3);}['toJSON'](){return{'threadId':this['id'],'context':this['context'],'unlinkedAt':this['unlinkedAt'],'resolvedAt':this['resolvedAt'],'resolvedBy':this['resolvedBy']?this['resolvedBy']['id']:null,'archivedAt':this['archivedAt'],'comments':this['comments']['map'](_0x494263=>_0x494263['toJSON']()),'attributes':this['attributes']};}['_add'](_0xaafa6c){return this['listenTo'](_0xaafa6c,'change:authoredAt',()=>{const _0x208e73=this['_findOptimalIndex'](_0xaafa6c),_0x4d2d4f=this['comments'];_0x208e73-0x1!=_0x4d2d4f['getIndex'](_0xaafa6c)&&_0x208e73+0x1!=_0x4d2d4f['getIndex'](_0xaafa6c)&&(this['_remove'](_0xaafa6c),this['_add'](_0xaafa6c));}),this['comments']['add'](_0xaafa6c,this['_findOptimalIndex'](_0xaafa6c));}['_update'](_0x546657){const {channelId:_0x4889a0,id:_0x54802b}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x4889a0),{..._0x546657,'channelId':_0x4889a0,'threadId':_0x54802b});}['_remove'](_0x68ded9){return this['stopListening'](_0x68ded9),_0x68ded9['destroy'](),this['comments']['remove'](_0x68ded9);}['_findOptimalIndex'](_0x14c392){const _0x4c01f1=this['comments']['find'](_0x259b57=>new Date(_0x259b57['authoredAt'])['getTime']()>new Date(_0x14c392['authoredAt'])['getTime']());return _0x4c01f1?this['comments']['getIndex'](_0x4c01f1):this['length'];}}const MIN_WEIGHT=0xc8;function getContentLength(_0x1a57e8){const _0x21568e=document['createElement']('div');return _0x21568e['innerHTML']=_0x1a57e8,_0x21568e['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x34bbce,_0x5deb58){super();const _0x583b4f=_0x34bbce['context']['plugins']['get'](Users)['me'],_0x21d8dc=_0x34bbce['getCommentThread'](_0x5deb58['threadId']),_0x44f6c0=0x0===_0x21d8dc['comments']['length'],_0x272368=_0x583b4f===_0x5deb58['author'];this['id']=_0x5deb58['id'],this['threadId']=_0x5deb58['threadId'],this['author']=_0x5deb58['author'],this['creator']=_0x5deb58['creator'],this['isExternal']=Boolean(_0x5deb58['attributes']&&_0x5deb58['attributes']['@external']),this['set']('content',_0x5deb58['content']),this['createdAt']=_0x5deb58['createdAt']||new Date(),this['set']('authoredAt',_0x5deb58['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x21d8dc,'resolvedAt'),this['set']('attributes',_0x5deb58['attributes']||{}),this['bind']('isEditable')['to'](_0x34bbce,'_permissions',()=>{const _0x17156a=_0x34bbce['getPermissions'](_0x21d8dc['channelId'])['write'],_0x20666b=_0x34bbce['getPermissions'](_0x21d8dc['channelId'])['modifyAll'];return _0x272368&&_0x17156a||!_0x272368&&_0x20666b;}),this['bind']('isRemovable')['to'](_0x21d8dc,'isRemovable',_0x34bbce,'_permissions',_0x374467=>{const _0x127d4b=_0x34bbce['getPermissions'](_0x21d8dc['channelId'])['write'],_0x4ac541=_0x34bbce['getPermissions'](_0x21d8dc['channelId'])['modifyAll'];return _0x272368&&_0x127d4b||_0x374467&&_0x44f6c0||!_0x272368&&_0x4ac541&&!_0x44f6c0;}),this['bind']('isReadOnly')['to'](_0x21d8dc,'isReadOnly'),this['_repository']=_0x34bbce;}get['weight'](){return Math['max'](getContentLength(this['content']),MIN_WEIGHT);}['update'](_0x10dd2a){const {threadId:_0x300de3,id:_0x47b28d}=this;if(!this['_repository']['hasCommentThread'](_0x300de3))throw new CKEditorError('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x567049}=this['_repository']['getCommentThread'](_0x300de3);this['_repository']['fire'](toEventName('updateComment',_0x567049,_0x300de3),{'channelId':_0x567049,'threadId':_0x300de3,'commentId':_0x47b28d,..._0x10dd2a});}['setAttribute'](_0x4b0255,_0x1d3e83){const _0x1b020e=cloneDeep(this['attributes']);set$1(_0x1b020e,_0x4b0255,_0x1d3e83),this['update']({'attributes':_0x1b020e});}['removeAttribute'](_0x1ebf38){const _0x5e933d=cloneDeep(this['attributes']);unset(_0x5e933d,_0x1ebf38),this['update']({'attributes':_0x5e933d});}['remove'](_0x19c90c={}){if(!_0x19c90c['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x353b2e,id:_0x1abca4}=this;if(!this['_repository']['hasCommentThread'](_0x353b2e))throw new CKEditorError('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x275f13}=this['_repository']['getCommentThread'](_0x353b2e);this['_repository']['fire'](toEventName('removeComment',_0x275f13,_0x353b2e),{'channelId':_0x275f13,'threadId':_0x353b2e,'commentId':_0x1abca4,..._0x19c90c});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0x2b569e,..._0x2c196c){for(const _0x3d6811 of _0x2c196c)void 0x0!==_0x3d6811&&(_0x2b569e+=':'+String(_0x3d6811));return _0x2b569e;}class AddCommentThreadCommand extends _0xa280c5{['refresh'](){const _0x2c8639=this['editor']['model']['document']['selection'];for(const _0x2f2926 of _0x2c8639['getRanges']())if(this['_hasContent'](_0x2f2926))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0x59c452=uid()}={}){const _0x16cf32=this['editor']['model'],_0x68a1c0=[];for(const _0x4e449c of _0x16cf32['document']['selection']['getRanges']())this['_hasContent'](_0x4e449c)&&_0x68a1c0['push'](this['_trimToContent'](_0x4e449c));_0x16cf32['change'](_0x4b15fa=>{for(const _0x1ba863 of _0x68a1c0){const _0x4fa907=uid()['substr'](0x1,0x5),_0x376927='comment:'+_0x59c452+':'+_0x4fa907;_0x4b15fa['addMarker'](_0x376927,{'range':_0x1ba863,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0xdefe3b){for(const _0x1a1eb3 of _0xdefe3b['getItems']())if(this['_itemIsContent'](_0x1a1eb3))return!0x0;return!0x1;}['_itemIsContent'](_0x22bdc9){return _0x22bdc9['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x22bdc9)&&!_0x22bdc9['is']('element','tableCell');}['_trimToContent'](_0x55b79e){const _0x138326=_0x19aae8=>!this['_itemIsContent'](_0x19aae8['item']),_0x272209=_0x55b79e['start']['getLastMatchingPosition'](_0x138326),_0x593342=_0x55b79e['end']['getLastMatchingPosition'](_0x138326,{'direction':'backward'});return this['editor']['model']['createRange'](_0x272209,_0x593342);}}class EditorAnnotations extends Plugin{static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f2ecf){super(_0x4f2ecf),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x518a8a=this['editor'],_0x23c2ec=_0x518a8a['model']['document']['selection'],_0xca3837=debounce$1(()=>this['refreshSelectedViews'](),0xa);_0x23c2ec['on']('change:range',(_0x50ccc7,_0x481c96)=>{_0x481c96['directChange']&&(_0xca3837['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x518a8a['editing']['view']['document'],'change:isFocused',(_0x55f932,_0x31255a,_0xf4b52f)=>{_0xf4b52f&&_0xca3837();}),this['listenTo'](_0x518a8a['ui']['focusTracker'],'change:isFocused',(_0x194be3,_0x1a44fe,_0x259c49)=>{_0x259c49||_0x518a8a['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0x537e35=>this['_editorAnnotationsData']['has'](_0x537e35['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x54dc62){if(this['_editorAnnotations']['has'](_0x54dc62['view']))return;this['_editorAnnotations']['add'](_0x54dc62['view']),this['editor']['ui']['focusTracker']['add'](_0x54dc62['view']['element']);const _0x335cbb=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x335cbb['collection'],'remove',(_0x56f3eb,_0x3b7ee6)=>{this['editor']['ui']['focusTracker']['remove'](_0x3b7ee6['view']['element']),this['_editorAnnotations']['delete'](_0x3b7ee6['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x17d8fa){if('function'!=typeof _0x17d8fa)throw new CKEditorError('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x17d8fa);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x58ab14,annotations:_0x1183fe}){const _0x5c0873=[],_0x47b11f=this['editor']['model']['document']['selection'],_0x417dc1=Array['from'](_0x47b11f['getRanges']());for(const [_0x5a017a,_0x3cb94b]of this['_editorAnnotationsData']){const _0x5a1060=_0x306848(_0x3cb94b),_0x5bacfb=_0x1183fe['getByInnerView'](_0x5a017a);_0x5a1060&&_0x5bacfb&&_0x5c0873['push']({'annotation':_0x5bacfb,'range':_0x5a1060});}function _0x306848(_0x684b5d){for(const _0x5c12ca of _0x684b5d)for(const _0x1cad6a of _0x417dc1)if(_0x5c12ca['containsRange'](_0x1cad6a,!_0x47b11f['isCollapsed']))return _0x5c12ca;return null;}return _0x5c0873['sort']((_0x20690c,_0x4b38e4)=>{const _0x346933=_0x20690c['range'],_0x505b7a=_0x4b38e4['range'];if(!_0x346933['isEqual'](_0x505b7a)){if(_0x346933['containsRange'](_0x505b7a,!0x0))return 0x1;if(_0x505b7a['containsRange'](_0x346933,!0x0))return-0x1;}return _0x20690c['annotation']==_0x58ab14?-0x1:_0x4b38e4['annotation']==_0x58ab14?0x1:0x0;})['map'](_0x3a0c35=>_0x3a0c35['annotation']);}get['_editorAnnotationsData'](){const _0x532935=new Map();for(const _0x7d149b of Array['from'](this['_dataCollectors']))for(const [_0x5af5b9,_0x4c3b8f]of _0x7d149b())_0x532935['set'](_0x5af5b9,_0x4c3b8f);return _0x532935;}}class CommentsRestrictedEditingMode extends Plugin{['afterInit'](){const _0x5c33b1=this['editor'];if(!_0x5c33b1['plugins']['has']('RestrictedEditingModeEditing'))return;_0x5c33b1['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends Plugin{constructor(_0xe5a7e3){super(_0xe5a7e3),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x367bf3=this['editor'],_0x25a7c3=_0x367bf3['commands']['get']('importWord'),_0x45085c=_0x367bf3['plugins']['get'](Users);_0x25a7c3&&(_0x25a7c3['on']('execute',(_0x548b49,[,_0x3d4802])=>{_0x3d4802['collaboration_features']={'comments':!0x0,'user_id':_0x45085c['me']['id']};},{'priority':priorities['high']+0xa}),this['listenTo'](_0x25a7c3,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x16abb0,_0x3e1d1e){const {comment_threads:_0x5c408e}=_0x3e1d1e;_0x5c408e&&_0x5c408e['forEach'](({thread_id:_0x3c22de,comments:_0x2d59c2,is_resolved:_0x4c79cb})=>{const _0x19ba2b=new Date(),_0x2bf797=_0x2d59c2['map'](({author:_0x5500ef,content:_0x5caae4,created_at:_0x19154})=>({'content':_0x5caae4,'authorId':this['editor']['plugins']['get'](Users)['me']['id'],'createdAt':_0x19ba2b,'attributes':{'@external':{'authorName':_0x5500ef,'createdAt':_0x19154?new Date(_0x19154):new Date(),'source':'importWord'}}})),_0x233df6=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x233df6,'threadId':_0x3c22de,'comments':_0x2bf797,'resolvedAt':_0x4c79cb?_0x19ba2b:null});});}}class CommentsClipboard extends Plugin{constructor(_0x1b8736){super(_0x1b8736),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ClipboardMarkersUtils,ClipboardPipeline];}['afterInit'](){const _0xbe0b65=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0xbe0b65,'contentInsertion',(_0xb2af3b,_0x510976)=>this['_removeMarkersWithoutThreads'](_0x510976['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x216c25){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x216c25;const _0x459fa1=this['editor']['plugins']['get']('CommentsRepository');for(const _0x134246 of _0x216c25['keys']()){const [_0x525f3f,_0x97cde3]=_0x134246['split'](':');'comment'!=_0x525f3f||_0x459fa1['hasCommentThread'](_0x97cde3)||_0x216c25['delete'](_0x134246);}return _0x216c25;}['_registerMarkerInClipboardPipeline'](){const _0x3155ad=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x5c1a7b=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x5c1a7b&&_0x3155ad['_registerMarkerToCopy']('comment',_0x5c1a7b);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x3deac2){switch(_0x3deac2){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}class ShowCommentHighlights extends Plugin{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x555d27,_0x5837ca)=>{if(!_0x5837ca['options']['showCommentHighlights'])return null;if(_0x5837ca['options']['ignoreResolvedComments']){const {id:_0x4c09bc}=splitMarkerName(_0x555d27['markerName']),_0x220c81=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4c09bc);if(_0x220c81&&_0x220c81['isResolved']&&_0x555d27['item'])return _0x5837ca['consumable']['consume'](_0x555d27['item'],'addMarker:'+_0x555d27['markerName']),_0x5837ca['consumable']['consume'](_0x555d27['item'],'removeMarker:'+_0x555d27['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x27a8d9=>{_0x27a8d9['on']('addMarker:comment',(_0x573771,_0xeb50ca,_0x598596)=>{if(!_0x598596['options']['showCommentHighlights'])return;const _0x488305=_0xeb50ca['item'];if(!_0x488305)return;const _0x549620=_0x598596['mapper']['toViewElement'](_0x488305);this['editor']['model']['schema']['isObject'](_0x488305)&&_0x549620&&!_0x549620['getCustomProperty']('widget')&&_0x549620['is']('containerElement')&&toWidget(_0x549620,_0x598596['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x2c1bba,{writer:_0x514c8b,options:_0x473cf2})=>{if(!_0x473cf2['showCommentHighlights'])return null;const _0x52b293=_0x514c8b['createContainerElement']('div'),_0x27992f=_0x514c8b['createEmptyElement']('hr');return _0x514c8b['addClass']('ck-horizontal-line',_0x52b293),_0x514c8b['insert'](_0x514c8b['createPositionAt'](_0x52b293,0x0),_0x27992f),_0x52b293;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x518b10,{writer:_0x4ed6cb,options:_0x34b741})=>{if(!_0x34b741['showCommentHighlights'])return null;const _0x568f66=_0x4ed6cb['createContainerElement']('span'),_0x4f21ed=_0x4ed6cb['createEmptyElement']('img');return _0x4ed6cb['addClass']('image-inline',_0x568f66),_0x4ed6cb['insert'](_0x4ed6cb['createPositionAt'](_0x568f66,0x0),_0x4f21ed),_0x568f66;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x23cabd,{writer:_0x26f46c,options:_0x40d2af})=>{if(_0x40d2af['showCommentHighlights'])return _0x26f46c['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0xff0231,_0x16c2f7,_0x1cb36e)=>{_0x1cb36e['options']['showCommentHighlights']&&_0xff0231['stop']();},{'priority':'high'});}}const MAX_CONTEXT_LENGTH=0x96;class CommentsEditing extends Plugin{static get['requires'](){return[CommentsRepository,EditorAnnotations,Users,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xee5701){super(_0xee5701),this['set']('isThreadsLoadingPaused',!0x0),_0xee5701['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x512abc,_0x4ff280,_0x50db92,_0x30ec06)=>{const _0x210a49=_0xee5701['plugins']['get'](CommentsRepository),_0x427547=_0x50db92?splitMarkerName(_0x50db92)['id']:null;_0xee5701['model']['change'](()=>{if(_0x427547){const _0xd79f15=this['getAllMarkersForId'](_0x427547);for(const _0x10eea8 of _0xd79f15)_0xee5701['editing']['reconvertMarker'](_0x10eea8);}if(_0x30ec06){const {id:_0x2ee520}=splitMarkerName(_0x30ec06),_0x133764=_0x210a49['getCommentThread'](_0x2ee520);if(_0x133764&&!_0x133764['isAttached'])return;const _0x5bbf31=this['getAllMarkersForId'](_0x2ee520);for(const _0x33b323 of _0x5bbf31)_0xee5701['editing']['reconvertMarker'](_0x33b323);}}),_0x427547&&this['scrollToThreadMarker'](_0x427547);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x33c061=this['editor'],_0x2de9cf=_0x33c061['plugins']['get'](CommentsRepository),_0x3973a8=_0x33c061['config']['get']('collaboration.channelId'),_0x57e9f9=_0x2de9cf['getCommentThreads']()['filter'](_0x3b036e=>_0x3b036e['channelId']!==_0x3973a8);_0x33c061['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x33c061)),this['listenTo'](_0x33c061,'change:isReadOnly',(_0x523ded,_0x27261d,_0x4dfaee)=>{_0x2de9cf['switchReadOnly'](_0x4dfaee,_0x33c061['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x2de9cf,createChannelEvent('addCommentThread',_0x3973a8),(_0x15e382,{threadId:_0x4f98a5})=>{const _0x3c95bd=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4f98a5);_0x3c95bd&&_0x3c95bd['unlinkedAt']&&this['_attachArchivedThread'](_0x4f98a5);}),this['listenTo'](_0x2de9cf,createChannelEvent('removeCommentThread',_0x3973a8),(_0x57b50a,{threadId:_0x210340})=>{_0x33c061['model']['enqueueChange']({'isUndoable':!0x1},_0x2214f3=>{const _0x54f4a8=this['getAllMarkersForId'](_0x210340);for(const _0x41bf33 of _0x54f4a8)_0x2214f3['removeMarker'](_0x41bf33);});}),this['listenTo'](_0x2de9cf,createChannelEvent('resolveCommentThread',_0x3973a8),(_0x25b50e,{threadId:_0x4def57})=>{(this['_reconvertMarkers'](_0x4def57),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4def57)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x2de9cf,createChannelEvent('reopenCommentThread',_0x3973a8),(_0x5c3aff,{threadId:_0x39e46e})=>{this['_reconvertMarkers'](_0x39e46e);},{'priority':'low'}),this['listenTo'](_0x2de9cf,createChannelEvent('addComment',_0x3973a8),(_0x40e1c8,{threadId:_0x5c3e69,isFromAdapter:_0xee32f5})=>{const _0xe36619=this['getAllMarkersForId'](_0x5c3e69);if(_0xee32f5||0x0==_0xe36619['length']||!_0x2de9cf['hasCommentThread'](_0x5c3e69))return;0x1===_0x2de9cf['getCommentThread'](_0x5c3e69)['length']&&_0x33c061['model']['enqueueChange']({'isUndoable':!0x1},_0x4d54db=>{for(const _0x4e072c of _0xe36619)_0x4d54db['updateMarker'](_0x4e072c,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x57e9f9);}['afterInit'](){checkLicense$d(this);}['destroy'](){const _0x1a017d=this['editor']['plugins']['get'](CommentsRepository),_0x11e165=this['editor']['config']['get']('collaboration.channelId');for(const _0x5cf33e of _0x1a017d['getCommentThreads']({'channelId':_0x11e165}))_0x1a017d['_detachCommentThread'](_0x5cf33e['id']),_0x1a017d['_threads']['delete'](_0x5cf33e['id']);super['destroy']();}['hasMarkerForId'](_0x9c85bb){return this['getAllMarkersForId'](_0x9c85bb)['length']>0x0;}['getAllMarkersForId'](_0x18405c){const _0xe30b38=[];for(const _0x1755ec of this['editor']['model']['markers'])_0x1755ec['name']['startsWith']('comment:'+_0x18405c)&&_0xe30b38['push'](_0x1755ec);return _0xe30b38;}['scrollToThreadMarker'](_0x5b232d){const _0x4bbe16=this['_getTargetForId'](_0x5b232d);_0x4bbe16&&setTimeout(()=>{this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x5b232d&&scrollViewportToShowTarget({'target':_0x4bbe16[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x43e7f3){this['editor']['model']['change'](()=>{for(const _0x494da2 of this['getAllMarkersForId'](_0x43e7f3))this['editor']['editing']['reconvertMarker'](_0x494da2);});}['_attachArchivedThread'](_0x6cc78a){const _0x11569f=this['editor']['plugins']['get'](CommentsRepository),_0x5b2e0e=this['editor']['plugins']['get'](EditorAnnotations),_0x3b7731=_0x11569f['getCommentThread'](_0x6cc78a);if(!_0x3b7731['isAttached']){const _0x196756=_0x3b7731['attachTo'](()=>this['_getTargetForId'](_0x3b7731['id']));_0x5b2e0e['registerAnnotation'](_0x196756),_0x3b7731['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x500285=this['editor'],_0x2ad8c5=_0x500285['plugins']['get'](Users);_0x500285['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x26e774,_0x5af6ae)=>{const {id:_0x56af24}=splitMarkerName(_0x26e774['markerName']),_0x205b23=_0x500285['plugins']['get'](CommentsRepository)['getCommentThread'](_0x56af24),_0x54545c=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x56af24;let _0x33a8f8;if(_0x205b23&&_0x205b23['isResolved']&&!_0x54545c&&_0x26e774['item'])return _0x5af6ae['consumable']['consume'](_0x26e774['item'],'addMarker:'+_0x26e774['markerName']),_0x5af6ae['consumable']['consume'](_0x26e774['item'],'removeMarker:'+_0x26e774['markerName']),null;const _0x138aa1=['ck-comment-marker'];return _0x54545c&&_0x138aa1['push']('ck-comment-marker--active'),_0x33a8f8=_0x205b23&&_0x205b23['length']?_0x205b23['comments']['first']['author']['id']:_0x2ad8c5['me']['id'],{'classes':_0x138aa1,'attributes':{'data-comment':_0x56af24,'data-author-id':_0x33a8f8}};}}),_0x500285['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x2ca3da,{options:_0x5a7acf})=>{if(_0x5a7acf['showCommentHighlights'])return null;const _0x1ff965=_0x500285['plugins']['get'](CommentsRepository),_0x193fa6=_0x500285['model']['markers']['get'](_0x2ca3da),{id:_0x1727c3,part:_0x3fa4c2}=splitMarkerName(_0x2ca3da);if(_0x193fa6&&!_0x193fa6['affectsData'])return null;if(_0x5a7acf['ignoreResolvedComments']){const _0x3262ce=_0x1ff965['getCommentThread'](_0x1727c3);if(_0x3262ce&&_0x3262ce['isResolved'])return null;}return{'group':'comment','name':_0x3fa4c2?_0x1727c3+':'+_0x3fa4c2:_0x1727c3};}}),_0x500285['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x5f1715,{writer:_0x2dfda3})=>_0x2dfda3['createElement']('$marker',{'data-name':'comment:'+_0x5f1715['getAttribute']('id')})}),_0x500285['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x704a1=this['editor'],_0x5b2460=_0x704a1['plugins']['get'](CommentsRepository),_0x4062ca=new Set(),_0x432cf2=new Set();_0x704a1['model']['document']['registerPostFixer'](_0x34a495=>{let _0x241bfc=!0x1;for(const {name:_0x4044bb,data:_0x527336}of _0x704a1['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4c2216,id:_0x73f221}=splitMarkerName(_0x4044bb);let _0x48a9a8=_0x527336['newRange'];if('comment'!==_0x4c2216||!_0x48a9a8)continue;const _0x4569d3='$graveyard'===_0x48a9a8['root']['rootName'];_0x4569d3||(_0x48a9a8=fixMarkerRange(_0x48a9a8,_0x704a1['model']),!_0x48a9a8||_0x48a9a8['isCollapsed']||!_0x527336['newRange']||_0x48a9a8['isEqual'](_0x527336['newRange']))?_0x704a1['model']['hasContent'](_0x48a9a8)&&!_0x4569d3?this['isThreadsLoadingPaused']?_0x4062ca['add'](_0x4044bb):this['_handleThreadMarker'](_0x4044bb,_0x73f221):(_0x432cf2['add'](_0x4044bb),_0x4062ca['delete'](_0x4044bb),_0x34a495['removeMarker'](_0x4044bb),_0x241bfc=!0x0):(_0x34a495['updateMarker'](_0x4044bb,{'range':_0x48a9a8}),_0x241bfc=!0x0);}return _0x241bfc;}),this['on']('change:isThreadsLoadingPaused',(_0x1ad8a6,_0x174e1c,_0x2cb371)=>{if(!_0x2cb371&&_0x4062ca['size'])for(const _0xc0e181 of _0x4062ca){const {id:_0x1194ff}=splitMarkerName(_0xc0e181);_0x4062ca['delete'](_0xc0e181),_0x704a1['model']['markers']['get'](_0xc0e181)&&this['_handleThreadMarker'](_0xc0e181,_0x1194ff);}}),this['listenTo'](_0x704a1['model']['document'],'change',()=>{for(const {name:_0x37a313,data:{newRange:_0x159d51}}of _0x704a1['model']['document']['differ']['getChangedMarkers']()){const {group:_0x2b8459,id:_0x7cd4db}=splitMarkerName(_0x37a313);if('comment'!==_0x2b8459)continue;const _0xb0ba8a=_0x5b2460['getCommentThread'](_0x7cd4db),_0x134f21=this['hasMarkerForId'](_0x7cd4db);_0xb0ba8a&&(!_0xb0ba8a['_hasTargetInContent']&&_0x159d51&&_0x704a1['editing']['view']['once']('render',()=>{const _0x29d852=_0x704a1['plugins']['get'](Annotations),_0x36cccf=_0x5b2460['_threadToController']['get'](_0xb0ba8a)['view'];_0x29d852['getByInnerView'](_0x36cccf)['refreshVisibility']();},{'priority':'low'}),_0xb0ba8a['_hasTargetInContent']=_0x134f21||!!_0x159d51),_0x159d51||(_0x432cf2['add'](_0x37a313),_0x4062ca['delete'](_0x37a313));}for(const _0xca0bcd of _0x432cf2){const {id:_0x1027ac}=splitMarkerName(_0xca0bcd),_0x28bef9=_0x5b2460['getCommentThread'](_0x1027ac);if(_0x4062ca['delete'](_0xca0bcd),!_0x28bef9)continue;const _0x82d6a9=this['hasMarkerForId'](_0x1027ac);_0x82d6a9||_0x28bef9['isSubmitted']?_0x82d6a9||_0x28bef9['unlinkedAt']||_0x28bef9['setUnlinkedAt'](new Date()):_0x28bef9['remove']();}_0x432cf2['clear']();});}['_handleInitialThreads'](_0x349737){_0x349737['forEach'](_0x334b50=>{_0x334b50['unlinkedAt']&&this['_attachArchivedThread'](_0x334b50['id']);});}['_getTargetForId'](_0x28fd43){const _0x11771b=this['editor'],_0x6a563b=this['getAllMarkersForId'](_0x28fd43);return getAllMarkersDomElementsSorted(_0x11771b['editing'],_0x6a563b);}['_getTextContext'](_0x1c04bd){const _0x3fa69a=this['getAllMarkersForId'](_0x1c04bd);let _0x367a49='',_0x4157e3=!0x1;for(const _0x9a0f3 of _0x3fa69a){const _0x202762=_0x9a0f3['getRange']();for(const _0x134247 of Array['from'](_0x202762['getItems']()))_0x134247['is']('$textProxy')?(_0x367a49&&_0x4157e3&&(_0x367a49+='\x20',_0x4157e3=!0x1),_0x367a49+=_0x134247['data']):_0x4157e3=!0x0;_0x4157e3=!0x0;}return _0x367a49['substring'](0x0,MAX_CONTEXT_LENGTH);}['_attachMarkerToThread'](_0x13ea86,_0x16575d){const _0x17b27d=this['editor'],_0x11bc0b=_0x17b27d['plugins']['get'](CommentsRepository);let _0x561ebc=_0x11bc0b['getCommentThread'](_0x16575d);const _0x12cead=_0x17b27d['config']['get']('collaboration.channelId'),_0xdbf1da=_0x17b27d['plugins']['get'](EditorAnnotations);if(_0x561ebc&&(_0x561ebc['unlinkedAt']&&_0x561ebc['setUnlinkedAt'](null),_0x561ebc['isAttached']))return _0x561ebc;return!this['getAllMarkersForId'](_0x16575d)[0x0]['managedUsingOperations']?_0x17b27d['editing']['view']['once']('render',()=>{if(_0x11bc0b['getCommentThread'](_0x16575d))return;const _0x273258=_0x17b27d['plugins']['get'](Annotations);_0x561ebc=_0x11bc0b['openNewCommentThread']({'channelId':_0x12cead,'threadId':_0x16575d,'target':()=>this['_getTargetForId'](_0x16575d),'context':{'type':'text','value':this['_getTextContext'](_0x16575d)}});const _0x821b17=_0x11bc0b['_threadToController']['get'](_0x561ebc)['view'],_0x16fcf5=_0x273258['getByInnerView'](_0x821b17);_0x16fcf5&&_0xdbf1da['registerAnnotation'](_0x16fcf5);},{'priority':'low'}):_0x11bc0b['fetchCommentThread']({'channelId':_0x12cead,'threadId':_0x16575d})['then'](_0xca5b44=>{if('destroyed'!==_0x17b27d['state']){if(_0x561ebc=_0xca5b44,_0x561ebc&&!_0x561ebc['isAttached']){const _0x2748b3=_0x561ebc['attachTo'](()=>this['_getTargetForId'](_0x16575d));_0xdbf1da['registerAnnotation'](_0x2748b3),_0x561ebc['isResolved']&&this['_reconvertMarkers'](_0x16575d);}else{if(!_0x561ebc){const _0x27a291=this['getAllMarkersForId'](_0x16575d);_0x17b27d['model']['change'](_0x64292=>{for(const _0x41d0c6 of _0x27a291)_0x64292['removeMarker'](_0x41d0c6);});}}}}),_0x561ebc;}['_handleThreadMarker'](_0x233bdb,_0x27484c){const _0x5835f5=this['_attachMarkerToThread'](_0x233bdb,_0x27484c);_0x5835f5&&!_0x5835f5['context']&&_0x5835f5['setContext']({'type':'text','value':this['_getTextContext'](_0x27484c)});}['_initAriaMarkerChangeAnnouncements'](){const _0x4d7e1f=this['editor'];surroundingMarkersDetector(_0x4d7e1f['model'],({left:_0x276881,entered:_0x1e7d35})=>{for(const _0x28186f of _0x276881)if(isCommentMarker(_0x28186f)){_0x4d7e1f['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x4d7e1f['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x1639b3 of _0x1e7d35)if(isCommentMarker(_0x1639b3)){_0x4d7e1f['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x4d7e1f['locale'],'ENTER_COMMENT_ANNOUNCEMENT',getEnvKeystrokeText(FOCUS_ANNOTATION_KEYSTROKE)));break;}});}}function createChannelEvent(_0x172a4a,_0x448df0){return _0x448df0?_0x172a4a+':'+_0x448df0:_0x172a4a;}function splitMarkerName(_0x1c5451){const _0x4a4bec=_0x1c5451['split'](':');return{'group':_0x4a4bec[0x0],'id':_0x4a4bec[0x1],'part':_0x4a4bec[0x2]};}function fixMarkerRange(_0x32b910,_0x396837){const _0x5a2a53=_0x396837['schema'],_0x4b19cd=_0x396837['createRange'](_0x32b910['start']);for(const _0x556a92 of _0x32b910['getWalker']()){const {type:_0x30ecdd,item:_0x21c47c,nextPosition:_0x526f3f}=_0x556a92;if('text'===_0x30ecdd||_0x5a2a53['isObject'](_0x21c47c)){const _0x2d75d1=_0x396837['createPositionBefore'](_0x21c47c);_0x4b19cd['isCollapsed']&&(_0x4b19cd['start']=_0x2d75d1),_0x4b19cd['end']=_0x526f3f;}}return _0x4b19cd;}function isCommentMarker(_0x3ab20e){return'comment'===splitMarkerName(_0x3ab20e['name'])['group'];}async function checkLicense$d(_0x2088a2){const _0x555daf=_0x5d8cd5([0x36,0x41,0x58,0x6d,0x4e,0x45,0x74,0x47,0x77,0x62,0x67,0x73,0x6b,0x4f,0x30,0x42,0x72,0x37,0x66,0x53,0x38,0x75,0x76,0x34,0x6f,0x56,0x78,0x49,0x70,0x44,0x39,0x48,0x54,0x6e,0x51,0x64,0x52,0x55,0x79,0x61,0x50,0x71,0x35,0x4d,0x65,0x4a,0x69,0x5a,0x59,0x33,0x43,0x32,0x4b,0x63,0x6a,0x68,0x7a,0x57,0x31,0x4c,0x6c,0x46]),_0x2cf165=window[_0x5d8cd5([0x44,0x61,0x74,0x65])][_0x5d8cd5([0x6e,0x6f,0x77])](),_0x44dde8=_0x2088a2[_0x5d8cd5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x350dc1=new window[(_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19c4ce=>{_0x44dde8[_0x5d8cd5([0x6f,0x6e,0x63,0x65])](_0x5d8cd5([0x72,0x65,0x61,0x64,0x79]),_0x19c4ce);}),_0x3763a9={[_0x5d8cd5([0x6b,0x74,0x79])]:_0x5d8cd5([0x45,0x43]),[_0x5d8cd5([0x75,0x73,0x65])]:_0x5d8cd5([0x73,0x69,0x67]),[_0x5d8cd5([0x63,0x72,0x76])]:_0x5d8cd5([0x50,0x2d,0x32,0x35,0x36]),[_0x5d8cd5([0x78])]:_0x5d8cd5([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]),[_0x5d8cd5([0x79])]:_0x5d8cd5([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]),[_0x5d8cd5([0x61,0x6c,0x67])]:_0x5d8cd5([0x45,0x53,0x32,0x35,0x36])},_0x38a782=_0x44dde8[_0x5d8cd5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d8cd5([0x67,0x65,0x74])](_0x5d8cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5636cf=await(async function(){let _0x5a0e44,_0x41956b=null,_0x41e1fc=null;try{if(_0x38a782==_0x5d8cd5([0x47,0x50,0x4c]))return _0x5d8cd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a0e44=(function(){const _0x2c0c22=_0x38a782[_0x5d8cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5d8cd5([0x2e]));if(0x3!=_0x2c0c22[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x477bc5=_0x2c0c22[0x1];return _0x2fd3b7(_0x477bc5);function _0x2fd3b7(_0xe2f25f){const _0x5edb7b=_0x2a21d0(_0xe2f25f);return _0x5edb7b&&_0xdda861()?_0x5edb7b:null;function _0xdda861(){const _0x51f903=_0x5edb7b[_0x5d8cd5([0x6a,0x74,0x69])],_0x40a7b2=window[_0x5d8cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51f903[_0x5d8cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51f903[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47f9a3={..._0x5edb7b,[_0x5d8cd5([0x6a,0x74,0x69])]:_0x51f903[_0x5d8cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51f903[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47f9a3[_0x5d8cd5([0x76,0x63])],_0x4e8111(_0x47f9a3)==_0x40a7b2;}}}()),!_0x5a0e44)return _0x5d8cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5a0e44[_0x5d8cd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41e1fc=function(_0x1594cc,_0x9c7ab3){return new window[(_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21539b=>{if(_0x2ad111())return _0x21539b(_0x5d8cd5([0x56,0x61,0x6c,0x69,0x64]));_0x3f588c(),_0x44dde8[_0x5d8cd5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d8cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x215d21=!0x1;const _0x5ce253=uid();function _0x49ba2a(_0x1bbe99){return!!_0x1bbe99&&(typeof _0x1bbe99===_0x5d8cd5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1bbe99===_0x5d8cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1bbe99[_0x5d8cd5([0x74,0x68,0x65,0x6e])]===_0x5d8cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1bbe99[_0x5d8cd5([0x63,0x61,0x74,0x63,0x68])]===_0x5d8cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x545194(_0x5493d8){_0x50fcc9(_0x5493d8)[_0x5d8cd5([0x74,0x68,0x65,0x6e])](_0x3dbe75=>{if(!_0x3dbe75||_0x3dbe75[_0x5d8cd5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d8cd5([0x6f,0x6b]))return _0x5d8cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35a9fd(_0x4e8111(_0x5ce253+_0x9c7ab3))!=_0x3dbe75[_0x5d8cd5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d8cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d8cd5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d8cd5([0x74,0x68,0x65,0x6e])](_0x4f62d1=>(_0x2802b6(),_0x4f62d1),()=>{const _0x5c1acb=_0x2dc151();return null==_0x5c1acb?(_0x2802b6(),_0x5d8cd5([0x56,0x61,0x6c,0x69,0x64])):_0x5d8cd5(_0x2cf165-_0x5c1acb>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d8cd5([0x74,0x68,0x65,0x6e])](_0x21539b)[_0x5d8cd5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21539b(_0x5d8cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbd4926=0x36ee80;function _0x2802b6(){const _0x2c91c4=_0x5d8cd5([0x6c,0x6c,0x63,0x74,0x2d])+_0x35a9fd(_0x4e8111(_0x1594cc)),_0x5ecccd=_0x582ae4(_0x35a9fd(window[_0x5d8cd5([0x4d,0x61,0x74,0x68])][_0x5d8cd5([0x63,0x65,0x69,0x6c])](_0x2cf165/_0xbd4926)));window[_0x5d8cd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d8cd5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c91c4,_0x5ecccd);}function _0x2dc151(){const _0x5acfde=_0x5d8cd5([0x6c,0x6c,0x63,0x74,0x2d])+_0x35a9fd(_0x4e8111(_0x1594cc)),_0x3ba53c=window[_0x5d8cd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d8cd5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5acfde);return _0x3ba53c?window[_0x5d8cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x582ae4(_0x3ba53c),0x10)*_0xbd4926:null;}function _0x50fcc9(_0x2b20ae){return new window[(_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19b22c,_0x1e4bba)=>{_0x2b20ae[_0x5d8cd5([0x74,0x68,0x65,0x6e])](_0x19b22c,_0x1e4bba),window[_0x5d8cd5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e4bba,0x1d4c0);});}}_0x44dde8[_0x5d8cd5([0x6f,0x6e])](_0x5d8cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd558a2,_0x4fab19)=>{if(_0x4fab19[0x0]!=_0x1594cc)return _0x21539b(_0x5d8cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fab19[0x1]={..._0x4fab19[0x1],[_0x5d8cd5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ce253};},{[_0x5d8cd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d8cd5([0x68,0x69,0x67,0x68])}),_0x44dde8[_0x5d8cd5([0x6f,0x6e])](_0x5d8cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ea49e=>{_0x49ba2a(_0x4ea49e[_0x5d8cd5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x215d21=!0x0,_0x545194(_0x4ea49e[_0x5d8cd5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d8cd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d8cd5([0x6c,0x6f,0x77])}),_0x350dc1[_0x5d8cd5([0x74,0x68,0x65,0x6e])](()=>{_0x215d21||_0x21539b(_0x5d8cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ad111(){return _0x44dde8[_0x5d8cd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d8cd5([0x76,0x69,0x65,0x77])][_0x5d8cd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d8cd5([0x61,0x75,0x74,0x6f]);}function _0x3f588c(){_0x44dde8[_0x5d8cd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d8cd5([0x76,0x69,0x65,0x77])][_0x5d8cd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d8cd5([0x61,0x75,0x74,0x6f]);}}(_0x5a0e44[_0x5d8cd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a0e44[_0x5d8cd5([0x6a,0x74,0x69])]));const _0x56f4d9=await(async function(){let _0x49cb5d=!0x0;try{const _0x5aeee4=_0x38a782[_0x5d8cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5d8cd5([0x2e])),[_0x49dbcd,_0x29ec24,_0x1fb779]=_0x5aeee4;return _0x1a3cbe(_0x49dbcd),await _0x447e71(_0x49dbcd,_0x29ec24,_0x1fb779),_0x49cb5d;}catch(_0xa0f89b){return!0x1;}function _0x1a3cbe(_0x1a8083){const _0x2ee15f=_0x2a21d0(_0x1a8083);_0x2ee15f&&_0x2ee15f[_0x5d8cd5([0x61,0x6c,0x67])]==_0x5d8cd5([0x45,0x53,0x32,0x35,0x36])||(_0x49cb5d=!0x1);}async function _0x447e71(_0x211771,_0x334933,_0x322038){const _0x37cead=window[_0x5d8cd5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d8cd5([0x66,0x72,0x6f,0x6d])](_0x1daab4(_0x322038),_0x27faac=>_0x27faac[_0x5d8cd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d8360=new window[(_0x5d8cd5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d8cd5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x211771+_0x5d8cd5([0x2e])+_0x334933),_0x2e114f=window[_0x5d8cd5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d8cd5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e114f)return;const _0x1035f2=await _0x2e114f[_0x5d8cd5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d8cd5([0x6a,0x77,0x6b]),_0x3763a9,{[_0x5d8cd5([0x6e,0x61,0x6d,0x65])]:_0x5d8cd5([0x45,0x43,0x44,0x53,0x41]),[_0x5d8cd5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d8cd5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d8cd5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e114f[_0x5d8cd5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d8cd5([0x6e,0x61,0x6d,0x65])]:_0x5d8cd5([0x45,0x43,0x44,0x53,0x41]),[_0x5d8cd5([0x68,0x61,0x73,0x68])]:{[_0x5d8cd5([0x6e,0x61,0x6d,0x65])]:_0x5d8cd5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1035f2,_0x37cead,_0x5d8360)||(_0x49cb5d=!0x1);}}());return _0x56f4d9?(function(){const _0x2f1a87=_0x5a0e44[_0x5d8cd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2f1a87)return!0x1;if(_0x2f1a87[_0x5d8cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d8cd5([0x2a])))return!0x0;if(_0x2f1a87[_0x5d8cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d8cd5([0x43,0x4d,0x54])))return!0x0;if(_0x2f1a87[_0x5d8cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d8cd5([0x52,0x43,0x4d,0x54]))){if(_0x5cfcbd(_0x5d8cd5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x2c2158=_0x5d8cd5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x44dde8[_0x5d8cd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5d8cd5([0x67,0x65,0x74])](_0x2c2158))[_0x5d8cd5([0x73,0x74,0x61,0x74,0x65])]==_0x5d8cd5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x5cfcbd(_0x5d8cd5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x5cfcbd(_0x5d8cd5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x2c2158;return!0x1;}())?(function(){const _0x1b0ceb=[_0x5d8cd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d8cd5([0x74,0x72,0x69,0x61,0x6c])][_0x5d8cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a0e44[_0x5d8cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cf165/0x3e8:0x67b67080;return _0x5a0e44[_0x5d8cd5([0x65,0x78,0x70])]<_0x1b0ceb;}())?_0x5d8cd5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x434a54=_0x5a0e44[_0x5d8cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x434a54||0x0==_0x434a54[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x258fdd}=new URL(window[_0x5d8cd5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x434a54[_0x5d8cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258fdd))return!0x0;const _0x22245b=_0x258fdd[_0x5d8cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5d8cd5([0x2e]));return _0x434a54[_0x5d8cd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b3880=>_0x3b3880[_0x5d8cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d8cd5([0x2a])))[_0x5d8cd5([0x6d,0x61,0x70])](_0x27e797=>_0x27e797[_0x5d8cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5d8cd5([0x2e])))[_0x5d8cd5([0x73,0x6f,0x6d,0x65])](_0x5b14aa=>_0x22245b[_0x5d8cd5([0x65,0x76,0x65,0x72,0x79])]((_0x42ff09,_0x549cde)=>_0x5b14aa[_0x549cde]===_0x42ff09||_0x5b14aa[_0x549cde]===_0x5d8cd5([0x2a])));}())?(_0x5a0e44[_0x5d8cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d8cd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41956b=_0xebd5bf(_0x5d8cd5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a0e44[_0x5d8cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d8cd5([0x74,0x72,0x69,0x61,0x6c])&&(_0x41956b=_0xebd5bf(_0x5d8cd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x41956b&&_0x41e1fc)return new window[(_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12577b,_0x1859d2)=>{_0x41956b[_0x5d8cd5([0x74,0x68,0x65,0x6e])](_0x12577b,_0x1859d2),_0x41e1fc[_0x5d8cd5([0x74,0x68,0x65,0x6e])](_0x499caf=>{_0x499caf!=_0x5d8cd5([0x56,0x61,0x6c,0x69,0x64])&&_0x12577b(_0x499caf);},_0x1859d2);});return _0x41956b||_0x41e1fc||_0x5d8cd5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5d8cd5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d8cd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d8cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3674ba){return _0x5d8cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xebd5bf(_0x3f5eed){const _0x2b7d32=new window[(_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d39ce=>setTimeout(_0x4d39ce,0x93ecc)),_0x5690b4=_0x350dc1[_0x5d8cd5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8f937a=>{let _0xf1c2e1=0x0;_0x44dde8[_0x5d8cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d8cd5([0x6f,0x6e])](_0x5d8cd5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe300fc,_0x2d2697)=>{_0x2d2697[0x0][_0x5d8cd5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf1c2e1++,0x1f8==_0xf1c2e1&&(_0x8f937a(),_0xe300fc[_0x5d8cd5([0x6f,0x66,0x66])]());});})),_0x52bbdf=[_0x2b7d32,_0x5690b4];return window[_0x5d8cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d8cd5([0x72,0x61,0x63,0x65])](_0x52bbdf)[_0x5d8cd5([0x74,0x68,0x65,0x6e])](()=>_0x3f5eed);}function _0x2a21d0(_0x15dd36){return _0x15dd36[_0x5d8cd5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d8cd5([0x65,0x79]))?JSON[_0x5d8cd5([0x70,0x61,0x72,0x73,0x65])](_0x1daab4(_0x15dd36)):null;}function _0x1daab4(_0x2ec531){return window[_0x5d8cd5([0x61,0x74,0x6f,0x62])](_0x2ec531[_0x5d8cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d8cd5([0x2b]))[_0x5d8cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d8cd5([0x2f])));}function _0x4e8111(_0x3adc78){let _0x3e4650=0x1505;function _0x5475b1(_0x2c5212){for(let _0x12981e=0x0;_0x12981e<_0x2c5212[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12981e++){const _0x33cba6=_0x2c5212[_0x5d8cd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12981e);_0x3e4650=(_0x3e4650<<0x5)+_0x3e4650+_0x33cba6,_0x3e4650&=_0x3e4650;}}return function _0x2b5f74(_0x5d1771){Array[_0x5d8cd5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d1771)?_0x5d1771[_0x5d8cd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b5f74):_0x5d1771&&typeof _0x5d1771==_0x5d8cd5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d8cd5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d1771)[_0x5d8cd5([0x73,0x6f,0x72,0x74])]()[_0x5d8cd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44e2b,_0x2d9b31])=>{_0x5475b1(_0x44e2b),_0x2b5f74(_0x2d9b31);}):_0x5475b1(window[_0x5d8cd5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d1771));}(_0x3adc78),_0x3e4650>>>0x0;}function _0x35a9fd(_0x4bde7f){return _0x4bde7f[_0x5d8cd5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d8cd5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d8cd5([0x30]));}function _0x582ae4(_0x5ea686){return _0x5ea686[_0x5d8cd5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d8cd5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d8cd5([0x6a,0x6f,0x69,0x6e])]('');}function _0x5cfcbd(_0x554d3d){return _0x44dde8[_0x5d8cd5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5d8cd5([0x68,0x61,0x73])](_0x554d3d);}function _0x574648(){}function _0x5d8cd5(_0x534c68){return _0x534c68['map'](_0xaf6069=>String['fromCharCode'](_0xaf6069))['join']('');}!function(_0x230bef){const _0x1842e5=(function(){const _0x2e7334=window[_0x5d8cd5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d8cd5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d8cd5([0x6e,0x6f,0x77])]())[_0x5d8cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d8cd5([0x2e]),'');let _0x4759fc=_0x5d8cd5([0x41]);for(let _0x1be100=0x0;_0x1be100<_0x2e7334[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1be100+=0x2){let _0x10f43c=window[_0x5d8cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e7334[_0x5d8cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be100,_0x1be100+0x2));_0x10f43c>=_0x555daf[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10f43c-=_0x555daf[_0x5d8cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4759fc+=_0x555daf[_0x10f43c];}return _0x4759fc;}());_0x44dde8[_0x1842e5]=_0x5d8cd5([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x230bef,_0x230bef!=_0x5d8cd5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x350dc1,_0x44dde8[_0x5d8cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d8cd5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x574648,_0x44dde8[_0x5d8cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d8cd5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x574648,_0x44dde8[_0x5d8cd5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d8cd5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5636cf);}var commentIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M4\x201.5h12A3.5\x203.5\x200\x200\x201\x2019.5\x205v8l-.005.192a3.5\x203.5\x200\x200\x201-2.927\x203.262l-.062.008v1.813a1.5\x201.5\x200\x200\x201-2.193\x201.33l-.371-.193-.38-.212a13.452\x2013.452\x200\x200\x201-3.271-2.63l-.062-.07H4A3.5\x203.5\x200\x200\x201\x20.5\x2013V5A3.5\x203.5\x200\x200\x201\x204\x201.5ZM4\x203a2\x202\x200\x200\x200-2\x202v8a2\x202\x200\x200\x200\x202\x202h6.924a11.917\x2011.917\x200\x200\x200\x203.71\x203.081l.372.194v-3.268L14.962\x2015H16a2\x202\x200\x200\x200\x202-2V5a2\x202\x200\x200\x200-2-2H4Z\x22/><path\x20d=\x22M9.75\x205a.75.75\x200\x200\x200-.75.75v2.5H6.5a.75.75\x200\x200\x200\x200\x201.5H9v2.5a.75.75\x200\x200\x200\x201.5\x200v-2.5H13a.75.75\x200\x200\x200\x200-1.5h-2.5v-2.5A.75.75\x200\x200\x200\x209.75\x205Z\x22/></svg>\x0a';class CommentsUI extends Plugin{static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,CommentsEditing,EditorAnnotations,Annotations];}get['CommentsListView'](){return CommentsListView;}get['CommentThreadInputView'](){return CommentThreadInputView;}['init'](){const _0x1d7de5=this['editor'],_0x33b9a6=_0x1d7de5['plugins']['get'](CommentsRepository),_0x476ff7=_0x1d7de5['plugins']['get'](CommentsEditing),_0x590a94=_0x1d7de5['plugins']['get'](Annotations),_0x4c1dbd=_0x1d7de5['plugins']['get'](EditorAnnotations);_0x1d7de5['ui']['componentFactory']['add']('comment',()=>{const _0x44a2b1=this['_createUIButton'](ButtonView);return _0x44a2b1['tooltip']=!0x0,_0x44a2b1;}),_0x1d7de5['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](MenuBarMenuListItemButtonView)),_0x4c1dbd['addSourceCollector'](()=>{const _0x5c1257=[];for(const [_0x4ff4f9,_0x26e6ba]of _0x33b9a6['_threadToController']){const _0x49c82c=_0x476ff7['getAllMarkersForId'](_0x4ff4f9['id']),_0x15c47d=_0x49c82c['map'](_0x440ac2=>_0x440ac2['getRange']());_0x49c82c['length']>0x0&&_0x5c1257['push']([_0x26e6ba['view'],_0x15c47d]);}return _0x5c1257;}),this['listenTo'](_0x590a94,'change:activeAnnotations',(_0x315fc6,_0x312d57,_0x4ca817)=>{const _0x2a3443=Array['from'](_0x4ca817)['map'](_0xdae9db=>_0xdae9db['innerView'])['find'](_0x1b8ec9=>_0x33b9a6['_viewToController']['has'](_0x1b8ec9));if(!_0x2a3443)return void(_0x476ff7['activeMarker']=null);const _0x47953e=_0x33b9a6['_viewToController']['get'](_0x2a3443)['model']['id'],_0x7193b0='comment:'+_0x47953e;_0x47953e&&_0x476ff7['hasMarkerForId'](_0x47953e)?_0x476ff7['activeMarker']=_0x7193b0:_0x476ff7['activeMarker']&&(_0x476ff7['activeMarker']=null);}),this['listenTo'](_0x33b9a6,'removeCommentThread',(_0x309ccc,{threadId:_0x42ff65,isFromAdapter:_0x54ccfa})=>{!_0x54ccfa&&_0x1d7de5['ui']['focusTracker']['isFocused']&&_0x476ff7['hasMarkerForId'](_0x42ff65)&&_0x1d7de5['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x33b9a6,'addComment',(_0x97758f,{threadId:_0x24c897,isFromAdapter:_0x10e271})=>{if(_0x10e271||!_0x476ff7['hasMarkerForId'](_0x24c897)||!_0x33b9a6['hasCommentThread'](_0x24c897))return;0x1===_0x33b9a6['getCommentThread'](_0x24c897)['length']&&(_0x1d7de5['editing']['view']['focus'](),_0x97758f['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b8d69=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d883e;for(const _0x4d0b79 in _0x1b8d69){const _0x3c9b4b=_0x4d0b79,_0x521e36=_0x1b8d69[_0x3c9b4b];if('commentsLicenseKeyValid'==_0x521e36||'commentsLicenseKeyInvalid'==_0x521e36||'commentsLicenseKeyExpired'==_0x521e36||'commentsLicenseKeyDomainLimit'==_0x521e36||'commentsLicenseKeyNotAllowed'==_0x521e36||'commentsLicenseKeyEvaluationLimit'==_0x521e36||'commentsLicenseKeyTrialLimit'==_0x521e36||'commentsLicenseKeyUsageLimit'==_0x521e36){delete _0x1b8d69[_0x3c9b4b],_0x1d883e=_0x521e36,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x1d883e&&_0x1b8d69['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x1d883e&&_0x1b8d69['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x1d883e&&_0x1b8d69['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x1d883e&&_0x1b8d69['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x1d883e&&_0x1b8d69['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyTrialLimit'==_0x1d883e&&_0x1b8d69['_showLicenseError']('trialLimit'),'commentsLicenseKeyUsageLimit'==_0x1d883e&&_0x1b8d69['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x516ac1){const _0x2542db=this['editor'],_0xb3c62d=new _0x516ac1(_0x2542db['locale']),_0x4a4342=_0x2542db['commands']['get']('addCommentThread');return _0xb3c62d['set']({'label':getTranslation$f(_0x2542db['locale'],'Comment'),'icon':commentIcon}),_0xb3c62d['bind']('isEnabled')['to'](_0x4a4342),this['listenTo'](_0xb3c62d,'execute',()=>{_0x4a4342['execute']();}),_0xb3c62d;}}class CommentsOnly extends Plugin{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x2e2e44){super(_0x2e2e44),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x250588,_0xd6f21c,_0x495d16)=>{_0x495d16?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){var _0x548444;for(const [_0xaf8d31,_0x38f235]of this['editor']['commands'])_0x38f235['affectsData']&&'addCommentThread'!==_0xaf8d31&&_0x38f235['forceDisabled']('commentsOnlyMode');(this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing'))&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode');null===(_0x548444=this['editor']['commands']['get']('editSource'))||void 0x0===_0x548444||_0x548444['forceDisabled']('commentsOnlyMode');const _0x21a700=this['editor']['editing']['view']['document'];this['listenTo'](_0x21a700,'cut',_0x2b3809=>_0x2b3809['stop'](),{'priority':'highest'}),this['listenTo'](_0x21a700,'clipboardInput',_0x4518b5=>_0x4518b5['stop'](),{'priority':'highest'}),this['listenTo'](_0x21a700,'delete',_0x4ddff0=>_0x4ddff0['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){var _0x4a003c;for(const [_0x4b3234,_0xc25297]of this['editor']['commands'])_0xc25297['affectsData']&&'addCommentThread'!==_0x4b3234&&_0xc25297['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),null===(_0x4a003c=this['editor']['commands']['get']('editSource'))||void 0x0===_0x4a003c||_0x4a003c['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}}class AnnotationsUIs extends ContextPlugin{static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x295682){super(_0x295682),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x12cf5d=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x12cf5d,'_activateAnnotation',(_0x5ab3e7,_0x1aac3e)=>{for(const _0x350843 of this['activeUIs']){const _0x4d240b=this['_uis']['get'](_0x350843);(0x0,this['_uisData']['get'](_0x350843)['filter'])(_0x1aac3e)&&_0x4d240b['setActiveAnnotation'](_0x1aac3e);}}),this['listenTo'](_0x12cf5d,'_deactivateAllAnnotations',()=>{for(const _0x3d7257 of this['activeUIs']){this['_uis']['get'](_0x3d7257)['setActiveAnnotation'](null);}}),this['listenTo'](_0x12cf5d['_visibleAnnotations'],'add',(_0x3cced7,_0xc07131)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xc07131);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x2a737d){return this['activeUIs']['has'](_0x2a737d);}['activate'](_0x21455d,_0x2b1afa=()=>!0x0){const _0x2b8e78=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x21455d))throw new CKEditorError('annotationsuis-missing-ui',this,{'uiName':_0x21455d});this['isActive'](_0x21455d)&&this['deactivate'](_0x21455d),this['activeUIs']['add'](_0x21455d);const _0x524da7=new AnnotationCollection();bindAnnotationCollections({'source':_0x2b8e78['_visibleAnnotations'],'target':_0x524da7,'filter':_0x2b1afa}),this['_uisData']['set'](_0x21455d,{'collection':_0x524da7,'filter':_0x2b1afa});const _0x421965=this['_uis']['get'](_0x21455d);_0x421965['attach'](_0x524da7),this['listenTo'](_0x421965,'change:activeAnnotation',(_0x13f4ec,_0x2fe323,_0x38bd82,_0x4fea1c)=>{_0x4fea1c&&_0x2b8e78['_removeActiveAnnotation'](_0x4fea1c),_0x38bd82&&_0x2b8e78['_addActiveAnnotation'](_0x38bd82);});}['deactivate'](_0x51314a){if(this['activeUIs']['delete'](_0x51314a),!this['_uis']['has'](_0x51314a))throw new CKEditorError('annotationsuis-missing-ui',this,{'uiName':_0x51314a});const _0x1a639f=this['_uis']['get'](_0x51314a);_0x1a639f['detach'](),this['stopListening'](_0x1a639f),this['_uisData']['get'](_0x51314a)['collection']['destroy'](),this['_uisData']['delete'](_0x51314a);}['switchTo'](_0x3b1381){if(!this['_uis']['has'](_0x3b1381))throw new CKEditorError('annotationsuis-missing-ui',this,{'uiName':_0x3b1381});const _0x32d515=this['context']['plugins']['get'](Annotations),_0x4ab377=Array['from'](_0x32d515['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x3b1381);const _0x5883a3=this['_uis']['get'](_0x3b1381);_0x5883a3['setActiveAnnotation'](_0x4ab377),_0x5883a3['_setSelectedAnnotations']&&_0x4ab377&&_0x5883a3['_setSelectedAnnotations']([_0x4ab377]);}['deactivateAll'](){for(const _0x367e58 of this['activeUIs'])this['deactivate'](_0x367e58);}['register'](_0x287c1e,_0x5b843a){if(this['_uis']['has'](_0x287c1e))throw new CKEditorError('annotationsuis-register-already-registered');if('function'!=typeof _0x5b843a['attach']||'function'!=typeof _0x5b843a['detach']||'function'!=typeof _0x5b843a['setActiveAnnotation'])throw new CKEditorError('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x287c1e,_0x5b843a);}['refilterAnnotations'](){const _0x2b9f02=this['context']['plugins']['get'](Annotations)['collection'],_0x3b7184=new Map(),_0x3c2faf=Array['from'](this['activeUIs']);for(const _0x5b1179 of this['activeUIs']){const _0x29ee23=this['_uisData']['get'](_0x5b1179)['collection'];for(const _0x30a88e of _0x29ee23)_0x3b7184['set'](_0x30a88e,_0x5b1179);}for(const _0xfaa06d of _0x2b9f02){const _0x1706f8=_0x3b7184['get'](_0xfaa06d);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xfaa06d);const _0x1fb364=_0x3c2faf['find'](_0x8e780e=>this['_uisData']['get'](_0x8e780e)['filter'](_0xfaa06d));_0x1706f8!==_0x1fb364&&(_0x1706f8&&this['_uisData']['get'](_0x1706f8)['collection']['remove'](_0xfaa06d),_0x1fb364&&this['_uisData']['get'](_0x1fb364)['collection']['add'](_0xfaa06d));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x49c501){const _0x29974c=[];for(const _0x52f312 of this['activeUIs']){(0x0,this['_uisData']['get'](_0x52f312)['filter'])(_0x49c501)&&_0x29974c['push'](_0x52f312);}if(_0x29974c['length']>0x1)throw new CKEditorError('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x29974c,'annotationType':_0x49c501['type']});}}const toPx$2=toUnit('px');class SidebarView extends View{constructor(_0x2eee53){super(_0x2eee53);const _0x27d822=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['focusables']=this['createCollection'](),this['list']['delegate']('arrowup','arrowdown')['to'](this),this['focusTracker']=new FocusTracker(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x27d822['to']('class')],'style':{'minHeight':_0x27d822['to']('minHeight',_0x5f4e27=>'number'==typeof _0x5f4e27?toPx$2(_0x5f4e27+0xa):null)},'dir':_0x2eee53['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x2eee53,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x2eee53,'Annotations\x20list')},'children':this['list']}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_setupKeyboardNavigation'](){this['list']['delegate']('change:top')['to'](this),this['on']('change:top',_0x4a3673=>{this['_updateItemPositionInFocusables'](_0x4a3673['source']);}),this['list']['forEach'](_0x32a559=>{this['focusTracker']['add'](_0x32a559['element']),this['_updateItemPositionInFocusables'](_0x32a559);}),this['list']['on']('change',(_0x2a44b6,_0x53277b)=>{for(const _0x1642a3 of _0x53277b['removed'])this['focusTracker']['remove'](_0x1642a3['element']),this['focusables']['remove'](_0x1642a3);for(const _0x3af949 of _0x53277b['added'])this['focusTracker']['add'](_0x3af949['element']),this['_updateItemPositionInFocusables'](_0x3af949);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x1800fa){const _0x5e99dd=this['focusables']['getIndex'](_0x1800fa);let _0x2a6354,_0x3d1e5e;for(const _0x3aeb99 of this['focusables'])if(_0x1800fa['top']<_0x3aeb99['top']){_0x2a6354=_0x3aeb99;break;}if(_0x3d1e5e=_0x2a6354?this['focusables']['getIndex'](_0x2a6354):this['focusables']['length'],-0x1!==_0x5e99dd){if(_0x5e99dd===_0x3d1e5e-0x1)return;this['focusables']['remove'](_0x1800fa),_0x3d1e5e=_0x2a6354?this['focusables']['getIndex'](_0x2a6354):this['focusables']['length'];}this['focusables']['add'](_0x1800fa,_0x3d1e5e);}}const toPx$1=toUnit('px');class SidebarItemView extends View{constructor(_0x4ac437){super(_0x4ac437),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x454498,_0x349635)=>_0x454498+_0x349635),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x1b373e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x1b373e['to']('isAnimationDisabled',_0x1ed380=>_0x1ed380?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x1b373e['to']('top',_0x3d45ca=>toPx$1(_0x3d45ca))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x1dc580=this['element']['clientHeight'];_0x1dc580&&(this['height']=_0x1dc580);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class Sidebar extends ContextPlugin{static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x133d3c){super(_0x133d3c),this['set']('_lastItem',void 0x0),this['view']=this['_createSidebarView'](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this['_annotationToSidebarItemView']=new Map(),this['context']['config']['define']('sidebar.preventScrollOutOfView',!0x1),this['_annotations']=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}['init'](){const _0x5096de=this['context']['config']['get']('sidebar.container');_0x5096de&&this['setContainer'](_0x5096de);}['setContainer'](_0x4d2b98){if(!isElement(_0x4d2b98))throw new CKEditorError('sidebar-setcontainer-invalid-element');this['container']=_0x4d2b98;}['_attachToContainer']({viewClass:_0x2231f2='',spaceBetweenItems:_0x57f0ce=0x19}={}){if(!isElement(this['container']))throw new CKEditorError('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x2231f2,this['_spaceBetweenItems']=_0x57f0ce;}['rearrange']({removedAnnotation:_0x1cf4af,previousAnnotation:_0x2c35c8,nextAnnotation:_0x696085}){const _0x31c082=this['getSidebarItemView'](_0x1cf4af);this['view']['list']['remove'](_0x31c082),this['_destroySidebarItemView'](_0x1cf4af),_0x2c35c8&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x2c35c8)),_0x696085&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x696085)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x21f0db,activatedAnnotation:_0x25768a,disableAnimationOnActivatedAnnotation:_0x53b74e}){if(this['_activeAnnotation']=_0x25768a,_0x21f0db){_0x21f0db['isActive']=!0x1;const _0x32dd58=this['getSidebarItemView'](_0x21f0db);_0x32dd58&&_0x53b74e&&(_0x32dd58['isAnimationDisabled']=!0x1);}if(_0x25768a){const _0x4c4294=this['getSidebarItemView'](_0x25768a);_0x4c4294&&(_0x25768a['isActive']=!0x0,_0x53b74e&&(_0x4c4294['isAnimationDisabled']=!0x0,_0x4c4294['top']+=0x1),this['_alignToTargetRect'](_0x4c4294));}}['_detachFromContainer'](_0x2b802f){if(this['view']['element']['remove'](),_0x2b802f){for(const _0x2bebc2 of _0x2b802f)this['_destroySidebarItemView'](_0x2bebc2);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x177cb3,_0x1cf7ef){_0x1cf7ef||(_0x1cf7ef=_0x177cb3['view']);const _0x2faf3b=new SidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x2faf3b,_0x177cb3),this['_annotationToSidebarItemView']['set'](_0x177cb3,_0x2faf3b),_0x2faf3b['content']['add'](_0x1cf7ef),this['listenTo'](_0x177cb3['view'],'change:targetRect',(_0x3f2157,_0x26d05e,_0x12427f)=>{const _0x4cd89d=this['_getTargetTop'](_0x177cb3,_0x12427f);_0x2faf3b['_targetTop']!=_0x4cd89d&&(_0x2faf3b['_targetTop']=_0x4cd89d,this['_setItemTop'](_0x2faf3b,_0x4cd89d));}),this['listenTo'](_0x2faf3b,'change:top',()=>{this['_recalculate'](_0x2faf3b,'top');}),this['listenTo'](_0x2faf3b,'change:bottom',()=>{this['_recalculate'](_0x2faf3b,'bottom');}),this['_alignToTargetRect'](_0x2faf3b);const _0x4904fc=this['_getItemBefore'](_0x2faf3b);if(_0x4904fc)this['_alignAfterItem'](_0x4904fc,_0x2faf3b)||this['_alignToTargetRect'](_0x2faf3b);else this['_alignToTargetRect'](_0x2faf3b);return this['_updateLastItem'](),this['view']['list']['add'](_0x2faf3b),_0x2faf3b;}['_alignForTopChange'](_0x5e1516){if(!_0x5e1516['content']['length'])return;const _0x43fd40=this['_getItemBefore'](_0x5e1516);if(!_0x43fd40)return;const _0x568de6=this['_sidebarItemViewToAnnotation']['get'](_0x43fd40),_0x3df50a=this['_activeAnnotation'];_0x3df50a&&_0x3df50a===_0x568de6?this['_alignAfterItem'](_0x43fd40,_0x5e1516):this['_alignBeforeItem'](_0x5e1516,_0x43fd40);}['_alignForBottomChange'](_0x5a8225){if(!_0x5a8225['content']['length'])return;const _0x1f4fa6=this['_getItemAfter'](_0x5a8225);if(!_0x1f4fa6)return;const _0x10d5a4=this['_sidebarItemViewToAnnotation']['get'](_0x1f4fa6),_0x412efe=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x5d7f0f=this['_activeAnnotation'];_0x5d7f0f&&_0x5d7f0f===_0x10d5a4&&_0x412efe?(this['_alignBeforeItem'](_0x1f4fa6,_0x5a8225),this['_alignAfterItem'](_0x5a8225,_0x1f4fa6)):_0x5d7f0f&&_0x5d7f0f===_0x10d5a4?this['_alignBeforeItem'](_0x1f4fa6,_0x5a8225):this['_alignAfterItem'](_0x5a8225,_0x1f4fa6);}['_recalculate'](_0x3fb049,_0x3846c4){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x14c4bd,changedProp:_0x9ce61}of this['_recalculateBuffer'])'top'===_0x9ce61?this['_alignForTopChange'](_0x14c4bd):this['_alignForBottomChange'](_0x14c4bd);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x3fb049,'changedProp':_0x3846c4});}['getSidebarItemView'](_0x84e9af){return this['_annotationToSidebarItemView']['get'](_0x84e9af);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x4d1688){const _0x399f57=this['getSidebarItemView'](_0x4d1688);this['stopListening'](_0x399f57),this['stopListening'](_0x4d1688['view']),_0x399f57['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x4d1688),this['_sidebarItemViewToAnnotation']['delete'](_0x399f57);}['_createSidebarView'](){const _0x5005d8=new SidebarView(this['context']['locale']);return _0x5005d8['render'](),this['on']('change:_lastItem',(_0x5a8c4d,_0x17306e,_0x3ba2d3,_0x3f4ccb)=>{_0x3f4ccb&&_0x5005d8['unbind']('minHeight'),_0x3ba2d3?_0x5005d8['bind']('minHeight')['to'](_0x3ba2d3,'bottom'):_0x5005d8['minHeight']=null;}),_0x5005d8;}['_updateLastItem'](){var _0x14f955;this['_lastItem']=(null===(_0x14f955=this['_annotations'])||void 0x0===_0x14f955?void 0x0:_0x14f955['last'])?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x3667a9){var _0x221062;const _0x2bfefe=this['_sidebarItemViewToAnnotation']['get'](_0x3667a9),_0x1453e1=_0x2bfefe&&(null===(_0x221062=this['_annotations'])||void 0x0===_0x221062?void 0x0:_0x221062['get'](this['_annotations']['getIndex'](_0x2bfefe)-0x1));return _0x1453e1&&this['getSidebarItemView'](_0x1453e1)||null;}['_getItemAfter'](_0xc2830b){var _0x58724d;const _0x58478b=this['_sidebarItemViewToAnnotation']['get'](_0xc2830b),_0x3640fa=_0x58478b&&(null===(_0x58724d=this['_annotations'])||void 0x0===_0x58724d?void 0x0:_0x58724d['get'](this['_annotations']['getIndex'](_0x58478b)+0x1));return _0x3640fa&&this['getSidebarItemView'](_0x3640fa)||null;}['_alignBeforeItem'](_0x21c2c1,_0x2d90b9){_0x21c2c1['updateHeight']();const _0x3febec=getOverlap(_0x2d90b9['bottom']+this['_spaceBetweenItems'],_0x21c2c1['top']);return!!_0x3febec&&(this['_setItemTop'](_0x2d90b9,_0x2d90b9['top']-_0x3febec),!0x0);}['_alignAfterItem'](_0x2d791d,_0x43a0d9){_0x2d791d['updateHeight']();const _0x508cb1=getOverlap(_0x2d791d['bottom']+this['_spaceBetweenItems'],_0x43a0d9['top']);return!!_0x508cb1&&(this['_setItemTop'](_0x43a0d9,_0x43a0d9['top']+_0x508cb1,!0x1),!0x0);}['_alignToTargetRect'](_0x149b9c){const _0x2f6356=this['_sidebarItemViewToAnnotation']['get'](_0x149b9c);if(!_0x2f6356||!_0x2f6356['target']||!_0x2f6356['targetRect'])return;const _0x177d5c=this['_getTargetTop'](_0x2f6356,_0x2f6356['targetRect']);this['_setItemTop'](_0x149b9c,_0x177d5c);}['_getTargetTop'](_0x214462,_0x1df26b){if(null===_0x1df26b)return 0x0;if(_0x214462['target']instanceof Rect)return _0x1df26b['top'];{const _0x14a5f8=new Rect(this['view']['element'])['top'];return _0x1df26b['top']-_0x14a5f8;}}['_setItemTop'](_0x106c9b,_0x5a67bd,_0x34fbc4=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x34fbc4&&(_0x5a67bd=Math['max'](_0x5a67bd,this['_getMaxAvailableTop'](_0x106c9b))),_0x106c9b['top']=_0x5a67bd;}['_getMaxAvailableTop'](_0x58488d){let _0x24d264=this['_getItemBefore'](_0x58488d),_0x12b47d=0x0;for(;_0x24d264;)_0x24d264['updateHeight'](),_0x12b47d+=this['_spaceBetweenItems']+_0x24d264['height'],_0x24d264=this['_getItemBefore'](_0x24d264);return _0x12b47d;}}function getOverlap(_0x5f1c87,_0xe8fb5d){return Math['max'](_0x5f1c87-_0xe8fb5d,0x0);}function isElement(_0xb839c0){return null!==_0xb839c0&&'object'==typeof _0xb839c0&&0x1===_0xb839c0['nodeType'];}class WideSidebar extends ContextPlugin{static get['requires'](){return[Sidebar,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1aac45){super(_0x1aac45),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new Collection(),this['_refreshPositioningDebounced']=debounce$1(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x223046=this['context']['plugins']['get'](AnnotationsUIs),_0x1bb49d=this['context']['plugins']['get'](Sidebar);_0x223046['register']('wideSidebar',this),_0x1bb49d['container']&&_0x223046['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x53ca15){if(_0x53ca15===this['activeAnnotation'])return;const _0x20aabc=this['context']['plugins']['get'](Sidebar);_0x20aabc['_activeAnnotation']=_0x53ca15;const _0x26786d=this['activeAnnotation'];_0x20aabc['refresh']({'blurredAnnotation':_0x26786d,'activatedAnnotation':_0x53ca15}),this['activeAnnotation']=_0x53ca15;}['attach'](_0xaa02ed){this['annotations']=_0xaa02ed;const _0x5703d3=this['context']['plugins']['get'](Sidebar);if(_0x5703d3['_annotations']=_0xaa02ed,this['isAttached'])throw new CKEditorError('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x5703d3,'set:container',()=>{this['detach'](),this['listenTo'](_0x5703d3,'change:container',_0x4f6e44=>{_0x4f6e44['off'](),this['attach'](_0xaa02ed);});}),_0x5703d3['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x214b90=_0x57deee=>{_0x57deee['updateTargetRect'](),_0x5703d3['addAnnotation'](_0x57deee);};for(const _0x364be1 of _0xaa02ed)_0x214b90(_0x364be1);this['listenTo'](_0xaa02ed,'add',(_0x10db01,_0x5d7762)=>{_0x214b90(_0x5d7762);}),this['listenTo'](_0xaa02ed,'remove',(_0x2b6357,_0x5a5f55,_0xc67efb)=>{_0x5703d3['rearrange']({'removedAnnotation':_0x5a5f55,'previousAnnotation':_0xaa02ed['get'](_0xc67efb-0x1),'nextAnnotation':_0xaa02ed['get'](_0xc67efb+0x1)}),_0x5a5f55===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0xaa02ed,'focus',(_0x4d4970,_0x459572)=>{this['setActiveAnnotation'](_0x459572);}),this['listenTo'](_0xaa02ed,'blur',()=>{this['setActiveAnnotation'](null);});const _0x7ebc76=this['context']instanceof Context$1?this['context']['editors']:new Collection([this['context']]);for(const _0x35f026 of _0x7ebc76)this['_integrateWithEditorAnnotations'](_0x35f026);this['listenTo'](_0x7ebc76,'add',(_0x1e3f2a,_0x5df584)=>{this['listenTo'](_0x5df584,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5df584);});}),this['listenTo'](_0x7ebc76,'remove',(_0x52f5f9,_0x119b89)=>{_0x119b89['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x119b89['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new CKEditorError('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x2260c0=this['context']['plugins']['get'](Sidebar);_0x2260c0['_detachFromContainer'](this['annotations']),this['stopListening'](_0x2260c0),this['stopListening'](this['annotations']),this['context']instanceof Context$1&&this['stopListening'](this['context']['editors']);for(const _0x410dc9 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x410dc9);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x14667c){if(!_0x14667c['plugins']['has']('EditorAnnotations'))return;const _0x7d423b=_0x14667c['plugins']['get']('EditorAnnotations'),_0x26aa55=()=>{const _0x45ea26=_0x7d423b['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x45ea26[0x0]||null);};this['listenTo'](_0x7d423b,'refresh',_0x26aa55),this['listenTo'](_0x7d423b,'blur',(_0x3c4cbd,{isAnnotationTracked:_0x3e9a8d})=>{this['activeAnnotation']&&_0x3e9a8d(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x7d423b,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x1144ff=>{_0x7d423b['hasDomSelection']()&&(_0x26aa55(),_0x1144ff['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x7d423b);}['_destroyEditorAnnotationsIntegration'](_0x321f1b){this['stopListening'](_0x321f1b),this['_editorAnnotations']['remove'](_0x321f1b);}}class AnnotationCounterButtonView extends ButtonView{constructor(_0x35398a){super(_0x35398a);const _0x4cf13a=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x2580a3,_0x224849)=>_0x2580a3?'...':_0x224849['toString']()),this['set']('annotationType',''),this['icon']=commentIcon,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new View(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x4cf13a['to']('annotationType',_0x20c9b2=>'ck-annotation-counter__badge--'+_0x20c9b2),_0x4cf13a['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x4cf13a['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class NarrowSidebar extends ContextPlugin{static get['requires'](){return[Sidebar,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d8343){super(_0x4d8343),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](DomEmitterMixin),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new Collection(),this['_refreshPositioningDebounced']=debounce$1(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new BodyCollection(this['context']['locale']),this['balloonPanelView']=new BalloonPanelView(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x183952){this['annotations']=_0x183952;const _0x25d82b=this['context']['plugins']['get'](Sidebar),_0x41f01a=this['balloonPanelView'];if(_0x25d82b['_annotations']=_0x183952,this['isAttached'])throw new CKEditorError('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x25d82b,'set:container',()=>{this['detach'](),this['listenTo'](_0x25d82b,'change:container',_0x3d7df6=>{_0x3d7df6['off'](),this['attach'](_0x183952);});}),_0x25d82b['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x433d13=_0xe3c73e=>{const _0x8034ad=new AnnotationCounterButtonView(this['context']['locale']);_0x25d82b['addAnnotation'](_0xe3c73e,_0x8034ad),this['_annotationToNarrowView']['set'](_0xe3c73e,_0x8034ad),_0x8034ad['bind']('isDirty','annotationType','number')['to'](_0xe3c73e['view'],'isDirty','type','length'),_0x8034ad['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x41f01a['content']['first']!==_0xe3c73e['view']?(this['_showBalloon'](_0xe3c73e),_0xe3c73e['view']['element']['focus'](),this['setActiveAnnotation'](_0xe3c73e)):this['setActiveAnnotation'](null);});};for(const _0x3dc42d of _0x183952)_0x433d13(_0x3dc42d);this['listenTo'](_0x183952,'add',(_0x5b0ea7,_0x24dc30)=>{_0x433d13(_0x24dc30);}),this['listenTo'](_0x183952,'remove',(_0x2ac510,_0x172795,_0x1ddf2f)=>{this['_annotationToNarrowView']['get'](_0x172795)['destroy'](),this['_annotationToNarrowView']['delete'](_0x172795),_0x25d82b['rearrange']({'removedAnnotation':_0x172795,'previousAnnotation':_0x183952['get'](_0x1ddf2f-0x1),'nextAnnotation':_0x183952['get'](_0x1ddf2f+0x1)}),_0x172795===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x183952,'focus',(_0x2711ff,_0x18fd19)=>{this['setActiveAnnotation'](_0x18fd19);}),this['listenTo'](_0x183952,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x4830ba,_0x5d573d)=>{_0x5d573d['keyCode']===keyCodes['esc']&&_0x41f01a['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x41f01a['content']['first']),this['_hideBalloon'](),_0x5d573d['stopPropagation'](),_0x5d573d['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x1955da,_0x515c9b)=>{const _0x10433a=_0x515c9b['target'];_0x41f01a['isVisible']&&_0x41f01a['element']['contains'](_0x10433a)||_0x25d82b['view']['element']['contains'](_0x10433a)||_0x1955da['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x4d3244=>_0x4d3244['contains'](_0x10433a))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x54df6e=this['context']instanceof Context$1?this['context']['editors']:new Collection([this['context']]);for(const _0x3e4739 of _0x54df6e)this['_integrateWithEditorAnnotations'](_0x3e4739);this['listenTo'](_0x54df6e,'add',(_0x1d1216,_0x4ee730)=>{this['listenTo'](_0x4ee730,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x4ee730);});}),this['listenTo'](_0x54df6e,'remove',(_0x447632,_0x365e61)=>{_0x365e61['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x365e61['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x43da67){if(_0x43da67===this['activeAnnotation'])return;const _0x358a56=this['context']['plugins']['get'](Sidebar);if(_0x358a56['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x43da67,'disableAnimationOnActivatedAnnotation':!0x0}),_0x43da67)_0x358a56['getSidebarItemView'](_0x43da67)?this['_showBalloon'](_0x43da67):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x43da67;}['detach'](){if(!this['isAttached'])throw new CKEditorError('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0xa8ee5c=this['context']['plugins']['get'](Sidebar);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xe6aff6=>_0xe6aff6['destroy']()),this['_annotationToNarrowView']['clear'](),_0xa8ee5c['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof Context$1&&this['stopListening'](this['context']['editors']);for(const _0x297652 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x297652);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['bodyCollection']['detachFromDom']();}['_integrateWithEditorAnnotations'](_0x3880a9){if(!_0x3880a9['plugins']['has']('EditorAnnotations'))return;const _0x1b8d42=_0x3880a9['plugins']['get']('EditorAnnotations'),_0x2181ea=this['context']['plugins']['get'](Sidebar),_0x4c4403=this['annotations'],_0x395118=this['balloonPanelView'],_0x323b64=()=>{const _0x276b66=_0x1b8d42['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x276b66),this['setActiveAnnotation'](_0x276b66[0x0]||null);};this['listenTo'](_0x1b8d42,'refresh',_0x323b64),this['listenTo'](_0x1b8d42,'blur',(_0x48eeb6,{isAnnotationTracked:_0x102f32})=>{this['activeAnnotation']&&_0x102f32(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x1b8d42,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x4c4403,'blur',_0x282b63=>{_0x1b8d42['hasDomSelection']()&&_0x282b63['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x54275a,_0x305061)=>{const _0x1aa44e=_0x305061['target'];_0x395118['isVisible']&&_0x395118['element']['contains'](_0x1aa44e)||_0x2181ea['view']['element']['contains'](_0x1aa44e)||this['activeAnnotation']&&_0x1b8d42['hasDomSelection']()&&(_0x323b64(),_0x54275a['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1b8d42);}['_destroyEditorAnnotationsIntegration'](_0x1f7742){_0x1f7742&&(this['stopListening'](_0x1f7742),this['_editorAnnotations']['remove'](_0x1f7742));}['_setSelectedAnnotations'](_0x21ee38){for(const _0x4a3da9 of this['_selectedAnnotations'])_0x21ee38['includes'](_0x4a3da9)||this['_manuallyClosedAnnotationViews']['delete'](_0x4a3da9['view']);this['_selectedAnnotations']=_0x21ee38;}['_refreshPositioning'](){const _0x254422=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x254422['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x23e9bb){if(this['_manuallyClosedAnnotationViews']['has'](_0x23e9bb['view']))return;const _0x5ad723=this['balloonPanelView']['content']['first'];_0x5ad723!==_0x23e9bb['view']?(_0x5ad723&&this['_detachListeners'](_0x5ad723),this['_attachListeners'](_0x23e9bb['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x23e9bb['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x4cb91b=this['balloonPanelView']['content']['first'],_0x3b511=_0x4cb91b&&this['annotations']['getByView'](_0x4cb91b);if(!_0x3b511||!this['_annotationToNarrowView']['has'](_0x3b511))return;const _0xdebeda=this['_annotationToNarrowView']['get'](_0x3b511)['element'],_0x3a0799=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0xdebeda,'positions':_0x3a0799});}['_hideBalloon'](){const _0x245a58=this['balloonPanelView'],_0x2beee1=_0x245a58['content']['first'];_0x2beee1&&(this['_detachListeners'](_0x2beee1),_0x245a58['unpin'](),_0x245a58['content']['clear']());}['_attachListeners'](_0x335a60){this['listenTo'](_0x335a60,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x335a60,'Esc',(_0x966068,_0x118403)=>{this['_manuallyClosedAnnotationViews']['add'](_0x335a60),this['_hideBalloon'](),_0x118403();});}['_detachListeners'](_0x589a6e){this['stopListening'](_0x589a6e);}}function getBalloonPositions(){const _0x360776=BalloonPanelView['defaultPositions'];return[_0x360776['southArrowNorthEast'],_0x360776['northArrowSouthEast'],_0x360776['southArrowNorth'],_0x360776['northArrowSouth'],_0x360776['southArrowNorthWest'],_0x360776['northArrowSouthWest']];}class InlineAnnotations extends Plugin{static get['requires'](){return[EditorAnnotations,ContextualBalloon,AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x179a5d){super(_0x179a5d),_0x179a5d['editing']['view']['addObserver'](MouseObserver),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x179a5d['plugins']['get'](ContextualBalloon),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x3c6d57=this['editor']['plugins']['get'](AnnotationsUIs);_0x3c6d57['context']===this['editor']&&(_0x3c6d57['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0xebc708,_0x1a2b4e)=>{const _0x14a0cc=this['_balloon'];if(this['isAttached']&&_0x14a0cc['visibleView']){const _0x5a9c62=this['annotations']['getByView'](_0x14a0cc['visibleView']);_0x5a9c62&&this['_closeAnnotation'](_0x5a9c62),_0x1a2b4e();}}));}['afterInit'](){const _0x3c292a=this['editor']['plugins']['get'](AnnotationsUIs);_0x3c292a['context']===this['editor']&&(_0x3c292a['hasActive']()||_0x3c292a['switchTo']('inline'));}['setActiveAnnotation'](_0x5dfaa9){_0x5dfaa9!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x5dfaa9&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x5dfaa9)&&this['_addAnnotationToBalloon'](_0x5dfaa9,!0x0),_0x5dfaa9['isActive']=!0x0),_0x5dfaa9||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x5dfaa9);}['attach'](_0x45cd21){this['annotations']=_0x45cd21;const _0x4a5c38=this['editor']['plugins']['get'](AnnotationsUIs),_0x19b401=this['_balloon'];if(this['isAttached'])throw new CKEditorError('inlineannotations-attach-already-attached',this);if(_0x4a5c38['context']!==this['editor'])throw new CKEditorError('inlineannotations-not-allowed-with-context',this);const _0x392f25=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x392f25,'refresh',()=>{const _0x17a880=_0x392f25['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&arraysEqual(_0x17a880,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x17a880),this['setActiveAnnotation'](_0x17a880[0x0]||null));}),this['listenTo'](_0x392f25,'blur',(_0x2fc60e,{isAnnotationTracked:_0x46e0b3})=>{this['activeAnnotation']&&_0x46e0b3(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x94c371,_0x492c07,_0x41b5f7)=>{_0x41b5f7||this['setActiveAnnotation'](null);}),this['listenTo'](_0x45cd21,'remove',(_0x373839,_0x285bc2)=>{this['_removeAnnotationFromBalloon'](_0x285bc2),_0x285bc2===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x19b401,'change:visibleView',(_0x3590a8,_0x48b070,_0x4afed9,_0x1781b0)=>{_0x1781b0&&this['stopListening'](_0x1781b0);const _0x586046=_0x45cd21['getByView'](_0x4afed9);_0x4afed9&&_0x586046&&(this['listenTo'](_0x4afed9,'change:height',()=>{_0x19b401['updatePosition']();}),this['listenTo'](_0x4afed9,'Esc',()=>{this['_closeAnnotation'](_0x586046),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x586046&&this['setActiveAnnotation'](_0x586046));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x19b401['visibleView']&&(_0x45cd21['getByView'](_0x19b401['visibleView'])&&_0x19b401['updatePosition']());}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing']['view']['document']['selection']['editableElement']&&this['editor']['editing']['view']['focus'](),this['isAttached']=!0x0;}['detach'](){if(!this['isAttached'])throw new CKEditorError('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x4d5ebf of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4d5ebf);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x5913e4){for(const _0x3dcedc of this['_selectedAnnotations'])_0x5913e4['includes'](_0x3dcedc)||this['_manuallyClosed']['delete'](_0x3dcedc);for(const _0x2aaedf of this['annotations'])_0x5913e4['includes'](_0x2aaedf)||this['_removeAnnotationFromBalloon'](_0x2aaedf);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0xf07fa6 of _0x5913e4)this['_addAnnotationToBalloon'](_0xf07fa6);}this['_selectedAnnotations']=_0x5913e4;}['_addAnnotationToBalloon'](_0x1aa346,_0x4cb445=!0x1){this['_manuallyClosed']['has'](_0x1aa346)||(this['_addedAnnotations']['has'](_0x1aa346)||this['_balloon']['hasView'](_0x1aa346['view'])||(this['_addedAnnotations']['add'](_0x1aa346),this['_balloon']['add']({'stackId':_0x1aa346['view']['id'],'view':_0x1aa346['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x1aa346)}})),_0x4cb445&&this['_balloon']['showStack'](_0x1aa346['view']['id']));}['_getBalloonTargetForAnnotation'](_0x5e7777){const _0x1be3d1=_0x5e7777['target'],_0x5c9f37=this['editor']['editing']['view'],_0x1b8a2b=_0x5c9f37['document']['selection']['getFirstRange'](),_0x39a47c=_0x5c9f37['domConverter']['viewRangeToDom'](_0x1b8a2b);if(_0x39a47c['collapse'](!0x0),_0x1be3d1){if(_0x1be3d1 instanceof Rect)return _0x1be3d1;let _0x21ec95=[];for(const _0xa0fb9e of _0x1be3d1)_0x21ec95['push'](...cloneRects(_0xa0fb9e['getClientRects']()));_0x21ec95=joinClientRects(_0x21ec95);const _0x22eec7=_0x39a47c['getBoundingClientRect']();return _0x21ec95['find'](_0x42df83=>_0x42df83['top']<=_0x22eec7['top']&&_0x42df83['bottom']>=_0x22eec7['bottom']&&_0x42df83['left']<=_0x22eec7['left']&&_0x42df83['right']>=_0x22eec7['right'])||_0x21ec95[0x0];}return _0x5e7777['targetRect']||_0x39a47c;}['_removeAnnotationFromBalloon'](_0x4ec80d){this['_addedAnnotations']['has'](_0x4ec80d)&&this['_balloon']['hasView'](_0x4ec80d['view'])&&(this['_addedAnnotations']['delete'](_0x4ec80d),this['_balloon']['remove'](_0x4ec80d['view']));}['_closeAnnotation'](_0x5d6819){this['_manuallyClosed']['add'](_0x5d6819),this['_removeAnnotationFromBalloon'](_0x5d6819);}}function arraysEqual(_0x654749,_0x8b3f0b){return _0x654749['length']===_0x8b3f0b['length']&&_0x654749['every'](_0x12a73f=>_0x8b3f0b['includes'](_0x12a73f));}function cloneRects(_0x55dfac){return Array['from'](_0x55dfac)['map'](DOMRect['fromRect']);}function joinClientRects(_0x4684dd){const _0x148c74=[];let _0x1ca03d=_0x4684dd[0x0];for(let _0x5ef81b=0x1;_0x5ef81b<_0x4684dd['length'];_0x5ef81b++)canJoinRects(_0x1ca03d,_0x4684dd[_0x5ef81b])?_0x1ca03d['width']+=_0x4684dd[_0x5ef81b]['width']:(_0x148c74['push'](_0x1ca03d),_0x1ca03d=_0x4684dd[_0x5ef81b]);return _0x148c74['push'](_0x1ca03d),_0x148c74;}function canJoinRects(_0x3290ea,_0x592489){return _0x3290ea['top']===_0x592489['top']&&_0x3290ea['bottom']===_0x592489['bottom']&&_0x3290ea['right']===_0x592489['left'];}var commentsArchiveIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M14\x203.5A3.5\x203.5\x200\x200\x201\x2017.5\x207v6l-.005.192a3.501\x203.501\x200\x200\x201-2.927\x203.262l-.062.008v1.813a1.5\x201.5\x200\x200\x201-2.193\x201.33l-.37-.193-.38-.212a13.452\x2013.452\x200\x200\x201-3.272-2.63l-.062-.07-4.729-.046a3.5\x203.5\x200\x200\x201-3.5-3.5v-6a3.5\x203.5\x200\x200\x201\x203.5-3.5L14\x203.5ZM3.5\x204.954a2\x202\x200\x200\x200-2\x202v6a2\x202\x200\x200\x200\x202\x202L8.924\x2015a11.917\x2011.917\x200\x200\x200\x203.71\x203.081l.372.194v-3.268L12.962\x2015H14a2\x202\x200\x200\x200\x202-2V7a2\x202\x200\x200\x200-2-2L3.5\x204.954Z\x22/><path\x20d=\x22M16.5.5h-10a3.5\x203.5\x200\x200\x200-3.162\x202h1.84A2\x202\x200\x200\x201\x206.5\x202h10a2\x202\x200\x200\x201\x202\x202v8.873a3.502\x203.502\x200\x200\x200\x201.495-2.681L20\x2010V4A3.5\x203.5\x200\x200\x200\x2016.5.5Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M12.013\x207.453a.75.75\x200\x200\x201\x20.034\x201.06l-3.75\x204a.75.75\x200\x200\x201-1.045.048l-2.25-2a.75.75\x200\x200\x201\x20.996-1.122l1.704\x201.515\x203.25-3.467a.75.75\x200\x200\x201\x201.061-.034Z\x22/></svg>\x0a';class CommentsArchiveView extends View{constructor(_0x23aff8,_0x16134d){super(_0x23aff8),this['set']('isEmpty',!_0x16134d['length']),this['focusTracker']=new FocusTracker(),this['_annotationViews']=_0x16134d,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new FocusCycler({'focusables':_0x16134d,'focusTracker':this['focusTracker']}),this['listenTo'](_0x16134d,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x16134d,'remove',(_0x80a38c,_0x1db229)=>{_0x1db229['isActive']&&this['focus'](),_0x16134d['length']||(this['isEmpty']=!0x0);});const _0x8149e4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x23aff8,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x16134d},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x8149e4['if']('isEmpty','ck-hidden',_0x18db58=>!_0x18db58)]},'children':[{'text':getTranslation$f(_0x23aff8,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy']();}['focus'](){this['focusCycler']['first']?this['focusCycler']['focusFirst']():this['element']['focus']();}['_setupKeyboardNavigation'](){for(const _0x37501e of this['_annotationViews'])this['focusTracker']['add'](_0x37501e['element']);this['_annotationViews']['on']('change',(_0x5719be,{added:_0x450221,removed:_0x3da9b4})=>{for(const _0x45ae1d of _0x450221)this['focusTracker']['add'](_0x45ae1d['element']);for(const _0x1c1091 of _0x3da9b4)this['focusTracker']['remove'](_0x1c1091['element']);});}}class CommentsArchive extends ContextPlugin{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x43572a){super(_0x43572a),this['archivedThreads']=new Collection();}['init'](){const _0x3c81d2=this['context'],_0x5f2e2e=_0x3c81d2['plugins']['get'](CommentsRepository),_0x3d46a1=_0x3c81d2['plugins']['get'](Annotations);this['listenTo'](_0x5f2e2e,'addCommentThread',(_0x164492,{threadId:_0x32120e})=>{const _0x4ff8df=_0x5f2e2e['getCommentThread'](_0x32120e);_0x4ff8df['archivedAt']&&this['archivedThreads']['add'](_0x4ff8df,this['_calculatePosition'](_0x4ff8df['archivedAt'])),this['listenTo'](_0x4ff8df,'change:archivedAt',(_0x149b98,_0xe33680,_0x4424f3)=>{_0x4424f3?this['archivedThreads']['has'](_0x4ff8df)||this['archivedThreads']['add'](_0x4ff8df,this['_calculatePosition'](_0x4ff8df['archivedAt'])):this['archivedThreads']['has'](_0x4ff8df)&&this['archivedThreads']['remove'](_0x4ff8df);});}),this['listenTo'](_0x5f2e2e,'removeCommentThread',(_0x3da8df,{threadId:_0x25134a})=>{const _0x34c74e=_0x5f2e2e['getCommentThread'](_0x25134a);this['stopListening'](_0x34c74e),this['archivedThreads']['has'](_0x34c74e)&&this['archivedThreads']['remove'](_0x34c74e);},{'priority':'highest'}),this['listenTo'](_0x3d46a1['collection'],'focus',(_0x2d4815,_0x614918)=>{_0x614918['isVisible']||(_0x614918['isActive']=!0x0,_0x3d46a1['activate'](_0x614918));});}['_calculatePosition'](_0x1eff9a){const _0x72afef=[...this['archivedThreads']]['findIndex'](_0x377700=>_0x377700['archivedAt']<_0x1eff9a);return _0x72afef>-0x1?_0x72afef:this['archivedThreads']['length'];}}class CommentsArchiveUI extends Plugin{static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,Dialog];}constructor(_0x45ec64){super(_0x45ec64),this['_hideDialogOnAnnotationEscape']=_0x20ed8c=>{const _0x3702c0=_0x20ed8c['source'];if(!this['annotationViews']['has'](_0x3702c0['view']))return;const _0x422c88=this['editor']['plugins']['get']('Dialog');_0x422c88['isOpen']&&'commentsArchive'===_0x422c88['id']&&(_0x422c88['hide'](),_0x20ed8c['stop']());},this['annotationViews']=new ViewCollection(),this['_pendingThreads']=[];}['init'](){const _0xe0fd58=this['editor'],_0x1774bf=this['_hideDialogOnAnnotationEscape']['bind'](this);_0xe0fd58['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ButtonView,!0x0)),_0xe0fd58['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x310cf1=this['_createCommentsArchiveButton'](MenuBarMenuListItemButtonView);return _0x310cf1['set']({'role':'menuitemcheckbox'}),_0x310cf1;});const _0x2afaf0=_0xe0fd58['plugins']['get'](CommentsArchive),_0x4f302d=_0xe0fd58['plugins']['get']('Annotations'),_0x348805=_0xe0fd58['plugins']['get']('CommentsRepository');_0x2afaf0['archivedThreads']['forEach'](_0x596da0=>{this['_handleNewThread'](_0x596da0);}),this['listenTo'](_0x2afaf0['archivedThreads'],'add',(_0x27dfaf,_0x151900)=>{this['_handleNewThread'](_0x151900);}),this['listenTo'](_0x4f302d['collection'],'add',(_0x2d21ff,_0x55e7a5)=>{const _0x495df7=this['_pendingThreads']['find'](_0x5f06a2=>{const _0x480daa=_0x348805['_threadToController']['get'](_0x5f06a2);return _0x480daa&&_0x55e7a5['innerView']===_0x480daa['view'];});if(_0x495df7){const _0x4e437c=this['_calculatePosition'](_0x495df7['archivedAt']);this['annotationViews']['add'](_0x55e7a5['view'],_0x4e437c),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x495df7),0x1);}}),this['listenTo'](_0x2afaf0['archivedThreads'],'remove',(_0x31c316,_0x270b62)=>{const _0x3de000=_0xe0fd58['config']['get']('collaboration.channelId');if(!_0x3de000||_0x270b62['channelId']===_0x3de000){const _0x2fdaf0=_0x348805['_threadToController']['get'](_0x270b62),_0x26dc2e=_0x4f302d['getByInnerView'](_0x2fdaf0['view']);this['annotationViews']['remove'](_0x26dc2e['view']),this['stopListening'](_0x26dc2e['focusableElements']);}}),this['listenTo'](_0x4f302d['collection'],'add',(_0x1f8517,_0x218276)=>{this['listenTo'](_0x218276,'escape',_0x1774bf);}),this['listenTo'](_0x4f302d['collection'],'remove',(_0xe19e51,_0x4a33a2)=>{this['stopListening'](_0x4a33a2,'escape',_0x1774bf);});}['_handleNewThread'](_0x1f7c59){const _0x494743=this['editor']['plugins']['get']('CommentsRepository'),_0x52aed9=this['editor']['plugins']['get']('Annotations'),_0x179994=this['editor']['config']['get']('collaboration.channelId');if(!_0x179994||_0x1f7c59['channelId']===_0x179994){const _0x26cc99=_0x494743['_threadToController']['get'](_0x1f7c59);if(!_0x26cc99)return void this['_pendingThreads']['push'](_0x1f7c59);const _0x35722e=this['_calculatePosition'](_0x1f7c59['archivedAt']),_0x56752a=_0x52aed9['getByInnerView'](_0x26cc99['view']);_0x56752a['isVisible']&&_0x52aed9['_visibleAnnotations']['remove'](_0x56752a),this['annotationViews']['add'](_0x56752a['view'],_0x35722e);}}['_calculatePosition'](_0x4da029){const _0x532112=this['editor']['config']['get']('collaboration.channelId'),_0x36eb64=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0xc7a30c=>_0xc7a30c['channelId']===_0x532112)['findIndex'](_0x335510=>_0x335510['archivedAt']<_0x4da029);return _0x36eb64<0x0||_0x36eb64>this['annotationViews']['length']?this['annotationViews']['length']:_0x36eb64-0x1;}['_toggleDialog'](){const _0x162182=this['editor'],_0x4fb547=_0x162182['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x162182['locale'],this['annotationViews'])),'commentsArchive'===_0x4fb547['id']?_0x4fb547['hide']():_0x4fb547['show']({'id':'commentsArchive','title':getTranslation$f(_0x162182['locale'],'COMMENTS_ARCHIVE'),'icon':commentsArchiveIcon,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':DialogViewPosition['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x349922,_0x3a3e27=!0x1){const _0x1ee535=this['editor']['locale'],_0x4e7b05=this['editor']['plugins']['get']('Dialog'),_0x4a1150=new _0x349922(_0x1ee535);return _0x4a1150['bind']('isEnabled')['to'](this,'isEnabled'),_0x4a1150['bind']('isOn')['to'](_0x4e7b05,'id',_0x278ee0=>'commentsArchive'===_0x278ee0),_0x4a1150['set']({'label':getTranslation$f(_0x1ee535,'COMMENTS_ARCHIVE'),'icon':commentsArchiveIcon,'isToggleable':!0x0}),_0x3a3e27&&(_0x4a1150['tooltip']=!0x0),this['listenTo'](_0x4a1150,'execute',()=>this['_toggleDialog']()),_0x4a1150;}}class Comments extends Plugin{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,WideSidebar,NarrowSidebar,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x519de9){let _0x4820de='';for(const _0x4fb4c2 of _0x519de9['getChildren']())_0x4fb4c2 instanceof Text$1&&(_0x4820de+=_0x4fb4c2['data']);return _0x4820de;}function getDefaultFeatureHeadingNames(_0x4f071c){const _0x2b8263=_0x4f071c['config']['get']('heading.options');return _0x2b8263?_0x2b8263['reduce']((_0x5e204a,_0x3d40b6)=>('paragraph'!==_0x3d40b6['model']&&_0x5e204a['push'](_0x3d40b6['model']),_0x5e204a),[]):_0x4f071c['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}class DocumentOutlineUtils extends Plugin{constructor(){super(...arguments),this['_headingNames']=[];}static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5be340=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x49417b=[];_0x5be340['model']['document']['on']('change',debounce$1(()=>{const _0x25cdd5=_0x49417b;_0x49417b=this['_getOutlineDefinitions']();const _0x353611=_0x3b7284(_0x25cdd5,_0x49417b,(_0x55dca6,_0x16c743)=>_0x55dca6['level']===_0x16c743['level']&&_0x55dca6['text']===_0x16c743['text']&&_0x55dca6['modelElement']===_0x16c743['modelElement']),_0x220b59=diffToChanges(_0x353611,_0x49417b),_0x4e77fa=this['_getActiveHeading'](),_0x3f1540=_0x49417b['findIndex'](_0x384d53=>_0x384d53['modelElement']===_0x4e77fa);_0x220b59['length']&&this['fire']('change',{'outlineDefinitions':_0x49417b,'activeItemIndex':_0x3f1540,'outlineChanges':_0x220b59}),this['fire']('activeItemIndex',{'index':_0x3f1540});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1f15e3=this['editor'],_0x164037=[],_0x44dcd4=this['_headingNames'];for(const _0x1173f9 of _0x1f15e3['model']['document']['getRootNames']())_0x2c4e16(_0x1f15e3['model']['document']['getRoot'](_0x1173f9));function _0x2c4e16(_0x3a6d11){for(const _0x12494c of _0x3a6d11['getChildren']())_0x12494c['is']('element')&&(_0x44dcd4['includes'](_0x12494c['name'])&&_0x164037['push']({'level':_0x44dcd4['indexOf'](_0x12494c['name'])+0x1,'text':getElementText(_0x12494c),'modelElement':_0x12494c}),_0x2c4e16(_0x12494c));}return _0x164037;}['_getActiveHeading'](){const _0xddb953=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x344651=new TreeWalker({'direction':'backward','startPosition':_0xddb953});for(const _0xff6639 of _0x344651)if(_0xff6639['item']['is']('element')&&this['_headingNames']['includes'](_0xff6639['item']['name']))return _0xff6639['item'];}['_getHeadingNames'](){const _0x6082ea=this['editor']['config']['get']('documentOutline.headings');return _0x6082ea||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x4387e1=this['editor'],_0x31a3ee=['h1','h2','h3','h4','h5','h6'],_0x3f4f9f=[];for(const _0x5be9cc of _0x31a3ee){const _0x3ea826=_0x4387e1['editing']['view']['domConverter']['domToView'](document['createElement'](_0x5be9cc)),_0x1280f8=_0x4387e1['data']['toModel'](_0x3ea826)['getChild'](0x0);(null==_0x1280f8?void 0x0:_0x1280f8['is']('element'))&&_0x3f4f9f['push'](_0x1280f8['name']);}this['_headingNames']=_0x3f4f9f;}}function getTranslation$e(_0x2c78bd,_0x3a55b5){const t=_0x2c78bd['t'];switch(_0x3a55b5){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x3a55b5;}}class DocumentOutlineItemView extends View{constructor(_0xec5814,_0x239846=!0x1){super(_0xec5814);const _0x33ad98=this['bindTemplate'],_0x4abbfa=_0x239846?'['+getTranslation$e(_0xec5814,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x6937cf=>!_0x6937cf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x33ad98['to']('level',_0x4c38f3=>'ck-document-outline__item_level-'+_0x4c38f3),_0x33ad98['if']('isActive','ck-document-outline__item_active'),_0x33ad98['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x33ad98['to']('text')},'children':[{'text':_0x33ad98['to']('text',_0x1b8690=>_0x1b8690||_0x4abbfa)}],'on':{'click':_0x33ad98['to']('click')}});}}class DocumentOutlineView extends View{constructor(_0x4f49e1,_0x7e1a67=!0x1,_0x539f0b){super(_0x4f49e1),this['showEmptyHeadingText']=_0x7e1a67,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x539f0b,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2c26fb,_0x110cdc,_0x46d033,_0x5aeccd)=>{this['_setActiveItem'](_0x5aeccd,_0x46d033);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x4f49e1['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x4f49e1,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0xfbdd31){_0xfbdd31['forEach'](_0x366f86=>{'insert'==_0x366f86['type']?this['_insertItem'](_0x366f86['index'],..._0x366f86['values']):'delete'==_0x366f86['type']&&this['_deleteItem'](_0x366f86['index'],_0x366f86['howMany']);});}['_setActiveItem'](_0x29d65a,_0x46c15e){if(-0x1!==_0x29d65a){const _0x436d43=this['items']['get'](_0x29d65a);_0x436d43&&(_0x436d43['isActive']=!0x1);}-0x1!==_0x46c15e&&(this['items']['get'](_0x46c15e)['isActive']=!0x0,this['_scrollToItem'](_0x46c15e));}['_insertItem'](_0x4c9ece,..._0x4bae90){const _0x58d146=_0x4bae90['map']((_0x3339b0,_0x28f1e9)=>{const _0x10ed6b=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x10ed6b['text']=_0x3339b0['text'],_0x10ed6b['level']=_0x3339b0['level'],_0x4c9ece+_0x28f1e9===this['activeItemIndex']&&(_0x10ed6b['isActive']=!0x0),_0x10ed6b;});this['items']['addMany'](_0x58d146,_0x4c9ece);}['_deleteItem'](_0x51733c,_0x468f62){do{this['items']['remove'](_0x51733c);}while(--_0x468f62);}['_handleItemClick'](_0x1c0e3e){const _0xd73a8f=this['items']['getIndex'](_0x1c0e3e['source']);this['fire']('itemSelected',_0xd73a8f);}['_scrollToItem'](_0x59442c){scrollAncestorsToShowTarget(this['items']['get'](_0x59442c)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends Plugin{static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd4186e){super(_0xd4186e),this['view']=new DocumentOutlineView(_0xd4186e['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=throttle$1(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x383f11=this['editor'],_0x994ea7=_0x383f11['plugins']['get']('DocumentOutlineUtils');let _0x264b31=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x383f11['config']['get']('documentOutline.container'))throw new CKEditorError('document-outline-container-not-provided',{'editor':_0x383f11});_0x383f11['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x994ea7['on']('change',this['_handleOutlineChange']['bind'](this)),_0x994ea7['on']('activeItemIndex',(_0x174457,{index:_0x3fb584})=>this['_setActiveViewItem'](_0x3fb584)),this['view']['on']('itemSelected',(_0x372aab,_0xa71560)=>{_0x264b31=!0x0,this['_handleItemSelected'](_0xa71560);}),this['view']['listenTo'](_0x25cc2c['document'],'scroll',()=>{_0x264b31?_0x264b31=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x25cc2c['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){checkLicense$c(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x56c5d8,{outlineDefinitions:_0x3fa88c,outlineChanges:_0x61fae}){this['_currentOutlineDefinitions']=_0x3fa88c,this['view']['sync'](_0x61fae);}['_setActiveViewItem'](_0xe52f9a){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xe52f9a]&&(this['view']['activeItemIndex']=_0xe52f9a);}['_handleItemSelected'](_0x3f5a35){const _0x4ad471=this['_currentOutlineDefinitions'][_0x3f5a35]['modelElement'];this['editor']['model']['change'](_0x26447c=>{_0x26447c['setSelection'](_0x4ad471,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3f5a35);}['_updateActiveDefinitionOnViewportChange'](){const _0x2a45db=this['editor'];let _0x32225c;for(const _0x181c4a of _0x2a45db['model']['document']['getRootNames']()){const _0x27fd6e=_0x2a45db['editing']['view']['getDomRoot'](_0x181c4a),_0x1e9ed7=_0x27fd6e&&new Rect(_0x27fd6e)['getVisible']();if(_0x1e9ed7){const _0x4a5322=new Rect(_0x25cc2c['window'])['getIntersection'](_0x1e9ed7);_0x4a5322&&(_0x32225c=_0x4a5322['top']+0.25*_0x4a5322['height']);}}if(void 0x0===_0x32225c)return;const _0x48bdef=binaryActiveDefinitionSearch(_0x2a45db['editing'],this['_currentOutlineDefinitions'],_0x32225c);_0x48bdef?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x48bdef)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x1c38d8,_0x3be966,_0x9263f4,_0x51069c=0x0,_0x34dc0e=_0x3be966['length']-0x1){const _0x1dbcac=Math['floor'](_0x51069c+(_0x34dc0e-_0x51069c)/0x2);if(_0x34dc0e>=_0x51069c){const _0xcd70e=_0x3be966[_0x1dbcac],_0x3d1486=_0x1c38d8['mapper']['toViewElement'](_0xcd70e['modelElement']);if(!_0x3d1486)return null;const _0x3c9847=_0x1c38d8['view']['domConverter']['mapViewToDom'](_0x3d1486);return new Rect(_0x3c9847)['bottom']>_0x9263f4?binaryActiveDefinitionSearch(_0x1c38d8,_0x3be966,_0x9263f4,_0x51069c,_0x1dbcac-0x1):binaryActiveDefinitionSearch(_0x1c38d8,_0x3be966,_0x9263f4,_0x1dbcac+0x1,_0x34dc0e);}return _0x1dbcac<0x0?null:_0x3be966[_0x1dbcac];}async function checkLicense$c(_0x4f4c84){const _0x3fe6bb=_0x1a854e([0x47,0x53,0x4f,0x45,0x6d,0x48,0x42,0x49,0x69,0x67,0x76,0x71,0x59,0x36,0x4c,0x57,0x68,0x46,0x6c,0x30,0x37,0x6e,0x78,0x41,0x73,0x7a,0x44,0x38,0x6f,0x77,0x51,0x39,0x5a,0x58,0x4d,0x75,0x74,0x32,0x65,0x61,0x55,0x6a,0x64,0x62,0x33,0x79,0x4b,0x54,0x52,0x35,0x70,0x4a,0x72,0x43,0x63,0x4e,0x50,0x6b,0x56,0x66,0x31,0x34]),_0x88814=window[_0x1a854e([0x44,0x61,0x74,0x65])][_0x1a854e([0x6e,0x6f,0x77])](),_0x537b1b=_0x4f4c84[_0x1a854e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4da55c=new window[(_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x82657a=>{_0x537b1b[_0x1a854e([0x6f,0x6e,0x63,0x65])](_0x1a854e([0x72,0x65,0x61,0x64,0x79]),_0x82657a);}),_0x2fcfc9={[_0x1a854e([0x6b,0x74,0x79])]:_0x1a854e([0x45,0x43]),[_0x1a854e([0x75,0x73,0x65])]:_0x1a854e([0x73,0x69,0x67]),[_0x1a854e([0x63,0x72,0x76])]:_0x1a854e([0x50,0x2d,0x32,0x35,0x36]),[_0x1a854e([0x78])]:_0x1a854e([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]),[_0x1a854e([0x79])]:_0x1a854e([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]),[_0x1a854e([0x61,0x6c,0x67])]:_0x1a854e([0x45,0x53,0x32,0x35,0x36])},_0x27a3d4=_0x537b1b[_0x1a854e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a854e([0x67,0x65,0x74])](_0x1a854e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37be77=await(async function(){let _0x4152e7,_0x431fb8=null,_0x3d3ef6=null;try{if(_0x27a3d4==_0x1a854e([0x47,0x50,0x4c]))return _0x1a854e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4152e7=(function(){const _0x46c270=_0x27a3d4[_0x1a854e([0x73,0x70,0x6c,0x69,0x74])](_0x1a854e([0x2e]));if(0x3!=_0x46c270[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x373b1b=_0x46c270[0x1];return _0x4758ff(_0x373b1b);function _0x4758ff(_0x1ac891){const _0x243788=_0x326c82(_0x1ac891);return _0x243788&&_0x283040()?_0x243788:null;function _0x283040(){const _0xfb6c5=_0x243788[_0x1a854e([0x6a,0x74,0x69])],_0x162e70=window[_0x1a854e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfb6c5[_0x1a854e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfb6c5[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b2c98={..._0x243788,[_0x1a854e([0x6a,0x74,0x69])]:_0xfb6c5[_0x1a854e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfb6c5[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b2c98[_0x1a854e([0x76,0x63])],_0x2959ea(_0x3b2c98)==_0x162e70;}}}()),!_0x4152e7)return _0x1a854e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4152e7[_0x1a854e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d3ef6=function(_0x204c9b,_0x3485cf){return new window[(_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1243f6=>{if(_0x3f2e39())return _0x1243f6(_0x1a854e([0x56,0x61,0x6c,0x69,0x64]));_0x3c334b(),_0x537b1b[_0x1a854e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a854e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3368ac=!0x1;const _0x3b0db4=uid();function _0x1ecd22(_0x64bdcc){return!!_0x64bdcc&&(typeof _0x64bdcc===_0x1a854e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x64bdcc===_0x1a854e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x64bdcc[_0x1a854e([0x74,0x68,0x65,0x6e])]===_0x1a854e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x64bdcc[_0x1a854e([0x63,0x61,0x74,0x63,0x68])]===_0x1a854e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x25e93f(_0x69df40){_0x52b8aa(_0x69df40)[_0x1a854e([0x74,0x68,0x65,0x6e])](_0x3c57e4=>{if(!_0x3c57e4||_0x3c57e4[_0x1a854e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a854e([0x6f,0x6b]))return _0x1a854e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46fc0e(_0x2959ea(_0x3b0db4+_0x3485cf))!=_0x3c57e4[_0x1a854e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a854e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a854e([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a854e([0x74,0x68,0x65,0x6e])](_0x3395d6=>(_0x2e0858(),_0x3395d6),()=>{const _0x160256=_0x7339de();return null==_0x160256?(_0x2e0858(),_0x1a854e([0x56,0x61,0x6c,0x69,0x64])):_0x1a854e(_0x88814-_0x160256>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a854e([0x74,0x68,0x65,0x6e])](_0x1243f6)[_0x1a854e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1243f6(_0x1a854e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4defc8=0x36ee80;function _0x2e0858(){const _0x1236e3=_0x1a854e([0x6c,0x6c,0x63,0x74,0x2d])+_0x46fc0e(_0x2959ea(_0x204c9b)),_0x5d3a6=_0x1f6351(_0x46fc0e(window[_0x1a854e([0x4d,0x61,0x74,0x68])][_0x1a854e([0x63,0x65,0x69,0x6c])](_0x88814/_0x4defc8)));window[_0x1a854e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a854e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1236e3,_0x5d3a6);}function _0x7339de(){const _0x1e3fab=_0x1a854e([0x6c,0x6c,0x63,0x74,0x2d])+_0x46fc0e(_0x2959ea(_0x204c9b)),_0x43c026=window[_0x1a854e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a854e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e3fab);return _0x43c026?window[_0x1a854e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f6351(_0x43c026),0x10)*_0x4defc8:null;}function _0x52b8aa(_0x515715){return new window[(_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x317a33,_0x4cb884)=>{_0x515715[_0x1a854e([0x74,0x68,0x65,0x6e])](_0x317a33,_0x4cb884),window[_0x1a854e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cb884,0x1d4c0);});}}_0x537b1b[_0x1a854e([0x6f,0x6e])](_0x1a854e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x311c61,_0x23c742)=>{if(_0x23c742[0x0]!=_0x204c9b)return _0x1243f6(_0x1a854e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23c742[0x1]={..._0x23c742[0x1],[_0x1a854e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b0db4};},{[_0x1a854e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a854e([0x68,0x69,0x67,0x68])}),_0x537b1b[_0x1a854e([0x6f,0x6e])](_0x1a854e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ccd1c=>{_0x1ecd22(_0x5ccd1c[_0x1a854e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3368ac=!0x0,_0x25e93f(_0x5ccd1c[_0x1a854e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a854e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a854e([0x6c,0x6f,0x77])}),_0x4da55c[_0x1a854e([0x74,0x68,0x65,0x6e])](()=>{_0x3368ac||_0x1243f6(_0x1a854e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f2e39(){return _0x537b1b[_0x1a854e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a854e([0x76,0x69,0x65,0x77])][_0x1a854e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a854e([0x61,0x75,0x74,0x6f]);}function _0x3c334b(){_0x537b1b[_0x1a854e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a854e([0x76,0x69,0x65,0x77])][_0x1a854e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a854e([0x61,0x75,0x74,0x6f]);}}(_0x4152e7[_0x1a854e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4152e7[_0x1a854e([0x6a,0x74,0x69])]));const _0x2fe115=await(async function(){let _0x276455=!0x0;try{const _0x37f88b=_0x27a3d4[_0x1a854e([0x73,0x70,0x6c,0x69,0x74])](_0x1a854e([0x2e])),[_0x544110,_0x1e7fdf,_0x167e54]=_0x37f88b;return _0x44fbcd(_0x544110),await _0x2e7c13(_0x544110,_0x1e7fdf,_0x167e54),_0x276455;}catch(_0x284e77){return!0x1;}function _0x44fbcd(_0x2feaca){const _0x426228=_0x326c82(_0x2feaca);_0x426228&&_0x426228[_0x1a854e([0x61,0x6c,0x67])]==_0x1a854e([0x45,0x53,0x32,0x35,0x36])||(_0x276455=!0x1);}async function _0x2e7c13(_0x5039a1,_0x4344a8,_0x1cf816){const _0x3f0b2f=window[_0x1a854e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a854e([0x66,0x72,0x6f,0x6d])](_0x4f95fb(_0x1cf816),_0x3f70cb=>_0x3f70cb[_0x1a854e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d3fbc=new window[(_0x1a854e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a854e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5039a1+_0x1a854e([0x2e])+_0x4344a8),_0x46fa19=window[_0x1a854e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a854e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46fa19)return;const _0x823964=await _0x46fa19[_0x1a854e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a854e([0x6a,0x77,0x6b]),_0x2fcfc9,{[_0x1a854e([0x6e,0x61,0x6d,0x65])]:_0x1a854e([0x45,0x43,0x44,0x53,0x41]),[_0x1a854e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a854e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a854e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46fa19[_0x1a854e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a854e([0x6e,0x61,0x6d,0x65])]:_0x1a854e([0x45,0x43,0x44,0x53,0x41]),[_0x1a854e([0x68,0x61,0x73,0x68])]:{[_0x1a854e([0x6e,0x61,0x6d,0x65])]:_0x1a854e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x823964,_0x3f0b2f,_0x5d3fbc)||(_0x276455=!0x1);}}());return _0x2fe115?(function(){const _0x5b23d9=_0x4152e7[_0x1a854e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5b23d9)return!0x1;if(_0x5b23d9[_0x1a854e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a854e([0x2a])))return!0x0;if(_0x5b23d9[_0x1a854e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a854e([0x44,0x4f])))return!0x0;if(_0x5b23d9[_0x1a854e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a854e([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x3e917b=[_0x1a854e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a854e([0x74,0x72,0x69,0x61,0x6c])][_0x1a854e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4152e7[_0x1a854e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x88814/0x3e8:0x67b67080;return _0x4152e7[_0x1a854e([0x65,0x78,0x70])]<_0x3e917b;}())?_0x1a854e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x38d6ca=_0x4152e7[_0x1a854e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38d6ca||0x0==_0x38d6ca[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23321d}=new URL(window[_0x1a854e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38d6ca[_0x1a854e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23321d))return!0x0;const _0x442786=_0x23321d[_0x1a854e([0x73,0x70,0x6c,0x69,0x74])](_0x1a854e([0x2e]));return _0x38d6ca[_0x1a854e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x584f31=>_0x584f31[_0x1a854e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a854e([0x2a])))[_0x1a854e([0x6d,0x61,0x70])](_0x7f30b2=>_0x7f30b2[_0x1a854e([0x73,0x70,0x6c,0x69,0x74])](_0x1a854e([0x2e])))[_0x1a854e([0x73,0x6f,0x6d,0x65])](_0x6551fc=>_0x442786[_0x1a854e([0x65,0x76,0x65,0x72,0x79])]((_0xf8d350,_0x6381f5)=>_0x6551fc[_0x6381f5]===_0xf8d350||_0x6551fc[_0x6381f5]===_0x1a854e([0x2a])));}())?(_0x4152e7[_0x1a854e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a854e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x431fb8=_0x4e5175(_0x1a854e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4152e7[_0x1a854e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a854e([0x74,0x72,0x69,0x61,0x6c])&&(_0x431fb8=_0x4e5175(_0x1a854e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x431fb8&&_0x3d3ef6)return new window[(_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x286651,_0x6a3864)=>{_0x431fb8[_0x1a854e([0x74,0x68,0x65,0x6e])](_0x286651,_0x6a3864),_0x3d3ef6[_0x1a854e([0x74,0x68,0x65,0x6e])](_0x31841a=>{_0x31841a!=_0x1a854e([0x56,0x61,0x6c,0x69,0x64])&&_0x286651(_0x31841a);},_0x6a3864);});return _0x431fb8||_0x3d3ef6||_0x1a854e([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1a854e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a854e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a854e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5ba71e){return _0x1a854e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4e5175(_0x568b30){const _0x128474=new window[(_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15e172=>setTimeout(_0x15e172,0x93ecc)),_0x465f6c=_0x4da55c[_0x1a854e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39a012=>{let _0x49f747=0x0;_0x537b1b[_0x1a854e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a854e([0x6f,0x6e])](_0x1a854e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x394fca,_0xf0c2a3)=>{_0xf0c2a3[0x0][_0x1a854e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49f747++,0x1f8==_0x49f747&&(_0x39a012(),_0x394fca[_0x1a854e([0x6f,0x66,0x66])]());});})),_0x52703e=[_0x128474,_0x465f6c];return window[_0x1a854e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a854e([0x72,0x61,0x63,0x65])](_0x52703e)[_0x1a854e([0x74,0x68,0x65,0x6e])](()=>_0x568b30);}function _0x326c82(_0x5a2baf){return _0x5a2baf[_0x1a854e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a854e([0x65,0x79]))?JSON[_0x1a854e([0x70,0x61,0x72,0x73,0x65])](_0x4f95fb(_0x5a2baf)):null;}function _0x4f95fb(_0x28d54b){return window[_0x1a854e([0x61,0x74,0x6f,0x62])](_0x28d54b[_0x1a854e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a854e([0x2b]))[_0x1a854e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a854e([0x2f])));}function _0x2959ea(_0x2bc341){let _0x2fd80c=0x1505;function _0x491bc2(_0x13734d){for(let _0x488771=0x0;_0x488771<_0x13734d[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x488771++){const _0x4b46ad=_0x13734d[_0x1a854e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x488771);_0x2fd80c=(_0x2fd80c<<0x5)+_0x2fd80c+_0x4b46ad,_0x2fd80c&=_0x2fd80c;}}return function _0x5327ff(_0x5ab639){Array[_0x1a854e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ab639)?_0x5ab639[_0x1a854e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5327ff):_0x5ab639&&typeof _0x5ab639==_0x1a854e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a854e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ab639)[_0x1a854e([0x73,0x6f,0x72,0x74])]()[_0x1a854e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x439f40,_0x420dce])=>{_0x491bc2(_0x439f40),_0x5327ff(_0x420dce);}):_0x491bc2(window[_0x1a854e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ab639));}(_0x2bc341),_0x2fd80c>>>0x0;}function _0x46fc0e(_0x48d0a9){return _0x48d0a9[_0x1a854e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a854e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a854e([0x30]));}function _0x1f6351(_0x5bc265){return _0x5bc265[_0x1a854e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a854e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a854e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1bbf34(){}function _0x1a854e(_0x3dc316){return _0x3dc316['map'](_0x550cf6=>String['fromCharCode'](_0x550cf6))['join']('');}!function(_0x464d76){const _0x49c7eb=(function(){const _0x275e87=window[_0x1a854e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a854e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a854e([0x6e,0x6f,0x77])]())[_0x1a854e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a854e([0x2e]),'');let _0xede80c=_0x1a854e([0x47]);for(let _0x1987d8=0x0;_0x1987d8<_0x275e87[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1987d8+=0x2){let _0x1e35a2=window[_0x1a854e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275e87[_0x1a854e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1987d8,_0x1987d8+0x2));_0x1e35a2>=_0x3fe6bb[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e35a2-=_0x3fe6bb[_0x1a854e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xede80c+=_0x3fe6bb[_0x1e35a2];}return _0xede80c;}());_0x537b1b[_0x49c7eb]=_0x1a854e([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x464d76,_0x464d76!=_0x1a854e([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4da55c,_0x537b1b[_0x1a854e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a854e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1bbf34,_0x537b1b[_0x1a854e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a854e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1bbf34,_0x537b1b[_0x1a854e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a854e([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x37be77);}class DocumentOutline extends Plugin{static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x247c2e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c339d;for(const _0x2c2f01 in _0x247c2e){const _0x2d77f4=_0x2c2f01,_0x2766e2=_0x247c2e[_0x2d77f4];if('documentOutlineLicenseKeyValid'==_0x2766e2||'documentOutlineLicenseKeyInvalid'==_0x2766e2||'documentOutlineLicenseKeyExpired'==_0x2766e2||'documentOutlineLicenseKeyDomainLimit'==_0x2766e2||'documentOutlineLicenseKeyNotAllowed'==_0x2766e2||'documentOutlineLicenseKeyEvaluationLimit'==_0x2766e2||'documentOutlineLicenseKeyTrialLimit'==_0x2766e2||'documentOutlineLicenseKeyUsageLimit'==_0x2766e2){delete _0x247c2e[_0x2d77f4],_0x1c339d=_0x2766e2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x1c339d&&_0x247c2e['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x1c339d&&_0x247c2e['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x1c339d&&_0x247c2e['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x1c339d&&_0x247c2e['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x1c339d&&_0x247c2e['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x1c339d&&_0x247c2e['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x1c339d&&_0x247c2e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0xa280c5{['execute'](){this['editor']['model']['change'](_0x4866ae=>{this['editor']['model']['insertObject'](_0x4866ae['createElement']('tableOfContents'));});}['refresh'](){const _0x5196e5=this['editor']['model'],_0x3db252=_0x5196e5['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x3db252&&_0x5196e5['schema']['findAllowedParent'](_0x3db252,'tableOfContents'));}}class HeadingId extends Plugin{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x26e421=this['editor'];if(_0x26e421['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x27a645,_0x4948aa)=>{this['_customUpcastHeadingsConversion'](_0x4948aa),this['_customDataDowncastHeadingsConversion'](_0x27a645),_0x26e421['model']['schema']['isRegistered'](_0x27a645)&&_0x26e421['model']['schema']['extend'](_0x27a645,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x48a7e5){this['editor']['conversion']['for']('upcast')['add'](_0x32aba8=>_0x32aba8['on']('element:'+_0x48a7e5,(_0x56d382,_0x5a99a6,_0x5c917c)=>{const {consumable:_0x4025c1,writer:_0x2fcaa5}=_0x5c917c,_0xb34a57=_0x5a99a6['viewItem']['getAttribute']('id'),_0x6e37c9=_0x5a99a6['modelRange']['getContainedElement']();if(_0x6e37c9)return _0xb34a57&&_0xb34a57['length']||_0x6e37c9['hasAttribute']('headingId')?void(_0x4025c1['consume'](_0x5a99a6['viewItem'],{'attributes':['id']})&&_0x2fcaa5['setAttribute']('headingId',_0xb34a57,_0x6e37c9)):(_0x4025c1['consume'](_0x5a99a6['viewItem'],{'attributes':['id']}),void _0x2fcaa5['setAttribute']('headingId',uid(),_0x6e37c9));},{'priority':priorities['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x3a99d1){this['editor']['conversion']['for']('downcast')['add'](_0x28ab1e=>_0x28ab1e['on']('attribute:headingId:'+_0x3a99d1,(_0x167f24,_0x127613,_0x26eeeb)=>{if(!_0x26eeeb['consumable']['consume'](_0x127613['item'],_0x167f24['name']))return;const _0x56ffe3=_0x127613['item']['getAttribute']('headingId'),_0x5486aa=_0x26eeeb['mapper']['toViewElement'](_0x127613['item']);_0x26eeeb['writer']['setAttribute']('id',_0x56ffe3,_0x5486aa);}));}['_registerHeadingIdAttributePostfixer'](){const _0x4e4ead=this['editor'],_0x22bcca=new Set(),_0x3bffec=new Set();function _0x2bb3e7(_0x1a8213,_0x1ee064){const _0x4d0b54=uid();return _0x3bffec['add'](_0x4d0b54),_0x1a8213['setAttribute']('headingId',_0x4d0b54,_0x1ee064),_0x4d0b54;}function _0x4f9783(_0x3bd90f,_0xa9511f){_0x3bd90f['removeAttribute']('headingId',_0xa9511f);}_0x4e4ead['model']['document']['registerPostFixer'](_0x2221d7=>{const _0x48bbf5=_0x4e4ead['model']['document']['differ']['getChanges']();let _0x440b04=!0x1;for(const _0x5b5662 of _0x48bbf5)if('insert'==_0x5b5662['type']&&_0x5b5662['name']){if(isHeading$1(_0x5b5662['name'])){const _0xdea10f=_0x5b5662['attributes']['get']('headingId');'string'==typeof _0xdea10f?_0x22bcca['has'](_0xdea10f)?(_0x2bb3e7(_0x2221d7,_0x5b5662['position']['nodeAfter']),_0x440b04=!0x0):_0x3bffec['add'](_0xdea10f):(_0x2bb3e7(_0x2221d7,_0x5b5662['position']['nodeAfter']),_0x440b04=!0x0);}else'string'==typeof _0x5b5662['attributes']['get']('headingId')&&(_0x4f9783(_0x2221d7,_0x5b5662['position']['nodeAfter']),_0x440b04=!0x0);}else{if('remove'==_0x5b5662['type']){const _0x4b5e3e=_0x5b5662['attributes']['get']('headingId');'string'==typeof _0x4b5e3e&&_0x22bcca['delete'](_0x4b5e3e);}}return _0x440b04;}),_0x4e4ead['model']['document']['on']('change',()=>{_0x3bffec['forEach'](_0x5bb361=>_0x22bcca['add'](_0x5bb361)),_0x3bffec['clear']();});}}function isHeading$1(_0x40646d){return!!_0x40646d['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x2e56c7){const _0x448337=new Map();return _0x2e56c7?(_0x2e56c7['forEach'](_0x57eaf4=>{'paragraph'!==_0x57eaf4['model']&&_0x448337['set'](_0x57eaf4['view'],_0x57eaf4['model']);}),_0x448337['get']('h1')||_0x448337['set']('h1','heading1'),_0x448337):_0x448337;}class TableOfContentsEditing extends Plugin{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Widget,DocumentOutlineUtils,HeadingId];}constructor(_0x101653){super(_0x101653),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x4c0a47=this['editor'],_0x4e6c07=_0x4c0a47['editing']['view']['document'];_0x4c0a47['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4c0a47['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4e6c07,'click',(_0x8f0050,_0x195534)=>{if(!_0x195534['target'])return;const _0xd044c=_0x195534['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0xd044c)&&(_0x195534['domEvent']['preventDefault'](),_0x8f0050['stop'](),this['_handleScrollToHeading'](_0xd044c));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4c0a47['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x4c0a47)),(_0x4c0a47['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x59aeda,_0x11177b)=>{this['_currentOutlineDefinitions']=_0x11177b['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4c0a47['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){checkLicense$b(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1735ce=>{'$graveyard'!==_0x1735ce['rootName']&&this['editor']['editing']['reconvertItem'](_0x1735ce);});}['_trackNewToCElements'](){for(const _0x1df85e of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x1df85e['type']||'tableOfContents'!==_0x1df85e['name'])return;this['_tableOfContentsElements']['add'](_0x1df85e['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x406a2d=this['editor']['conversion'];_0x406a2d['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x406a2d['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x15d2ee,{writer:_0x53ca5b})=>this['_createTableOfContents'](_0x53ca5b,!0x0)}),_0x406a2d['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x558b33,{writer:_0x38c9ef})=>{this['_tableOfContentsElements']['add'](_0x558b33);const _0x1e903e=this['_createTableOfContents'](_0x38c9ef);return toWidget(_0x1e903e,_0x38c9ef,{'label':getTranslation$e(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x201238,_0x11ca81=!0x1){const {locale:_0x4f3dda}=this['editor'],_0x313ac3=_0x201238['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x11ca81&&{'data-table-of-contents-label':getTranslation$e(_0x4f3dda,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x11ca81&&_0x201238['insert'](_0x201238['createPositionAt'](_0x313ac3,'end'),_0x201238['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x201238['createText'](getTranslation$e(_0x4f3dda,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x11b9df=_0x11ca81?'':'['+getTranslation$e(_0x4f3dda,'Empty\x20heading')+']';let _0x45da3b=_0x313ac3;return this['_currentOutlineDefinitions']['forEach']((_0x13f757,_0x4767ad,_0x1a46a0)=>{const _0x42d212=this['editor']['model']['hasContent'](_0x13f757['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3800a5=_0x42d212?_0x13f757['text']:_0x11b9df,_0x285628=_0x13f757['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2cee3c=_0x201238['createContainerElement']('a',{'href':'#'+_0x285628,...!_0x11ca81&&{'tabindex':'-1'}},[_0x201238['createText'](_0x3800a5)]),_0x3619ee=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x201238['setCustomProperty']('tableOfContentsHeadingIndex',_0x4767ad,_0x2cee3c);const _0x583721=_0x201238['createContainerElement']('li',null,[_0x42d212||!_0x11ca81&&_0x3619ee?_0x2cee3c:_0x201238['createText']('')]),_0x616f9b=_0x4767ad?_0x1a46a0[_0x4767ad-0x1]['level']:0x0,_0x41d69c=Math['abs'](_0x13f757['level']-_0x616f9b);if(_0x13f757['level']>_0x616f9b){const _0x5213b1=wrapInList(_0x583721,_0x41d69c,_0x201238);_0x201238['insert'](_0x201238['createPositionAt'](_0x45da3b,'end'),_0x5213b1);}else{const _0x5107ca=getOuterListByLevelDifference(_0x45da3b,_0x41d69c);_0x201238['insert'](_0x201238['createPositionAt'](_0x5107ca,'end'),_0x583721);}_0x45da3b=_0x583721;}),_0x313ac3;}['_handleScrollToHeading'](_0xac3d89){const _0x20b5a8=this['_currentOutlineDefinitions'][_0xac3d89]['modelElement'];this['editor']['model']['change'](_0x1f62ee=>{_0x1f62ee['setSelection'](_0x20b5a8,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x45c73b,_0x41959b)=>{const _0x1e566c=_0x41959b['mapper'],_0x423452=_0x1e566c['findMappedViewAncestor'](_0x41959b['viewPosition']),_0x210b5c=_0x1e566c['toModelElement'](_0x423452);_0x210b5c['is']('element','tableOfContents')&&(_0x41959b['modelPosition']=this['editor']['model']['createPositionAt'](_0x210b5c,0x0),_0x45c73b['stop']());};}}function wrapInList(_0xb42b5d,_0x419ae8,_0x449bff){return 0x1===_0x419ae8?_0x449bff['createContainerElement']('ol',null,[_0xb42b5d]):_0x449bff['createContainerElement']('ol',null,[_0x449bff['createContainerElement']('li',null,[wrapInList(_0xb42b5d,_0x419ae8-0x1,_0x449bff)])]);}function getOuterListByLevelDifference(_0x376b9d,_0x182658){return _0x376b9d['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x5ad6b5=>_0x5ad6b5['is']('element','ol'))[_0x182658];}async function checkLicense$b(_0x3140a3){const _0x47e927=_0x4aa30c([0x4e,0x41,0x51,0x4d,0x75,0x47,0x4c,0x68,0x45,0x78,0x31,0x66,0x43,0x39,0x6e,0x59,0x6d,0x58,0x49,0x57,0x32,0x38,0x44,0x77,0x74,0x56,0x65,0x71,0x62,0x6a,0x5a,0x54,0x73,0x50,0x53,0x6f,0x67,0x52,0x35,0x48,0x46,0x64,0x4a,0x33,0x30,0x76,0x55,0x34,0x6b,0x79,0x61,0x70,0x6c,0x36,0x37,0x4b,0x4f,0x42,0x63,0x7a,0x72,0x69]),_0x8100e=window[_0x4aa30c([0x44,0x61,0x74,0x65])][_0x4aa30c([0x6e,0x6f,0x77])](),_0x3d320c=_0x3140a3[_0x4aa30c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47df1a=new window[(_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cf794=>{_0x3d320c[_0x4aa30c([0x6f,0x6e,0x63,0x65])](_0x4aa30c([0x72,0x65,0x61,0x64,0x79]),_0x5cf794);}),_0x275114={[_0x4aa30c([0x6b,0x74,0x79])]:_0x4aa30c([0x45,0x43]),[_0x4aa30c([0x75,0x73,0x65])]:_0x4aa30c([0x73,0x69,0x67]),[_0x4aa30c([0x63,0x72,0x76])]:_0x4aa30c([0x50,0x2d,0x32,0x35,0x36]),[_0x4aa30c([0x78])]:_0x4aa30c([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]),[_0x4aa30c([0x79])]:_0x4aa30c([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]),[_0x4aa30c([0x61,0x6c,0x67])]:_0x4aa30c([0x45,0x53,0x32,0x35,0x36])},_0x175f9c=_0x3d320c[_0x4aa30c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4aa30c([0x67,0x65,0x74])](_0x4aa30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5ecf76=await(async function(){let _0x25aa2d,_0x22a45e=null,_0x25f901=null;try{if(_0x175f9c==_0x4aa30c([0x47,0x50,0x4c]))return _0x4aa30c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25aa2d=(function(){const _0x8fd692=_0x175f9c[_0x4aa30c([0x73,0x70,0x6c,0x69,0x74])](_0x4aa30c([0x2e]));if(0x3!=_0x8fd692[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5c2696=_0x8fd692[0x1];return _0x33918c(_0x5c2696);function _0x33918c(_0x351295){const _0x16dd98=_0x5af9ee(_0x351295);return _0x16dd98&&_0x38c90a()?_0x16dd98:null;function _0x38c90a(){const _0x49d6d4=_0x16dd98[_0x4aa30c([0x6a,0x74,0x69])],_0x461975=window[_0x4aa30c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49d6d4[_0x4aa30c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49d6d4[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a0630={..._0x16dd98,[_0x4aa30c([0x6a,0x74,0x69])]:_0x49d6d4[_0x4aa30c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49d6d4[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a0630[_0x4aa30c([0x76,0x63])],_0x3fa410(_0x2a0630)==_0x461975;}}}()),!_0x25aa2d)return _0x4aa30c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x25aa2d[_0x4aa30c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25f901=function(_0x1f6a4c,_0xc2d5b4){return new window[(_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1879b8=>{if(_0x745893())return _0x1879b8(_0x4aa30c([0x56,0x61,0x6c,0x69,0x64]));_0x5d088e(),_0x3d320c[_0x4aa30c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4aa30c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d369e=!0x1;const _0x1cc105=uid();function _0x57c05e(_0x9fee3a){return!!_0x9fee3a&&(typeof _0x9fee3a===_0x4aa30c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9fee3a===_0x4aa30c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9fee3a[_0x4aa30c([0x74,0x68,0x65,0x6e])]===_0x4aa30c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9fee3a[_0x4aa30c([0x63,0x61,0x74,0x63,0x68])]===_0x4aa30c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12a029(_0x563446){_0x2cf866(_0x563446)[_0x4aa30c([0x74,0x68,0x65,0x6e])](_0x53665d=>{if(!_0x53665d||_0x53665d[_0x4aa30c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4aa30c([0x6f,0x6b]))return _0x4aa30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29a726(_0x3fa410(_0x1cc105+_0xc2d5b4))!=_0x53665d[_0x4aa30c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4aa30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa30c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa30c([0x74,0x68,0x65,0x6e])](_0x561367=>(_0x313a0b(),_0x561367),()=>{const _0x57eca8=_0x2efdbb();return null==_0x57eca8?(_0x313a0b(),_0x4aa30c([0x56,0x61,0x6c,0x69,0x64])):_0x4aa30c(_0x8100e-_0x57eca8>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa30c([0x74,0x68,0x65,0x6e])](_0x1879b8)[_0x4aa30c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1879b8(_0x4aa30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23fc59=0x36ee80;function _0x313a0b(){const _0x3bc695=_0x4aa30c([0x6c,0x6c,0x63,0x74,0x2d])+_0x29a726(_0x3fa410(_0x1f6a4c)),_0x36dd23=_0x358a14(_0x29a726(window[_0x4aa30c([0x4d,0x61,0x74,0x68])][_0x4aa30c([0x63,0x65,0x69,0x6c])](_0x8100e/_0x23fc59)));window[_0x4aa30c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa30c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bc695,_0x36dd23);}function _0x2efdbb(){const _0x2e07dc=_0x4aa30c([0x6c,0x6c,0x63,0x74,0x2d])+_0x29a726(_0x3fa410(_0x1f6a4c)),_0x136276=window[_0x4aa30c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa30c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e07dc);return _0x136276?window[_0x4aa30c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x358a14(_0x136276),0x10)*_0x23fc59:null;}function _0x2cf866(_0x2ba43d){return new window[(_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x164dd2,_0x33fd20)=>{_0x2ba43d[_0x4aa30c([0x74,0x68,0x65,0x6e])](_0x164dd2,_0x33fd20),window[_0x4aa30c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33fd20,0x1d4c0);});}}_0x3d320c[_0x4aa30c([0x6f,0x6e])](_0x4aa30c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fca81,_0x554f01)=>{if(_0x554f01[0x0]!=_0x1f6a4c)return _0x1879b8(_0x4aa30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x554f01[0x1]={..._0x554f01[0x1],[_0x4aa30c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1cc105};},{[_0x4aa30c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa30c([0x68,0x69,0x67,0x68])}),_0x3d320c[_0x4aa30c([0x6f,0x6e])](_0x4aa30c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d7190=>{_0x57c05e(_0x5d7190[_0x4aa30c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d369e=!0x0,_0x12a029(_0x5d7190[_0x4aa30c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4aa30c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa30c([0x6c,0x6f,0x77])}),_0x47df1a[_0x4aa30c([0x74,0x68,0x65,0x6e])](()=>{_0x1d369e||_0x1879b8(_0x4aa30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x745893(){return _0x3d320c[_0x4aa30c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa30c([0x76,0x69,0x65,0x77])][_0x4aa30c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4aa30c([0x61,0x75,0x74,0x6f]);}function _0x5d088e(){_0x3d320c[_0x4aa30c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa30c([0x76,0x69,0x65,0x77])][_0x4aa30c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4aa30c([0x61,0x75,0x74,0x6f]);}}(_0x25aa2d[_0x4aa30c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25aa2d[_0x4aa30c([0x6a,0x74,0x69])]));const _0xad012b=await(async function(){let _0x1fc924=!0x0;try{const _0x4b798d=_0x175f9c[_0x4aa30c([0x73,0x70,0x6c,0x69,0x74])](_0x4aa30c([0x2e])),[_0x888055,_0x5ba92a,_0x381823]=_0x4b798d;return _0x4b8a0a(_0x888055),await _0x349030(_0x888055,_0x5ba92a,_0x381823),_0x1fc924;}catch(_0x110816){return!0x1;}function _0x4b8a0a(_0x43ed4a){const _0x2200d2=_0x5af9ee(_0x43ed4a);_0x2200d2&&_0x2200d2[_0x4aa30c([0x61,0x6c,0x67])]==_0x4aa30c([0x45,0x53,0x32,0x35,0x36])||(_0x1fc924=!0x1);}async function _0x349030(_0x5b72b4,_0x1835f8,_0x494a38){const _0x4a4ada=window[_0x4aa30c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4aa30c([0x66,0x72,0x6f,0x6d])](_0x201b5f(_0x494a38),_0x3f22b5=>_0x3f22b5[_0x4aa30c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46eccb=new window[(_0x4aa30c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4aa30c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b72b4+_0x4aa30c([0x2e])+_0x1835f8),_0x3793bf=window[_0x4aa30c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4aa30c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3793bf)return;const _0x202cf2=await _0x3793bf[_0x4aa30c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4aa30c([0x6a,0x77,0x6b]),_0x275114,{[_0x4aa30c([0x6e,0x61,0x6d,0x65])]:_0x4aa30c([0x45,0x43,0x44,0x53,0x41]),[_0x4aa30c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4aa30c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4aa30c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3793bf[_0x4aa30c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4aa30c([0x6e,0x61,0x6d,0x65])]:_0x4aa30c([0x45,0x43,0x44,0x53,0x41]),[_0x4aa30c([0x68,0x61,0x73,0x68])]:{[_0x4aa30c([0x6e,0x61,0x6d,0x65])]:_0x4aa30c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x202cf2,_0x4a4ada,_0x46eccb)||(_0x1fc924=!0x1);}}());return _0xad012b?(function(){const _0x2b2dc7=_0x25aa2d[_0x4aa30c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2b2dc7)return!0x1;if(_0x2b2dc7[_0x4aa30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa30c([0x2a])))return!0x0;if(_0x2b2dc7[_0x4aa30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa30c([0x54,0x4f,0x43])))return!0x0;if(_0x2b2dc7[_0x4aa30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa30c([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x3bba81=[_0x4aa30c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4aa30c([0x74,0x72,0x69,0x61,0x6c])][_0x4aa30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25aa2d[_0x4aa30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8100e/0x3e8:0x67b67080;return _0x25aa2d[_0x4aa30c([0x65,0x78,0x70])]<_0x3bba81;}())?_0x4aa30c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1878fb=_0x25aa2d[_0x4aa30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1878fb||0x0==_0x1878fb[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14cb5d}=new URL(window[_0x4aa30c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1878fb[_0x4aa30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cb5d))return!0x0;const _0x3d27e9=_0x14cb5d[_0x4aa30c([0x73,0x70,0x6c,0x69,0x74])](_0x4aa30c([0x2e]));return _0x1878fb[_0x4aa30c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d76ea=>_0x2d76ea[_0x4aa30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa30c([0x2a])))[_0x4aa30c([0x6d,0x61,0x70])](_0x257f76=>_0x257f76[_0x4aa30c([0x73,0x70,0x6c,0x69,0x74])](_0x4aa30c([0x2e])))[_0x4aa30c([0x73,0x6f,0x6d,0x65])](_0x24cc01=>_0x3d27e9[_0x4aa30c([0x65,0x76,0x65,0x72,0x79])]((_0x5153e8,_0x4729b1)=>_0x24cc01[_0x4729b1]===_0x5153e8||_0x24cc01[_0x4729b1]===_0x4aa30c([0x2a])));}())?(_0x25aa2d[_0x4aa30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa30c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22a45e=_0x3634de(_0x4aa30c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25aa2d[_0x4aa30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa30c([0x74,0x72,0x69,0x61,0x6c])&&(_0x22a45e=_0x3634de(_0x4aa30c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x22a45e&&_0x25f901)return new window[(_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3842e9,_0x102793)=>{_0x22a45e[_0x4aa30c([0x74,0x68,0x65,0x6e])](_0x3842e9,_0x102793),_0x25f901[_0x4aa30c([0x74,0x68,0x65,0x6e])](_0x5c27a2=>{_0x5c27a2!=_0x4aa30c([0x56,0x61,0x6c,0x69,0x64])&&_0x3842e9(_0x5c27a2);},_0x102793);});return _0x22a45e||_0x25f901||_0x4aa30c([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4aa30c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa30c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4aa30c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2afa58){return _0x4aa30c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3634de(_0x1d2ce4){const _0xd0db3a=new window[(_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f3188=>setTimeout(_0x4f3188,0x93ecc)),_0x43289b=_0x47df1a[_0x4aa30c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1853e8=>{let _0x383a58=0x0;_0x3d320c[_0x4aa30c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa30c([0x6f,0x6e])](_0x4aa30c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27c6f8,_0x155d39)=>{_0x155d39[0x0][_0x4aa30c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x383a58++,0x1f8==_0x383a58&&(_0x1853e8(),_0x27c6f8[_0x4aa30c([0x6f,0x66,0x66])]());});})),_0x20a63c=[_0xd0db3a,_0x43289b];return window[_0x4aa30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4aa30c([0x72,0x61,0x63,0x65])](_0x20a63c)[_0x4aa30c([0x74,0x68,0x65,0x6e])](()=>_0x1d2ce4);}function _0x5af9ee(_0x3f2488){return _0x3f2488[_0x4aa30c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4aa30c([0x65,0x79]))?JSON[_0x4aa30c([0x70,0x61,0x72,0x73,0x65])](_0x201b5f(_0x3f2488)):null;}function _0x201b5f(_0x1490d8){return window[_0x4aa30c([0x61,0x74,0x6f,0x62])](_0x1490d8[_0x4aa30c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4aa30c([0x2b]))[_0x4aa30c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4aa30c([0x2f])));}function _0x3fa410(_0x376180){let _0x16574c=0x1505;function _0x55a542(_0x45cb51){for(let _0x5619c0=0x0;_0x5619c0<_0x45cb51[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5619c0++){const _0x100222=_0x45cb51[_0x4aa30c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5619c0);_0x16574c=(_0x16574c<<0x5)+_0x16574c+_0x100222,_0x16574c&=_0x16574c;}}return function _0xd76862(_0x3be6c9){Array[_0x4aa30c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3be6c9)?_0x3be6c9[_0x4aa30c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd76862):_0x3be6c9&&typeof _0x3be6c9==_0x4aa30c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4aa30c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3be6c9)[_0x4aa30c([0x73,0x6f,0x72,0x74])]()[_0x4aa30c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x603fa2,_0x407b6c])=>{_0x55a542(_0x603fa2),_0xd76862(_0x407b6c);}):_0x55a542(window[_0x4aa30c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3be6c9));}(_0x376180),_0x16574c>>>0x0;}function _0x29a726(_0x31b6c2){return _0x31b6c2[_0x4aa30c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4aa30c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4aa30c([0x30]));}function _0x358a14(_0x3f5439){return _0x3f5439[_0x4aa30c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4aa30c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4aa30c([0x6a,0x6f,0x69,0x6e])]('');}function _0x26da49(){}function _0x4aa30c(_0x2e43f6){return _0x2e43f6['map'](_0x4a8484=>String['fromCharCode'](_0x4a8484))['join']('');}!function(_0x20eec2){const _0x10e90d=(function(){const _0x28d05d=window[_0x4aa30c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4aa30c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4aa30c([0x6e,0x6f,0x77])]())[_0x4aa30c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4aa30c([0x2e]),'');let _0xee10bf=_0x4aa30c([0x4e]);for(let _0x51e282=0x0;_0x51e282<_0x28d05d[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51e282+=0x2){let _0x109ece=window[_0x4aa30c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28d05d[_0x4aa30c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51e282,_0x51e282+0x2));_0x109ece>=_0x47e927[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x109ece-=_0x47e927[_0x4aa30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xee10bf+=_0x47e927[_0x109ece];}return _0xee10bf;}());_0x3d320c[_0x10e90d]=_0x4aa30c([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20eec2,_0x20eec2!=_0x4aa30c([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x47df1a,_0x3d320c[_0x4aa30c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa30c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26da49,_0x3d320c[_0x4aa30c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa30c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26da49,_0x3d320c[_0x4aa30c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4aa30c([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5ecf76);}class TableOfContentsUI extends Plugin{static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27d682=this['editor'];_0x27d682['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x1f4e88=this['_createButton'](ButtonView);return _0x1f4e88['tooltip']=!0x0,_0x1f4e88;}),_0x27d682['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](MenuBarMenuListItemButtonView)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a3126=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x359911;for(const _0x4c74ed in _0x2a3126){const _0x322f07=_0x4c74ed,_0xbb770f=_0x2a3126[_0x322f07];if('tableOfContentsLicenseKeyValid'==_0xbb770f||'tableOfContentsLicenseKeyInvalid'==_0xbb770f||'tableOfContentsLicenseKeyExpired'==_0xbb770f||'tableOfContentsLicenseKeyDomainLimit'==_0xbb770f||'tableOfContentsLicenseKeyNotAllowed'==_0xbb770f||'tableOfContentsLicenseKeyEvaluationLimit'==_0xbb770f||'tableOfContentsLicenseKeyTrialLimit'==_0xbb770f||'tableOfContentsLicenseKeyUsageLimit'==_0xbb770f){delete _0x2a3126[_0x322f07],_0x359911=_0xbb770f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x359911&&_0x2a3126['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x359911&&_0x2a3126['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x359911&&_0x2a3126['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x359911&&_0x2a3126['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x359911&&_0x2a3126['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x359911&&_0x2a3126['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x359911&&_0x2a3126['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4c1383){const _0x1cc2c3=this['editor'],_0x4274a9=_0x1cc2c3['locale'],_0x1b8ca1=_0x1cc2c3['commands']['get']('insertTableOfContents'),_0x241f66=new _0x4c1383(_0x4274a9);return _0x241f66['set']({'label':getTranslation$e(_0x4274a9,'Table\x20of\x20contents'),'icon':icons['tableOfContents']}),_0x241f66['bind']('isEnabled')['to'](_0x1b8ca1,'isEnabled'),this['listenTo'](_0x241f66,'execute',()=>{_0x1cc2c3['execute']('insertTableOfContents'),_0x1cc2c3['editing']['view']['focus']();}),_0x241f66;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends Plugin{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$d(_0x2b3ca5,_0xaa2999){const t=_0x2b3ca5['t'];switch(_0xaa2999){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0xaa2999;}}const PRODUCTION_URL$1='https://pdf-converter.cke-cs.com/v1/convert/';class ExportPdfCommand extends _0xa280c5{constructor(_0x571ca5){super(_0x571ca5),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x49861e={}){const _0x31f6c4=this['editor'],_0x385faf=_0x49861e['converterUrl']||PRODUCTION_URL$1,_0x4d964e=_0x49861e['dataCallback']||(_0x2911f1=>_0x2911f1['data']['get']()),_0x3c6f99=_0x31f6c4['plugins']['get']('ExportPdf'),_0x1bc271=_0x49861e['token']||_0x3c6f99['_token'];return this['isBusy']=!0x0,this['refresh'](),collectStylesheets(_0x49861e['stylesheets']||['EDITOR_STYLES'])['then'](async _0x188144=>{if(_0x31f6c4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x31f6c4['locale'],'PDF\x20export\x20started')),_0x31f6c4['plugins']['has']('MergeFields')){_0x49861e['converterOptions']||(_0x49861e['converterOptions']={});const _0x2eafe5=_0x31f6c4['plugins']['get']('MergeFieldsEditing'),_0x249514=_0x2eafe5['previewMode'],{prefix:_0x45cfee,suffix:_0x3cc4d9}=_0x31f6c4['config']['get']('mergeFields'),_0x5a3469='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x59c623={'prefix':_0x45cfee,'suffix':_0x3cc4d9,'data':{}};if('$labels'===_0x249514){for(const _0x37e7f4 of _0x2eafe5['getMergeFieldsIds']())'image'===_0x2eafe5['getMergeFieldType'](_0x37e7f4)?_0x59c623['data'][_0x37e7f4]=_0x5a3469:_0x59c623['data'][_0x37e7f4]=_0x2eafe5['wrapInAffixes'](_0x2eafe5['getLabel'](_0x37e7f4)||_0x37e7f4);}else{const _0x1e568d='$defaultValues'===_0x249514?_0x2eafe5['getDefaultValues']():_0x2eafe5['getDataSetValues'](_0x249514,!0x0);for(const _0x40167c of Object['entries'](_0x1e568d)){const [_0x4a1c86,_0x289ef7]=_0x40167c;'image'===_0x2eafe5['getMergeFieldType'](_0x4a1c86)?_0x59c623['data'][_0x4a1c86]=null!==_0x289ef7?_0x289ef7:_0x5a3469:_0x59c623['data'][_0x4a1c86]=null!==_0x289ef7?_0x289ef7:_0x2eafe5['getLabel'](_0x4a1c86)||_0x4a1c86;}}_0x49861e['converterOptions']['merge_fields']=_0x59c623;}const _0x1da24f={'html':'<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x31f6c4['locale']['contentLanguageDirection']+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x4d964e(_0x31f6c4)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','css':_0x188144,'options':_0x49861e['converterOptions']},_0x1898b2={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x1bc271?{'Authorization':_0x1bc271['value']}:null,'x-cs-app-id':_0x49861e['appID']||'cke5'},'body':JSON['stringify'](_0x1da24f)};return window['fetch'](_0x385faf,_0x1898b2)['then'](_0x241407=>{if(0xc8!==_0x241407['status'])throw _0x241407;return _0x241407['blob']();})['then'](_0x468949=>{_0x31f6c4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x31f6c4['locale'],'PDF\x20export\x20successful'));const _0x180d39='function'==typeof _0x49861e['fileName']?_0x49861e['fileName']():_0x49861e['fileName'];this['_downloadFile'](_0x468949,_0x180d39||'document.pdf');});})['catch'](_0x426f98=>{const _0x3f6743=_0x31f6c4['plugins']['get']('Notification');throw _0x31f6c4['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x31f6c4['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x3f6743['showWarning'](getTranslation$d(_0x31f6c4['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x426f98;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x19966e,_0x463d0c){const _0x18544f=document['createElement']('a');_0x18544f['href']=window['URL']['createObjectURL'](_0x19966e),_0x18544f['download']=_0x463d0c,_0x18544f['click'](),_0x18544f['remove']();}}var exportPdfIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M19\x204.5\x2014\x200H3v6.5h1.5v-5h8v5h5V11H19V4.5ZM14\x202l3.3\x203H14V2Z\x22/><path\x20d=\x22m12.452\x2018.5\x201.25\x201.5H3v-3h1.5v1.5h7.952Z\x22/><path\x20d=\x22M19.826\x2016.843a.75.75\x200\x201\x200-1.152-.96L17.5\x2017.29V13H16v4.29l-1.174-1.408a.75.75\x200\x201\x200-1.152.96l2.346\x202.816a.95.95\x200\x200\x200\x201.46\x200l2.346-2.815Z\x22/><path\x20d=\x22M1.63\x2014.24V12.3h.88c.66\x200\x201.14-.15\x201.46-.45.32-.3.48-.71.48-1.24\x200-.52-.15-.91-.44-1.2C3.7\x209.15\x203.28\x209\x202.69\x209H0v5.24h1.63Zm.4-3h-.4v-1.17h.46c.3\x200\x20.5.05.62.17.1.11.16.25.16.42\x200\x20.16-.06.3-.19.41-.13.11-.34.16-.66.16l.01.01Zm5.7\x203c.28\x200\x20.6-.05.96-.14.26-.07.5-.21.73-.42.22-.2.4-.47.53-.77.12-.31.19-.75.19-1.3\x200-.37-.04-.7-.13-1.02a2.3\x202.3\x200\x200\x200-.42-.84c-.19-.24-.43-.43-.72-.56C8.57\x209.06\x208.2\x209\x207.72\x209h-2.4v5.24H7.73Zm-.4-1.19h-.4v-2.86h.4c.43\x200\x20.73.1.91.3.18.2.27.59.27\x201.14\x200\x20.42-.04.73-.12.91a.76.76\x200\x200\x201-.34.4c-.14.07-.38.11-.72.11Zm5.3\x201.2V12.1h2.02v-1.06h-2.03v-.91H15V9h-4v5.24h1.62l.01.01Z\x22/></svg>\x0a';class ExportPdfUI extends Plugin{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33546f=this['editor'];_0x33546f['ui']['componentFactory']['add']('exportPdf',()=>{const _0xe73698=this['_createButton'](ButtonView),_0x46b110=_0x33546f['commands']['get']('exportPdf');return _0xe73698['set']({'tooltip':!0x0}),_0xe73698['bind']('isOn')['to'](_0x46b110,'isBusy'),_0xe73698;}),_0x33546f['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](MenuBarMenuListItemButtonView));}['_createButton'](_0x3cb24d){const _0x15eefb=this['editor'],_0x44724d=_0x15eefb['config']['get']('exportPdf')||{},_0x22c3f1=_0x15eefb['commands']['get']('exportPdf'),_0x37b936=new _0x3cb24d(_0x15eefb['locale']),_0x33d8ba=new SpinnerView();return _0x37b936['children']['add'](_0x33d8ba),_0x33d8ba['bind']('isVisible')['to'](_0x22c3f1,'isBusy'),_0x37b936['iconView']['bind']('isVisible')['to'](_0x22c3f1,'isBusy',_0x2ae6f4=>!_0x2ae6f4),_0x37b936['set']({'icon':exportPdfIcon}),_0x37b936['bind']('isEnabled')['to'](_0x22c3f1,'isEnabled'),_0x37b936['bind']('label')['to'](_0x22c3f1,'isBusy',_0x2a88ba=>getTranslation$d(_0x15eefb['locale'],_0x2a88ba?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x37b936,'execute',()=>{_0x15eefb['execute']('exportPdf',_0x44724d),_0x15eefb['editing']['view']['focus']();}),_0x37b936;}}class ExportPdf extends Plugin{static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',Notification,ExportPdfUI];}['init'](){const _0x8dd448=this['editor'],_0xdd48e=_0x8dd448['config']['get']('exportPdf')||{};_0x8dd448['commands']['add']('exportPdf',new ExportPdfCommand(_0x8dd448));const _0x1bb41d=_0x8dd448['plugins']['get']('CloudServices');!0x1===_0xdd48e['tokenUrl']?this['_token']=null:_0xdd48e['tokenUrl']?_0x1bb41d['registerTokenUrl'](_0xdd48e['tokenUrl'])['then'](_0x54fb20=>{this['_token']=_0x54fb20;}):this['_token']=_0x1bb41d['token'];}}function getConverterOptions(_0x3a317d,_0x17e0f0={}){const _0x583b7c=_0x3a317d['plugins']['has']('Users'),_0x42669c=_0x3a317d['plugins']['has']('CommentsRepository'),_0x2ae6ac=_0x3a317d['plugins']['has']('TrackChanges'),_0x471b72=_0x17e0f0;if(_0x583b7c&&_0x42669c){const _0x4649ae=getComments(_0x3a317d['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x4649ae)['length']&&(_0x471b72['comments']=_0x4649ae);}if(_0x583b7c&&_0x2ae6ac){const _0x1e218e=_0x3a317d['plugins']['get']('TrackChanges'),_0x250848=_0x3a317d['plugins']['get']('Users'),_0x26a20f=getSuggestions(_0x1e218e['getSuggestions']({'toJSON':!0x0}),_0x250848['users']);Object['keys'](_0x26a20f)['length']&&(_0x471b72['suggestions']=_0x26a20f);}return(_0x471b72['suggestions']||_0x471b72['comments'])&&(_0x471b72['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x471b72;}function getComments(_0x1534f6){const _0x2fcb36={};if(!_0x1534f6['length'])return _0x2fcb36;for(const _0x2a2d26 of _0x1534f6)_0x2a2d26['comments']['map'](_0x5c0e01=>{void 0x0===_0x2fcb36[_0x2a2d26['id']]&&(_0x2fcb36[_0x2a2d26['id']]=[]),_0x2fcb36[_0x2a2d26['id']]['push']({'author':_0x5c0e01['author']['name'],'content':_0x5c0e01['content'],'created':_0x5c0e01['createdAt'],'is_resolved':_0x2a2d26['isResolved']});});return _0x2fcb36;}function getSuggestions(_0x35d3ab,_0x497131){const _0x41ef0b={};if(!_0x35d3ab['length']||!_0x497131['length'])return _0x41ef0b;for(const {id:_0x152c0c,createdAt:_0x4b51db,authorId:_0x5d5f99,attributes:_0x11c3b2}of _0x35d3ab){const _0x4f2781=_0x11c3b2&&_0x11c3b2['@external'],_0x5b3a78=_0x4f2781?_0x4f2781['authorName']:_0x497131['get'](_0x5d5f99)['name'];_0x41ef0b[_0x152c0c]={'author':_0x5b3a78,'created':_0x4b51db};}return _0x41ef0b;}function getConverterOptionsV2(_0x53c6df,_0x5666af={}){const _0xfb3213=_0x53c6df['plugins']['has']('Users'),_0x4c794a=_0x53c6df['plugins']['has']('CommentsRepository'),_0x1e9a1b=_0x53c6df['plugins']['has']('TrackChanges'),_0x9b351c=_0x53c6df['plugins']['has']('MergeFields'),_0x5464b7=_0x53c6df['locale']['contentLanguage'],_0x20e85e=_0x5666af,_0x5d0b81={};if(_0x20e85e['document']=_0x20e85e['document']||{},_0x20e85e['document']['language']=_0x20e85e['document']['language']||_0x5464b7,_0xfb3213&&_0x4c794a){const _0x3bdd8e=getCommentsV2(_0x53c6df['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3bdd8e['length']&&(_0x5d0b81['comment_threads']=_0x3bdd8e);}if(_0xfb3213&&_0x1e9a1b){const _0x52ea0b=_0x53c6df['plugins']['get']('TrackChanges'),_0x31398a=_0x53c6df['plugins']['get']('Users'),_0x1e8119=getSuggestionsV2(_0x52ea0b['getSuggestions']({'toJSON':!0x0}),_0x31398a['users']);_0x1e8119['length']&&(_0x5d0b81['suggestions']=_0x1e8119);}if(_0x9b351c){const _0x1c488a=_0x53c6df['plugins']['get']('MergeFieldsEditing'),_0xb84264=_0x1c488a['previewMode'],{prefix:_0x505a8f,suffix:_0x347868}=_0x53c6df['config']['get']('mergeFields');if(_0x20e85e['merge_fields']={'prefix':_0x505a8f,'suffix':_0x347868},'$labels'!==_0xb84264){_0x20e85e['merge_fields']['data']={};const _0x35e18e='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x432975='$defaultValues'===_0xb84264?_0x1c488a['getDefaultValues']():_0x1c488a['getDataSetValues'](_0xb84264,!0x0);for(const _0x3f96f9 of Object['entries'](_0x432975)){const [_0xa13668,_0x480346]=_0x3f96f9;'image'===_0x1c488a['getMergeFieldType'](_0xa13668)?_0x20e85e['merge_fields']['data'][_0xa13668]=null!==_0x480346?_0x480346:_0x35e18e:_0x20e85e['merge_fields']['data'][_0xa13668]=null!==_0x480346?_0x480346:_0x1c488a['getLabel'](_0xa13668)||_0xa13668;}}}return(_0x5d0b81['comment_threads']||_0x5d0b81['suggestions'])&&(_0x20e85e['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x20e85e['collaboration_features']=_0x5d0b81),_0x20e85e;}function getCommentsV2(_0x2c7a08){const _0x13f604=[];if(!_0x2c7a08['length'])return _0x13f604;for(const _0x4953c3 of _0x2c7a08){const _0x2d264c=_0x4953c3['comments']['map'](_0x2100cd=>({'author':_0x2100cd['author']['name'],'content':_0x2100cd['content'],'created_at':_0x2100cd['createdAt']}));_0x13f604['push']({'thread_id':_0x4953c3['id'],'is_resolved':_0x4953c3['isResolved'],'comments':_0x2d264c});}return _0x13f604;}function getSuggestionsV2(_0x4ea2ee,_0x3a3472){return _0x4ea2ee['length']&&_0x3a3472['length']?_0x4ea2ee['map'](({id:_0x46d09c,createdAt:_0x262f11,authorId:_0x220426,attributes:_0x39d6f5})=>{const _0x60cce1=_0x39d6f5&&_0x39d6f5['@external'];return{'id':_0x46d09c,'author':_0x60cce1?_0x60cce1['authorName']:_0x3a3472['get'](_0x220426)['name'],'created_at':_0x262f11};}):[];}function getTranslation$c(_0x95eb53,_0x21c29b){const t=_0x95eb53['t'];switch(_0x21c29b){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x21c29b;}}const PRODUCTION_URL='https://docx-converter.cke-cs.com/v1/convert',PRODUCTION_URL_V2='https://docx-converter.cke-cs.com/v2/convert/html-docx',firstVersionApiKeys=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0xa280c5{constructor(_0x228837){super(_0x228837),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x395b17={}){const _0xf20ae8=this['editor'],_0x2a1e32=_0x395b17['version']||0x2,_0x351059=0x1===_0x2a1e32,_0x4152cd=_0x395b17['converterUrl']||(_0x351059?PRODUCTION_URL:PRODUCTION_URL_V2),_0x2ab557=_0x395b17['converterOptions']||{},_0x3722f3=_0xf20ae8['plugins']['get']('ExportWord'),_0x139e8=_0x395b17['token']||_0x3722f3['_token'],_0x7d44d7=!0x0===_0x2ab557['auto_pagination'],_0x332c26=_0x395b17['dataCallback']||(_0xa61615=>_0xa61615['data']['get']({'pagination':_0x7d44d7}));return 0x2===_0x2a1e32&&isV1ApiUsed(_0x2ab557)&&logWarning('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),collectStylesheets(_0x395b17['stylesheets']||['EDITOR_STYLES'])['then'](async _0x1fe187=>{_0xf20ae8['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0xf20ae8['locale'],'Word\x20document\x20export\x20started'));const _0x2b1cb9=await _0x332c26(_0xf20ae8),_0x23ce4d={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0xf20ae8['locale']['contentLanguageDirection']+'\x22>'+_0x2b1cb9+'</div>','css':_0x1fe187,[_0x351059?'options':'config']:{..._0x2ab557,..._0x351059?getConverterOptions(_0xf20ae8,_0x2ab557):getConverterOptionsV2(_0xf20ae8,_0x2ab557)}},_0x17708d={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x139e8?{'Authorization':_0x139e8['value']}:null},'body':JSON['stringify'](_0x23ce4d)};return window['fetch'](_0x4152cd,_0x17708d)['then'](_0x2fb5f9=>{if(0xc8!==_0x2fb5f9['status'])throw _0x2fb5f9;return _0x2fb5f9['blob']();})['then'](_0x375324=>{_0xf20ae8['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0xf20ae8['locale'],'Word\x20document\x20export\x20successful'));const _0x159447='function'==typeof _0x395b17['fileName']?_0x395b17['fileName']():_0x395b17['fileName'];this['_downloadFile'](_0x375324,_0x159447||'document.docx');});})['catch'](_0x2f72d6=>{const _0x1118b4=_0xf20ae8['plugins']['get']('Notification');throw _0xf20ae8['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0xf20ae8['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x1118b4['showWarning'](getTranslation$c(_0xf20ae8['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x2f72d6;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x41c586,_0x38d3b7){const _0x5d7b48=document['createElement']('a');_0x5d7b48['href']=window['URL']['createObjectURL'](_0x41c586),_0x5d7b48['download']=_0x38d3b7,_0x5d7b48['click'](),_0x5d7b48['remove']();}}function isV1ApiUsed(_0x2006e1){for(const _0x122ebb of firstVersionApiKeys)if(void 0x0!==_0x2006e1[_0x122ebb])return!0x0;return!0x1;}var exportWordIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M17.826\x2016.843a.75.75\x200\x200\x200-1.152-.96L15.5\x2017.29V12H14v5.29l-1.174-1.408a.75.75\x200\x200\x200-1.152.96l2.346\x202.816a.95.95\x200\x200\x200\x201.46\x200l2.346-2.815Z\x22/><path\x20d=\x22m14\x200\x205\x204.5v9.741a2.737\x202.737\x200\x200\x200-1.5-.617V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M3\x2017.5h6.746c.1.22.23.429.391.623l.731.877H3v-1.5Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.6.6\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001Z\x22/></svg>\x0a';class ExportWordUI extends Plugin{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc30eb0=this['editor'];_0xc30eb0['ui']['componentFactory']['add']('exportWord',()=>{const _0xecd67e=_0xc30eb0['commands']['get']('exportWord'),_0x58b48f=this['_createButton'](ButtonView);return _0x58b48f['set']({'tooltip':!0x0}),_0x58b48f['bind']('isOn')['to'](_0xecd67e,'isBusy'),_0x58b48f;}),_0xc30eb0['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](MenuBarMenuListItemButtonView));}['_createButton'](_0x4ef989){const _0xc4df07=this['editor'],_0x82434=_0xc4df07['config']['get']('exportWord')||{},_0x2a17de=_0xc4df07['commands']['get']('exportWord'),_0x1402a7=new _0x4ef989(_0xc4df07['locale']),_0x1ab14a=new SpinnerView();return _0x1402a7['children']['add'](_0x1ab14a),_0x1ab14a['bind']('isVisible')['to'](_0x2a17de,'isBusy'),_0x1402a7['iconView']['bind']('isVisible')['to'](_0x2a17de,'isBusy',_0x205b5a=>!_0x205b5a),_0x1402a7['set']({'icon':exportWordIcon}),_0x1402a7['bind']('isEnabled')['to'](_0x2a17de,'isEnabled'),_0x1402a7['bind']('label')['to'](_0x2a17de,'isBusy',_0x590339=>getTranslation$c(_0xc4df07['locale'],_0x590339?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x1402a7,'execute',()=>{_0xc4df07['execute']('exportWord',_0x82434),_0xc4df07['editing']['view']['focus']();}),_0x1402a7;}}class ExportWord extends Plugin{static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',Notification,ExportWordUI];}['init'](){const _0x3b0ad4=this['editor'],_0x2c19df=_0x3b0ad4['config']['get']('exportWord')||{};_0x3b0ad4['commands']['add']('exportWord',new ExportWordCommand(_0x3b0ad4));const _0x36a878=_0x3b0ad4['plugins']['get']('CloudServices');!0x1===_0x2c19df['tokenUrl']?this['_token']=null:_0x2c19df['tokenUrl']?_0x36a878['registerTokenUrl'](_0x2c19df['tokenUrl'])['then'](_0xd99047=>{this['_token']=_0xd99047;}):this['_token']=_0x36a878['token'];}}const COPY_FORMAT_COMMAND_NAME='copyFormat',PASTE_FORMAT_COMMAND_NAME='pasteFormat',CURSOR_ACTIVE_CSS_CLASS='ck-format-painter-active';class CopyFormatCommand extends _0xa280c5{constructor(_0x214c91){super(_0x214c91),this['value']=void 0x0,this['on']('change:isEnabled',(_0x22325c,_0x19de11,_0x1144bd)=>{_0x1144bd||this['reset']();}),this['on']('change:value',()=>_0x214c91['commands']['get'](PASTE_FORMAT_COMMAND_NAME)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0xce8215=this['editor']['model'],_0x8a60db=_0xce8215['document']['selection'];return Object['fromEntries'](Array['from'](_0x8a60db['getAttributes']())['filter'](([_0x146c9c])=>_0xce8215['schema']['getAttributeProperties'](_0x146c9c)['isFormatting']));}}class PasteFormatCommand extends _0xa280c5{constructor(_0x235dbc){super(_0x235dbc),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x235dbc);}['execute'](_0x369814={}){const _0x4f6f02=this['editor']['model'],_0x44b94b=_0x4f6f02['document']['selection'],_0x3b0a8a=Array['from'](_0x44b94b['getRanges']()),_0x32d1c5=_0x44b94b['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4f6f02,_0x44b94b)]:_0x3b0a8a;_0x4f6f02['change'](_0x282553=>{_0x282553['setSelection'](_0x32d1c5),this['_removeFormatCommand']['execute']();for(const _0x4e950e in _0x369814)for(const _0x2eda33 of _0x4f6f02['schema']['getValidRanges'](_0x32d1c5,_0x4e950e))_0x282553['setAttribute'](_0x4e950e,_0x369814[_0x4e950e],_0x2eda33);_0x282553['setSelection'](_0x3b0a8a);});}['_createRangeOnEntireWord'](_0x1c885b,_0x4945fd){const _0x35dd5f=_0x1c885b['createSelection'](_0x4945fd);_0x1c885b['modifySelection'](_0x35dd5f,{'unit':'word','direction':'backward'});const _0x5969ea=_0x35dd5f['getFirstPosition']();_0x1c885b['modifySelection'](_0x35dd5f,{'unit':'word','direction':'forward'});const _0x4235a8=_0x35dd5f['getLastPosition']();return _0x1c885b['createRange'](_0x5969ea,_0x4235a8);}}class RemoveFormatCommandAlias extends _0xa280c5{['execute'](){const _0x488a15=this['editor']['model'],_0x4e06d6=_0x488a15['schema'];_0x488a15['change'](_0xf06ea4=>{for(const _0x11431e of this['_getFormattingItems'](_0x488a15['document']['selection'],_0x4e06d6))if(_0x11431e['is']('selection')){for(const _0x4a9f03 of this['_getFormattingAttributes'](_0x11431e,_0x4e06d6))_0xf06ea4['removeSelectionAttribute'](_0x4a9f03);}else{const _0x6fdac9=_0xf06ea4['createRangeOn'](_0x11431e);for(const _0xd76d4a of this['_getFormattingAttributes'](_0x11431e,_0x4e06d6))_0xf06ea4['removeAttribute'](_0xd76d4a,_0x6fdac9);}});}*['_getFormattingItems'](_0x22ad5e,_0x2f4317){const _0x372892=_0x34feb1=>!!first(this['_getFormattingAttributes'](_0x34feb1,_0x2f4317));for(const _0x2e5647 of _0x22ad5e['getRanges']())for(const _0x54fd7a of _0x2e5647['getItems']())!_0x2f4317['isBlock'](_0x54fd7a)&&_0x372892(_0x54fd7a)&&(yield _0x54fd7a);for(const _0x3bf692 of _0x22ad5e['getSelectedBlocks']())_0x372892(_0x3bf692)&&(yield _0x3bf692);_0x372892(_0x22ad5e)&&(yield _0x22ad5e);}*['_getFormattingAttributes'](_0x41c155,_0x501d6e){for(const [_0x30b579]of _0x41c155['getAttributes']()){const _0x24a44a=_0x501d6e['getAttributeProperties'](_0x30b579);_0x24a44a&&_0x24a44a['isFormatting']&&(yield _0x30b579);}}}class FormatPainterEditing extends Plugin{static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3f905a=this['editor'];_0x3f905a['commands']['add'](COPY_FORMAT_COMMAND_NAME,new CopyFormatCommand(_0x3f905a)),_0x3f905a['commands']['add'](PASTE_FORMAT_COMMAND_NAME,new PasteFormatCommand(_0x3f905a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5967d7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x38ad88;for(const _0xd8b124 in _0x5967d7){const _0x591aba=_0xd8b124,_0x21d2b7=_0x5967d7[_0x591aba];if('formatPainterLicenseKeyValid'==_0x21d2b7||'formatPainterLicenseKeyInvalid'==_0x21d2b7||'formatPainterLicenseKeyExpired'==_0x21d2b7||'formatPainterLicenseKeyDomainLimit'==_0x21d2b7||'formatPainterLicenseKeyNotAllowed'==_0x21d2b7||'formatPainterLicenseKeyEvaluationLimit'==_0x21d2b7||'formatPainterLicenseKeyTrialLimit'==_0x21d2b7||'formatPainterLicenseKeyUsageLimit'==_0x21d2b7){delete _0x5967d7[_0x591aba],_0x38ad88=_0x21d2b7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x38ad88&&_0x5967d7['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x38ad88&&_0x5967d7['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x38ad88&&_0x5967d7['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x38ad88&&_0x5967d7['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x38ad88&&_0x5967d7['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x38ad88&&_0x5967d7['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x38ad88&&_0x5967d7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x19eb58,_0x5450f9){const t=_0x19eb58['t'];switch(_0x5450f9){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x5450f9;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
DomEmitterMixin(Plugin){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x397c3a=this['editor'];_0x397c3a['editing']['view']['addObserver'](ClickObserver),_0x397c3a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x397c3a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x397c3a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x397c3a['ui']['componentFactory']['add']('formatPainter',_0x585021=>{const _0x2e72c4=createDropdown(_0x585021,SplitButtonView),_0x99ddc9=_0x397c3a['commands']['get'](COPY_FORMAT_COMMAND_NAME);_0x2e72c4['buttonView']['set']({'label':getTranslation$b(_0x397c3a['locale'],'Paint\x20formatting'),'icon':icons['paintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x2e72c4['class']='ck-format-painter-dropdown',_0x99ddc9&&(_0x2e72c4['bind']('isEnabled')['to'](_0x99ddc9,'isEnabled'),this['listenTo'](_0x99ddc9,'change:isEnabled',(_0x25f44a,_0x3c55f2,_0x5b7046)=>{_0x5b7046||this['_finishPainting']();}),_0x2e72c4['buttonView']['bind']('isOn')['to'](_0x99ddc9,'value',_0x2ab5cd=>!!_0x2ab5cd),this['listenTo'](_0x397c3a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x99ddc9,'change:value',(_0x3a73fb,_0x17ffaa,_0x3eb6bd)=>{this['_toggleSpecialCursor'](!!_0x3eb6bd);}));const _0x280b11=new ViewModel({'withText':!0x0,'label':getTranslation$b(_0x397c3a['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x397c3a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});addListToDropdown(_0x2e72c4,new Collection([{'type':'switchbutton','model':_0x280b11}]),{'role':'menu'});const _0xafffb=()=>{this['_copyFormatting'](),this['listenTo'](_0x25cc2c['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x280b11['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x2e72c4,'execute',()=>{_0x280b11['isOn']=!_0x280b11['isOn'];}),this['listenTo'](_0x2e72c4['buttonView'],'execute',()=>{_0x397c3a['editing']['view']['focus'](),_0x2e72c4['buttonView']['isOn']?this['_finishPainting']():_0xafffb();}),_0x397c3a['keystrokes']['set']('Ctrl+Alt+C',(_0x131098,_0x34899c)=>{_0xafffb(),_0x280b11['isOn']=!0x0,_0x34899c();},{'priority':'high'}),_0x397c3a['keystrokes']['set']('Ctrl+Alt+V',(_0x42e6bd,_0x27bb53)=>{_0x2e72c4['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x280b11['isOn']||this['_finishPainting'](),_0x27bb53());},{'priority':'high'}),_0x397c3a['keystrokes']['set']('Esc',(_0x3e8c4d,_0x50a9fb)=>{_0x2e72c4['buttonView']['isOn']&&(_0x280b11['isOn']=!0x1,this['_finishPainting'](),_0x50a9fb());}),_0x2e72c4;});}['afterInit'](){checkLicense$a(this);}['_toggleSpecialCursor'](_0x1769bc){this['editor']['editing']['view']['change'](_0x311f66=>{for(const _0x1487fd of this['editor']['editing']['view']['document']['roots'])_0x1769bc?_0x311f66['addClass'](CURSOR_ACTIVE_CSS_CLASS,_0x1487fd):_0x311f66['removeClass'](CURSOR_ACTIVE_CSS_CLASS,_0x1487fd);});}['_copyFormatting'](){const {editor:_0x3772da}=this;_0x3772da['execute'](COPY_FORMAT_COMMAND_NAME),_0x3772da['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x3772da['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x42add8}=this,_0x2990a2=_0x42add8['commands']['get'](COPY_FORMAT_COMMAND_NAME)['value'];_0x42add8['execute'](PASTE_FORMAT_COMMAND_NAME,_0x2990a2),_0x42add8['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x42add8['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](COPY_FORMAT_COMMAND_NAME)['reset'](),this['stopListening'](_0x25cc2c['window']['document'],'mouseup');}}async function checkLicense$a(_0x5dbd1a){const _0x2a79bf=_0xb19bb4([0x33,0x54,0x45,0x78,0x69,0x30,0x50,0x6d,0x5a,0x6a,0x42,0x67,0x4e,0x59,0x46,0x49,0x41,0x68,0x74,0x34,0x4d,0x75,0x36,0x32,0x47,0x66,0x52,0x56,0x71,0x55,0x39,0x4a,0x4c,0x76,0x53,0x31,0x44,0x70,0x58,0x72,0x51,0x7a,0x57,0x4f,0x35,0x6c,0x61,0x6f,0x4b,0x77,0x79,0x43,0x63,0x48,0x6b,0x64,0x65,0x73,0x37,0x6e,0x38,0x62]),_0x1fd856=window[_0xb19bb4([0x44,0x61,0x74,0x65])][_0xb19bb4([0x6e,0x6f,0x77])](),_0xf6f477=_0x5dbd1a[_0xb19bb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13d04f=new window[(_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41c76d=>{_0xf6f477[_0xb19bb4([0x6f,0x6e,0x63,0x65])](_0xb19bb4([0x72,0x65,0x61,0x64,0x79]),_0x41c76d);}),_0x138a40={[_0xb19bb4([0x6b,0x74,0x79])]:_0xb19bb4([0x45,0x43]),[_0xb19bb4([0x75,0x73,0x65])]:_0xb19bb4([0x73,0x69,0x67]),[_0xb19bb4([0x63,0x72,0x76])]:_0xb19bb4([0x50,0x2d,0x32,0x35,0x36]),[_0xb19bb4([0x78])]:_0xb19bb4([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]),[_0xb19bb4([0x79])]:_0xb19bb4([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]),[_0xb19bb4([0x61,0x6c,0x67])]:_0xb19bb4([0x45,0x53,0x32,0x35,0x36])},_0xd9ee97=_0xf6f477[_0xb19bb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb19bb4([0x67,0x65,0x74])](_0xb19bb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xb227ad=await(async function(){let _0x238dcd,_0x23967d=null,_0x3ce1a4=null;try{if(_0xd9ee97==_0xb19bb4([0x47,0x50,0x4c]))return _0xb19bb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x238dcd=(function(){const _0xbdd29c=_0xd9ee97[_0xb19bb4([0x73,0x70,0x6c,0x69,0x74])](_0xb19bb4([0x2e]));if(0x3!=_0xbdd29c[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x58ec6a=_0xbdd29c[0x1];return _0xa750a4(_0x58ec6a);function _0xa750a4(_0x35c931){const _0x26540d=_0x306860(_0x35c931);return _0x26540d&&_0x4dd63f()?_0x26540d:null;function _0x4dd63f(){const _0x9ac303=_0x26540d[_0xb19bb4([0x6a,0x74,0x69])],_0x9d6cf4=window[_0xb19bb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9ac303[_0xb19bb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9ac303[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd6f1d8={..._0x26540d,[_0xb19bb4([0x6a,0x74,0x69])]:_0x9ac303[_0xb19bb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9ac303[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd6f1d8[_0xb19bb4([0x76,0x63])],_0x13a23f(_0xd6f1d8)==_0x9d6cf4;}}}()),!_0x238dcd)return _0xb19bb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x238dcd[_0xb19bb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ce1a4=function(_0x42fcb1,_0x4302d0){return new window[(_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x445ebf=>{if(_0x16da75())return _0x445ebf(_0xb19bb4([0x56,0x61,0x6c,0x69,0x64]));_0x8b7d55(),_0xf6f477[_0xb19bb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb19bb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42dd90=!0x1;const _0x592ed0=uid();function _0x16b2a7(_0x4c6d1c){return!!_0x4c6d1c&&(typeof _0x4c6d1c===_0xb19bb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c6d1c===_0xb19bb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c6d1c[_0xb19bb4([0x74,0x68,0x65,0x6e])]===_0xb19bb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c6d1c[_0xb19bb4([0x63,0x61,0x74,0x63,0x68])]===_0xb19bb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x272206(_0x25e940){_0x47ff28(_0x25e940)[_0xb19bb4([0x74,0x68,0x65,0x6e])](_0x2d0ee9=>{if(!_0x2d0ee9||_0x2d0ee9[_0xb19bb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb19bb4([0x6f,0x6b]))return _0xb19bb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x927a60(_0x13a23f(_0x592ed0+_0x4302d0))!=_0x2d0ee9[_0xb19bb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb19bb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb19bb4([0x56,0x61,0x6c,0x69,0x64]);})[_0xb19bb4([0x74,0x68,0x65,0x6e])](_0xf4cd25=>(_0x60a16(),_0xf4cd25),()=>{const _0xe3b9e9=_0x498d0a();return null==_0xe3b9e9?(_0x60a16(),_0xb19bb4([0x56,0x61,0x6c,0x69,0x64])):_0xb19bb4(_0x1fd856-_0xe3b9e9>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb19bb4([0x74,0x68,0x65,0x6e])](_0x445ebf)[_0xb19bb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x445ebf(_0xb19bb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2294f3=0x36ee80;function _0x60a16(){const _0x40ee2a=_0xb19bb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x927a60(_0x13a23f(_0x42fcb1)),_0x507d50=_0x4c01d3(_0x927a60(window[_0xb19bb4([0x4d,0x61,0x74,0x68])][_0xb19bb4([0x63,0x65,0x69,0x6c])](_0x1fd856/_0x2294f3)));window[_0xb19bb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb19bb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40ee2a,_0x507d50);}function _0x498d0a(){const _0x15553f=_0xb19bb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x927a60(_0x13a23f(_0x42fcb1)),_0x13e9f7=window[_0xb19bb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb19bb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15553f);return _0x13e9f7?window[_0xb19bb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c01d3(_0x13e9f7),0x10)*_0x2294f3:null;}function _0x47ff28(_0x85995d){return new window[(_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fa408,_0x9e3589)=>{_0x85995d[_0xb19bb4([0x74,0x68,0x65,0x6e])](_0x2fa408,_0x9e3589),window[_0xb19bb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9e3589,0x1d4c0);});}}_0xf6f477[_0xb19bb4([0x6f,0x6e])](_0xb19bb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1998b1,_0x5bdbfd)=>{if(_0x5bdbfd[0x0]!=_0x42fcb1)return _0x445ebf(_0xb19bb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bdbfd[0x1]={..._0x5bdbfd[0x1],[_0xb19bb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x592ed0};},{[_0xb19bb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb19bb4([0x68,0x69,0x67,0x68])}),_0xf6f477[_0xb19bb4([0x6f,0x6e])](_0xb19bb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e54f6=>{_0x16b2a7(_0x3e54f6[_0xb19bb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42dd90=!0x0,_0x272206(_0x3e54f6[_0xb19bb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb19bb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb19bb4([0x6c,0x6f,0x77])}),_0x13d04f[_0xb19bb4([0x74,0x68,0x65,0x6e])](()=>{_0x42dd90||_0x445ebf(_0xb19bb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16da75(){return _0xf6f477[_0xb19bb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb19bb4([0x76,0x69,0x65,0x77])][_0xb19bb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb19bb4([0x61,0x75,0x74,0x6f]);}function _0x8b7d55(){_0xf6f477[_0xb19bb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb19bb4([0x76,0x69,0x65,0x77])][_0xb19bb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb19bb4([0x61,0x75,0x74,0x6f]);}}(_0x238dcd[_0xb19bb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x238dcd[_0xb19bb4([0x6a,0x74,0x69])]));const _0x5639d4=await(async function(){let _0x51f04e=!0x0;try{const _0x47b936=_0xd9ee97[_0xb19bb4([0x73,0x70,0x6c,0x69,0x74])](_0xb19bb4([0x2e])),[_0x41c177,_0x5628af,_0x253af8]=_0x47b936;return _0x87d591(_0x41c177),await _0x19b09a(_0x41c177,_0x5628af,_0x253af8),_0x51f04e;}catch(_0xcab766){return!0x1;}function _0x87d591(_0x322bcc){const _0x425150=_0x306860(_0x322bcc);_0x425150&&_0x425150[_0xb19bb4([0x61,0x6c,0x67])]==_0xb19bb4([0x45,0x53,0x32,0x35,0x36])||(_0x51f04e=!0x1);}async function _0x19b09a(_0x11f8c0,_0x52593c,_0x5b867a){const _0x53a656=window[_0xb19bb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb19bb4([0x66,0x72,0x6f,0x6d])](_0x2811f1(_0x5b867a),_0x3ba002=>_0x3ba002[_0xb19bb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1340d0=new window[(_0xb19bb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb19bb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11f8c0+_0xb19bb4([0x2e])+_0x52593c),_0x55ed62=window[_0xb19bb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb19bb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55ed62)return;const _0x158a55=await _0x55ed62[_0xb19bb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb19bb4([0x6a,0x77,0x6b]),_0x138a40,{[_0xb19bb4([0x6e,0x61,0x6d,0x65])]:_0xb19bb4([0x45,0x43,0x44,0x53,0x41]),[_0xb19bb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb19bb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb19bb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55ed62[_0xb19bb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb19bb4([0x6e,0x61,0x6d,0x65])]:_0xb19bb4([0x45,0x43,0x44,0x53,0x41]),[_0xb19bb4([0x68,0x61,0x73,0x68])]:{[_0xb19bb4([0x6e,0x61,0x6d,0x65])]:_0xb19bb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x158a55,_0x53a656,_0x1340d0)||(_0x51f04e=!0x1);}}());return _0x5639d4?(function(){const _0x168d78=_0x238dcd[_0xb19bb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x168d78)return!0x1;if(_0x168d78[_0xb19bb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb19bb4([0x2a])))return!0x0;if(_0x168d78[_0xb19bb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb19bb4([0x46,0x50])))return!0x0;if(_0x168d78[_0xb19bb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb19bb4([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x1f2663=[_0xb19bb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb19bb4([0x74,0x72,0x69,0x61,0x6c])][_0xb19bb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238dcd[_0xb19bb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fd856/0x3e8:0x67b67080;return _0x238dcd[_0xb19bb4([0x65,0x78,0x70])]<_0x1f2663;}())?_0xb19bb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5af589=_0x238dcd[_0xb19bb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5af589||0x0==_0x5af589[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x286f50}=new URL(window[_0xb19bb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5af589[_0xb19bb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x286f50))return!0x0;const _0x23601f=_0x286f50[_0xb19bb4([0x73,0x70,0x6c,0x69,0x74])](_0xb19bb4([0x2e]));return _0x5af589[_0xb19bb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xafef01=>_0xafef01[_0xb19bb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb19bb4([0x2a])))[_0xb19bb4([0x6d,0x61,0x70])](_0x3a9486=>_0x3a9486[_0xb19bb4([0x73,0x70,0x6c,0x69,0x74])](_0xb19bb4([0x2e])))[_0xb19bb4([0x73,0x6f,0x6d,0x65])](_0x54025b=>_0x23601f[_0xb19bb4([0x65,0x76,0x65,0x72,0x79])]((_0x46b2aa,_0x14a361)=>_0x54025b[_0x14a361]===_0x46b2aa||_0x54025b[_0x14a361]===_0xb19bb4([0x2a])));}())?(_0x238dcd[_0xb19bb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb19bb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23967d=_0x2b5bc7(_0xb19bb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x238dcd[_0xb19bb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb19bb4([0x74,0x72,0x69,0x61,0x6c])&&(_0x23967d=_0x2b5bc7(_0xb19bb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x23967d&&_0x3ce1a4)return new window[(_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9348dc,_0x164bb5)=>{_0x23967d[_0xb19bb4([0x74,0x68,0x65,0x6e])](_0x9348dc,_0x164bb5),_0x3ce1a4[_0xb19bb4([0x74,0x68,0x65,0x6e])](_0x35e3b6=>{_0x35e3b6!=_0xb19bb4([0x56,0x61,0x6c,0x69,0x64])&&_0x9348dc(_0x35e3b6);},_0x164bb5);});return _0x23967d||_0x3ce1a4||_0xb19bb4([0x56,0x61,0x6c,0x69,0x64]);}())):_0xb19bb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb19bb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb19bb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5359d8){return _0xb19bb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2b5bc7(_0x4a96c0){const _0x10dfde=new window[(_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f5fac=>setTimeout(_0x4f5fac,0x93ecc)),_0x48f8c4=_0x13d04f[_0xb19bb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3242c8=>{let _0x4199a8=0x0;_0xf6f477[_0xb19bb4([0x6d,0x6f,0x64,0x65,0x6c])][_0xb19bb4([0x6f,0x6e])](_0xb19bb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x312c98,_0x3bdd12)=>{_0x3bdd12[0x0][_0xb19bb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4199a8++,0x1f8==_0x4199a8&&(_0x3242c8(),_0x312c98[_0xb19bb4([0x6f,0x66,0x66])]());});})),_0x542736=[_0x10dfde,_0x48f8c4];return window[_0xb19bb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb19bb4([0x72,0x61,0x63,0x65])](_0x542736)[_0xb19bb4([0x74,0x68,0x65,0x6e])](()=>_0x4a96c0);}function _0x306860(_0x37c27b){return _0x37c27b[_0xb19bb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb19bb4([0x65,0x79]))?JSON[_0xb19bb4([0x70,0x61,0x72,0x73,0x65])](_0x2811f1(_0x37c27b)):null;}function _0x2811f1(_0x3da3ab){return window[_0xb19bb4([0x61,0x74,0x6f,0x62])](_0x3da3ab[_0xb19bb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb19bb4([0x2b]))[_0xb19bb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb19bb4([0x2f])));}function _0x13a23f(_0x20ec55){let _0x3b1469=0x1505;function _0x3afee7(_0xef5884){for(let _0x2a19eb=0x0;_0x2a19eb<_0xef5884[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a19eb++){const _0x41dc93=_0xef5884[_0xb19bb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a19eb);_0x3b1469=(_0x3b1469<<0x5)+_0x3b1469+_0x41dc93,_0x3b1469&=_0x3b1469;}}return function _0x3bb46a(_0x31a2ef){Array[_0xb19bb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31a2ef)?_0x31a2ef[_0xb19bb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bb46a):_0x31a2ef&&typeof _0x31a2ef==_0xb19bb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb19bb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31a2ef)[_0xb19bb4([0x73,0x6f,0x72,0x74])]()[_0xb19bb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d6db3,_0x312e92])=>{_0x3afee7(_0x1d6db3),_0x3bb46a(_0x312e92);}):_0x3afee7(window[_0xb19bb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31a2ef));}(_0x20ec55),_0x3b1469>>>0x0;}function _0x927a60(_0x1ba94a){return _0x1ba94a[_0xb19bb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb19bb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb19bb4([0x30]));}function _0x4c01d3(_0x316e2a){return _0x316e2a[_0xb19bb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb19bb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb19bb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b8e7a(){}function _0xb19bb4(_0x326642){return _0x326642['map'](_0x30dcd6=>String['fromCharCode'](_0x30dcd6))['join']('');}!function(_0x901543){const _0x35fff4=(function(){const _0x1c05a5=window[_0xb19bb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb19bb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb19bb4([0x6e,0x6f,0x77])]())[_0xb19bb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb19bb4([0x2e]),'');let _0x13d16d=_0xb19bb4([0x54]);for(let _0x21f8df=0x0;_0x21f8df<_0x1c05a5[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21f8df+=0x2){let _0xfb4cb8=window[_0xb19bb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c05a5[_0xb19bb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21f8df,_0x21f8df+0x2));_0xfb4cb8>=_0x2a79bf[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xfb4cb8-=_0x2a79bf[_0xb19bb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13d16d+=_0x2a79bf[_0xfb4cb8];}return _0x13d16d;}());_0xf6f477[_0x35fff4]=_0xb19bb4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x901543,_0x901543!=_0xb19bb4([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x13d04f,_0xf6f477[_0xb19bb4([0x6d,0x6f,0x64,0x65,0x6c])][_0xb19bb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8e7a,_0xf6f477[_0xb19bb4([0x6d,0x6f,0x64,0x65,0x6c])][_0xb19bb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8e7a,_0xf6f477[_0xb19bb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb19bb4([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xb227ad);}class FormatPainter extends Plugin{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}var importWordIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a';function getTranslation$a(_0x305705,_0x5d2c16){const t=_0x305705['t'];switch(_0x5d2c16){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x5d2c16;}}class ImportWordUI extends Plugin{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c124d=this['editor'];_0x4c124d['ui']['componentFactory']['add']('importWord',()=>{const _0x5549a1=this['_createButton'](FileDialogButtonView),_0x245d61=_0x4c124d['commands']['get']('importWord');return _0x5549a1['bind']('isOn')['to'](_0x245d61,'isBusy'),_0x5549a1['tooltip']=!0x0,_0x5549a1;}),_0x4c124d['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](MenuBarMenuListItemFileDialogButtonView));}['_createButton'](_0x428afa){const _0x11ce26=this['editor'],_0x111894=_0x11ce26['commands']['get']('importWord'),_0x5a5eff=new _0x428afa(_0x11ce26['locale']),_0x58e98b=new SpinnerView();return _0x5a5eff['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x5a5eff['set']({'icon':importWordIcon}),_0x5a5eff['bind']('isEnabled')['to'](_0x111894),_0x5a5eff['bind']('label')['to'](_0x111894,'isBusy',_0x5e92dd=>getTranslation$a(_0x11ce26['locale'],_0x5e92dd?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x58e98b['bind']('isVisible')['to'](_0x111894,'isBusy'),_0x5a5eff['iconView']['bind']('isVisible')['to'](_0x111894,'isBusy',_0x2d814d=>!_0x2d814d),_0x5a5eff['children']['add'](_0x58e98b),_0x5a5eff['on']('done',(_0x27ae79,_0x52b541)=>{_0x11ce26['execute']('importWord',_0x52b541[0x0],{}),_0x11ce26['editing']['view']['focus']();}),_0x5a5eff;}}class ImportWordCommand extends _0xa280c5{constructor(_0x462762){super(_0x462762),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x13bea1,_0x1b2cb3)=>{const _0x1e848b=new DataTransfer();_0x1e848b['setData']('text/html',_0x1b2cb3['html']);const _0x31a5ad=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x26ac10=>{this['_importMarker']['stopListening'](),_0x26ac10['setSelection'](_0x31a5ad),_0x462762['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1e848b});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x510faa,_0x49dde1={}){if(this['isBusy'])return Promise['resolve']();const _0x385973=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3b10c8,suffix:_0x19b477}=this['editor']['config']['get']('mergeFields');_0x49dde1['merge_fields']={'prefix':_0x3b10c8,'suffix':_0x19b477};}const _0x14c389={'url':_0x385973['converterUrl'],'file':_0x510faa,'serviceConfig':{..._0x49dde1,'formatting':_0x385973['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x14c389)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x1a3be3=this['editor']['model'],_0x3c41b6=_0x1a3be3['schema'],_0x2aaf80=_0x1a3be3['document']['selection'],_0x40141f=first(_0x2aaf80['getSelectedBlocks']());return!!_0x40141f&&_0x3c41b6['checkChild'](_0x40141f['parent'],'paragraph');}['_prepareForImport'](){const _0x8660e8=this['editor'],_0xf0fe20=_0x8660e8['model'],_0x159099=_0xf0fe20['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x8660e8['model']['createBatch']({'isUndoable':!0x0}),_0xf0fe20['enqueueChange'](this['_undoStepBatch'],_0x1bad94=>{_0x159099['isCollapsed']||_0xf0fe20['deleteContent'](_0x159099,{'leaveUnmerged':!0x0});const _0x645f75=_0x159099['getFirstPosition'](),_0x54220e=first(_0x159099['getSelectedBlocks']());let _0x527ab4;_0x527ab4=_0x54220e['is']('element','paragraph')&&_0x54220e['isEmpty']?_0x645f75:_0x645f75['isAtStart']?_0xf0fe20['createPositionBefore'](_0x54220e):_0x645f75['isAtEnd']?_0xf0fe20['createPositionAfter'](_0x54220e):_0x1bad94['split'](_0x645f75)['position'],this['_importMarker']=_0x1bad94['addMarker']('importWord:'+uid(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x32106d(_0x527ab4)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x33aaff=this['editor']['model'];_0x33aaff['markers']['has'](this['_importMarker'])&&_0x33aaff['enqueueChange'](this['_undoStepBatch'],_0x5b0d04=>{_0x5b0d04['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x345b57,file:_0x3cf2b7,serviceConfig:_0x45bf78}){const _0x4ba969=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4325cb=new FormData();_0x4325cb['set']('config',JSON['stringify'](_0x45bf78)),_0x4325cb['set']('file',_0x3cf2b7);const _0x46ef6e={'method':'POST','headers':{},'body':_0x4325cb,'signal':this['_abortController']['signal']};return _0x4ba969&&(_0x46ef6e['headers']['Authorization']=_0x4ba969['value']),fetch(_0x345b57,_0x46ef6e);}['_handleImportResponse'](_0x1d4208){return _0x1d4208['ok']?_0x1d4208['json']()['then'](_0x1b7bc3=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x1b7bc3);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void logWarning('import-word-plugin-import-cancelled');const _0x125266=this['editor'],_0x3147bd=getTranslation$a(_0x125266['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x125266['plugins']['get']('Notification')['showWarning'](_0x3147bd),logError('import-word-plugin-conversion-failed');}}class ImportWordEditing extends Plugin{static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Notification,ClipboardPipeline,'CloudServices'];}constructor(_0x483bee){super(_0x483bee),this['_token']=null;}async['init'](){const _0x160a9a=this['editor'];_0x160a9a['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x160a9a['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x160a9a['commands']['add']('importWord',new ImportWordCommand(_0x160a9a));const {tokenUrl:_0x25b4e8}=_0x160a9a['config']['get']('importWord');if(_0x25b4e8){const {tokenUrl:_0x3d63a4}=_0x160a9a['config']['get']('cloudServices')||{};this['_token']=_0x25b4e8===_0x3d63a4?_0x160a9a['plugins']['get']('CloudServices')['token']:await _0x160a9a['plugins']['get']('CloudServices')['registerTokenUrl'](_0x25b4e8);}}['getToken'](){return this['_token'];}}class ImportWord extends Plugin{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class MultiLevelListCommand extends _0xa280c5{constructor(_0xb046ba,_0x3e9e49,_0x187b1a){super(_0xb046ba),this['defaultListMarkerStyle']=_0x3e9e49,this['_listDefinitions']=_0x187b1a,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5ae4c0={}){const _0x21bee5=this['editor']['model'],_0x283296=_0x5ae4c0['listMarkerStyle']||this['defaultListMarkerStyle'];_0x21bee5['change'](()=>{const _0x563105=this['_getListTypeFromListMarkerStyle'](_0x283296);if(!_0x563105)return;const _0x2c9194=_0x563105+'List';this['editor']['execute'](_0x2c9194,{'additionalAttributes':{'listMarkerStyle':_0x283296}});});}['_getValue'](){const _0x3fc831=first(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3fc831)?_0x3fc831['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x38a9a9=this['editor'],_0x35c5e7=_0x38a9a9['commands']['get']('customNumberedList'),_0x4f759d=_0x38a9a9['commands']['get']('customBulletedList');return _0x35c5e7['isEnabled']||_0x4f759d['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x4054ae){const _0x549cfb=this['_listDefinitions']['find'](_0x5c7b34=>_0x5c7b34['listMarkerStyle']==_0x4054ae);return _0x549cfb?_0x549cfb['listType']:null;}}class MultiLevelListEditing extends Plugin{static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x3acda6){super(_0x3acda6);const _0x758642=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x3113f5=>_0x3113f5+'.'}]},..._0x758642];}['init'](){const _0x19a60e=this['editor'],_0x21ae36=_0x19a60e['model'],_0x4f4c47=_0x19a60e['editing']['view'],_0x1d2bc8=_0x19a60e['plugins']['get']('ListEditing');_0x19a60e['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x19a60e,'legal',this['_listDefinitions'])),_0x21ae36['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x21ae36['schema']['addAttributeCheck']((_0x3775a3,_0x1b618a)=>{const _0x2a2a78=_0x3775a3['last'];if('listMarker'==_0x1b618a||'listMarkerStyle'==_0x1b618a)return!(!_0x2a2a78['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x320837=>_0x320837['listType']==_0x2a2a78['getAttribute']('listType')))&&void 0x0;});for(const _0x91412 of this['_listDefinitions'])_0x19a60e['conversion']['for']('upcast')['add'](_0x3ae0bc=>{_0x3ae0bc['on']('element:'+('customNumbered'==_0x91412['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x91412,_0x21ae36['schema']),{'priority':'low'});}),_0x1d2bc8['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x181563,_0x1b24d9,_0x57e715){_0x1b24d9==_0x91412['listMarkerStyle']?(_0x181563['addClass'](['multi-level-list',_0x91412['className']],_0x57e715),_0x181563['setStyle']('list-style-type','none',_0x57e715)):(_0x181563['removeClass'](['multi-level-list',_0x91412['className']],_0x57e715),_0x181563['removeStyle']('list-style-type',_0x57e715));}}),_0x1d2bc8['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0xb0089b,_0x460fed,{dataPipeline:_0x2f5d2d}){if(!_0x460fed['hasAttribute']('listMarker'))return null;if(_0x460fed['getAttribute']('listType')!=_0x91412['listType']||_0x460fed['getAttribute']('listMarkerStyle')!=_0x91412['listMarkerStyle'])return null;const _0x3e1712=_0x460fed['getAttribute']('listMarker')+'\x20';return _0xb0089b['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x2f5d2d&&{'contenteditable':'false','data-multi-level-list-marker':_0x3e1712}},function(_0x183d32){const _0x2c8189=this['toDomElement'](_0x183d32);return _0x2f5d2d&&_0x2c8189['appendChild'](_0x183d32['createTextNode'](_0x3e1712)),_0x2c8189;});},'canInjectMarkerIntoElement':_0x30175a=>_0x21ae36['schema']['checkChild'](_0x30175a,'$text')&&_0x21ae36['schema']['checkChild'](_0x30175a,'$inlineObject')&&!_0x21ae36['schema']['isLimit'](_0x30175a)&&_0x30175a['getAttribute']('listType')==_0x91412['listType']&&_0x30175a['getAttribute']('listMarkerStyle')==_0x91412['listMarkerStyle']});_0x19a60e['conversion']['for']('upcast')['add'](_0x1b2db3=>{_0x1b2db3['on']('element:span',multiLevelListMarkerUpcastConverter(_0x4f4c47));}),_0x1d2bc8['on']('postFixer',(_0x2de50d,{listNodes:_0x4b91aa,writer:_0x5a6311})=>{const _0x5c18a7=[];for(const {node:_0x392460,previousNodeInList:_0x3c15d7}of _0x4b91aa){const _0x58f07e=_0x392460['getAttribute']('listType'),_0x1fc406=_0x392460['getAttribute']('listMarkerStyle')||('customNumbered'==_0x58f07e?'legal':void 0x0),_0x1bacbd=this['_listDefinitions']['find'](_0x4732e6=>_0x4732e6['listType']==_0x58f07e&&_0x4732e6['listMarkerStyle']==_0x1fc406);if('customNumbered'!=_0x58f07e&&'customBulleted'!=_0x58f07e&&(_0x392460['hasAttribute']('listMarker')&&(_0x5a6311['removeAttribute']('listMarker',_0x392460),_0x2de50d['return']=!0x0),_0x392460['hasAttribute']('listMarkerStyle')&&(_0x5a6311['removeAttribute']('listMarkerStyle',_0x392460),_0x2de50d['return']=!0x0)),!_0x1bacbd){'customBulleted'!=_0x58f07e||_0x1fc406||(_0x5a6311['setAttribute']('listType','bulleted',_0x392460),_0x2de50d['return']=!0x0);continue;}_0x392460['hasAttribute']('listMarkerStyle')||(_0x5a6311['setAttribute']('listMarkerStyle',_0x1fc406,_0x392460),_0x2de50d['return']=!0x0);const _0x24004c=_0x392460['getAttribute']('listIndent');if(_0x3c15d7&&_0x3c15d7['getAttribute']('listItemId')==_0x392460['getAttribute']('listItemId'))continue;_0x5c18a7['length']=_0x24004c+0x1,_0x3c15d7||_0x5c18a7[_0x24004c]?_0x3c15d7&&_0x3c15d7['getAttribute']('listType')!=_0x1bacbd['listType']?_0x5c18a7[_0x24004c]=0x1:_0x5c18a7[_0x24004c]++:_0x5c18a7[_0x24004c]=_0x392460['getAttribute']('listStart')||0x1;const _0x2c5476=generateMarker(_0x24004c,_0x1bacbd,_0x5c18a7);_0x392460['getAttribute']('listMarker')!=_0x2c5476&&(_0x5a6311['setAttribute']('listMarker',_0x2c5476,_0x392460),_0x2de50d['return']=!0x0);}});const _0x5ca46d=_0x19a60e['editing']['view']['document'];this['listenTo'](_0x5ca46d,'clipboardOutput',(_0x2cbd72,_0x20ffd8)=>{const _0x443504=new Matcher({'name':'span','classes':'multi-level-list__marker'}),_0x3e637c=new Matcher({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x17a671=new UpcastWriter(_0x20ffd8['content']['document']),_0x2af085=[];for(const _0x2b511b of _0x17a671['createRangeIn'](_0x20ffd8['content'])['getItems']())_0x2b511b['is']('element')&&_0x443504['match'](_0x2b511b)&&_0x2af085['push'](_0x2b511b),_0x2b511b['is']('element')&&_0x3e637c['match'](_0x2b511b)&&_0x17a671['removeStyle']('list-style-type',_0x2b511b);for(const _0x5b038c of _0x2af085)_0x17a671['remove'](_0x5b038c);});}['afterInit'](){checkLicense$9(this);}}function generateMarker(_0xc5a605,_0x6b590b,_0x1fd5b8){let _0x247717=_0x6b590b['listMarkers'][_0xc5a605%_0x6b590b['listMarkers']['length']];if(void 0x0===_0x247717['showMarkerPath']||_0x247717['showMarkerPath'])return _0x1fd5b8['slice'](0x0,_0xc5a605+0x1)['map']((_0x19d16f,_0x5056d4)=>(_0x247717=_0x6b590b['listMarkers'][_0x5056d4%_0x6b590b['listMarkers']['length']],getMarkerString(_0x247717['marker'],_0x19d16f)))['join']('');{const _0x274fba=_0x1fd5b8[_0x1fd5b8['length']-0x1];return getMarkerString(_0x247717['marker'],_0x274fba);}}function getMarkerString(_0x36fa57,_0x33962d){return'function'==typeof _0x36fa57?_0x36fa57(_0x33962d):_0x36fa57;}function multiLevelListUpcastConverter(_0x305b4a,_0x10e578){return(_0x385279,_0x4b9c74,_0x568473)=>{const _0x5dcfc3=_0x4b9c74['viewItem'];if(_0x4b9c74['modelRange']||Object['assign'](_0x4b9c74,_0x568473['convertChildren'](_0x4b9c74['viewItem'],_0x4b9c74['modelCursor'])),!_0x568473['consumable']['test'](_0x5dcfc3,{'classes':_0x305b4a['className']}))return;const _0x75ae72=Array['from'](_0x4b9c74['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x53468e=>_0x10e578['checkAttribute'](_0x53468e,'listItemId'));if(!_0x75ae72['length'])return;_0x568473['consumable']['consume'](_0x5dcfc3,{'classes':_0x305b4a['className']}),_0x568473['consumable']['consume'](_0x5dcfc3,{'classes':'multi-level-list'}),_0x568473['consumable']['consume'](_0x5dcfc3,{'styles':'list-style-type'});const _0x4dd63b=_0x75ae72[0x0]['getAttribute']('listIndent');for(const _0x515708 of _0x75ae72)_0x515708['getAttribute']('listIndent')==_0x4dd63b&&(_0x568473['writer']['setAttribute']('listType',_0x305b4a['listType'],_0x515708),_0x568473['writer']['setAttribute']('listMarkerStyle',_0x305b4a['listMarkerStyle'],_0x515708));};}function multiLevelListMarkerUpcastConverter(_0x53718b){return(_0x422d09,_0x485055,{writer:_0x32bb3b,consumable:_0x4bcabf})=>{const _0x4208e2=_0x485055['modelCursor'],_0x319c2a=_0x4208e2['parent'],_0x2292e6=_0x485055['viewItem'];if(_0x4bcabf['consume'](_0x2292e6,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x4208e2['isAtStart']&&_0x319c2a['hasAttribute']('listType')&&_0x2292e6['childCount']>0x0){const _0x288350=_0x53718b['createRangeIn'](_0x2292e6);let _0x268a2b='';for(const _0x1a0ee8 of _0x288350['getItems']())_0x1a0ee8['is']('$textProxy')&&(_0x268a2b+=_0x1a0ee8['data']['trim'](),_0x4bcabf['consume'](_0x1a0ee8['textNode']));_0x32bb3b['setAttribute']('listMarker',_0x268a2b['trim'](),_0x319c2a);}};}async function checkLicense$9(_0x54a7ee){const _0x489765=_0x3bb253([0x6d,0x39,0x42,0x41,0x48,0x62,0x79,0x59,0x72,0x57,0x5a,0x73,0x74,0x58,0x37,0x6f,0x64,0x77,0x4d,0x78,0x6a,0x35,0x32,0x45,0x70,0x44,0x68,0x67,0x31,0x38,0x4a,0x50,0x76,0x52,0x55,0x75,0x56,0x4f,0x6e,0x6b,0x46,0x49,0x54,0x4b,0x53,0x66,0x71,0x51,0x47,0x4e,0x6c,0x33,0x36,0x7a,0x30,0x65,0x61,0x63,0x69,0x43,0x4c,0x34]),_0x4fbe36=window[_0x3bb253([0x44,0x61,0x74,0x65])][_0x3bb253([0x6e,0x6f,0x77])](),_0x57050c=_0x54a7ee[_0x3bb253([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bb102=new window[(_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34cd08=>{_0x57050c[_0x3bb253([0x6f,0x6e,0x63,0x65])](_0x3bb253([0x72,0x65,0x61,0x64,0x79]),_0x34cd08);}),_0x25ae5b={[_0x3bb253([0x6b,0x74,0x79])]:_0x3bb253([0x45,0x43]),[_0x3bb253([0x75,0x73,0x65])]:_0x3bb253([0x73,0x69,0x67]),[_0x3bb253([0x63,0x72,0x76])]:_0x3bb253([0x50,0x2d,0x32,0x35,0x36]),[_0x3bb253([0x78])]:_0x3bb253([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]),[_0x3bb253([0x79])]:_0x3bb253([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]),[_0x3bb253([0x61,0x6c,0x67])]:_0x3bb253([0x45,0x53,0x32,0x35,0x36])},_0x29768d=_0x57050c[_0x3bb253([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bb253([0x67,0x65,0x74])](_0x3bb253([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x258c68=await(async function(){let _0x2ca38b,_0x2d7d17=null,_0xfd6cb1=null;try{if(_0x29768d==_0x3bb253([0x47,0x50,0x4c]))return _0x3bb253([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ca38b=(function(){const _0xf8b277=_0x29768d[_0x3bb253([0x73,0x70,0x6c,0x69,0x74])](_0x3bb253([0x2e]));if(0x3!=_0xf8b277[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3be89c=_0xf8b277[0x1];return _0x41d392(_0x3be89c);function _0x41d392(_0x5d6ba9){const _0x5880cd=_0x5a104c(_0x5d6ba9);return _0x5880cd&&_0x2f0327()?_0x5880cd:null;function _0x2f0327(){const _0x5e5644=_0x5880cd[_0x3bb253([0x6a,0x74,0x69])],_0x5acb91=window[_0x3bb253([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e5644[_0x3bb253([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e5644[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25716e={..._0x5880cd,[_0x3bb253([0x6a,0x74,0x69])]:_0x5e5644[_0x3bb253([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e5644[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25716e[_0x3bb253([0x76,0x63])],_0x26e238(_0x25716e)==_0x5acb91;}}}()),!_0x2ca38b)return _0x3bb253([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2ca38b[_0x3bb253([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xfd6cb1=function(_0x2bfa55,_0x357d79){return new window[(_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5d82=>{if(_0x385a1e())return _0x3d5d82(_0x3bb253([0x56,0x61,0x6c,0x69,0x64]));_0x33cb8a(),_0x57050c[_0x3bb253([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bb253([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12e849=!0x1;const _0x13f1b8=uid();function _0x1780a7(_0x248b50){return!!_0x248b50&&(typeof _0x248b50===_0x3bb253([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x248b50===_0x3bb253([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x248b50[_0x3bb253([0x74,0x68,0x65,0x6e])]===_0x3bb253([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x248b50[_0x3bb253([0x63,0x61,0x74,0x63,0x68])]===_0x3bb253([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e919f(_0x487209){_0x40ed34(_0x487209)[_0x3bb253([0x74,0x68,0x65,0x6e])](_0x5a0eb6=>{if(!_0x5a0eb6||_0x5a0eb6[_0x3bb253([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bb253([0x6f,0x6b]))return _0x3bb253([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53132e(_0x26e238(_0x13f1b8+_0x357d79))!=_0x5a0eb6[_0x3bb253([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bb253([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bb253([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bb253([0x74,0x68,0x65,0x6e])](_0x30e815=>(_0x55dfb6(),_0x30e815),()=>{const _0x1a8774=_0x480b5c();return null==_0x1a8774?(_0x55dfb6(),_0x3bb253([0x56,0x61,0x6c,0x69,0x64])):_0x3bb253(_0x4fbe36-_0x1a8774>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bb253([0x74,0x68,0x65,0x6e])](_0x3d5d82)[_0x3bb253([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d5d82(_0x3bb253([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x422cac=0x36ee80;function _0x55dfb6(){const _0x1a4166=_0x3bb253([0x6c,0x6c,0x63,0x74,0x2d])+_0x53132e(_0x26e238(_0x2bfa55)),_0x5f58e0=_0x3c6a3d(_0x53132e(window[_0x3bb253([0x4d,0x61,0x74,0x68])][_0x3bb253([0x63,0x65,0x69,0x6c])](_0x4fbe36/_0x422cac)));window[_0x3bb253([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bb253([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4166,_0x5f58e0);}function _0x480b5c(){const _0x5ab631=_0x3bb253([0x6c,0x6c,0x63,0x74,0x2d])+_0x53132e(_0x26e238(_0x2bfa55)),_0x527382=window[_0x3bb253([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bb253([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ab631);return _0x527382?window[_0x3bb253([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6a3d(_0x527382),0x10)*_0x422cac:null;}function _0x40ed34(_0x4c1086){return new window[(_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13b4d8,_0x5239a9)=>{_0x4c1086[_0x3bb253([0x74,0x68,0x65,0x6e])](_0x13b4d8,_0x5239a9),window[_0x3bb253([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5239a9,0x1d4c0);});}}_0x57050c[_0x3bb253([0x6f,0x6e])](_0x3bb253([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15d084,_0x2f4da9)=>{if(_0x2f4da9[0x0]!=_0x2bfa55)return _0x3d5d82(_0x3bb253([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f4da9[0x1]={..._0x2f4da9[0x1],[_0x3bb253([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13f1b8};},{[_0x3bb253([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bb253([0x68,0x69,0x67,0x68])}),_0x57050c[_0x3bb253([0x6f,0x6e])](_0x3bb253([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53cd39=>{_0x1780a7(_0x53cd39[_0x3bb253([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12e849=!0x0,_0x4e919f(_0x53cd39[_0x3bb253([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bb253([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bb253([0x6c,0x6f,0x77])}),_0x2bb102[_0x3bb253([0x74,0x68,0x65,0x6e])](()=>{_0x12e849||_0x3d5d82(_0x3bb253([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x385a1e(){return _0x57050c[_0x3bb253([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bb253([0x76,0x69,0x65,0x77])][_0x3bb253([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bb253([0x61,0x75,0x74,0x6f]);}function _0x33cb8a(){_0x57050c[_0x3bb253([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bb253([0x76,0x69,0x65,0x77])][_0x3bb253([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bb253([0x61,0x75,0x74,0x6f]);}}(_0x2ca38b[_0x3bb253([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ca38b[_0x3bb253([0x6a,0x74,0x69])]));const _0x5cdf32=await(async function(){let _0x49c210=!0x0;try{const _0x26896d=_0x29768d[_0x3bb253([0x73,0x70,0x6c,0x69,0x74])](_0x3bb253([0x2e])),[_0x224066,_0x2b6499,_0x4f0b62]=_0x26896d;return _0x1be2fc(_0x224066),await _0x5ca3c9(_0x224066,_0x2b6499,_0x4f0b62),_0x49c210;}catch(_0x5899cc){return!0x1;}function _0x1be2fc(_0x197d28){const _0x328328=_0x5a104c(_0x197d28);_0x328328&&_0x328328[_0x3bb253([0x61,0x6c,0x67])]==_0x3bb253([0x45,0x53,0x32,0x35,0x36])||(_0x49c210=!0x1);}async function _0x5ca3c9(_0x502b24,_0x4d80b2,_0x4f8730){const _0x57dc48=window[_0x3bb253([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bb253([0x66,0x72,0x6f,0x6d])](_0x4cb0d9(_0x4f8730),_0x4bc00c=>_0x4bc00c[_0x3bb253([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x566285=new window[(_0x3bb253([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bb253([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x502b24+_0x3bb253([0x2e])+_0x4d80b2),_0x398f5f=window[_0x3bb253([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bb253([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x398f5f)return;const _0x3f9722=await _0x398f5f[_0x3bb253([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bb253([0x6a,0x77,0x6b]),_0x25ae5b,{[_0x3bb253([0x6e,0x61,0x6d,0x65])]:_0x3bb253([0x45,0x43,0x44,0x53,0x41]),[_0x3bb253([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bb253([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bb253([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x398f5f[_0x3bb253([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bb253([0x6e,0x61,0x6d,0x65])]:_0x3bb253([0x45,0x43,0x44,0x53,0x41]),[_0x3bb253([0x68,0x61,0x73,0x68])]:{[_0x3bb253([0x6e,0x61,0x6d,0x65])]:_0x3bb253([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f9722,_0x57dc48,_0x566285)||(_0x49c210=!0x1);}}());return _0x5cdf32?(function(){const _0x140783=_0x2ca38b[_0x3bb253([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x140783)return!0x1;if(_0x140783[_0x3bb253([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bb253([0x2a])))return!0x0;if(_0x140783[_0x3bb253([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bb253([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0xaaad9f=[_0x3bb253([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bb253([0x74,0x72,0x69,0x61,0x6c])][_0x3bb253([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ca38b[_0x3bb253([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fbe36/0x3e8:0x67b67080;return _0x2ca38b[_0x3bb253([0x65,0x78,0x70])]<_0xaaad9f;}())?_0x3bb253([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x645c47=_0x2ca38b[_0x3bb253([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x645c47||0x0==_0x645c47[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53ebd4}=new URL(window[_0x3bb253([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x645c47[_0x3bb253([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ebd4))return!0x0;const _0x428ed4=_0x53ebd4[_0x3bb253([0x73,0x70,0x6c,0x69,0x74])](_0x3bb253([0x2e]));return _0x645c47[_0x3bb253([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45dc7d=>_0x45dc7d[_0x3bb253([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bb253([0x2a])))[_0x3bb253([0x6d,0x61,0x70])](_0x4ecbcb=>_0x4ecbcb[_0x3bb253([0x73,0x70,0x6c,0x69,0x74])](_0x3bb253([0x2e])))[_0x3bb253([0x73,0x6f,0x6d,0x65])](_0x328969=>_0x428ed4[_0x3bb253([0x65,0x76,0x65,0x72,0x79])]((_0x3e88d4,_0x524a7d)=>_0x328969[_0x524a7d]===_0x3e88d4||_0x328969[_0x524a7d]===_0x3bb253([0x2a])));}())?(_0x2ca38b[_0x3bb253([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bb253([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d7d17=_0x19924a(_0x3bb253([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ca38b[_0x3bb253([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bb253([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d7d17=_0x19924a(_0x3bb253([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2d7d17&&_0xfd6cb1)return new window[(_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x238a19,_0xefa68f)=>{_0x2d7d17[_0x3bb253([0x74,0x68,0x65,0x6e])](_0x238a19,_0xefa68f),_0xfd6cb1[_0x3bb253([0x74,0x68,0x65,0x6e])](_0x170a7b=>{_0x170a7b!=_0x3bb253([0x56,0x61,0x6c,0x69,0x64])&&_0x238a19(_0x170a7b);},_0xefa68f);});return _0x2d7d17||_0xfd6cb1||_0x3bb253([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3bb253([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bb253([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bb253([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x34087c){return _0x3bb253([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x19924a(_0x490bb0){const _0xfc975a=new window[(_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32e5ec=>setTimeout(_0x32e5ec,0x93ecc)),_0x17a336=_0x2bb102[_0x3bb253([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26b7d8=>{let _0x5acafe=0x0;_0x57050c[_0x3bb253([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bb253([0x6f,0x6e])](_0x3bb253([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14d24b,_0x3305e6)=>{_0x3305e6[0x0][_0x3bb253([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5acafe++,0x1f8==_0x5acafe&&(_0x26b7d8(),_0x14d24b[_0x3bb253([0x6f,0x66,0x66])]());});})),_0x44041b=[_0xfc975a,_0x17a336];return window[_0x3bb253([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bb253([0x72,0x61,0x63,0x65])](_0x44041b)[_0x3bb253([0x74,0x68,0x65,0x6e])](()=>_0x490bb0);}function _0x5a104c(_0x1ab2a1){return _0x1ab2a1[_0x3bb253([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bb253([0x65,0x79]))?JSON[_0x3bb253([0x70,0x61,0x72,0x73,0x65])](_0x4cb0d9(_0x1ab2a1)):null;}function _0x4cb0d9(_0x351b90){return window[_0x3bb253([0x61,0x74,0x6f,0x62])](_0x351b90[_0x3bb253([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bb253([0x2b]))[_0x3bb253([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bb253([0x2f])));}function _0x26e238(_0x2a3852){let _0x1ed36f=0x1505;function _0x2d3bc9(_0x3ea1fb){for(let _0x34b4e5=0x0;_0x34b4e5<_0x3ea1fb[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34b4e5++){const _0x420c01=_0x3ea1fb[_0x3bb253([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34b4e5);_0x1ed36f=(_0x1ed36f<<0x5)+_0x1ed36f+_0x420c01,_0x1ed36f&=_0x1ed36f;}}return function _0x1ef537(_0x31e900){Array[_0x3bb253([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31e900)?_0x31e900[_0x3bb253([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ef537):_0x31e900&&typeof _0x31e900==_0x3bb253([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bb253([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31e900)[_0x3bb253([0x73,0x6f,0x72,0x74])]()[_0x3bb253([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46bbce,_0x54c798])=>{_0x2d3bc9(_0x46bbce),_0x1ef537(_0x54c798);}):_0x2d3bc9(window[_0x3bb253([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31e900));}(_0x2a3852),_0x1ed36f>>>0x0;}function _0x53132e(_0x1d9fe4){return _0x1d9fe4[_0x3bb253([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bb253([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bb253([0x30]));}function _0x3c6a3d(_0x26d6b0){return _0x26d6b0[_0x3bb253([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bb253([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bb253([0x6a,0x6f,0x69,0x6e])]('');}function _0x2693b3(){}function _0x3bb253(_0x52de2d){return _0x52de2d['map'](_0x3f5d0e=>String['fromCharCode'](_0x3f5d0e))['join']('');}!function(_0x41420b){const _0xc06c6=(function(){const _0x295203=window[_0x3bb253([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bb253([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bb253([0x6e,0x6f,0x77])]())[_0x3bb253([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bb253([0x2e]),'');let _0x27acd8=_0x3bb253([0x6d]);for(let _0x571471=0x0;_0x571471<_0x295203[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x571471+=0x2){let _0x115c6e=window[_0x3bb253([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x295203[_0x3bb253([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x571471,_0x571471+0x2));_0x115c6e>=_0x489765[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x115c6e-=_0x489765[_0x3bb253([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27acd8+=_0x489765[_0x115c6e];}return _0x27acd8;}());_0x57050c[_0xc06c6]=_0x3bb253([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x41420b,_0x41420b!=_0x3bb253([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2bb102,_0x57050c[_0x3bb253([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bb253([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2693b3,_0x57050c[_0x3bb253([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bb253([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2693b3,_0x57050c[_0x3bb253([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bb253([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x258c68);}function getTranslation$9(_0x19b7f1,_0x37e6cf){const _0x2f3824=_0x19b7f1['t'],t=_0x19b7f1['t'];switch(_0x37e6cf){case'Start\x20at':return _0x2f3824('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2f3824('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2f3824('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2f3824('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 _0x37e6cf;}}class MultiLevelListView extends View{constructor(_0x14e27e,{enabledProperties:_0x4ae48a,styleButtonViews:_0x1584f5,styleGridAriaLabel:_0x3688ac}){super(_0x14e27e),this['stylesView']=null,this['additionalPropertiesCollapsibleView']=null,this['startIndexFieldView']=null,this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusables']=new ViewCollection();const _0x49c92f=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x4ae48a['styles']?(this['stylesView']=this['_createStylesView'](_0x1584f5,_0x3688ac),this['children']['add'](this['stylesView'])):_0x49c92f['push']('ck-multi-level-list-properties_without-styles'),_0x4ae48a['startIndex']&&(this['_addListPropertyViews'](_0x4ae48a),_0x49c92f['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x49c92f},'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 _0x47fdd2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x47fdd2['element']);addKeyboardHandlingForGrid({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x25cc2c['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 _0x580968=_0x5d5154=>_0x5d5154['stopPropagation']();this['keystrokes']['set']('arrowright',_0x580968),this['keystrokes']['set']('arrowleft',_0x580968),this['keystrokes']['set']('arrowup',_0x580968),this['keystrokes']['set']('arrowdown',_0x580968);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x778a6a,_0x1e23e2){const _0x52aeb6=new View(this['locale']);return _0x52aeb6['children']=_0x52aeb6['createCollection'](),_0x52aeb6['children']['addMany'](_0x778a6a),_0x52aeb6['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1e23e2,'class':['ck','ck-multi-level-list-styles']},'children':_0x52aeb6['children']}),_0x52aeb6['children']['delegate']('execute')['to'](this),_0x52aeb6['focus']=function(){this['children']['first']['focus']();},_0x52aeb6['focusTracker']=new FocusTracker(),_0x52aeb6['keystrokes']=new KeystrokeHandler(),_0x52aeb6['render'](),_0x52aeb6['keystrokes']['listenTo'](_0x52aeb6['element']),_0x52aeb6;}['_addListPropertyViews'](_0x1bdda8){const _0x3a6806=[];_0x1bdda8['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x3a6806['push'](this['startIndexFieldView'])),_0x1bdda8['styles']?(this['additionalPropertiesCollapsibleView']=new CollapsibleView(this['locale'],_0x3a6806),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x3a6806,'isEnabled',(..._0x35a222)=>_0x35a222['some'](_0x181bdb=>_0x181bdb)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x7c37c1,_0x5df9e2,_0x4699e6)=>{_0x4699e6||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x3a6806);}['_createStartIndexField'](){const _0x56b352=new LabeledFieldView(this['locale'],createLabeledInputNumber);return _0x56b352['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x56b352['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x56b352['fieldView']['on']('input',()=>{const _0x5c0f1a=_0x56b352['fieldView']['element'],_0x10d5a2=_0x5c0f1a['valueAsNumber'];Number['isNaN'](_0x10d5a2)?_0x56b352['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x5c0f1a['checkValidity']()?this['fire']('listStart',{'startIndex':_0x10d5a2}):_0x56b352['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x56b352;}}var multiLevelListIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M7.85\x206.5a.75.75\x200\x200\x201\x200-1.5h9.5a.75.75\x200\x201\x201\x200\x201.5h-9.5Z\x22/><path\x20d=\x22M3\x208V2.7H.5v1h1V8H3Z\x22/><path\x20d=\x22M13.42\x2014.185a.75.75\x200\x200\x200\x20.53\x201.28h3.4a.75.75\x200\x201\x200\x200-1.5h-3.4a.75.75\x200\x200\x200-.53.22Z\x22/><path\x20d=\x22M5.636\x208.035V6.8H4.4v1.235h1.236Z\x22/><path\x20d=\x22M9\x2017.865v-5.3H6.5v1h1v4.3H9Z\x22/><path\x20d=\x22M11.636\x2017.9v-1.235H10.4V17.9h1.236Z\x22/><path\x20d=\x22M3.2\x2017.865v-5.3H.7v1h1v4.3h1.5Z\x22/><path\x20d=\x22M5.836\x2017.9v-1.235H4.6V17.9h1.236Z\x22/></svg>';class MultiLevelListUI extends Plugin{static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xa359e5=this['editor'];_0xa359e5['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0xa359e5,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0xa359e5['locale'],'Multi-level\x20List'),'buttonIcon':multiLevelListIcon,'styleGridAriaLabel':getTranslation$9(_0xa359e5['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0xa359e5['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x3edc46=_0xa359e5['commands']['get']('multiLevelList'),_0x1f0a9f=new MenuBarMenuListItemButtonView(_0xa359e5['locale']);return _0x1f0a9f['set']({'label':getTranslation$9(_0xa359e5['locale'],'Multi-level\x20List'),'icon':multiLevelListIcon}),_0x1f0a9f['bind']('isEnabled')['to'](_0x3edc46),_0x1f0a9f['bind']('isOn')['to'](_0x3edc46,'value',_0x67449d=>!!_0x67449d),_0x1f0a9f['on']('execute',()=>{_0xa359e5['execute']('multiLevelList'),_0xa359e5['editing']['view']['focus']();}),_0x1f0a9f;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x9c4509=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb95b90;for(const _0x2223f6 in _0x9c4509){const _0x536f5d=_0x2223f6,_0x196ff2=_0x9c4509[_0x536f5d];if('multiLevelListLicenseKeyValid'==_0x196ff2||'multiLevelListLicenseKeyInvalid'==_0x196ff2||'multiLevelListLicenseKeyExpired'==_0x196ff2||'multiLevelListLicenseKeyDomainLimit'==_0x196ff2||'multiLevelListLicenseKeyNotAllowed'==_0x196ff2||'multiLevelListLicenseKeyEvaluationLimit'==_0x196ff2||'multiLevelListLicenseKeyTrialLimit'==_0x196ff2||'multiLevelListLicenseKeyUsageLimit'==_0x196ff2){delete _0x9c4509[_0x536f5d],_0xb95b90=_0x196ff2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0xb95b90&&_0x9c4509['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0xb95b90&&_0x9c4509['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0xb95b90&&_0x9c4509['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0xb95b90&&_0x9c4509['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0xb95b90&&_0x9c4509['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyTrialLimit'==_0xb95b90&&_0x9c4509['_showLicenseError']('trialLimit'),'multiLevelListLicenseKeyUsageLimit'==_0xb95b90&&_0x9c4509['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x3f12c7,parentCommandName:_0x365f8f,buttonLabel:_0x3f7952,buttonIcon:_0x4b3ee2,styleGridAriaLabel:_0x1f356b,styleDefinitions:_0xe99005}){const _0x12ae25=_0x3f12c7['commands']['get'](_0x365f8f),_0x44648c=_0x3f12c7['config']['get']('list.properties')||{},_0x53ea6f=_0x3f12c7['plugins']['has']('ListProperties'),_0x414391=_0x44648c['startIndex'];return _0x53ea6f&&_0x414391?_0x52f7a9=>{const _0x5db23c=createDropdown(_0x52f7a9,SplitButtonView),_0xe92894=_0x5db23c['buttonView'];return _0x5db23c['bind']('isEnabled')['to'](_0x12ae25),_0x5db23c['class']='ck-list-styles-dropdown',_0xe92894['on']('execute',()=>{_0x3f12c7['execute'](_0x365f8f),_0x3f12c7['editing']['view']['focus']();}),_0xe92894['set']({'label':_0x3f7952,'icon':_0x4b3ee2,'tooltip':!0x0,'isToggleable':!0x0}),_0xe92894['bind']('isOn')['to'](_0x12ae25,'value',_0x5b084e=>!!_0x5b084e),_0x5db23c['once']('change:isOpen',()=>{const _0x1bec41=createListPropertiesView({'editor':_0x3f12c7,'dropdownView':_0x5db23c,'styleGridAriaLabel':_0x1f356b,'styleDefinitions':_0xe99005});_0x5db23c['panelView']['children']['add'](_0x1bec41);}),_0x5db23c['on']('execute',()=>{_0x3f12c7['editing']['view']['focus']();}),_0x5db23c;}:_0x284d02=>{const _0x43f1cf=new ButtonView(_0x284d02);return _0x43f1cf['set']({'label':_0x3f7952,'icon':_0x4b3ee2,'tooltip':!0x0,'isToggleable':!0x0}),_0x43f1cf['bind']('isOn')['to'](_0x12ae25,'value',_0x473653=>!!_0x473653),_0x43f1cf['on']('execute',()=>{_0x3f12c7['execute'](_0x365f8f),_0x3f12c7['editing']['view']['focus']();}),_0x43f1cf;};}function createListPropertiesView({editor:_0x581af3,dropdownView:_0x4ff139,styleDefinitions:_0x44b481,styleGridAriaLabel:_0x4e3a86}){const _0x5cdaa3=_0x581af3['locale'],_0x24373c=_0x581af3['config']['get']('list.properties');_0x24373c['reversed']=!0x1,_0x44b481['length']||(_0x24373c['styles']=!0x1);const _0x37a7dc=new MultiLevelListView(_0x5cdaa3,{'styleGridAriaLabel':_0x4e3a86,'enabledProperties':_0x24373c,'styleButtonViews':null});if(_0x24373c['startIndex']){const _0x493f83=_0x581af3['commands']['get']('listStart');_0x37a7dc['startIndexFieldView']['bind']('isEnabled')['to'](_0x493f83),_0x37a7dc['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x493f83),_0x37a7dc['on']('listStart',(_0x11efcd,_0x59132f)=>_0x581af3['execute']('listStart',_0x59132f));}return _0x37a7dc['delegate']('execute')['to'](_0x4ff139),_0x37a7dc;}class MultiLevelList extends Plugin{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0xa280c5{['refresh'](){const _0x3d70ab=this['editor']['model'],_0x1e52da=_0x3d70ab['schema']['checkChild'](_0x3d70ab['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x1e52da;}['execute'](_0x1464d5){if(!_0x1464d5||'string'!=typeof _0x1464d5)return;const _0x55ec7e=this['editor']['model'];_0x55ec7e['change'](_0x4ed473=>{_0x55ec7e['deleteContent'](_0x55ec7e['document']['selection']);const _0x10dd8f=_0x4ed473['createElement']('mergeField',{'id':_0x1464d5});for(const [_0x4a3ef2,_0x198984]of _0x55ec7e['document']['selection']['getAttributes']())_0x55ec7e['schema']['checkAttribute'](_0x10dd8f,_0x4a3ef2)&&_0x4ed473['setAttribute'](_0x4a3ef2,_0x198984,_0x10dd8f);_0x55ec7e['insertContent'](_0x10dd8f,_0x55ec7e['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0xa280c5{['refresh'](){const _0x528ca5=this['editor']['model'],_0xdf496c=_0x528ca5['document']['selection'];this['isEnabled']=isAllowedInParent(_0xdf496c,_0x528ca5);}['execute'](_0x45a150,_0x5aca04){if(!_0x45a150||'string'!=typeof _0x45a150)return;const _0x4c422c=this['editor']['model'];_0x4c422c['change'](_0x2a995a=>{const _0xd0cd31=_0x2a995a['createElement']('mergeFieldBlock',{'id':_0x45a150});_0x4c422c['insertObject'](_0xd0cd31,_0x4c422c['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x5aca04?void 0x0:'auto'});});}}function isAllowedInParent(_0x4abfc7,_0x5365b4){let _0x43fe0d=findOptimalInsertionRange(_0x4abfc7,_0x5365b4)['start']['parent'];return _0x43fe0d['isEmpty']&&!_0x5365b4['schema']['isLimit'](_0x43fe0d)&&(_0x43fe0d=_0x43fe0d['parent']),_0x5365b4['schema']['checkChild'](_0x43fe0d,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends _0xa280c5{constructor(_0xcd0b76){super(_0xcd0b76),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x33157d,_0x21d6e8){if(!_0x33157d||'string'!=typeof _0x33157d)return;const _0x12cb1b=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x1bee1f=_0x12cb1b['getMergeFieldWidth'](_0x33157d),_0x20520f=_0x12cb1b['getMergeFieldHeight'](_0x33157d);this['editor']['execute']('insertImage',{'source':{'src':_0x12cb1b['wrapInAffixes'](_0x33157d),'width':_0x1bee1f,'height':_0x20520f},'breakBlock':_0x21d6e8&&_0x21d6e8['breakBlock']});}}class PreviewMergeFieldsCommand extends _0xa280c5{constructor(_0x3a2859){super(_0x3a2859);const _0x534cba=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x534cba,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x34b63b){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x34b63b;}}var warningIcon='<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2013\x2013\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a<path\x20fill-rule=\x22evenodd\x22\x20clip-rule=\x22evenodd\x22\x20d=\x22M12\x206C12\x209.31371\x209.31371\x2012\x206\x2012C2.68629\x2012\x200\x209.31371\x200\x206C0\x202.68629\x202.68629\x200\x206\x200C9.31371\x200\x2012\x202.68629\x2012\x206ZM5.27988\x202.40003H6.71988V6.72003H5.27988V2.40003ZM6.72009\x208.16003H5.28009V9.60003H6.72009V8.16003Z\x22\x20fill=\x22#DB3700\x22/>\x0a</svg>\x0a';const DEFAULT_MERGE_FIELD_BLOCK_HEIGHT=0x78,DEFAULT_MERGE_FIELD_IMAGE_HEIGHT=0x190,DEFAULT_MERGE_FIELD_IMAGE_WIDTH=0x190,ALLOWED_IN_IDS=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends Plugin{static get['requires'](){return['ImageUtils','ImageEditing'];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x472429){super(_0x472429),this['flattenedMergeFieldDefinitions']=[],_0x472429['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x472429['config']['define']('mergeFields.dataSets',[]),_0x472429['config']['define']('mergeFields.definitions',[]),_0x472429['config']['define']('mergeFields.prefix','{{'),_0x472429['config']['define']('mergeFields.suffix','}}'),_0x472429['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x472429['config']['define']('mergeFields.sanitizeHtml',_0x1abeb1=>(logWarning('merge-fields-provide-sanitize-function'),{'html':_0x1abeb1,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x472429['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x472429['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x472429['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x18a46a='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x1cf22a='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x18a46a+'[^'+(_0x18a46a+_0x1cf22a)+'\x20]+'+_0x1cf22a+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x9e661c=_0x472429['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x9e661c),this['set']('previewMode',_0x9e661c),this['_mergeFieldElements']=new Set();}['init'](){const _0x275bc4=this['editor'];_0x275bc4['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x275bc4)),_0x275bc4['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x275bc4)),_0x275bc4['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x275bc4)),_0x275bc4['commands']['add']('previewMergeFields',new PreviewMergeFieldsCommand(_0x275bc4)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x5f01f6,_0x5dcc0e,_0x5162bf)=>{this['_validatePreviewMode'](_0x5162bf),this['refreshMergeFields']();}),this['listenTo'](_0x275bc4['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x275bc4['editing']['mapper']['on']('viewToModelPosition',viewToModelPositionOutsideModelElement(_0x275bc4['model'],_0x197bd9=>_0x197bd9['hasClass']('ck-merge-field'))),_0x275bc4['editing']['mapper']['on']('viewToModelPosition',viewToModelPositionOutsideModelElement(_0x275bc4['model'],_0x3503e7=>_0x3503e7['hasClass']('ck-merge-field-block'))),_0x275bc4['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),checkLicense$8(this);}['isMergeField'](_0x52a4fd){return'mergeField'===_0x52a4fd['name']||'mergeFieldBlock'===_0x52a4fd['name']||!!('imageBlock'===_0x52a4fd['name']||'imageInline'===_0x52a4fd['name']&&_0x52a4fd['getAttribute']('src'))&&!!_0x52a4fd['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x4091de={},_0x91e244=this['getMergeFieldsIds']();for(const _0x5b0d9c of _0x91e244)_0x4091de[_0x5b0d9c]=this['getMergeFieldDefaultValue'](_0x5b0d9c);return _0x4091de;}['getDataSetValues'](_0x34eb16,_0x2908f3=!0x1){const _0x4f2f88={},_0x3fa94d=this['getMergeFieldsIds']();for(const _0x29380d of _0x3fa94d){let _0x24cc2a=this['getMergeFieldValue'](_0x29380d,_0x34eb16);null===_0x24cc2a&&_0x2908f3&&(_0x24cc2a=this['getMergeFieldDefaultValue'](_0x29380d)),_0x4f2f88[_0x29380d]=_0x24cc2a;}return _0x4f2f88;}['getLabel'](_0x4bed0e){const _0x543bf7=this['getDefinition'](_0x4bed0e);return _0x543bf7&&_0x543bf7['label']?_0x543bf7['label']:null;}['getMergeFieldDefaultValue'](_0x5ca9cc){const _0xf14df5=this['getDefinition'](_0x5ca9cc);if(!_0xf14df5||void 0x0===_0xf14df5['defaultValue'])return null;const _0x3c651d='function'==typeof _0xf14df5['defaultValue']?_0xf14df5['defaultValue'](this['editor']):_0xf14df5['defaultValue'];return String(_0x3c651d);}['getMergeFieldValue'](_0x175132,_0x7b9d6){const _0x1e3283=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x49ad88=>_0x49ad88['id']===_0x7b9d6);if(!_0x1e3283)throw new CKEditorError('merge-fields-data-set-not-found',null);const _0xe81f93=_0x1e3283['values'][_0x175132];if(void 0x0===_0xe81f93)return null;const _0x4d1e75='function'==typeof _0xe81f93?_0xe81f93(this['editor']):_0xe81f93;return String(_0x4d1e75);}['getMergeFieldType'](_0x4907d0){if('string'!=typeof _0x4907d0){const _0x34ca07=_0x4907d0;return'mergeField'===_0x34ca07['name']?'text':'mergeFieldBlock'===_0x34ca07['name']?'block':('imageBlock'===_0x34ca07['name']||'imageInline'===_0x34ca07['name']&&_0x34ca07['getAttribute']('src'))&&_0x34ca07['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x1c0436=this['getDefinition'](_0x4907d0);return _0x1c0436&&_0x1c0436['type']?_0x1c0436['type']:'text';}['getMergeFieldHeight'](_0x30597b){const _0x28ed8d=this['getDefinition'](_0x30597b);return _0x28ed8d&&'block'===_0x28ed8d['type']?_0x28ed8d['height']||DEFAULT_MERGE_FIELD_BLOCK_HEIGHT:_0x28ed8d&&'image'===_0x28ed8d['type']?_0x28ed8d['height']||DEFAULT_MERGE_FIELD_IMAGE_HEIGHT:null;}['getMergeFieldWidth'](_0x151803){const _0xf00b3e=this['getDefinition'](_0x151803);return _0xf00b3e&&'image'===_0xf00b3e['type']?_0xf00b3e['width']||DEFAULT_MERGE_FIELD_IMAGE_WIDTH:null;}['getDocumentMergeFieldsIds'](){const _0x3875a4=new Set();for(const _0x1b224b of this['_mergeFieldElements'])'$graveyard'!==_0x1b224b['root']['rootName']&&('image'===this['getMergeFieldType'](_0x1b224b)?_0x3875a4['add'](this['unwrapAffixes'](_0x1b224b['getAttribute']('src'))):_0x3875a4['add'](_0x1b224b['getAttribute']('id')));return Array['from'](_0x3875a4);}['getMergeFieldsIds'](){const _0x54e4c3=this['flattenedMergeFieldDefinitions']['map'](_0x458bb4=>_0x458bb4['id']),_0x32f562=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x54e4c3,..._0x32f562]));}['getDefinition'](_0x54784d){return this['flattenedMergeFieldDefinitions']['find'](_0x341c25=>_0x341c25['id']===_0x54784d)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x5e1170=>{'$graveyard'!==_0x5e1170['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x5e1170);});}['wrapInAffixes'](_0x7a7ab1){return this['_mergeFieldPrefix']+_0x7a7ab1+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x49bf2e){return _0x49bf2e['slice'](this['_mergeFieldPrefix']['length'],_0x49bf2e['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x528ee3=new Set(),_0x3df6da=this['editor'];return _0x3df6da['config']['get']('mergeFields.definitions')['reduce']((_0x2fab07,_0x271287)=>{if('groupId'in _0x271287){if(_0x528ee3['has'](_0x271287['groupId']))throw new CKEditorError('merge-fields-duplicate-group-id',_0x3df6da,{'duplicateId':_0x271287['groupId']});_0x528ee3['add'](_0x271287['groupId']);}return'groupId'in _0x271287?function(_0x56214c,_0x22af97){for(const _0x493210 of _0x22af97['definitions'])_0x56214c=_0x56214c['concat'](_0x493210);return _0x56214c;}['bind'](_0x3df6da)(_0x2fab07,_0x271287):_0x2fab07['concat'](_0x271287);},new Array());}['_validateConfig'](){const _0x546d14=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x546d14['test'](this['_mergeFieldPrefix'])||!_0x546d14['test'](this['_mergeFieldSuffix']))throw new CKEditorError('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new CKEditorError('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x2dec85=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x293b40=>{if(!ALLOWED_IN_IDS['test'](_0x293b40['id']))throw new CKEditorError('merge-fields-invalid-id',this,{'incorrectId':_0x293b40['id']});if(_0x2dec85['has'](_0x293b40['id']))throw new CKEditorError('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x293b40['id']});_0x2dec85['add'](_0x293b40['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new CKEditorError('merge-fields-prefix-and-suffix-must-differ',this);const _0x8aedce=this['editor']['config']['get']('mergeFields.previewModes'),_0x136f40=['$labels','$defaultValues','$dataSets'];if(!_0x8aedce['length']||!_0x8aedce['every'](_0x51408c=>_0x136f40['includes'](_0x51408c)))throw new CKEditorError('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x8aedce});const _0x3847ae=new Set(),_0x42c7db=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x9289b6 of _0x42c7db){if(_0x3847ae['has'](_0x9289b6['id']))throw new CKEditorError('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x9289b6['id']});_0x3847ae['add'](_0x9289b6['id']);}}['_getAvailablePreviewModes'](){const _0x5a2af1=this['editor']['config']['get']('mergeFields.previewModes'),_0x151604=[];if(_0x5a2af1['includes']('$labels')&&_0x151604['push']('$labels'),_0x5a2af1['includes']('$defaultValues')&&_0x151604['push']('$defaultValues'),_0x5a2af1['includes']('$dataSets')){const _0xbe6df6=this['editor']['config']['get']('mergeFields.dataSets');_0x151604['push'](..._0xbe6df6['map'](_0x496d47=>_0x496d47['id']));}return _0x151604;}['_defineSchema'](){const _0x3f9460=this['editor']['model']['schema'];_0x3f9460['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x3f9460['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0xb91665=this['editor']['conversion'];_0xb91665['for']('upcast')['add'](_0x33555f=>{_0x33555f['on']('text',(_0x30725f,_0x45c10e,_0x1de254)=>{const {writer:_0x137f49,safeInsert:_0x37b256}=_0x1de254,{viewItem:_0x1f3daf}=_0x45c10e,_0x28f725=_0x1f3daf['data']['split'](this['_mergeFieldRegExp'])['filter'](_0xe104ec=>_0xe104ec);if(0x1===_0x28f725['length']&&!_0x28f725[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x45c10e['modelRange'])return;const _0x57f0c9=_0x137f49['createElement']('$cursor');_0x137f49['insert'](_0x57f0c9,_0x45c10e['modelCursor']);const _0x4388d1=[];for(const _0x5cee10 of _0x45c10e['modelRange']['getItems']()){if(!_0x5cee10['is']('$textProxy'))continue;const _0x10c2b=_0x5cee10['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x3932f2=_0x5cee10['parent'],_0x5d17e4=_0x5cee10['textNode']['startOffset'];for(const _0x1cbe3 of[..._0x10c2b]['reverse']()){const _0x4a2ebd=_0x1cbe3[0x0],_0x18cb6e=_0x137f49['createPositionAt'](_0x3932f2,_0x1cbe3['index']+_0x5d17e4),_0x2cfa50=_0x18cb6e['getShiftedBy'](_0x4a2ebd['length']),_0x190ae1=_0x137f49['createRange'](_0x18cb6e,_0x2cfa50),_0x12b3a1=this['unwrapAffixes'](_0x4a2ebd),_0x169174=this['getMergeFieldType'](_0x12b3a1),_0x25b956='block'==_0x169174?'mergeFieldBlock':'mergeField',_0x543569=_0x137f49['createElement'](_0x25b956,{'id':_0x12b3a1});_0x137f49['remove'](_0x190ae1),_0x137f49['insert'](_0x543569,_0x18cb6e),'block'==_0x169174&&_0x4388d1['push'](_0x543569);}}_0x4388d1['reverse']();for(const _0x4e0c93 of _0x4388d1){const _0x2e76b7=_0x137f49['createPositionBefore'](_0x4e0c93);_0x137f49['remove'](_0x4e0c93),_0x37b256(_0x4e0c93,_0x2e76b7);}_0x45c10e['modelCursor']=_0x137f49['createPositionBefore'](_0x57f0c9),_0x45c10e['modelRange']=_0x137f49['createRange'](_0x45c10e['modelRange']['start'],_0x45c10e['modelCursor']),_0x137f49['remove'](_0x57f0c9);},{'priority':priorities['get']('lowest')-0x1});}),_0xb91665['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x16fa1d,{writer:_0x255547})=>_0x255547['createElement']('mergeField',{'id':_0x16fa1d['getAttribute']('data-ck-merge-field')})}),_0xb91665['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x1484d0,{writer:_0x42c9cd})=>_0x42c9cd['createElement']('mergeFieldBlock',{'id':_0x1484d0['getAttribute']('data-ck-merge-field')})}),_0xb91665['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0xb91665['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x5aed40,{writer:_0x3a457b})=>this['_createMergeFieldWidget'](_0x5aed40,_0x3a457b,'text')}),_0xb91665['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x1ac23c,{writer:_0x1a811e,options:_0x50781d})=>this['_createTextualMergeField'](_0x1ac23c,_0x1a811e,_0x50781d)}),_0xb91665['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x229ede,{writer:_0x256289})=>this['_createMergeFieldWidget'](_0x229ede,_0x256289,'block')}),_0xb91665['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x6825b6,{writer:_0x3f69b9,options:_0x3cf936})=>this['_createTextualMergeField'](_0x6825b6,_0x3f69b9,_0x3cf936)}),_0xb91665['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0xb91665['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x39e18c=>{_0x39e18c['on']('element:img',(_0x1a6624,_0x24c477,_0x4462b8)=>{_0x4462b8['consumable']['test'](_0x24c477['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x4462b8['writer']['setAttribute']('src',this['wrapInAffixes'](_0x24c477['viewItem']['getAttribute']('data-ck-merge-field')),_0x24c477['modelCursor']['nodeBefore']),_0x4462b8['consumable']['consume'](_0x24c477['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x714571){const _0x242eb9=this['editor']['plugins']['get']('ImageUtils'),_0x19472b=(_0x3a9aa7,_0x293aa8,_0x353fb8)=>{if(!0x1!==_0x353fb8['consumable']['test'](_0x293aa8['item'],_0x3a9aa7['name']))return;if(!String(_0x293aa8['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x321bcd=_0x353fb8['writer'],_0x283756=_0x353fb8['mapper']['toViewElement'](_0x293aa8['item']),_0x37238a=_0x242eb9['findViewImgElement'](_0x283756),_0x482b62=String(_0x293aa8['attributeNewValue']),_0x4424c2=this['unwrapAffixes'](_0x482b62),_0x38fb26=_0x353fb8['options']['mergeFieldsData'];if(_0x353fb8['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x943718;return _0x943718='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x4424c2)||this['getLabel'](_0x4424c2)||this['wrapInAffixes'](_0x4424c2):this['getMergeFieldValue'](_0x4424c2,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x4424c2)||this['getLabel'](_0x4424c2)||this['wrapInAffixes'](_0x4424c2),_0x321bcd['setAttribute']('data-ck-merge-field',_0x4424c2,_0x37238a),void _0x321bcd['setAttribute'](_0x293aa8['attributeKey'],_0x943718,_0x37238a);}const _0x3d045d=_0x38fb26&&_0x38fb26[_0x4424c2]?_0x38fb26[_0x4424c2]:_0x482b62;_0x321bcd['setAttribute'](_0x293aa8['attributeKey'],_0x3d045d,_0x37238a);};return _0x358848=>{_0x358848['on']('attribute:src:'+_0x714571,_0x19472b,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x1e76d7){const _0xb07d8=this['editor']['plugins']['get']('ImageUtils'),_0x45c597=(_0x3923fe,_0x4fb887,_0x3c0e7b)=>{if(!0x1!==_0x3c0e7b['consumable']['test'](_0x4fb887['item'],_0x3923fe['name']))return;if(!String(_0x4fb887['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x178d08=_0x3c0e7b['writer'],_0x504a37=_0x3c0e7b['mapper']['toViewElement'](_0x4fb887['item']),_0x4a3d8c=_0xb07d8['findViewImgElement'](_0x504a37),_0x2c4416=String(_0x4fb887['attributeNewValue']),_0x1a7e41=this['unwrapAffixes'](_0x2c4416),_0x3a2ed9=this['getMergeFieldDefaultValue'](_0x1a7e41),_0x577e6b='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x1b0088,_0x3337fe='',_0x55f4d5='';if('$labels'===this['previewMode'])_0x1b0088=_0x577e6b;else{if('$defaultValues'===this['previewMode'])_0x3a2ed9?(_0x1b0088=_0x3a2ed9,_0x55f4d5='\x20ck-merge-field-image_with-value'):(_0x1b0088=_0x577e6b,_0x3337fe='WARNING_MISSING_DEFAULT_VALUE',_0x55f4d5='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x259546=this['getMergeFieldValue'](_0x1a7e41,this['previewMode']);_0x259546?(_0x1b0088=_0x259546,_0x55f4d5='\x20ck-merge-field-image_with-value'):_0x3a2ed9?(_0x1b0088=_0x3a2ed9,_0x55f4d5='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x3337fe='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x1b0088=_0x577e6b,_0x55f4d5='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x3337fe='WARNING_MISSING_DATA');}}if(_0x178d08['addClass']('ck-merge-field-image'+_0x55f4d5,_0x504a37),_0x178d08['setAttribute'](_0x4fb887['attributeKey'],_0x1b0088,_0x4a3d8c),'$labels'===this['previewMode']){const _0x3cb66a='imageInline'===_0x1e76d7?'span':'div',_0x14c29f=this['_mergeFieldPrefix'],_0x463542=this['_mergeFieldSuffix'],_0xbbc93d=_0x178d08['createContainerElement'](_0x3cb66a,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x178d08['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4ea19a){const _0x195982=this['toDomElement'](_0x4ea19a);return _0x195982['innerHTML']=_0x14c29f,_0x195982;}),_0x178d08['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x178d08['createText'](this['getLabel'](_0x1a7e41)||_0x1a7e41)),_0x178d08['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1b24dd){const _0x455a10=this['toDomElement'](_0x1b24dd);return _0x455a10['innerHTML']=_0x463542,_0x455a10;})]);_0x178d08['insert'](_0x178d08['createPositionAt'](_0x504a37,'end'),_0xbbc93d),_0x178d08['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x1a7e41)||_0x1a7e41,_0xbbc93d);}else{if(_0x3337fe&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x3337fe)){const _0xa55c6d='imageInline'===_0x1e76d7?'span':'div',_0x545e05=_0x55f4d5['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x2225f3=_0x178d08['createContainerElement'](_0xa55c6d,{'class':'ck-merge-field'+_0x545e05,'data-cke-tooltip-instant':'true'},[_0x178d08['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x178d08['createText'](this['getLabel'](_0x1a7e41)||_0x1a7e41))]),_0xde6d6c=_0x178d08['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x2beedf){const _0xd7cb=this['toDomElement'](_0x2beedf),_0x16f772=new IconView();return _0x16f772['set']({'content':warningIcon}),_0x16f772['render'](),_0xd7cb['appendChild'](_0x16f772['element']),_0xd7cb;});_0x178d08['insert'](_0x178d08['createPositionAt'](_0x2225f3,'end'),_0xde6d6c),_0x178d08['insert'](_0x178d08['createPositionAt'](_0x504a37,'end'),_0x2225f3),_0x178d08['setCustomProperty']('mergeFieldStatus',_0x3337fe,_0x2225f3),_0x178d08['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x1a7e41)||_0x1a7e41,_0x2225f3);}}_0x178d08['setAttribute']('data-merge-field-name',_0x1a7e41,_0x504a37),_0x3337fe&&_0x178d08['setCustomProperty']('mergeFieldStatus',_0x3337fe,_0x504a37);};return _0x18f555=>{_0x18f555['on']('attribute:src:'+_0x1e76d7,_0x45c597,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x4f2214,_0x432b5d){if(!_0x432b5d['target'])return null;const _0x2a7973=_0x432b5d['target']['parentElement'];return _0x2a7973&&_0x2a7973['classList']['contains']('ck-merge-field-image')?new _0x103ceb(_0x2a7973,_0x1aee10=>{const _0x477fcc=_0x1aee10['target'],_0x3f87c5=_0x477fcc['querySelector']('.ck-merge-field'),_0x4f806e=_0x477fcc['querySelector']('.ck-merge-field__content');_0x3f87c5&&_0x4f806e&&(_0x4f806e['scrollWidth']>_0x4f806e['getBoundingClientRect']()['width']?_0x3f87c5['removeAttribute']('data-cke-tooltip-disabled'):_0x3f87c5['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x220f01,_0x31ee37,_0x388687){const {label:_0x6e0d9c,classes:_0x2120b0,status:_0x19ae7d,height:_0x3d0173}=this['_prepareViewElementData'](_0x220f01),_0x5b6a4c=this['_mergeFieldPrefix'],_0x4a4e18=this['_mergeFieldSuffix'],_0x39e8aa=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x42954c='text'===_0x388687?'span':'div';let _0x4bb098;if('$labels'===this['previewMode'])_0x4bb098=_0x31ee37['createContainerElement'](_0x42954c,{'class':_0x2120b0},[_0x31ee37['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x2f4583){const _0x75359f=this['toDomElement'](_0x2f4583);return _0x75359f['innerHTML']=_0x5b6a4c,_0x75359f;}),_0x31ee37['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x31ee37['createText'](String(_0x6e0d9c))),_0x31ee37['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x23db7d){const _0x37640f=this['toDomElement'](_0x23db7d);return _0x37640f['innerHTML']=_0x4a4e18,_0x37640f;})]);else{if(_0x19ae7d){const _0x36110d=this['_shouldPreviewHtmlValues']?_0x31ee37['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x52a56d,_0x16e6be){_0x16e6be['setContentOf'](_0x52a56d,_0x39e8aa(_0x6e0d9c)['html']);}):_0x31ee37['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x31ee37['createText'](_0x6e0d9c));if(_0x4bb098=_0x31ee37['createContainerElement'](_0x42954c,{'class':_0x2120b0},[_0x36110d]),'text'===_0x388687||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x19ae7d)){const _0x56ba53=_0x31ee37['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x4ac6be){const _0x14dd51=this['toDomElement'](_0x4ac6be),_0xf4afe2=new IconView();return _0xf4afe2['set']({'content':warningIcon}),_0xf4afe2['render'](),_0x14dd51['appendChild'](_0xf4afe2['element']),_0x14dd51;});_0x31ee37['insert'](_0x31ee37['createPositionAt'](_0x4bb098,'end'),_0x56ba53);}_0x31ee37['setCustomProperty']('mergeFieldStatus',_0x19ae7d,_0x4bb098);}else{const _0x3a8ebf=this['_shouldPreviewHtmlValues']?_0x31ee37['createRawElement'](_0x42954c,{},function(_0x2b2f91,_0x5e4919){_0x5e4919['setContentOf'](_0x2b2f91,_0x39e8aa(_0x6e0d9c)['html']);}):_0x31ee37['createText'](_0x6e0d9c);_0x4bb098=_0x31ee37['createContainerElement'](_0x42954c,{'class':_0x2120b0},_0x3a8ebf);}}if('block'===_0x388687){const _0x56fb6c=_0x31ee37['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x4bb098]);if(('$labels'===this['previewMode']||_0x19ae7d&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x19ae7d))&&_0x31ee37['setAttribute']('style','height:\x20'+_0x3d0173+'px',_0x56fb6c),_0x4bb098['hasClass']('ck-merge-field_with-value'))_0x31ee37['addClass']('ck-merge-field-block_with-value',_0x56fb6c);else{if(_0x4bb098['hasClass']('ck-merge-field_with-warning')){for(const _0x4c39fe of _0x4bb098['getClassNames']())if('ck-merge-field'!==_0x4c39fe){const _0x3386e3=_0x4c39fe['replace']('ck-merge-field','ck-merge-field-block');_0x31ee37['addClass'](_0x3386e3,_0x56fb6c);}_0x31ee37['setCustomProperty']('mergeFieldStatus',_0x19ae7d,_0x56fb6c);}}return _0x31ee37['setCustomProperty']('mergeFieldBlock',!0x0,_0x56fb6c),_0x31ee37['setAttribute']('data-merge-field-name',_0x220f01['getAttribute']('id'),_0x56fb6c),toWidget(_0x56fb6c,_0x31ee37,{'hasSelectionHandle':!0x0});}return _0x31ee37['setCustomProperty']('mergeField',!0x0,_0x4bb098),_0x31ee37['setAttribute']('data-merge-field-name',_0x220f01['getAttribute']('id'),_0x4bb098),toWidget(_0x4bb098,_0x31ee37);}['_prepareViewElementData'](_0x298fdf){const _0x2250d2=_0x298fdf['getAttribute']('id'),_0x23e2b7=this['getDefinition'](_0x2250d2);if(!_0x23e2b7)return'$labels'===this['previewMode']?{'label':_0x2250d2,'classes':'ck-merge-field'}:{'label':_0x2250d2,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x3f62a5=this['getLabel'](_0x2250d2)||_0x2250d2,_0x58d347=this['getMergeFieldDefaultValue'](_0x2250d2),_0x5d72f5=this['getMergeFieldHeight'](_0x2250d2);if('$labels'===this['previewMode'])return{'label':_0x3f62a5,'height':_0x5d72f5,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x58d347?{'label':_0x58d347,'height':_0x5d72f5,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x3f62a5,'height':_0x5d72f5,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x2321ca=this['getMergeFieldValue'](_0x23e2b7['id'],this['previewMode']);return _0x2321ca?{'label':_0x2321ca,'height':_0x5d72f5,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x58d347?{'label':_0x58d347,'height':_0x5d72f5,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','status':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'}:{'label':_0x3f62a5,'height':_0x5d72f5,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x19469e,_0x578a4f,_0x50eea6){const _0x50331e=_0x19469e['getAttribute']('id');let _0x1652c7;if(_0x50eea6['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x50331e,_0x578a4f);const _0x1f2a4b=_0x50eea6['mergeFieldsData'],_0x527840=_0x1f2a4b&&_0x1f2a4b[_0x50331e]?_0x1f2a4b[_0x50331e]:this['wrapInAffixes'](_0x50331e);if(_0x1f2a4b)_0x1652c7=_0x578a4f['createRawElement']('span',{},function(_0x3c5186,_0x37a53b){_0x37a53b['setContentOf'](_0x3c5186,String(_0x527840));});else{_0x1652c7=_0x578a4f['createContainerElement']('span');const _0x6ee03c=_0x578a4f['createText'](_0x527840);_0x578a4f['insert'](_0x578a4f['createPositionAt'](_0x1652c7,'end'),_0x6ee03c);}return _0x578a4f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1652c7),_0x1652c7;}['_downcastForClipboard'](_0x1d987b,_0x140f0c){const _0x327a44='block'===this['getMergeFieldType'](_0x1d987b)?'div':'span';let _0x552c5a,_0x4f8d6f;_0x552c5a='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x1d987b)||this['getLabel'](_0x1d987b)||this['wrapInAffixes'](_0x1d987b):this['getMergeFieldValue'](_0x1d987b,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x1d987b)||this['getLabel'](_0x1d987b)||this['wrapInAffixes'](_0x1d987b);const _0xfa6187=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x4f8d6f=this['_shouldPreviewHtmlValues']?_0x140f0c['createRawElement'](_0x327a44,{'data-ck-merge-field':_0x1d987b},function(_0x305a65,_0x296400){_0x296400['setContentOf'](_0x305a65,_0xfa6187(_0x552c5a)['html']);}):_0x140f0c['createContainerElement'](_0x327a44,{'data-ck-merge-field':_0x1d987b},_0x140f0c['createText'](_0x552c5a)),_0x4f8d6f;}['_validatePreviewMode'](_0x2a503f){if(!this['availablePreviewModes']['includes'](_0x2a503f))throw new CKEditorError('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x2a503f});}['_trackAddedMergeFields'](){for(const _0x2f958b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2f958b['type']||'$text'===_0x2f958b['name'])continue;if('mergeField'===_0x2f958b['name']||'mergeFieldBlock'===_0x2f958b['name']){this['_mergeFieldElements']['add'](_0x2f958b['position']['nodeAfter']);continue;}if('imageInline'===_0x2f958b['name']||'imageBlock'===_0x2f958b['name']&&_0x2f958b['attributes']['get']('src')&&String(_0x2f958b['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x2f958b['position']['nodeAfter']);continue;}const _0x8043ef=this['editor']['model']['createRangeIn'](_0x2f958b['position']['nodeAfter']);for(const _0x13c3aa of _0x8043ef['getItems']())_0x13c3aa['is']('element')&&this['isMergeField'](_0x13c3aa)&&this['_mergeFieldElements']['add'](_0x13c3aa);}}['_registerConversionPostFixer'](){const _0x26187b=this['editor'];_0x26187b['model']['document']['registerPostFixer'](_0x2e579a=>{if(!_0x2e579a['batch']['isLocal'])return!0x1;const _0x8d81f2=[],_0x58fe58=new Set(),_0x518356=this['_mergeFieldRegExp'];let _0x3534d6=!0x1;for(const _0x326925 of _0x26187b['model']['document']['differ']['getChanges']())if('insert'===_0x326925['type']||'remove'===_0x326925['type']){let _0x153030='$text'==_0x326925['name']?_0x326925['position']['parent']:_0x326925['position']['nodeAfter'];if(!_0x153030)continue;_0x153030['is']('$text')&&(_0x153030=_0x153030['parent']),_0x352a37(_0x153030);}for(const _0x472e7d of _0x8d81f2['reverse']()){const {match:_0x4fdffc,item:_0x38b2f1}=_0x472e7d,_0x106cca=_0x2e579a['createPositionAt'](_0x38b2f1,_0x4fdffc['index']),_0x5f3833=_0x106cca['getShiftedBy'](_0x4fdffc[0x0]['length']),_0x1266b4=_0x2e579a['createRange'](_0x106cca,_0x5f3833),_0x50826f=_0x4fdffc[0x0],_0xe76012=this['unwrapAffixes'](_0x50826f),_0x3d9688=_0x2bba88(_0x1266b4),_0x48c056=this['getMergeFieldType'](_0xe76012);if(ALLOWED_IN_IDS['test'](_0xe76012)){if(_0x3d9688['set']('id',_0xe76012),'block'===_0x48c056){const _0x314774=_0x2e579a['createElement']('mergeFieldBlock',{'id':_0xe76012});_0x2e579a['remove'](_0x1266b4),_0x26187b['model']['insertObject'](_0x314774,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x48c056){const _0x941361=_0x2e579a['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0xe76012)});_0x2e579a['remove'](_0x1266b4),_0x26187b['model']['insertObject'](_0x941361,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x444f72=_0x2e579a['createElement']('mergeField',_0x3d9688);_0x26187b['model']['schema']['checkChild'](_0x1266b4['start'],'mergeField')?_0x26187b['model']['insertObject'](_0x444f72,_0x1266b4):_0x2e579a['remove'](_0x1266b4);}}_0x3534d6=!0x0;}}return _0x3534d6;function _0x352a37(_0x14f36a){let _0x3c7086='',_0xe7a43a=0x0;if(!_0x58fe58['has'](_0x14f36a))for(const _0x17cde0 of _0x14f36a['getChildren']()){const _0x4dbaeb=_0x17cde0['nextSibling'];if(_0x17cde0['is']('$text')&&(''===_0x3c7086&&_0x17cde0['startOffset']&&(_0xe7a43a=_0x17cde0['startOffset']),_0x3c7086+=_0x17cde0['data']),!_0x4dbaeb||_0x4dbaeb['is']('element')){for(const _0x10013c of _0x3c7086['matchAll'](_0x518356))_0x10013c['index']=_0x10013c['index']+_0xe7a43a,_0x8d81f2['push']({'match':_0x10013c,'item':_0x14f36a});_0x58fe58['add'](_0x14f36a),_0x3c7086='';}_0x17cde0['is']('element')&&_0x352a37(_0x17cde0);}}function _0x2bba88(_0x5e3c3d){const _0x4fb9df=_0x5e3c3d['getItems'](),_0xa4f39e=_0x4fb9df['next']()['value'],_0x4a6f19=new Map(_0xa4f39e['getAttributes']());for(const _0x60e4f8 of _0x4fb9df)for(const [_0x4395b0,_0x56a0f3]of _0x4a6f19)_0x60e4f8['getAttribute'](_0x4395b0)!==_0x56a0f3&&_0x4a6f19['delete'](_0x4395b0);return _0x4a6f19;}});}['_disableCommandOnMergeFields'](_0x3efeb6){const _0x4f1e56=this['editor'],_0x5e5dda=_0x4f1e56['commands']['get'](_0x3efeb6);_0x5e5dda&&_0x5e5dda['on']('set:isEnabled',(_0x3f7b44,_0xd5965d,_0x163bca)=>{if(0x1==_0x163bca){const _0x36cc51=_0x4f1e56['model']['document']['selection']['getSelectedElement']();_0x36cc51&&this['isMergeField'](_0x36cc51)&&(_0x3f7b44['return']=!0x1,_0x3f7b44['stop']());}});}}async function checkLicense$8(_0x4c0e3f){const _0x5f251c=_0x49de4c([0x70,0x51,0x4f,0x69,0x47,0x6c,0x36,0x7a,0x68,0x37,0x6a,0x59,0x31,0x76,0x52,0x42,0x30,0x79,0x4e,0x49,0x57,0x4c,0x63,0x61,0x66,0x56,0x62,0x5a,0x43,0x4b,0x45,0x53,0x33,0x35,0x32,0x78,0x44,0x46,0x71,0x65,0x4d,0x72,0x55,0x73,0x6e,0x39,0x54,0x67,0x38,0x34,0x6b,0x77,0x4a,0x64,0x41,0x48,0x74,0x50,0x6f,0x58,0x6d,0x75]),_0x27d44a=window[_0x49de4c([0x44,0x61,0x74,0x65])][_0x49de4c([0x6e,0x6f,0x77])](),_0x282257=_0x4c0e3f[_0x49de4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x360ed0=new window[(_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x220ec1=>{_0x282257[_0x49de4c([0x6f,0x6e,0x63,0x65])](_0x49de4c([0x72,0x65,0x61,0x64,0x79]),_0x220ec1);}),_0x25ce27={[_0x49de4c([0x6b,0x74,0x79])]:_0x49de4c([0x45,0x43]),[_0x49de4c([0x75,0x73,0x65])]:_0x49de4c([0x73,0x69,0x67]),[_0x49de4c([0x63,0x72,0x76])]:_0x49de4c([0x50,0x2d,0x32,0x35,0x36]),[_0x49de4c([0x78])]:_0x49de4c([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]),[_0x49de4c([0x79])]:_0x49de4c([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]),[_0x49de4c([0x61,0x6c,0x67])]:_0x49de4c([0x45,0x53,0x32,0x35,0x36])},_0x3e9cae=_0x282257[_0x49de4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49de4c([0x67,0x65,0x74])](_0x49de4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4d0ff5=await(async function(){let _0x52397a,_0x12b2cd=null,_0x44a5db=null;try{if(_0x3e9cae==_0x49de4c([0x47,0x50,0x4c]))return _0x49de4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52397a=(function(){const _0x4cf534=_0x3e9cae[_0x49de4c([0x73,0x70,0x6c,0x69,0x74])](_0x49de4c([0x2e]));if(0x3!=_0x4cf534[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x520a96=_0x4cf534[0x1];return _0x24f826(_0x520a96);function _0x24f826(_0x408142){const _0x4fa37b=_0x47def3(_0x408142);return _0x4fa37b&&_0x5550ba()?_0x4fa37b:null;function _0x5550ba(){const _0x45c08f=_0x4fa37b[_0x49de4c([0x6a,0x74,0x69])],_0x55b214=window[_0x49de4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c08f[_0x49de4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45c08f[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x409715={..._0x4fa37b,[_0x49de4c([0x6a,0x74,0x69])]:_0x45c08f[_0x49de4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45c08f[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x409715[_0x49de4c([0x76,0x63])],_0x45769c(_0x409715)==_0x55b214;}}}()),!_0x52397a)return _0x49de4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x52397a[_0x49de4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44a5db=function(_0x2320a9,_0x2daae9){return new window[(_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9c0a26=>{if(_0x1f0ae6())return _0x9c0a26(_0x49de4c([0x56,0x61,0x6c,0x69,0x64]));_0x51438e(),_0x282257[_0x49de4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49de4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x498a70=!0x1;const _0x5891a1=uid();function _0x4f039b(_0x2c43fc){return!!_0x2c43fc&&(typeof _0x2c43fc===_0x49de4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c43fc===_0x49de4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c43fc[_0x49de4c([0x74,0x68,0x65,0x6e])]===_0x49de4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c43fc[_0x49de4c([0x63,0x61,0x74,0x63,0x68])]===_0x49de4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30ad29(_0x185bee){_0x3f0495(_0x185bee)[_0x49de4c([0x74,0x68,0x65,0x6e])](_0x47e42e=>{if(!_0x47e42e||_0x47e42e[_0x49de4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49de4c([0x6f,0x6b]))return _0x49de4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ee930(_0x45769c(_0x5891a1+_0x2daae9))!=_0x47e42e[_0x49de4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49de4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49de4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x49de4c([0x74,0x68,0x65,0x6e])](_0x41bc6a=>(_0x28a56b(),_0x41bc6a),()=>{const _0x2d34e8=_0x125b26();return null==_0x2d34e8?(_0x28a56b(),_0x49de4c([0x56,0x61,0x6c,0x69,0x64])):_0x49de4c(_0x27d44a-_0x2d34e8>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49de4c([0x74,0x68,0x65,0x6e])](_0x9c0a26)[_0x49de4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9c0a26(_0x49de4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd02402=0x36ee80;function _0x28a56b(){const _0x8de3b2=_0x49de4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ee930(_0x45769c(_0x2320a9)),_0x20ae84=_0x5861d6(_0x2ee930(window[_0x49de4c([0x4d,0x61,0x74,0x68])][_0x49de4c([0x63,0x65,0x69,0x6c])](_0x27d44a/_0xd02402)));window[_0x49de4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49de4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8de3b2,_0x20ae84);}function _0x125b26(){const _0x2a57c8=_0x49de4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ee930(_0x45769c(_0x2320a9)),_0x5a65b0=window[_0x49de4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49de4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a57c8);return _0x5a65b0?window[_0x49de4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5861d6(_0x5a65b0),0x10)*_0xd02402:null;}function _0x3f0495(_0x328d5e){return new window[(_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf3f615,_0x167bbd)=>{_0x328d5e[_0x49de4c([0x74,0x68,0x65,0x6e])](_0xf3f615,_0x167bbd),window[_0x49de4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x167bbd,0x1d4c0);});}}_0x282257[_0x49de4c([0x6f,0x6e])](_0x49de4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7fcf7c,_0x1b5021)=>{if(_0x1b5021[0x0]!=_0x2320a9)return _0x9c0a26(_0x49de4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b5021[0x1]={..._0x1b5021[0x1],[_0x49de4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5891a1};},{[_0x49de4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49de4c([0x68,0x69,0x67,0x68])}),_0x282257[_0x49de4c([0x6f,0x6e])](_0x49de4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e66ca=>{_0x4f039b(_0x1e66ca[_0x49de4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x498a70=!0x0,_0x30ad29(_0x1e66ca[_0x49de4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49de4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49de4c([0x6c,0x6f,0x77])}),_0x360ed0[_0x49de4c([0x74,0x68,0x65,0x6e])](()=>{_0x498a70||_0x9c0a26(_0x49de4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f0ae6(){return _0x282257[_0x49de4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49de4c([0x76,0x69,0x65,0x77])][_0x49de4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49de4c([0x61,0x75,0x74,0x6f]);}function _0x51438e(){_0x282257[_0x49de4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49de4c([0x76,0x69,0x65,0x77])][_0x49de4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49de4c([0x61,0x75,0x74,0x6f]);}}(_0x52397a[_0x49de4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52397a[_0x49de4c([0x6a,0x74,0x69])]));const _0x2bc7be=await(async function(){let _0x262fc0=!0x0;try{const _0x43d996=_0x3e9cae[_0x49de4c([0x73,0x70,0x6c,0x69,0x74])](_0x49de4c([0x2e])),[_0x329ccd,_0x1dbb38,_0x3a0823]=_0x43d996;return _0x4ac0d6(_0x329ccd),await _0xb1e0a3(_0x329ccd,_0x1dbb38,_0x3a0823),_0x262fc0;}catch(_0x1b0d2a){return!0x1;}function _0x4ac0d6(_0x2a86dc){const _0x783437=_0x47def3(_0x2a86dc);_0x783437&&_0x783437[_0x49de4c([0x61,0x6c,0x67])]==_0x49de4c([0x45,0x53,0x32,0x35,0x36])||(_0x262fc0=!0x1);}async function _0xb1e0a3(_0x28d7a3,_0x48e860,_0x3405b7){const _0x55883e=window[_0x49de4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49de4c([0x66,0x72,0x6f,0x6d])](_0x14ffec(_0x3405b7),_0x116b3d=>_0x116b3d[_0x49de4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x316c7c=new window[(_0x49de4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49de4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28d7a3+_0x49de4c([0x2e])+_0x48e860),_0x40a21b=window[_0x49de4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49de4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40a21b)return;const _0x56b00a=await _0x40a21b[_0x49de4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49de4c([0x6a,0x77,0x6b]),_0x25ce27,{[_0x49de4c([0x6e,0x61,0x6d,0x65])]:_0x49de4c([0x45,0x43,0x44,0x53,0x41]),[_0x49de4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49de4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49de4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40a21b[_0x49de4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49de4c([0x6e,0x61,0x6d,0x65])]:_0x49de4c([0x45,0x43,0x44,0x53,0x41]),[_0x49de4c([0x68,0x61,0x73,0x68])]:{[_0x49de4c([0x6e,0x61,0x6d,0x65])]:_0x49de4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56b00a,_0x55883e,_0x316c7c)||(_0x262fc0=!0x1);}}());return _0x2bc7be?(function(){const _0x56d796=_0x52397a[_0x49de4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x56d796)return!0x1;if(_0x56d796[_0x49de4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49de4c([0x2a])))return!0x0;if(_0x56d796[_0x49de4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49de4c([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x191e16=[_0x49de4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49de4c([0x74,0x72,0x69,0x61,0x6c])][_0x49de4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52397a[_0x49de4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27d44a/0x3e8:0x67b67080;return _0x52397a[_0x49de4c([0x65,0x78,0x70])]<_0x191e16;}())?_0x49de4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x514e8=_0x52397a[_0x49de4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x514e8||0x0==_0x514e8[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4389a4}=new URL(window[_0x49de4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x514e8[_0x49de4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4389a4))return!0x0;const _0x383284=_0x4389a4[_0x49de4c([0x73,0x70,0x6c,0x69,0x74])](_0x49de4c([0x2e]));return _0x514e8[_0x49de4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x695f04=>_0x695f04[_0x49de4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49de4c([0x2a])))[_0x49de4c([0x6d,0x61,0x70])](_0x185b8a=>_0x185b8a[_0x49de4c([0x73,0x70,0x6c,0x69,0x74])](_0x49de4c([0x2e])))[_0x49de4c([0x73,0x6f,0x6d,0x65])](_0x51fb52=>_0x383284[_0x49de4c([0x65,0x76,0x65,0x72,0x79])]((_0x182036,_0x4695bc)=>_0x51fb52[_0x4695bc]===_0x182036||_0x51fb52[_0x4695bc]===_0x49de4c([0x2a])));}())?(_0x52397a[_0x49de4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49de4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12b2cd=_0x30db85(_0x49de4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52397a[_0x49de4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49de4c([0x74,0x72,0x69,0x61,0x6c])&&(_0x12b2cd=_0x30db85(_0x49de4c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x12b2cd&&_0x44a5db)return new window[(_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x238781,_0x3f65aa)=>{_0x12b2cd[_0x49de4c([0x74,0x68,0x65,0x6e])](_0x238781,_0x3f65aa),_0x44a5db[_0x49de4c([0x74,0x68,0x65,0x6e])](_0x542164=>{_0x542164!=_0x49de4c([0x56,0x61,0x6c,0x69,0x64])&&_0x238781(_0x542164);},_0x3f65aa);});return _0x12b2cd||_0x44a5db||_0x49de4c([0x56,0x61,0x6c,0x69,0x64]);}())):_0x49de4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49de4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49de4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xb8ec21){return _0x49de4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x30db85(_0x4ca4e7){const _0x234e94=new window[(_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbea48a=>setTimeout(_0xbea48a,0x93ecc)),_0x4c8aa5=_0x360ed0[_0x49de4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3af2=>{let _0x1da436=0x0;_0x282257[_0x49de4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x49de4c([0x6f,0x6e])](_0x49de4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33347b,_0x590706)=>{_0x590706[0x0][_0x49de4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1da436++,0x1f8==_0x1da436&&(_0x1c3af2(),_0x33347b[_0x49de4c([0x6f,0x66,0x66])]());});})),_0x417ab5=[_0x234e94,_0x4c8aa5];return window[_0x49de4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49de4c([0x72,0x61,0x63,0x65])](_0x417ab5)[_0x49de4c([0x74,0x68,0x65,0x6e])](()=>_0x4ca4e7);}function _0x47def3(_0x28db90){return _0x28db90[_0x49de4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49de4c([0x65,0x79]))?JSON[_0x49de4c([0x70,0x61,0x72,0x73,0x65])](_0x14ffec(_0x28db90)):null;}function _0x14ffec(_0x159e6d){return window[_0x49de4c([0x61,0x74,0x6f,0x62])](_0x159e6d[_0x49de4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49de4c([0x2b]))[_0x49de4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49de4c([0x2f])));}function _0x45769c(_0x1070ca){let _0x3a4fa7=0x1505;function _0x49362c(_0xdcdc87){for(let _0x1e6dc3=0x0;_0x1e6dc3<_0xdcdc87[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e6dc3++){const _0x279bcc=_0xdcdc87[_0x49de4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e6dc3);_0x3a4fa7=(_0x3a4fa7<<0x5)+_0x3a4fa7+_0x279bcc,_0x3a4fa7&=_0x3a4fa7;}}return function _0x2c7454(_0xed4c30){Array[_0x49de4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xed4c30)?_0xed4c30[_0x49de4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c7454):_0xed4c30&&typeof _0xed4c30==_0x49de4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49de4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xed4c30)[_0x49de4c([0x73,0x6f,0x72,0x74])]()[_0x49de4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26bd25,_0x4d2971])=>{_0x49362c(_0x26bd25),_0x2c7454(_0x4d2971);}):_0x49362c(window[_0x49de4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xed4c30));}(_0x1070ca),_0x3a4fa7>>>0x0;}function _0x2ee930(_0x274374){return _0x274374[_0x49de4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49de4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49de4c([0x30]));}function _0x5861d6(_0x4c1dbb){return _0x4c1dbb[_0x49de4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49de4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49de4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x55f498(){}function _0x49de4c(_0x56b23f){return _0x56b23f['map'](_0x187197=>String['fromCharCode'](_0x187197))['join']('');}!function(_0x15d6b3){const _0x1c24d5=(function(){const _0x7eda38=window[_0x49de4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49de4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49de4c([0x6e,0x6f,0x77])]())[_0x49de4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49de4c([0x2e]),'');let _0x3f7a1d=_0x49de4c([0x70]);for(let _0x595ab8=0x0;_0x595ab8<_0x7eda38[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x595ab8+=0x2){let _0x6c9dad=window[_0x49de4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7eda38[_0x49de4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x595ab8,_0x595ab8+0x2));_0x6c9dad>=_0x5f251c[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6c9dad-=_0x5f251c[_0x49de4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f7a1d+=_0x5f251c[_0x6c9dad];}return _0x3f7a1d;}());_0x282257[_0x1c24d5]=_0x49de4c([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15d6b3,_0x15d6b3!=_0x49de4c([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x360ed0,_0x282257[_0x49de4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x49de4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55f498,_0x282257[_0x49de4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x49de4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55f498,_0x282257[_0x49de4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49de4c([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4d0ff5);}class MergeFieldsListView extends ListView{['filter'](_0x56e717){return filterGroupAndItemNames(_0x56e717,this['items']);}}class MergeFieldsPanelView extends View{constructor(_0x1b2874){super(_0x1b2874),this['set']('text','');const _0x93de98=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-merge-fields-form']},'children':[{'tag':'div','attributes':{'class':['ck','ck-merge-fields-form__status']},'children':[{'text':_0x93de98['to']('text')}]}]});}}function getTranslation$8(_0x36cff7,_0x2e4054){const t=_0x36cff7['t'];switch(_0x2e4054){case'Search\x20merge\x20field':return t('Search\x20merge\x20field');case'No\x20merge\x20fields\x20found':return t('No\x20merge\x20fields\x20found');case'No\x20merge\x20fields\x20available':return t('No\x20merge\x20fields\x20available');case'Insert\x20merge\x20field':return t('Insert\x20merge\x20field');case'Merge\x20field':return t('Merge\x20field');case'Merge\x20fields\x20preview':return t('Merge\x20fields\x20preview');case'Labels':return t('Labels');case'Default\x20values':return t('Default\x20values');case'WARNING_MISSING_DATA_USED_DEFAULT_VALUE':return t({'string':'Default\x20value\x20is\x20used.','id':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'});case'WARNING_MISSING_DEFAULT_VALUE':return t({'string':'Default\x20value\x20not\x20available.','id':'WARNING_MISSING_DEFAULT_VALUE'});case'WARNING_MISSING_DATA':return t({'string':'Value\x20not\x20available.','id':'WARNING_MISSING_DATA'});default:return _0x2e4054;}}var insertMergeFieldIcon='<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a<circle\x20cx=\x2210.0001\x22\x20cy=\x229.79993\x22\x20r=\x221.5\x22/>\x0a<path\x20d=\x22M13.2496\x202.75005C13.2497\x202.00005\x2013.2498\x202.00005\x2013.2498\x202.00005L13.2511\x202.00005L13.2534\x202.00006L13.2606\x202.00009L13.2848\x202.0003C13.3052\x202.00053\x2013.3337\x202.00098\x2013.3688\x202.00185C13.4386\x202.0036\x2013.536\x202.00707\x2013.6475\x202.01402C13.8589\x202.02722\x2014.1651\x202.05536\x2014.4328\x202.12276C14.8296\x202.22267\x2015.1705\x202.40399\x2015.4402\x202.67392C15.7077\x202.94161\x2015.8688\x203.26001\x2015.9644\x203.5803C16.1459\x204.18776\x2016.1145\x204.89393\x2016.0724\x205.49256C16.0626\x205.6324\x2016.052\x205.76849\x2016.0416\x205.90131C16.0036\x206.38849\x2015.969\x206.83163\x2015.9895\x207.25369C16.0151\x207.78147\x2016.1252\x208.13279\x2016.3222\x208.3656C16.5447\x208.6286\x2016.8158\x208.79405\x2017.0411\x208.89436C17.1523\x208.94386\x2017.2471\x208.97509\x2017.3103\x208.99319C17.3417\x209.00219\x2017.3647\x209.00776\x2017.3773\x209.01062L17.3868\x209.01269L17.9996\x209.12173V9.75005H15.5976C15.4541\x209.63123\x2015.3117\x209.49364\x2015.1771\x209.33451C14.669\x208.73405\x2014.5235\x207.99036\x2014.4913\x207.32643C14.4657\x206.79933\x2014.5105\x206.23163\x2014.5497\x205.73429C14.5592\x205.61404\x2014.5683\x205.49785\x2014.5761\x205.3874C14.6198\x204.76596\x2014.62\x204.32043\x2014.5272\x204.00956C14.4857\x203.87069\x2014.4332\x203.78828\x2014.3791\x203.73414C14.3272\x203.68223\x2014.2386\x203.6207\x2014.0665\x203.57736C13.9372\x203.5448\x2013.7433\x203.52293\x2013.554\x203.51111C13.4651\x203.50556\x2013.3869\x203.50277\x2013.3313\x203.50139C13.3037\x203.5007\x2013.282\x203.50036\x2013.2678\x203.5002L13.2524\x203.50007L13.2493\x203.50005L12.4996\x203.5L12.4997\x202L13.2498\x202.00005L13.2496\x202.75005Z\x22/>\x0a<path\x20d=\x22M13.2496\x2016.7501C13.2497\x2017.5001\x2013.2498\x2017.5001\x2013.2498\x2017.5001L13.2511\x2017.5001L13.2534\x2017.5001L13.2606\x2017.5L13.2848\x2017.4998C13.3052\x2017.4996\x2013.3337\x2017.4991\x2013.3688\x2017.4983C13.4386\x2017.4965\x2013.536\x2017.493\x2013.6475\x2017.4861C13.8589\x2017.4729\x2014.1651\x2017.4448\x2014.4328\x2017.3774C14.8296\x2017.2774\x2015.1705\x2017.0961\x2015.4402\x2016.8262C15.7077\x2016.5585\x2015.8688\x2016.2401\x2015.9644\x2015.9198C16.1459\x2015.3124\x2016.1145\x2014.6062\x2016.0724\x2014.0076C16.0626\x2013.8677\x2016.052\x2013.7316\x2016.0416\x2013.5988C16.0036\x2013.1116\x2015.969\x2012.6685\x2015.9895\x2012.2464C16.0151\x2011.7186\x2016.1252\x2011.3673\x2016.3222\x2011.1345C16.5447\x2010.8715\x2016.8158\x2010.7061\x2017.0411\x2010.6058C17.1523\x2010.5563\x2017.2471\x2010.525\x2017.3103\x2010.5069C17.3417\x2010.4979\x2017.3647\x2010.4924\x2017.3773\x2010.4895L17.3868\x2010.4874L17.9996\x2010.3784V9.75005H15.5976C15.4541\x209.86887\x2015.3117\x2010.0065\x2015.1771\x2010.1656C14.669\x2010.7661\x2014.5235\x2011.5098\x2014.4913\x2012.1737C14.4657\x2012.7008\x2014.5105\x2013.2685\x2014.5497\x2013.7658C14.5592\x2013.8861\x2014.5683\x2014.0023\x2014.5761\x2014.1127C14.6198\x2014.7341\x2014.62\x2015.1797\x2014.5272\x2015.4906C14.4857\x2015.6294\x2014.4332\x2015.7118\x2014.3791\x2015.766C14.3272\x2015.8179\x2014.2386\x2015.8794\x2014.0665\x2015.9228C13.9372\x2015.9553\x2013.7433\x2015.9772\x2013.554\x2015.989C13.4651\x2015.9945\x2013.3869\x2015.9973\x2013.3313\x2015.9987C13.3037\x2015.9994\x2013.282\x2015.9998\x2013.2678\x2015.9999L13.2524\x2016L13.2493\x2016.0001L12.4996\x2016.0001L12.4997\x2017.5001L13.2498\x2017.5001L13.2496\x2016.7501Z\x22/>\x0a<path\x20d=\x22M6.75\x202.75005C6.74995\x202.00005\x206.74982\x202.00005\x206.74982\x202.00005L6.74853\x202.00005L6.74622\x202.00006L6.73903\x202.00009L6.71478\x202.0003C6.69446\x202.00053\x206.66594\x202.00098\x206.63087\x202.00185C6.56099\x202.0036\x206.46364\x202.00707\x206.35217\x202.01402C6.14071\x202.02722\x205.83458\x202.05536\x205.56688\x202.12276C5.17006\x202.22267\x204.82913\x202.40399\x204.55943\x202.67392C4.29196\x202.94161\x204.13085\x203.26001\x204.03519\x203.5803C3.85377\x204.18776\x203.88516\x204.89393\x203.92723\x205.49256C3.93706\x205.6324\x203.94768\x205.76849\x203.95804\x205.90131C3.99605\x206.38849\x204.03062\x206.83163\x204.01013\x207.25369C3.98451\x207.78147\x203.87445\x208.13279\x203.67746\x208.3656C3.45492\x208.6286\x203.18386\x208.79405\x202.95851\x208.89436C2.84732\x208.94386\x202.75258\x208.97509\x202.68931\x208.99319C2.65789\x209.00219\x202.63488\x209.00776\x202.62229\x209.01062L2.61279\x209.01269L2\x209.12173V9.75005H4.40205C4.54555\x209.63123\x204.6879\x209.49364\x204.82254\x209.33451C5.33063\x208.73405\x205.47613\x207.99036\x205.50837\x207.32643C5.53396\x206.79933\x205.48918\x206.23163\x205.44995\x205.73429C5.44047\x205.61404\x205.4313\x205.49785\x205.42354\x205.3874C5.37987\x204.76596\x205.37961\x204.32043\x205.47246\x204.00956C5.51394\x203.87069\x205.56644\x203.78828\x205.62053\x203.73414C5.6724\x203.68223\x205.76099\x203.6207\x205.93312\x203.57736C6.06245\x203.5448\x206.25632\x203.52293\x206.4456\x203.51111C6.5345\x203.50556\x206.61271\x203.50277\x206.6683\x203.50139C6.69595\x203.5007\x206.71765\x203.50036\x206.73185\x203.5002L6.74724\x203.50007L6.75029\x203.50005L7.50005\x203.5L7.49995\x202L6.74982\x202.00005L6.75\x202.75005Z\x22/>\x0a<path\x20d=\x22M6.75\x2016.7501C6.74995\x2017.5001\x206.74982\x2017.5001\x206.74982\x2017.5001L6.74853\x2017.5001L6.74622\x2017.5001L6.73903\x2017.5L6.71478\x2017.4998C6.69446\x2017.4996\x206.66594\x2017.4991\x206.63087\x2017.4983C6.56099\x2017.4965\x206.46364\x2017.493\x206.35217\x2017.4861C6.14071\x2017.4729\x205.83458\x2017.4448\x205.56688\x2017.3774C5.17006\x2017.2774\x204.82913\x2017.0961\x204.55943\x2016.8262C4.29196\x2016.5585\x204.13085\x2016.2401\x204.03519\x2015.9198C3.85377\x2015.3124\x203.88516\x2014.6062\x203.92723\x2014.0076C3.93706\x2013.8677\x203.94768\x2013.7316\x203.95804\x2013.5988C3.99605\x2013.1116\x204.03062\x2012.6685\x204.01013\x2012.2464C3.98451\x2011.7186\x203.87445\x2011.3673\x203.67746\x2011.1345C3.45492\x2010.8715\x203.18386\x2010.7061\x202.95851\x2010.6058C2.84732\x2010.5563\x202.75258\x2010.525\x202.68931\x2010.5069C2.65789\x2010.4979\x202.63488\x2010.4924\x202.62229\x2010.4895L2.61279\x2010.4874L2\x2010.3784V9.75005H4.40205C4.54555\x209.86887\x204.6879\x2010.0065\x204.82254\x2010.1656C5.33063\x2010.7661\x205.47613\x2011.5098\x205.50837\x2012.1737C5.53396\x2012.7008\x205.48918\x2013.2685\x205.44995\x2013.7658C5.44047\x2013.8861\x205.4313\x2014.0023\x205.42354\x2014.1127C5.37987\x2014.7341\x205.37961\x2015.1797\x205.47246\x2015.4906C5.51394\x2015.6294\x205.56644\x2015.7118\x205.62053\x2015.766C5.6724\x2015.8179\x205.76099\x2015.8794\x205.93312\x2015.9228C6.06245\x2015.9553\x206.25632\x2015.9772\x206.4456\x2015.989C6.5345\x2015.9945\x206.61271\x2015.9973\x206.6683\x2015.9987C6.69595\x2015.9994\x206.71765\x2015.9998\x206.73185\x2015.9999L6.74724\x2016L6.75029\x2016.0001L7.50005\x2016.0001L7.49995\x2017.5001L6.74982\x2017.5001L6.75\x2016.7501Z\x22/>\x0a</svg>\x0a',previewMergeFieldsIcon='<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a<circle\x20cx=\x229.00037\x22\x20cy=\x229.79993\x22\x20r=\x221.5\x22/>\x0a<path\x20d=\x22M5.75024\x202.75005C5.75019\x202.00005\x205.75006\x202.00005\x205.75006\x202.00005L5.74877\x202.00005L5.74647\x202.00006L5.73927\x202.00009L5.71503\x202.0003C5.6947\x202.00053\x205.66619\x202.00098\x205.63111\x202.00185C5.56123\x202.0036\x205.46388\x202.00707\x205.35241\x202.01402C5.14095\x202.02722\x204.83482\x202.05536\x204.56712\x202.12276C4.1703\x202.22267\x203.82938\x202.40399\x203.55967\x202.67392C3.29221\x202.94161\x203.1311\x203.26001\x203.03544\x203.5803C2.85401\x204.18776\x202.8854\x204.89393\x202.92747\x205.49256C2.9373\x205.6324\x202.94792\x205.76849\x202.95828\x205.90131C2.99629\x206.38849\x203.03087\x206.83163\x203.01038\x207.25369C2.98475\x207.78147\x202.87469\x208.13279\x202.6777\x208.3656C2.45517\x208.6286\x202.1841\x208.79405\x201.95875\x208.89436C1.84756\x208.94386\x201.75282\x208.97509\x201.68956\x208.99319C1.65813\x209.00219\x201.63513\x209.00776\x201.62253\x209.01062L1.61304\x209.01269L1.00024\x209.12173V9.75005H3.4023C3.54579\x209.63123\x203.68814\x209.49364\x203.82278\x209.33451C4.33087\x208.73405\x204.47638\x207.99036\x204.50861\x207.32643C4.5342\x206.79933\x204.48942\x206.23163\x204.4502\x205.73429C4.44071\x205.61404\x204.43155\x205.49785\x204.42378\x205.3874C4.38011\x204.76596\x204.37986\x204.32043\x204.4727\x204.00956C4.51418\x203.87069\x204.56668\x203.78828\x204.62078\x203.73414C4.67264\x203.68223\x204.76124\x203.6207\x204.93336\x203.57736C5.06269\x203.5448\x205.25656\x203.52293\x205.44585\x203.51111C5.53475\x203.50556\x205.61296\x203.50277\x205.66854\x203.50139C5.6962\x203.5007\x205.71789\x203.50036\x205.73209\x203.5002L5.74748\x203.50007L5.75054\x203.50005L6.5003\x203.5L6.50019\x202L5.75006\x202.00005L5.75024\x202.75005Z\x22/>\x0a<path\x20d=\x22M5.75024\x2016.7501C5.75019\x2017.5001\x205.75006\x2017.5001\x205.75006\x2017.5001L5.74877\x2017.5001L5.74647\x2017.5001L5.73927\x2017.5L5.71503\x2017.4998C5.6947\x2017.4996\x205.66619\x2017.4991\x205.63111\x2017.4983C5.56123\x2017.4965\x205.46388\x2017.493\x205.35241\x2017.4861C5.14095\x2017.4729\x204.83482\x2017.4448\x204.56712\x2017.3774C4.1703\x2017.2774\x203.82938\x2017.0961\x203.55967\x2016.8262C3.29221\x2016.5585\x203.1311\x2016.2401\x203.03544\x2015.9198C2.85401\x2015.3124\x202.8854\x2014.6062\x202.92747\x2014.0076C2.9373\x2013.8677\x202.94792\x2013.7316\x202.95828\x2013.5988C2.99629\x2013.1116\x203.03087\x2012.6685\x203.01038\x2012.2464C2.98475\x2011.7186\x202.87469\x2011.3673\x202.6777\x2011.1345C2.45517\x2010.8715\x202.1841\x2010.7061\x201.95875\x2010.6058C1.84756\x2010.5563\x201.75282\x2010.525\x201.68956\x2010.5069C1.65813\x2010.4979\x201.63513\x2010.4924\x201.62253\x2010.4895L1.61304\x2010.4874L1.00024\x2010.3784V9.75005H3.4023C3.54579\x209.86887\x203.68814\x2010.0065\x203.82278\x2010.1656C4.33087\x2010.7661\x204.47638\x2011.5098\x204.50861\x2012.1737C4.5342\x2012.7008\x204.48942\x2013.2685\x204.4502\x2013.7658C4.44071\x2013.8861\x204.43155\x2014.0023\x204.42378\x2014.1127C4.38011\x2014.7341\x204.37986\x2015.1797\x204.4727\x2015.4906C4.51418\x2015.6294\x204.56668\x2015.7118\x204.62078\x2015.766C4.67264\x2015.8179\x204.76124\x2015.8794\x204.93336\x2015.9228C5.06269\x2015.9553\x205.25656\x2015.9772\x205.44585\x2015.989C5.53475\x2015.9945\x205.61296\x2015.9973\x205.66854\x2015.9987C5.6962\x2015.9994\x205.71789\x2015.9998\x205.73209\x2015.9999L5.74748\x2016L5.75054\x2016.0001L6.5003\x2016.0001L6.50019\x2017.5001L5.75006\x2017.5001L5.75024\x2016.7501Z\x22/>\x0a<path\x20fill-rule=\x22evenodd\x22\x20clip-rule=\x22evenodd\x22\x20d=\x22M12.2514\x202.00005L12.2501\x202.00005L11.5\x202L11.4999\x203.5L12.2496\x203.50005L12.2527\x203.50007L12.2681\x203.5002C12.2823\x203.50036\x2012.304\x203.5007\x2012.3316\x203.50139C12.3872\x203.50277\x2012.4654\x203.50556\x2012.5543\x203.51111C12.7436\x203.52293\x2012.9375\x203.5448\x2013.0668\x203.57736C13.2389\x203.6207\x2013.3275\x203.68223\x2013.3794\x203.73414C13.4335\x203.78828\x2013.486\x203.87069\x2013.5275\x204.00956C13.6203\x204.32043\x2013.6201\x204.76596\x2013.5764\x205.3874C13.5686\x205.49785\x2013.5595\x205.61404\x2013.55\x205.73429C13.5108\x206.23163\x2013.466\x206.79933\x2013.4916\x207.32643C13.5238\x207.99036\x2013.6693\x208.73405\x2014.1774\x209.33451C14.312\x209.49364\x2014.4544\x209.63123\x2014.5979\x209.75005C14.4544\x209.86887\x2014.312\x2010.0065\x2014.1774\x2010.1656C13.7121\x2010.7154\x2013.5509\x2011.3854\x2013.5023\x2012.0042C13.6011\x2012.0012\x2013.7003\x2011.9997\x2013.7999\x2011.9997C14.208\x2011.9997\x2014.6093\x2012.0247\x2015.0018\x2012.0729C15.0416\x2011.6402\x2015.1479\x2011.3408\x2015.3225\x2011.1345C15.545\x2010.8715\x2015.8161\x2010.7061\x2016.0414\x2010.6058C16.1526\x2010.5563\x2016.2474\x2010.525\x2016.3106\x2010.5069C16.342\x2010.4979\x2016.365\x2010.4924\x2016.3776\x2010.4895L16.3871\x2010.4874L16.9999\x2010.3784V9.75005V9.12173L16.3871\x209.01269L16.3776\x209.01062C16.365\x209.00776\x2016.342\x209.00219\x2016.3106\x208.99319C16.2474\x208.97509\x2016.1526\x208.94386\x2016.0414\x208.89436C15.8161\x208.79405\x2015.545\x208.6286\x2015.3225\x208.3656C15.1255\x208.13279\x2015.0154\x207.78147\x2014.9898\x207.25369C14.9693\x206.83163\x2015.0039\x206.38849\x2015.0419\x205.90131C15.0523\x205.76849\x2015.0629\x205.6324\x2015.0727\x205.49256C15.1148\x204.89393\x2015.1462\x204.18776\x2014.9647\x203.5803C14.8691\x203.26001\x2014.708\x202.94161\x2014.4405\x202.67392C14.1708\x202.40399\x2013.8299\x202.22267\x2013.433\x202.12276C13.1654\x202.05536\x2012.8592\x202.02722\x2012.6478\x202.01402C12.5363\x202.00707\x2012.4389\x202.0036\x2012.3691\x202.00185C12.334\x202.00098\x2012.3055\x202.00053\x2012.2851\x202.0003L12.2609\x202.00009L12.2537\x202.00006L12.2514\x202.00005Z\x22/>\x0a<path\x20fill-rule=\x22evenodd\x22\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.00335\x2017.2062L9.00308\x2017.2065C8.7234\x2017.5118\x208.24919\x2017.5327\x207.94372\x2017.2532C7.63816\x2016.9735\x207.61716\x2016.4991\x207.89681\x2016.1935L8.45008\x2016.6999C7.89681\x2016.1935\x207.89697\x2016.1934\x207.89713\x2016.1932L7.89751\x2016.1928L7.89844\x2016.1918L7.90098\x2016.189L7.90879\x2016.1806L7.93517\x2016.1526C7.95746\x2016.1292\x207.98914\x2016.0963\x208.02971\x2016.0555C8.11079\x2015.9738\x208.22768\x2015.8597\x208.37644\x2015.724C8.6732\x2015.4532\x209.10079\x2015.0927\x209.62744\x2014.7314C10.6647\x2014.0198\x2012.1659\x2013.2499\x2013.8501\x2013.2499C15.5343\x2013.2499\x2017.0355\x2014.0198\x2018.0727\x2014.7314C18.5994\x2015.0927\x2019.027\x2015.4532\x2019.3237\x2015.724C19.4725\x2015.8597\x2019.5894\x2015.9738\x2019.6705\x2016.0555C19.711\x2016.0963\x2019.7427\x2016.1292\x2019.765\x2016.1526L19.7914\x2016.1806L19.7992\x2016.189L19.8017\x2016.1918L19.8027\x2016.1928L19.803\x2016.1932C19.8032\x2016.1934\x2019.8034\x2016.1935\x2019.2501\x2016.6999L19.8034\x2016.1935C20.083\x2016.4991\x2020.062\x2016.9735\x2019.7565\x2017.2532C19.4511\x2017.5326\x2018.9772\x2017.5118\x2018.6975\x2017.207L18.6971\x2017.2065L18.6968\x2017.2062L18.6945\x2017.2037L18.6783\x2017.1865C18.6629\x2017.1704\x2018.6386\x2017.1452\x2018.6059\x2017.1123C18.5404\x2017.0463\x2018.4414\x2016.9494\x2018.3127\x2016.8321C18.0546\x2016.5966\x2017.6814\x2016.282\x2017.2242\x2015.9683C16.9805\x2015.8012\x2016.7185\x2015.6381\x2016.4421\x2015.4883C16.7016\x2015.9322\x2016.8502\x2016.4487\x2016.8502\x2016.9999C16.8502\x2018.6567\x2015.5071\x2019.9999\x2013.8502\x2019.9999C12.1934\x2019.9999\x2010.8502\x2018.6567\x2010.8502\x2016.9999C10.8502\x2016.4486\x2010.9989\x2015.932\x2011.2584\x2015.4881C10.9819\x2015.6379\x2010.7198\x2015.8011\x2010.476\x2015.9683C10.0188\x2016.282\x209.64555\x2016.5966\x209.38746\x2016.8321C9.25879\x2016.9494\x209.15975\x2017.0463\x209.09425\x2017.1123C9.06153\x2017.1452\x209.03726\x2017.1704\x209.02192\x2017.1865L9.00572\x2017.2037L9.00335\x2017.2062Z\x22/>\x0a<circle\x20cx=\x2214.8253\x22\x20cy=\x2216.1749\x22\x20r=\x221.125\x22\x20fill=\x22white\x22/>\x0a</svg>\x0a';class MergeFieldsUI extends Plugin{static get['requires'](){return['Mention',MergeFieldsEditing,ContextualBalloon,Widget];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d2678){super(_0x4d2678),this['_balloonPanelView']=null,this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0xab695b=this['editor'];_0xab695b['ui']['componentFactory']['add']('insertMergeField',_0x2b8bf8=>{const _0x5af0d3=createInsertMergeFieldDropdown(_0x2b8bf8);return _0x5af0d3['bind']('isEnabled')['toMany']([_0xab695b['commands']['get']('insertMergeField'),_0xab695b['commands']['get']('insertMergeFieldBlock'),_0xab695b['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x1a67f3)=>_0x1a67f3['some'](_0x482a31=>_0x482a31)),_0x5af0d3['once']('change:isOpen',()=>{const _0x576f71={'insertInline':_0xab695b['commands']['get']('insertMergeField'),'insertBlock':_0xab695b['commands']['get']('insertMergeFieldBlock'),'insertImage':_0xab695b['commands']['get']('insertMergeFieldImage')},_0x1bd253=createMergeFieldsListView(_0x2b8bf8,_0xab695b['config']['get']('mergeFields.definitions'),_0x576f71);_0x1bd253['delegate']('execute')['to'](_0x5af0d3),_0x5af0d3['on']('execute',(_0x467cb8,_0x10938e)=>{const _0x102475=_0xab695b['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x10938e);'image'===_0x102475?_0xab695b['execute']('insertMergeFieldImage',_0x10938e):'block'===_0x102475?_0xab695b['execute']('insertMergeFieldBlock',_0x10938e):_0xab695b['execute']('insertMergeField',_0x10938e),_0xab695b['editing']['view']['focus']();});const _0x23eb2e=createMergeFieldsSearchTextView(_0x2b8bf8,_0x1bd253);_0x5af0d3['panelView']['children']['add'](_0x23eb2e),_0x5af0d3['on']('change:isOpen',(_0x3bb592,_0x2608fd,_0x1499fe)=>{_0x1499fe&&_0x23eb2e['reset']();});}),_0x5af0d3;}),_0xab695b['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x4fba9b=>{const _0x2a7e47=new MenuBarMenuView(_0x4fba9b),_0x47d7a9={'insertInline':_0xab695b['commands']['get']('insertMergeField'),'insertBlock':_0xab695b['commands']['get']('insertMergeFieldBlock'),'insertImage':_0xab695b['commands']['get']('insertMergeFieldImage')};_0x2a7e47['buttonView']['set']({'label':getTranslation$8(_0x4fba9b,'Merge\x20field'),'icon':insertMergeFieldIcon}),_0x2a7e47['bind']('isEnabled')['toMany']([...Object['values'](_0x47d7a9)],'isEnabled',(..._0x28ad14)=>_0x28ad14['some'](_0x3a4f42=>_0x3a4f42));const _0x49d7a1=[],_0xf6da07=new MenuBarMenuListView(_0x4fba9b);for(const _0x3b13bd of _0xab695b['config']['get']('mergeFields.definitions'))if('groupId'in _0x3b13bd){const _0x1b8fe6=new MenuBarMenuListItemView(_0x4fba9b,_0x2a7e47),_0x39bdfe=createMenuBarSubmenu(_0x4fba9b,_0x3b13bd,_0x47d7a9);_0x1b8fe6['children']['add'](_0x39bdfe),_0x39bdfe['delegate']('execute')['to'](_0x2a7e47),_0xf6da07['items']['add'](_0x1b8fe6);}else _0x49d7a1['push'](_0x3b13bd);if(_0x49d7a1['length']){if(0x0===_0xf6da07['items']['length'])for(const _0x1bf12e of _0x49d7a1){let _0x48ff2e;_0x48ff2e='block'===_0x1bf12e['type']?_0x47d7a9['insertBlock']:'image'===_0x1bf12e['type']?_0x47d7a9['insertImage']:_0x47d7a9['insertInline'];const _0x3324a2=createMenuBarListItem(_0x4fba9b,_0x1bf12e,_0x2a7e47,_0x48ff2e);_0xf6da07['items']['add'](_0x3324a2);}else{const _0x2caf82=new MenuBarMenuListItemView(_0x4fba9b,_0x2a7e47),_0x479dd8=createMenuBarSubmenu(_0x4fba9b,{'groupId':'Other','definitions':_0x49d7a1},_0x47d7a9);_0x2caf82['children']['add'](_0x479dd8),_0x479dd8['delegate']('execute')['to'](_0x2a7e47),_0xf6da07['items']['add'](_0x2caf82);}}return _0x2a7e47['panelView']['children']['add'](_0xf6da07),_0x2a7e47['on']('execute',(_0x4d376b,_0x1a6fe1)=>{const _0x3e4e66=_0xab695b['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x1a6fe1);'image'===_0x3e4e66?_0xab695b['execute']('insertMergeFieldImage',_0x1a6fe1):'block'===_0x3e4e66?_0xab695b['execute']('insertMergeFieldBlock',_0x1a6fe1):_0xab695b['execute']('insertMergeField',_0x1a6fe1),_0xab695b['editing']['view']['focus']();}),_0x2a7e47;});const _0x3eacd7=_0xab695b['config']['get']('mergeFields.previewModes'),_0x54e038=[];if(_0x3eacd7['includes']('$labels')&&_0x54e038['push']({'type':'button','model':new ViewModel({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x3eacd7['includes']('$defaultValues')&&_0x54e038['push']({'type':'button','model':new ViewModel({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x3eacd7['includes']('$dataSets')){const _0x19baf4=_0xab695b['config']['get']('mergeFields.dataSets');if(_0x19baf4['length']){for(const _0x507547 of _0x19baf4)_0x54e038['push']({'type':'button','model':new ViewModel({'withText':!0x0,'isToggleable':!0x0,'label':_0x507547['label']||_0x507547['id'],'commandValue':_0x507547['id']})});}}_0xab695b['ui']['componentFactory']['add']('previewMergeFields',_0x144cea=>{const _0x2ce0f9=_0xab695b['commands']['get']('previewMergeFields'),_0x428552=new Collection();for(const _0x5cfabd of cloneDeep(_0x54e038))_0x5cfabd['model']['bind']('isOn')['to'](_0x2ce0f9,'value',_0x5d3bfc=>_0x5d3bfc===_0x5cfabd['model']['commandValue']),_0x428552['add'](_0x5cfabd);const _0x198976=createDropdown(_0x144cea),_0x5b5fef=getTranslation$8(_0x144cea,'Merge\x20fields\x20preview');return _0x198976['bind']('isEnabled')['to'](_0x2ce0f9),addListToDropdown(_0x198976,_0x428552,{'ariaLabel':_0x5b5fef,'role':'menu'}),_0x198976['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x198976['buttonView']['set']({'label':_0x5b5fef,'ariaLabel':_0x5b5fef,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':previewMergeFieldsIcon,'tooltip':!0x0}),this['listenTo'](_0x198976,'execute',_0x45a7b=>{const {commandValue:_0xadb293}=_0x45a7b['source'];_0xab695b['execute']('previewMergeFields',_0xadb293),_0xab695b['editing']['view']['focus']();}),_0x198976;}),_0xab695b['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x1fdc9e=>{const _0x1f9bbb=new MenuBarMenuView(_0x1fdc9e),_0x4789b5=_0xab695b['commands']['get']('previewMergeFields');_0x1f9bbb['buttonView']['set']({'label':getTranslation$8(_0x1fdc9e,'Merge\x20fields\x20preview'),'icon':previewMergeFieldsIcon}),_0x1f9bbb['bind']('isEnabled')['to'](_0x4789b5);const _0x24b697=new MenuBarMenuListView(_0x1fdc9e);_0x24b697['set']({'ariaLabel':getTranslation$8(_0x1fdc9e,'Merge\x20fields\x20preview')});for(const _0xfceade of cloneDeep(_0x54e038)){const _0x4c3680=new MenuBarMenuListItemView(_0x1fdc9e,_0x1f9bbb),_0xbc5f24=new MenuBarMenuListItemButtonView(_0x1fdc9e);_0xfceade['model']['bind']('isOn')['to'](_0x4789b5,'value',_0x4c9dfc=>_0x4c9dfc===_0xfceade['model']['commandValue']),_0xbc5f24['isToggleable']=!0x0,_0xbc5f24['bind'](...Object['keys'](_0xfceade['model']))['to'](_0xfceade['model']),_0xbc5f24['delegate']('execute')['to'](_0x1f9bbb),_0xbc5f24['on']('execute',_0x153841=>{const {commandValue:_0x2ccf2a}=_0x153841['source'];_0xab695b['execute']('previewMergeFields',_0x2ccf2a),_0xab695b['editing']['view']['focus']();}),_0x4c3680['children']['add'](_0xbc5f24),_0x24b697['items']['add'](_0x4c3680);}return _0x1f9bbb['panelView']['children']['add'](_0x24b697),_0x1f9bbb;}),this['_balloon']=_0xab695b['plugins']['get'](ContextualBalloon),this['listenTo'](_0xab695b['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0xab695b['ui']['focusTracker'],'change:isFocused',(_0x483c6c,_0x1ac60f,_0x5a3251)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x5a3251?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1886dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x12f526;for(const _0x32eeb0 in _0x1886dd){const _0xadea10=_0x32eeb0,_0x33f3af=_0x1886dd[_0xadea10];if('mergeFieldsLicenseKeyValid'==_0x33f3af||'mergeFieldsLicenseKeyInvalid'==_0x33f3af||'mergeFieldsLicenseKeyExpired'==_0x33f3af||'mergeFieldsLicenseKeyDomainLimit'==_0x33f3af||'mergeFieldsLicenseKeyNotAllowed'==_0x33f3af||'mergeFieldsLicenseKeyEvaluationLimit'==_0x33f3af||'mergeFieldsLicenseKeyTrialLimit'==_0x33f3af||'mergeFieldsLicenseKeyUsageLimit'==_0x33f3af){delete _0x1886dd[_0xadea10],_0x12f526=_0x33f3af,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x12f526&&_0x1886dd['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x12f526&&_0x1886dd['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x12f526&&_0x1886dd['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x12f526&&_0x1886dd['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x12f526&&_0x1886dd['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyTrialLimit'==_0x12f526&&_0x1886dd['_showLicenseError']('trialLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x12f526&&_0x1886dd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x592fcc=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x2793ef=!(!_0x592fcc||!_0x592fcc['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x2793ef){const _0x15f2b5=_0x592fcc['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x15f2b5),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x2793ef){const _0x339109=_0x592fcc['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x339109));}}}['_showBalloon'](_0x502583){this['_balloonPanelView']||(this['_balloonPanelView']=new MergeFieldsPanelView(this['editor']['locale']),this['_balloonPanelView']['text']=_0x502583),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x5e1499=this['editor']['editing']['view'];return{'target':()=>{const _0x55bc0c=_0x5e1499['document']['selection']['getFirstRange'](),_0x58bbd2=_0x5e1499['domConverter']['mapViewToDom'](_0x55bc0c['getContainedElement']());return _0x58bbd2?Array['from'](_0x58bbd2['getClientRects']())[0x0]:_0x5e1499['domConverter']['viewRangeToDom'](_0x55bc0c);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x59deab=>_0x59deab))return;const _0x375e72=this['editor']['config']['get']('mergeFields.previewModes');_0x375e72['indexOf']('$defaultValues')>-0x1&&_0x375e72['length']>0x1&&(_0x375e72['splice'](_0x375e72['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x375e72));}['_removeMenuBarButtonIfUnnecessary'](){const _0x2992c6=this['editor']['config'];if(_0x2992c6['get']('mergeFields.previewModes')){const _0x4e15e0=_0x2992c6['get']('mergeFields.previewModes');if(0x1===_0x4e15e0['length']){if(_0x4e15e0['includes']('$dataSets'))0x1===_0x2992c6['get']('mergeFields.dataSets')['length']&&_0x25c800();else _0x25c800();}}function _0x25c800(){const _0x3eb1c7=_0x2992c6['get']('menuBar.removeItems');_0x3eb1c7?(_0x3eb1c7['push']('menuBar:previewMergeFields'),_0x2992c6['set']('menuBar.removeItems',_0x3eb1c7)):_0x2992c6['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x4aa459=this['editor'],_0x40a5b1=_0x4aa459['config']['get']('mention.feeds'),_0x18bbed=_0x4aa459['config']['get']('mergeFields.prefix');_0x40a5b1['push']({'marker':_0x18bbed,'dropdownLimit':0xa,'feed':_0x6021a9=>_0x4aa459['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x561096=>{const _0x331e49=_0x4aa459['commands']['get']('insertMergeField')['isEnabled'],_0x52c82b=_0x4aa459['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x422cca=_0x4aa459['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x22b267=_0x4aa459['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x561096['id']);if('text'===_0x22b267&&!_0x331e49)return!0x1;if('block'===_0x22b267&&!_0x52c82b)return!0x1;if('image'===_0x22b267&&!_0x422cca)return!0x1;return(_0x4aa459['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x561096['id'])||_0x561096['id'])['toLowerCase']()['includes'](_0x6021a9['toLowerCase']());}),'itemRenderer':_0x2f1d60=>{const _0x33fce0=document['createElement']('button');return _0x33fce0['innerHTML']=''+(_0x2f1d60['label']||_0x2f1d60['id']),_0x33fce0;}}),_0x4aa459['config']['set']('mention.feeds',_0x40a5b1);}['_overrideMentionExecuteListener'](){const _0xc0679a=this['editor'];_0xc0679a['commands']['get']('mention')['on']('execute',(_0x32c407,_0x4e35a7)=>{const _0x3ffd83=_0x4e35a7[0x0];_0x3ffd83['marker']===_0xc0679a['config']['get']('mergeFields.prefix')&&_0xc0679a['model']['change'](_0x2fb4fe=>{_0x2fb4fe['remove'](_0x3ffd83['range']);const _0x3919ef=_0x3ffd83['mention']['id'],_0x42442e=_0xc0679a['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3919ef);'text'===_0x42442e?_0xc0679a['execute']('insertMergeField',_0x3919ef):'block'===_0x42442e?_0xc0679a['execute']('insertMergeFieldBlock',_0x3919ef,!0x1):_0xc0679a['execute']('insertMergeFieldImage',_0x3919ef,{'breakBlock':!0x0}),_0x32c407['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x4f374){const _0x28163b=createDropdown(_0x4f374);return _0x28163b['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x28163b['buttonView']['set']({'label':getTranslation$8(_0x4f374,'Insert\x20merge\x20field'),'icon':insertMergeFieldIcon,'tooltip':!0x0}),_0x28163b;}function createMergeFieldsListView(_0x509a5b,_0x362109,_0x51105f){const _0x3c3c5b=new MergeFieldsListView(_0x509a5b),_0x36ba42=[],_0x235c3e=[];for(const _0x5df56a of _0x362109)if('groupId'in _0x5df56a){const _0x16cb96=createMergeFieldsGroupView(_0x509a5b,_0x5df56a['groupLabel']||_0x5df56a['groupId'],_0x5df56a['definitions'],_0x51105f);_0x16cb96['delegate']('execute')['to'](_0x3c3c5b),_0x235c3e['push'](_0x16cb96);}else _0x36ba42['push'](_0x5df56a);if(_0x36ba42['length']){const _0x31a2c7=createMergeFieldsGroupView(_0x509a5b,'Other',_0x36ba42,_0x51105f);_0x31a2c7['delegate']('execute')['to'](_0x3c3c5b),_0x235c3e['push'](_0x31a2c7);}return _0x3c3c5b['items']['addMany'](_0x235c3e),_0x3c3c5b;}function createMergeFieldsGroupView(_0x39fe0f,_0x579a93,_0x569e64,_0x955245){const _0x1304a9=new ListItemGroupView(_0x39fe0f,new LabelWithHighlightView());_0x1304a9['label']=_0x579a93;for(const _0x48dc04 of _0x569e64){let _0x1d407f;_0x1d407f='block'===_0x48dc04['type']?_0x955245['insertBlock']:'image'===_0x48dc04['type']?_0x955245['insertImage']:_0x955245['insertInline'];const _0x455a8e=createMergeFieldListItemView(_0x39fe0f,_0x48dc04,_0x1d407f);_0x455a8e['delegate']('execute')['to'](_0x1304a9),_0x1304a9['items']['add'](_0x455a8e);}return _0x1304a9;}function createMergeFieldListItemView(_0x2abc81,_0x52b869,_0x277c29){const _0x22fb1d=new ListItemView(_0x2abc81),_0x22666c=new ButtonLabelWithHighlightView(),_0x2fc4ff=new ButtonView(_0x2abc81,_0x22666c);return _0x22fb1d['children']['add'](_0x2fc4ff),_0x2fc4ff['set']({'label':_0x52b869['label']||_0x52b869['id'],'withText':!0x0}),_0x2fc4ff['bind']('isEnabled')['to'](_0x277c29),_0x2fc4ff['on']('execute',()=>{_0x22fb1d['fire']('execute',_0x52b869['id']);}),_0x22fb1d;}function createMergeFieldsSearchTextView(_0x2a8924,_0x363c0f){return new SearchTextView(_0x2a8924,{'filteredView':_0x363c0f,'queryView':{'label':getTranslation$8(_0x2a8924,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x2a8924,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x2a8924,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x1a8678,_0x5ba3a4,_0x719d80){const _0xa32941=new MenuBarMenuView(_0x1a8678),_0x2ae956=new MenuBarMenuListView(_0x1a8678);for(const _0x2bb597 of _0x5ba3a4['definitions']){let _0x4ad2b8;_0x4ad2b8='block'===_0x2bb597['type']?_0x719d80['insertBlock']:'image'===_0x2bb597['type']?_0x719d80['insertImage']:_0x719d80['insertInline'];const _0x3da3d4=createMenuBarListItem(_0x1a8678,_0x2bb597,_0xa32941,_0x4ad2b8);_0x2ae956['items']['add'](_0x3da3d4);}return _0xa32941['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0xa32941['buttonView']['set']({'label':_0x5ba3a4['groupLabel']||_0x5ba3a4['groupId']}),_0xa32941['panelView']['children']['add'](_0x2ae956),_0xa32941;}function createMenuBarListItem(_0x2a1aee,_0x494d54,_0x26ae83,_0x8c4a17){const _0x2d7c40=new MenuBarMenuListItemView(_0x2a1aee,_0x26ae83),_0xb6d4ea=new MenuBarMenuListItemButtonView(_0x2a1aee);return _0xb6d4ea['set']({'label':_0x494d54['label']||_0x494d54['id']}),_0x2d7c40['delegate']('execute')['to'](_0x26ae83),_0x2d7c40['children']['add'](_0xb6d4ea),_0xb6d4ea['bind']('isEnabled')['to'](_0x8c4a17),_0xb6d4ea['on']('execute',()=>{_0x2d7c40['fire']('execute',_0x494d54['id']);}),_0x2d7c40;}class MergeFields extends Plugin{static get['requires'](){return[MergeFieldsEditing,MergeFieldsUI];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const COLUMN_GAP=0x64,EDITING_RENDER_TIMEOUT=0xc8;class PaginationLookup extends Plugin{constructor(){super(...arguments),this['_recalculatePageBreaksDebounced']=debounce$1(()=>this['_recalculatePageBreaks'](),EDITING_RENDER_TIMEOUT),this['_pagesContainer']=null;}static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void logWarning('pagination-config-not-found',this['editor']['config']);const _0x8ccf45=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x8ccf45),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x29f969,_0x13d7c0,_0x5dbba6)=>{_0x5dbba6&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){checkLicense$7(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x325028=this['editor'],_0x205333=_0x325028['editing']['view'],_0x5e8847=this['_getAttachedDomRoot']();if(!_0x5e8847||0x0===_0x5e8847['childElementCount'])return void _0x325028['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x521d79,pageHeight:_0x33fa3f}=_0x325028['config']['get']('pagination'),{top:_0x507ccb,left:_0x5aacd0,bottom:_0x986f55,right:_0x236744}=this['_configuredPaddings'];this['_pagesContainer']=new View(_0x325028['locale']);const _0x1483f0=this['_pagesContainer'];_0x1483f0['set']('class',''),_0x1483f0['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x521d79,'width':_0x521d79,'height':'calc(\x20'+_0x33fa3f+'\x20-\x20'+_0x507ccb+'\x20-\x20'+_0x986f55+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x236744+'\x200\x20'+_0x5aacd0,'columnGap':COLUMN_GAP+'px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x1483f0['bindTemplate']['to']('class')}}),_0x1483f0['render'](),_0x5e8847['parentNode']['insertBefore'](_0x1483f0['element'],_0x5e8847['nextSibling']),this['listenTo'](_0x205333,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2da1c8 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2da1c8['ownerDocument']['body']['contains'](_0x2da1c8))return _0x2da1c8;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x5c3535=this['editor']['editing']['view'],_0x24f634=this['_pagesContainer'],_0x1e5b0e=this['_getAttachedDomRoot']();if(!_0x1e5b0e)return Promise['resolve']();for(_0x24f634['class']=['ck-reset','ck-pagination-view',..._0x1e5b0e['classList']]['join']('\x20');_0x24f634['element']['firstChild'];)_0x24f634['element']['firstChild']['remove']();const _0x515fb4=Array['from'](_0x5c3535['domRoots']);_0x515fb4['sort'](([,_0x245f9b],[,_0x455d73])=>_0x245f9b['compareDocumentPosition'](_0x455d73)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x54dda7,_0x410aad]of _0x515fb4){const _0x21d2b3=_0x410aad['cloneNode'](!0x0);'attributeStyleMap'in _0x21d2b3&&_0x21d2b3['attributeStyleMap']['clear'](),_0x21d2b3['className']='',_0x21d2b3['removeAttribute']('id'),_0x21d2b3['dataset']['rootName']=_0x54dda7,_0x24f634['element']['append'](_0x21d2b3);}return allImagesAreReady(Array['from'](_0x24f634['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x5951a2=this['_pagesContainer']['element'];if(!_0x5951a2['ownerDocument']['body']['contains'](_0x5951a2))return;const _0x31565b=new Rect(_0x5951a2)['excludeScrollbarsAndBorders'](),_0xd68044=_0x25cc2c['window']['getComputedStyle'](_0x5951a2),_0x21ba30=parseFloat(_0xd68044['paddingLeft'])+parseFloat(_0xd68044['paddingRight']),_0x131eca=Math['floor'](_0x31565b['width']+COLUMN_GAP-_0x21ba30),_0x244bcc=findPageStarterInfos(_0x5951a2,Math['floor'](_0x31565b['left']-_0x5951a2['scrollLeft']),_0x131eca,_0x31565b['height'])['map'](_0x2c2f11=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2c2f11));_0x244bcc['every'](_0x584218=>!!_0x584218)&&(this['pageBreaks']=_0x244bcc);}['_mapPageStarterInfoToPageBreakInfo'](_0x2182c9){const _0x1a825b=this['editor']['editing']['view'],_0x8ad2f1=this['editor']['editing']['mapper'],_0x2932ea=_0x1a825b['domConverter'],_0x4de515=_0x2182c9['path']['shift'](),_0x2c74d7=this['_pagesContainer']['element']['childNodes'][_0x4de515]['dataset']['rootName'],_0x84c5e5=_0x1a825b['getDomRoot'](_0x2c74d7);if(!_0x84c5e5)return null;const _0x17540f=pageElementToViewElement(_0x84c5e5,_0x2182c9);if(!_0x17540f)return null;const _0x1561fd=_0x2932ea['domPositionToView'](_0x17540f,_0x2182c9['textOffset']||0x0);return _0x1561fd?'manual'==_0x2182c9['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1561fd,_0x17540f):'text'==_0x2182c9['type']&&_0x8ad2f1['toModelPosition'](_0x1561fd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1561fd,_0x17540f,_0x2182c9['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1561fd,_0x17540f,_0x2182c9['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3738cd,_0x2f9e83){const _0x57d0e5=this['editor']['model'],_0x10be37=this['editor']['editing']['mapper']['toModelElement'](_0x3738cd['parent']),_0x173fef=_0x57d0e5['createRangeOn'](_0x10be37);return new PageBreakInfo({'type':'manual','modelRange':_0x173fef,'domNode':_0x2f9e83,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x19e907,_0x55575f,_0xc83a9a){const _0x26bb53=this['editor']['model'],_0x100e53=this['editor']['editing']['mapper'],_0x19df07=this['editor']['editing']['view']['domConverter'];if(_0xc83a9a>=_0x55575f['length'])return null;const _0x2d0a08=_0x100e53['toModelPosition'](_0x19e907),_0x8f7bb6=_0x26bb53['createRange'](_0x2d0a08),_0x863c58=_0x100e53['findMappedViewAncestor'](_0x19e907),_0x3cfb4d=_0x19df07['mapViewToDom'](_0x863c58);return new PageBreakInfo({'type':'text','modelRange':_0x8f7bb6,'domNode':_0x55575f,'offset':findOffsetTopForTextOffset(_0x55575f,_0xc83a9a,_0x3cfb4d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0xfa2995,_0x4e88d4,_0x5b3d65){const _0x24ac97=this['editor']['model'],_0x14316f=this['editor']['editing'],_0x142ae2=_0x14316f['mapper'],_0x2ed6f1=_0x14316f['view']['domConverter'],_0x1caa6f=_0x142ae2['findMappedViewAncestor'](_0xfa2995),_0x5506e6=_0x142ae2['toModelElement'](_0x1caa6f),_0x53d90f=getTopMostParentBlockTouchingPosition(_0x24ac97['createPositionBefore'](_0x5506e6))||_0x5506e6;let _0x359d1c=_0x142ae2['toViewElement'](_0x53d90f),_0x46d40a=_0x24ac97['createRangeOn'](_0x53d90f);const _0x46efed=_0x24ac97['createPositionBefore'](_0x53d90f)['nodeBefore'];if(_0x46efed&&_0x46efed['is']('element','imageBlock')){const _0xe07092=_0x142ae2['toViewElement'](_0x46efed),_0x5bd53d=_0x2ed6f1['mapViewToDom'](_0xe07092),_0x593aa5=_0x25cc2c['window']['getComputedStyle'](_0x5bd53d)['float'];'left'!=_0x593aa5&&'right'!=_0x593aa5||(_0x46d40a=_0x24ac97['createRangeOn'](_0x46efed));}for(;_0x359d1c['parent']!==_0x359d1c['root']&&0x0===_0x359d1c['index'];)_0x359d1c=_0x359d1c['parent'];const _0x1d2931=new Rect(isHTMLElement(_0x4e88d4)?_0x4e88d4:createDomRangeOn(_0x4e88d4)),_0x2451eb=_0x5b3d65?_0x1d2931['height']-_0x5b3d65:0x0,_0x4d2f1a=_0x2ed6f1['mapViewToDom'](_0x359d1c),_0xfd363b=new Rect(_0x4d2f1a);return new PageBreakInfo({'type':'element','modelRange':_0x46d40a,'domNode':_0x4d2f1a,'offset':Math['round'](_0x2451eb)?_0x2451eb+_0x1d2931['top']-_0xfd363b['top']:0x0});}get['_configuredPaddings'](){const _0x2082c7=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2082c7);}static['_findPageStarterInfos'](_0x2768fc,_0x1ebb10,_0x9627c,_0x5b9d2c,_0x450e06){return findPageStarterInfos(_0x2768fc,_0x1ebb10,_0x9627c,_0x5b9d2c,_0x450e06);}}class PageBreakInfo{constructor({type:_0x3b3808,modelRange:_0x87376e,domNode:_0x10baa7,offset:_0x147ae8}){this['type']=_0x3b3808,this['modelRange']=_0x87376e,this['_domNode']=_0x10baa7,this['_offset']=_0x147ae8;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xe47b68=new Rect(isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0xe47b68['top']+_0xe47b68['height']/0x2:_0xe47b68['top']+this['_offset'];}}function isPageBreak(_0x47f1c7){return!(!_0x47f1c7||!isHTMLElement(_0x47f1c7))&&Boolean(_0x47f1c7['classList']['contains']('page-break')||_0x47f1c7['closest']('.page-break'));}function pageElementToViewElement(_0x24ee7f,_0x1aa29f){let _0x48235=_0x24ee7f;for(const _0x2162d7 of _0x1aa29f['path']){if(!_0x48235)return null;_0x48235=_0x48235['childNodes'][_0x2162d7];}return _0x48235;}function findOffsetTopForTextOffset(_0x53dbb2,_0x1ebffc,_0x2710e0){const _0x2e4665=createDomRangeOn(_0x53dbb2),_0xb78ac5=createDomRangeIn(_0x2710e0);let _0x17c182;_0x17c182=0x0==_0x1ebffc?createDomRangeMultiNode(_0xb78ac5['startContainer'],_0xb78ac5['startOffset'],_0x53dbb2['parentNode'],Array['from'](_0x53dbb2['parentNode']['childNodes'])['indexOf'](_0x53dbb2)):createDomRangeMultiNode(_0xb78ac5['startContainer'],_0xb78ac5['startOffset'],_0x53dbb2,_0x1ebffc);const _0x24754b=createDomRangeMultiNode(_0x53dbb2,_0x1ebffc,_0xb78ac5['endContainer'],_0xb78ac5['endOffset']),_0x33c443=new Rect(_0x17c182)['bottom'];return(new Rect(_0x24754b)['top']+_0x33c443)/0x2-new Rect(_0x2e4665)['top'];}function getTopMostParentBlockTouchingPosition(_0x458b5c){const _0x4ddfd7=_0x458b5c['parent'],_0x5e1cbe=_0x4ddfd7['root']['document']['model'],_0x209c06=_0x4ddfd7['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3de9f0=null;for(const _0x4d7024 of _0x209c06){if(_0x4d7024['is']('rootElement'))return _0x3de9f0;if(!_0x5e1cbe['createPositionBefore'](_0x4d7024)['isTouching'](_0x458b5c))return _0x3de9f0;_0x3de9f0=_0x4d7024;}}function allImagesAreReady(_0x538c2f){return Promise['all'](_0x538c2f['map'](_0x5ca24a=>Promise['race']([imageReady(_0x5ca24a),timeout(0x3e8)])));}function imageReady(_0x25eba1){return _0x25eba1['hasAttribute']('width')&&_0x25eba1['hasAttribute']('height')?Promise['resolve']():new Promise(_0xfed637=>{function _0x27b7e3(){_0x25eba1['removeEventListener']('load',_0x27b7e3),_0x25eba1['removeEventListener']('error',_0x27b7e3),_0xfed637();}_0x25eba1['complete']?_0xfed637():(_0x25eba1['addEventListener']('load',_0x27b7e3),_0x25eba1['addEventListener']('error',_0x27b7e3));});}function timeout(_0x3e4a2e){return new Promise(_0x1e9d9c=>setTimeout(_0x1e9d9c,_0x3e4a2e));}function createDomRangeOn(_0x820e5e){const _0x39859e=_0x25cc2c['document']['createRange']();return _0x39859e['selectNode'](_0x820e5e),_0x39859e;}function createDomRangeIn(_0x5e9e61){const _0x2b05e4=_0x25cc2c['document']['createRange']();return _0x2b05e4['selectNodeContents'](_0x5e9e61),_0x2b05e4;}function createDomRange(_0x4811bf,_0x437613,_0x14fa60){const _0x564147=_0x25cc2c['document']['createRange']();return _0x564147['setStart'](_0x4811bf,_0x437613),_0x564147['setEnd'](_0x4811bf,_0x14fa60),_0x564147;}function createDomRangeMultiNode(_0x3f031d,_0x4851ab,_0x439f1c,_0x144c1b){const _0x33318a=_0x25cc2c['document']['createRange']();return _0x33318a['setStart'](_0x3f031d,_0x4851ab),_0x33318a['setEnd'](_0x439f1c,_0x144c1b),_0x33318a;}function findPageStarterInfos(_0x199141,_0x33010d,_0x4ffd28,_0x21d651,_0x3f0597){const _0x38e114=[];for(const [_0x3c6062,_0x433d3f]of _0x199141['childNodes']['entries']()){let _0xe26038=[];isHTMLElement(_0x433d3f)&&_0x433d3f['offsetParent']&&!_0x433d3f['style']['position']?_0xe26038=findPageStartersInElementNode(_0x433d3f,_0x3c6062,_0x33010d,_0x4ffd28,_0x21d651,_0x3f0597):isText(_0x433d3f)&&(_0xe26038=findPageStartersInTextNode(_0x433d3f,_0x3c6062,_0x33010d,_0x4ffd28,_0x3f0597)),_0xe26038['length']&&(_0x38e114['push'](..._0xe26038),_0x33010d+=_0xe26038['length']*_0x4ffd28,_0x3f0597=!0x1);}return _0x38e114;}function findPageStartersInElementNode(_0x48b904,_0x8f852c,_0x1ec5e6,_0x17fdd1,_0x2ddb24,_0x508265){const _0x523d11=[];if(isPageBreak(_0x48b904['previousSibling'])&&(_0x523d11['push']({'type':'manual','offset':0x0,'path':[_0x8f852c-0x1]}),_0x508265=!0x0),'table-row'==_0x25cc2c['window']['getComputedStyle'](_0x48b904)['display']){let _0x3e3218=0x0,_0x591d28=!0x1;for(const _0x4a876b of _0x48b904['getClientRects']())_0x3e3218+=_0x4a876b['height'],_0x4a876b['left']>=_0x1ec5e6&&(_0x591d28=!0x0);if(_0x3e3218<_0x2ddb24&&_0x591d28)return _0x523d11['push']({'type':'element','offset':0x0,'path':[_0x8f852c]}),_0x523d11;}const _0x1478c0=_0x48b904['closest']('figure.image');if(_0x1478c0&&shouldIgnoreFigure(_0x1478c0)){const _0x5a6692=_0x25cc2c['window']['getComputedStyle'](_0x1478c0)['float'];if('left'==_0x5a6692||'right'==_0x5a6692)return _0x523d11;}const _0x4ed4c5=findPageStarterInfos(_0x48b904,_0x1ec5e6,_0x17fdd1,_0x2ddb24,_0x508265);if(_0x4ed4c5['length']){for(const _0x3b81ac of _0x4ed4c5)_0x523d11['push']({'type':_0x3b81ac['type'],'offset':_0x3b81ac['offset'],'textOffset':_0x3b81ac['textOffset'],'path':[_0x8f852c,..._0x3b81ac['path']]}),_0x1ec5e6+=_0x17fdd1,_0x508265=!0x1;return _0x523d11;}return _0x523d11['push'](...findPageStartersInLeafElementNode(_0x48b904,_0x8f852c,_0x1ec5e6,_0x17fdd1,_0x508265)),_0x523d11;}function findPageStartersInLeafElementNode(_0x54a821,_0x5395df,_0x18a03d,_0x500aa5,_0x9ff695){const _0x491782=[];if('table-cell'==_0x25cc2c['window']['getComputedStyle'](_0x54a821)['display'])return[];const _0x272b26=[];for(const _0x5e3bba of _0x54a821['getClientRects']())if(_0x5e3bba['left']>=_0x18a03d){for(const _0x5a674e of _0x272b26)_0x5a674e['height']+=_0x5e3bba['height'];_0x272b26['push']({'height':_0x5e3bba['height']}),_0x18a03d+=_0x500aa5;}for(const _0x570841 of _0x272b26)_0x9ff695||_0x491782['push']({'type':'element','offset':_0x570841['height'],'textOffset':0x0,'path':[_0x5395df]}),_0x9ff695=!0x1;return _0x491782;}function findPageStartersInTextNode(_0x39aa8e,_0x5d61d9,_0x118a71,_0x55c91d,_0x482487){const _0x16872e=createDomRangeOn(_0x39aa8e),_0x373403=[];let _0x2a2617=0x0;for(const _0xbd8384 of _0x16872e['getClientRects']())if(_0xbd8384['left']>=_0x118a71){const _0x299414=findLastTextOffsetOnPage(_0x39aa8e,_0x2a2617,_0x118a71,_0x55c91d);_0x482487||_0x373403['push']({'type':'text','path':[_0x5d61d9],'textOffset':_0x299414}),_0x2a2617=_0x299414,_0x118a71+=_0x55c91d,_0x482487=!0x1;}return _0x373403;}function findLastTextOffsetOnPage(_0x349c2f,_0x23bc2b,_0x4d0561,_0x58c137){let _0x4e1f04=_0x23bc2b,_0x137a8b=_0x349c2f['length'];for(;_0x137a8b-_0x4e1f04>0x1;){const _0x576fb7=Math['ceil']((_0x4e1f04+_0x137a8b)/0x2);domRangeContainsPageBreak(createDomRange(_0x349c2f,_0x4e1f04,_0x576fb7),_0x4d0561,_0x58c137)?_0x137a8b=_0x576fb7:_0x4e1f04=_0x576fb7;}return _0x4e1f04;}function domRangeContainsPageBreak(_0x3b1cf6,_0x3631c2,_0x225769){for(const _0x2fe7fd of _0x3b1cf6['getClientRects']())if(_0x2fe7fd['left']>=_0x3631c2&&_0x2fe7fd['left']<_0x3631c2+_0x225769)return!0x0;return!0x1;}function shouldIgnoreFigure(_0x3eb2c1){let _0x5cf1e2=!0x1;const _0x204f1e=_0x3eb2c1['parentElement']['dataset']['rootName'],_0x503082=_0x3eb2c1['nextElementSibling'],_0x3fc89f=_0x3eb2c1['previousElementSibling'],_0x50b4eb=_0x503082&&_0x25cc2c['window']['getComputedStyle'](_0x503082)['float'],_0x342744=_0x503082&&'ck-fake-selection-container'===_0x503082['className'];return!_0x204f1e||_0x503082||_0x3fc89f||(_0x5cf1e2=!0x0),_0x204f1e&&!_0x3fc89f&&_0x342744&&(_0x5cf1e2=!0x0),_0x204f1e&&!_0x3fc89f&&'none'!==_0x50b4eb&&(_0x5cf1e2=!0x0),!_0x5cf1e2;}function isHTMLElement(_0x20ab0d){return _0x20ab0d['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x4a3013){return _0x4a3013['nodeType']==Node['TEXT_NODE'];}async function checkLicense$7(_0x3714ea){const _0x352eec=_0x4e5fab([0x6b,0x6a,0x62,0x42,0x64,0x74,0x72,0x44,0x4b,0x34,0x55,0x35,0x58,0x46,0x47,0x6f,0x37,0x78,0x33,0x57,0x73,0x41,0x4a,0x69,0x4c,0x48,0x53,0x76,0x63,0x5a,0x4f,0x7a,0x52,0x70,0x68,0x51,0x6d,0x36,0x30,0x65,0x77,0x4e,0x54,0x38,0x75,0x59,0x6e,0x31,0x49,0x39,0x45,0x4d,0x6c,0x71,0x67,0x56,0x66,0x61,0x50,0x43,0x79,0x32]),_0x2450a2=window[_0x4e5fab([0x44,0x61,0x74,0x65])][_0x4e5fab([0x6e,0x6f,0x77])](),_0x2cc110=_0x3714ea[_0x4e5fab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d103b=new window[(_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x132a96=>{_0x2cc110[_0x4e5fab([0x6f,0x6e,0x63,0x65])](_0x4e5fab([0x72,0x65,0x61,0x64,0x79]),_0x132a96);}),_0x2a1ad2={[_0x4e5fab([0x6b,0x74,0x79])]:_0x4e5fab([0x45,0x43]),[_0x4e5fab([0x75,0x73,0x65])]:_0x4e5fab([0x73,0x69,0x67]),[_0x4e5fab([0x63,0x72,0x76])]:_0x4e5fab([0x50,0x2d,0x32,0x35,0x36]),[_0x4e5fab([0x78])]:_0x4e5fab([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]),[_0x4e5fab([0x79])]:_0x4e5fab([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]),[_0x4e5fab([0x61,0x6c,0x67])]:_0x4e5fab([0x45,0x53,0x32,0x35,0x36])},_0x290b38=_0x2cc110[_0x4e5fab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e5fab([0x67,0x65,0x74])](_0x4e5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x6e1710=await(async function(){let _0x5aa3da,_0x29ba22=null,_0x2cbc4a=null;try{if(_0x290b38==_0x4e5fab([0x47,0x50,0x4c]))return _0x4e5fab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5aa3da=(function(){const _0x4bebd2=_0x290b38[_0x4e5fab([0x73,0x70,0x6c,0x69,0x74])](_0x4e5fab([0x2e]));if(0x3!=_0x4bebd2[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2b598=_0x4bebd2[0x1];return _0x49f2a5(_0x2b598);function _0x49f2a5(_0x4b3ef2){const _0x287d73=_0x475c2f(_0x4b3ef2);return _0x287d73&&_0x340d4d()?_0x287d73:null;function _0x340d4d(){const _0x5a01f9=_0x287d73[_0x4e5fab([0x6a,0x74,0x69])],_0x2d634d=window[_0x4e5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a01f9[_0x4e5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a01f9[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32a865={..._0x287d73,[_0x4e5fab([0x6a,0x74,0x69])]:_0x5a01f9[_0x4e5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a01f9[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32a865[_0x4e5fab([0x76,0x63])],_0x4167b7(_0x32a865)==_0x2d634d;}}}()),!_0x5aa3da)return _0x4e5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5aa3da[_0x4e5fab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cbc4a=function(_0x99a0b2,_0x249611){return new window[(_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x582aba=>{if(_0x40be19())return _0x582aba(_0x4e5fab([0x56,0x61,0x6c,0x69,0x64]));_0x1c54e1(),_0x2cc110[_0x4e5fab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39ce4c=!0x1;const _0x14b675=uid();function _0x46ce3a(_0x3820ac){return!!_0x3820ac&&(typeof _0x3820ac===_0x4e5fab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3820ac===_0x4e5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3820ac[_0x4e5fab([0x74,0x68,0x65,0x6e])]===_0x4e5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3820ac[_0x4e5fab([0x63,0x61,0x74,0x63,0x68])]===_0x4e5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc6658d(_0x45978d){_0x2fd677(_0x45978d)[_0x4e5fab([0x74,0x68,0x65,0x6e])](_0x25cb74=>{if(!_0x25cb74||_0x25cb74[_0x4e5fab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e5fab([0x6f,0x6b]))return _0x4e5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf9a0d2(_0x4167b7(_0x14b675+_0x249611))!=_0x25cb74[_0x4e5fab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e5fab([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e5fab([0x74,0x68,0x65,0x6e])](_0x36e202=>(_0x231ac7(),_0x36e202),()=>{const _0x5cd9de=_0x8b3a28();return null==_0x5cd9de?(_0x231ac7(),_0x4e5fab([0x56,0x61,0x6c,0x69,0x64])):_0x4e5fab(_0x2450a2-_0x5cd9de>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e5fab([0x74,0x68,0x65,0x6e])](_0x582aba)[_0x4e5fab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x582aba(_0x4e5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x698624=0x36ee80;function _0x231ac7(){const _0x591b10=_0x4e5fab([0x6c,0x6c,0x63,0x74,0x2d])+_0xf9a0d2(_0x4167b7(_0x99a0b2)),_0x208ba4=_0x25b7ba(_0xf9a0d2(window[_0x4e5fab([0x4d,0x61,0x74,0x68])][_0x4e5fab([0x63,0x65,0x69,0x6c])](_0x2450a2/_0x698624)));window[_0x4e5fab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e5fab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x591b10,_0x208ba4);}function _0x8b3a28(){const _0x54f0d5=_0x4e5fab([0x6c,0x6c,0x63,0x74,0x2d])+_0xf9a0d2(_0x4167b7(_0x99a0b2)),_0x207b3d=window[_0x4e5fab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e5fab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54f0d5);return _0x207b3d?window[_0x4e5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25b7ba(_0x207b3d),0x10)*_0x698624:null;}function _0x2fd677(_0x583589){return new window[(_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc148cb,_0x318585)=>{_0x583589[_0x4e5fab([0x74,0x68,0x65,0x6e])](_0xc148cb,_0x318585),window[_0x4e5fab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x318585,0x1d4c0);});}}_0x2cc110[_0x4e5fab([0x6f,0x6e])](_0x4e5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x369323,_0xb394e1)=>{if(_0xb394e1[0x0]!=_0x99a0b2)return _0x582aba(_0x4e5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb394e1[0x1]={..._0xb394e1[0x1],[_0x4e5fab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14b675};},{[_0x4e5fab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e5fab([0x68,0x69,0x67,0x68])}),_0x2cc110[_0x4e5fab([0x6f,0x6e])](_0x4e5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x229033=>{_0x46ce3a(_0x229033[_0x4e5fab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39ce4c=!0x0,_0xc6658d(_0x229033[_0x4e5fab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e5fab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e5fab([0x6c,0x6f,0x77])}),_0x2d103b[_0x4e5fab([0x74,0x68,0x65,0x6e])](()=>{_0x39ce4c||_0x582aba(_0x4e5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40be19(){return _0x2cc110[_0x4e5fab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e5fab([0x76,0x69,0x65,0x77])][_0x4e5fab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e5fab([0x61,0x75,0x74,0x6f]);}function _0x1c54e1(){_0x2cc110[_0x4e5fab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e5fab([0x76,0x69,0x65,0x77])][_0x4e5fab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e5fab([0x61,0x75,0x74,0x6f]);}}(_0x5aa3da[_0x4e5fab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5aa3da[_0x4e5fab([0x6a,0x74,0x69])]));const _0x5310ca=await(async function(){let _0x434ac1=!0x0;try{const _0x315cff=_0x290b38[_0x4e5fab([0x73,0x70,0x6c,0x69,0x74])](_0x4e5fab([0x2e])),[_0x32740e,_0x144fe0,_0x9443a]=_0x315cff;return _0x2daa37(_0x32740e),await _0x4c0c02(_0x32740e,_0x144fe0,_0x9443a),_0x434ac1;}catch(_0x20de57){return!0x1;}function _0x2daa37(_0x4e847e){const _0x567aed=_0x475c2f(_0x4e847e);_0x567aed&&_0x567aed[_0x4e5fab([0x61,0x6c,0x67])]==_0x4e5fab([0x45,0x53,0x32,0x35,0x36])||(_0x434ac1=!0x1);}async function _0x4c0c02(_0x479907,_0x14b519,_0x281452){const _0x3e88a3=window[_0x4e5fab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e5fab([0x66,0x72,0x6f,0x6d])](_0x7e6ea6(_0x281452),_0x5c8959=>_0x5c8959[_0x4e5fab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc5c1ec=new window[(_0x4e5fab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e5fab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x479907+_0x4e5fab([0x2e])+_0x14b519),_0x1d3e7c=window[_0x4e5fab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e5fab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d3e7c)return;const _0x5034e2=await _0x1d3e7c[_0x4e5fab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e5fab([0x6a,0x77,0x6b]),_0x2a1ad2,{[_0x4e5fab([0x6e,0x61,0x6d,0x65])]:_0x4e5fab([0x45,0x43,0x44,0x53,0x41]),[_0x4e5fab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e5fab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e5fab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d3e7c[_0x4e5fab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e5fab([0x6e,0x61,0x6d,0x65])]:_0x4e5fab([0x45,0x43,0x44,0x53,0x41]),[_0x4e5fab([0x68,0x61,0x73,0x68])]:{[_0x4e5fab([0x6e,0x61,0x6d,0x65])]:_0x4e5fab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5034e2,_0x3e88a3,_0xc5c1ec)||(_0x434ac1=!0x1);}}());return _0x5310ca?(function(){const _0x4a051f=_0x5aa3da[_0x4e5fab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4a051f)return!0x1;if(_0x4a051f[_0x4e5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5fab([0x2a])))return!0x0;if(_0x4a051f[_0x4e5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5fab([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x6eceff=[_0x4e5fab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e5fab([0x74,0x72,0x69,0x61,0x6c])][_0x4e5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa3da[_0x4e5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2450a2/0x3e8:0x67b67080;return _0x5aa3da[_0x4e5fab([0x65,0x78,0x70])]<_0x6eceff;}())?_0x4e5fab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x13cc43=_0x5aa3da[_0x4e5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13cc43||0x0==_0x13cc43[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31809b}=new URL(window[_0x4e5fab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x13cc43[_0x4e5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31809b))return!0x0;const _0x14dbf0=_0x31809b[_0x4e5fab([0x73,0x70,0x6c,0x69,0x74])](_0x4e5fab([0x2e]));return _0x13cc43[_0x4e5fab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ab78=>_0x21ab78[_0x4e5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5fab([0x2a])))[_0x4e5fab([0x6d,0x61,0x70])](_0x3e84b4=>_0x3e84b4[_0x4e5fab([0x73,0x70,0x6c,0x69,0x74])](_0x4e5fab([0x2e])))[_0x4e5fab([0x73,0x6f,0x6d,0x65])](_0x29df6a=>_0x14dbf0[_0x4e5fab([0x65,0x76,0x65,0x72,0x79])]((_0x2eadf9,_0xbf34b2)=>_0x29df6a[_0xbf34b2]===_0x2eadf9||_0x29df6a[_0xbf34b2]===_0x4e5fab([0x2a])));}())?(_0x5aa3da[_0x4e5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e5fab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29ba22=_0x5a00e4(_0x4e5fab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5aa3da[_0x4e5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e5fab([0x74,0x72,0x69,0x61,0x6c])&&(_0x29ba22=_0x5a00e4(_0x4e5fab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x29ba22&&_0x2cbc4a)return new window[(_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x246fcf,_0x4c79dc)=>{_0x29ba22[_0x4e5fab([0x74,0x68,0x65,0x6e])](_0x246fcf,_0x4c79dc),_0x2cbc4a[_0x4e5fab([0x74,0x68,0x65,0x6e])](_0x216708=>{_0x216708!=_0x4e5fab([0x56,0x61,0x6c,0x69,0x64])&&_0x246fcf(_0x216708);},_0x4c79dc);});return _0x29ba22||_0x2cbc4a||_0x4e5fab([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4e5fab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e5fab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xea3028){return _0x4e5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5a00e4(_0x48a443){const _0x3cce3e=new window[(_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dc52f=>setTimeout(_0x2dc52f,0x93ecc)),_0x391301=_0x2d103b[_0x4e5fab([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e4394=>{let _0x2b8a4e=0x0;_0x2cc110[_0x4e5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5fab([0x6f,0x6e])](_0x4e5fab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x262e06,_0xe6d574)=>{_0xe6d574[0x0][_0x4e5fab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b8a4e++,0x1f8==_0x2b8a4e&&(_0x1e4394(),_0x262e06[_0x4e5fab([0x6f,0x66,0x66])]());});})),_0x5cf36f=[_0x3cce3e,_0x391301];return window[_0x4e5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e5fab([0x72,0x61,0x63,0x65])](_0x5cf36f)[_0x4e5fab([0x74,0x68,0x65,0x6e])](()=>_0x48a443);}function _0x475c2f(_0x3ec5d8){return _0x3ec5d8[_0x4e5fab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e5fab([0x65,0x79]))?JSON[_0x4e5fab([0x70,0x61,0x72,0x73,0x65])](_0x7e6ea6(_0x3ec5d8)):null;}function _0x7e6ea6(_0x3e796d){return window[_0x4e5fab([0x61,0x74,0x6f,0x62])](_0x3e796d[_0x4e5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e5fab([0x2b]))[_0x4e5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e5fab([0x2f])));}function _0x4167b7(_0x16a6b6){let _0x13bd92=0x1505;function _0x146e3f(_0x21fbf0){for(let _0x54699d=0x0;_0x54699d<_0x21fbf0[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54699d++){const _0x53cfd3=_0x21fbf0[_0x4e5fab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54699d);_0x13bd92=(_0x13bd92<<0x5)+_0x13bd92+_0x53cfd3,_0x13bd92&=_0x13bd92;}}return function _0x5c4545(_0x173a65){Array[_0x4e5fab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x173a65)?_0x173a65[_0x4e5fab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c4545):_0x173a65&&typeof _0x173a65==_0x4e5fab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e5fab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x173a65)[_0x4e5fab([0x73,0x6f,0x72,0x74])]()[_0x4e5fab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1dac91,_0x4e9c92])=>{_0x146e3f(_0x1dac91),_0x5c4545(_0x4e9c92);}):_0x146e3f(window[_0x4e5fab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x173a65));}(_0x16a6b6),_0x13bd92>>>0x0;}function _0xf9a0d2(_0x335e71){return _0x335e71[_0x4e5fab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e5fab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e5fab([0x30]));}function _0x25b7ba(_0x1b9d7c){return _0x1b9d7c[_0x4e5fab([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e5fab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e5fab([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d7c17(){}function _0x4e5fab(_0x3aacf8){return _0x3aacf8['map'](_0x5206b3=>String['fromCharCode'](_0x5206b3))['join']('');}!function(_0x1aec5f){const _0x39de12=(function(){const _0x1db330=window[_0x4e5fab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e5fab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e5fab([0x6e,0x6f,0x77])]())[_0x4e5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e5fab([0x2e]),'');let _0x1d6fd9=_0x4e5fab([0x6b]);for(let _0x2cd44d=0x0;_0x2cd44d<_0x1db330[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cd44d+=0x2){let _0x228c11=window[_0x4e5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1db330[_0x4e5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cd44d,_0x2cd44d+0x2));_0x228c11>=_0x352eec[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x228c11-=_0x352eec[_0x4e5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d6fd9+=_0x352eec[_0x228c11];}return _0x1d6fd9;}());_0x2cc110[_0x39de12]=_0x4e5fab([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1aec5f,_0x1aec5f!=_0x4e5fab([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2d103b,_0x2cc110[_0x4e5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5fab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d7c17,_0x2cc110[_0x4e5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5fab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d7c17,_0x2cc110[_0x4e5fab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e5fab([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x6e1710);}const toPx=toUnit('px');let LineView$1=class extends View{constructor(){super();const _0x2520b6=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x2520b6['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x2520b6['if']('isVisible','ck-hidden',_0x46b6d5=>!_0x46b6d5)],'style':{'left':_0x2520b6['to']('left',_0x36341c=>toPx(_0x36341c)),'top':_0x2520b6['to']('top',_0x28a69b=>toPx(_0x28a69b)),'width':_0x2520b6['to']('width',_0x562055=>toPx(_0x562055))}}});}};class LinesRepository{constructor(_0x46a10d){this['_visibleLines']=new Set(),this['_hiddenLines']=new Set(),this['_viewCollection']=_0x46a10d['ui']['view']['body'];}['destroy'](){for(const _0x5a0248 of this['_hiddenLines'])_0x5a0248['destroy']();}['cleanLines'](){for(const _0x4dcfe2 of this['_visibleLines'])_0x4dcfe2['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4dcfe2);this['_visibleLines']['clear']();}['showLine'](_0x1c2dae,_0x27fe4a,_0x3565b5,_0x5972b2){let _0x2e7942;this['_hiddenLines']['size']?(_0x2e7942=first(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2e7942)):_0x2e7942=new LineView$1(),_0x2e7942['set']({'pageNumber':_0x5972b2,'left':_0x1c2dae,'top':_0x27fe4a,'width':_0x3565b5}),_0x2e7942['isVisible']=!0x0,this['_viewCollection']['has'](_0x2e7942)||this['_viewCollection']['add'](_0x2e7942),this['_visibleLines']['add'](_0x2e7942);}}const PLUGIN_ENABLED_CLASS='ck-pagination_enabled';class PaginationRenderer extends Plugin{constructor(){super(...arguments),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null;}static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['_linesRepository']=new LinesRepository(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](PLUGIN_ENABLED_CLASS),this['on']('change:isEnabled',(_0x30cfb0,_0x58b9e1,_0x1c9450)=>{_0x1c9450||this['_linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](PLUGIN_ENABLED_CLASS,_0x1c9450);});}['destroy'](){this['_toggleEditingRootsClass'](PLUGIN_ENABLED_CLASS,!0x1),this['_linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3e1ec1){if(!this['isEnabled'])return;const _0x3351ed=_0x3e1ec1>0x1?this['_getPageBreakLineOffset'](_0x3e1ec1-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3351ed-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':env['isMotionReduced']?'instant':'smooth'});}['_onUiReady'](){const _0x145012=this['editor'],_0x26a01b=this['_getAttachedDomRoot']();_0x26a01b?(this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x26a01b),_0x145012['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),_0x145012['ui']['view']['listenTo'](_0x25cc2c['window'],'resize',()=>this['_updatePageBreakLines']()),this['_resizeObserver']=new _0x103ceb(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();}),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x145012['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0xf4b2e9 of this['editor']['editing']['view']['domRoots']['values']())if(_0xf4b2e9['ownerDocument']['body']['contains'](_0xf4b2e9))return _0xf4b2e9;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4227d8=this['_getAttachedDomRoot'](),_0x4d6352=this['_paginationLookupPlugin']['pageBreaks'];if(this['_linesRepository']['cleanLines'](),!_0x4227d8||0x1==_0x4d6352['length'])return void(this['pageNumber']=0x1);const _0x2be6da=new Rect(_0x4227d8)['excludeScrollbarsAndBorders'](),_0x4d43a6=new Rect(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2dc083=_0x4d43a6['top']+_0x4d43a6['height']/0x3;let _0x386385=!0x1;const _0x7a3827=[];for(let _0x42dbc2=0x1;_0x42dbc2<_0x4d6352['length'];_0x42dbc2++){const _0x8a84a5=this['_getPageBreakLineOffset'](_0x42dbc2,_0x4d43a6);if(!_0x8a84a5)continue;const _0x1c5434=_0x4d43a6['top']+_0x8a84a5-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x7a3827['push']({'pageOffsetTop':_0x1c5434,'domRootRect':_0x2be6da,'domScrollableRect':_0x4d43a6,'pageNumber':_0x42dbc2}),_0x1c5434>_0x2dc083&&!_0x386385&&(this['pageNumber']=_0x42dbc2,_0x386385=!0x0);}this['_renderPageBreakLines'](_0x7a3827),_0x386385||(this['pageNumber']=_0x4d6352['length']);}['_renderPageBreakLines'](_0x23f3bf){const {scrollX:_0x17adb0,scrollY:_0x10becb}=_0x25cc2c['window'];if(_0x23f3bf['length']){for(const {domScrollableRect:_0x30bd21,pageOffsetTop:_0x1fee17,domRootRect:_0x4162ac,pageNumber:_0x3b3f4a}of _0x23f3bf)_0x30bd21['top']<_0x1fee17&&_0x1fee17<_0x30bd21['bottom']&&this['_linesRepository']['showLine'](_0x4162ac['left']+_0x17adb0,_0x1fee17+_0x10becb,_0x4162ac['width'],_0x3b3f4a+0x1);}}['_getPageBreakLineOffset'](_0x2534e3,_0x60ba9d=null){const _0x2bd6b7=this['_paginationLookupPlugin']['pageBreaks'][_0x2534e3]['offset'];return _0x2bd6b7?(_0x60ba9d||(_0x60ba9d=new Rect(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2bd6b7-_0x60ba9d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x16ec38,_0x3cc105=!0x0){const _0x80ce60=this['editor']['editing']['view'];_0x80ce60['change'](_0x10e6b3=>{for(const _0x138302 of _0x80ce60['document']['roots'])_0x3cc105?_0x10e6b3['addClass'](_0x16ec38,_0x138302):_0x10e6b3['removeClass'](_0x16ec38,_0x138302);});}}function findScrollableElement(_0xb5bf79){let _0x4c587a=_0xb5bf79;do{_0x4c587a=_0x4c587a['parentElement'];const _0x1820da=_0x25cc2c['window']['getComputedStyle'](_0x4c587a)['overflowY'];if('auto'==_0x1820da||'scroll'==_0x1820da)break;}while('BODY'!=_0x4c587a['tagName']);return _0x4c587a;}function getTranslation$7(_0x3d1bb2,_0x334991,..._0x15c1ba){const t=_0x3d1bb2['t'];switch(_0x334991){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x15c1ba);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x334991;}}class PaginationEditing extends Plugin{static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationLookup,PaginationRenderer];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1ccd97=this['editor']['plugins']['get']('Pagination'),_0x2abd59=this['editor']['plugins']['get'](PaginationLookup),_0x223e83=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x1ccd97),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x223e83),this['listenTo'](_0x2abd59,'change:pageBreaks',(_0x3b6143,_0x2b6706,_0x34d732,_0x3c2ca7)=>{this['totalPages']=_0x34d732['length'],this['_updatePageBreakMarkers'](_0x34d732,_0x3c2ca7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x486aaa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5820fb;for(const _0x10b237 in _0x486aaa){const _0xc4b33b=_0x10b237,_0x43bea7=_0x486aaa[_0xc4b33b];if('paginationLicenseKeyValid'==_0x43bea7||'paginationLicenseKeyInvalid'==_0x43bea7||'paginationLicenseKeyExpired'==_0x43bea7||'paginationLicenseKeyDomainLimit'==_0x43bea7||'paginationLicenseKeyNotAllowed'==_0x43bea7||'paginationLicenseKeyEvaluationLimit'==_0x43bea7||'paginationLicenseKeyTrialLimit'==_0x43bea7||'paginationLicenseKeyUsageLimit'==_0x43bea7){delete _0x486aaa[_0xc4b33b],_0x5820fb=_0x43bea7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x5820fb&&_0x486aaa['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x5820fb&&_0x486aaa['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x5820fb&&_0x486aaa['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x5820fb&&_0x486aaa['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x5820fb&&_0x486aaa['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x5820fb&&_0x486aaa['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x5820fb&&_0x486aaa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0xc01354){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0xc01354));}['moveSelectionToPage'](_0x76f88){if(!this['isEnabled'])return;const _0x15a9bb=this['editor'],_0xc1fe1c=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x76f88-0x1];_0xc1fe1c&&_0x15a9bb['model']['change'](_0x391010=>{switch(_0xc1fe1c['type']){case'manual':{const _0x5686a2=_0x15a9bb['model']['schema']['getNearestSelectionRange'](_0xc1fe1c['modelRange']['end'],'forward');_0x391010['setSelection'](_0x5686a2);break;}case'element':{const _0xa2d6a0=_0x15a9bb['model']['schema']['getNearestSelectionRange'](_0xc1fe1c['modelRange']['start'],'forward');_0x391010['setSelection'](_0xa2d6a0);break;}case'text':{const _0x10d69e=_0xc1fe1c['modelRange']['start'];if('\x20'===_0x10d69e['textNode']['data'][_0x10d69e['offset']]){const _0x1ce6f3=_0x391010['createPositionAt'](_0x10d69e['parent'],_0x10d69e['offset']+0x1);_0x391010['setSelection'](_0x1ce6f3);}else _0x391010['setSelection'](_0xc1fe1c['modelRange']);}}_0x15a9bb['editing']['view']['focus']();});}['goToNextPage'](){const _0x2eef6c=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2eef6c),this['scrollToPage'](_0x2eef6c);}['goToPreviousPage'](){const _0x138d15=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x138d15),this['scrollToPage'](_0x138d15);}['_updatePageBreakMarkers'](_0x2095ae,_0x35dfc1){const _0x27b510=this['editor']['model'];this['isEnabled']&&_0x27b510['change'](_0x36f20d=>{for(let _0xb94cf3=0x1;_0xb94cf3<_0x2095ae['length'];_0xb94cf3++){const _0x2ef65f=_0x2095ae[_0xb94cf3]['modelRange'],_0x778797='pagination:'+(_0xb94cf3+0x1);_0x27b510['markers']['has'](_0x778797)?_0x36f20d['updateMarker'](_0x778797,{'range':_0x2ef65f}):_0x36f20d['addMarker'](_0x778797,{'range':_0x2ef65f,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3f37d4=_0x2095ae['length'];_0x3f37d4<_0x35dfc1['length'];_0x3f37d4++){const _0x313555='pagination:'+(_0x3f37d4+0x1);_0x27b510['markers']['has'](_0x313555)&&_0x36f20d['removeMarker'](_0x313555);}});}['_setUpDataDowncastConversion'](){const _0x5a62d1='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0xfc0942=>{_0xfc0942['on']('addMarker:'+_0x5a62d1,(_0x27b96a,{markerRange:_0x1ebc99,markerName:_0x41c41},_0xa51aa6)=>{if(!_0xa51aa6['options']['pagination'])return;if(!_0xa51aa6['consumable']['consume'](_0x1ebc99,_0x27b96a['name']))return;const _0x18ac53=_0x1ebc99['getContainedElement']();let _0x156ba3=_0x18ac53?_0xa51aa6['mapper']['toViewElement'](_0x18ac53):null;if(!_0x156ba3){const _0x4f9ca1=_0x1ebc99['start'];if(_0xa51aa6['schema']['checkChild'](_0x4f9ca1,'$text')){const _0x21ca65=_0xa51aa6['mapper']['toViewPosition'](_0x4f9ca1);_0x156ba3=_0xa51aa6['writer']['createContainerElement']('span'),_0x156ba3['getFillerOffset']=()=>null,_0xa51aa6['writer']['insert'](_0x21ca65,_0x156ba3);}else{const _0x2804e9=_0x4f9ca1['nodeAfter'];_0x156ba3=_0xa51aa6['mapper']['toViewElement'](_0x2804e9);}}for(;_0x156ba3['parent']!==_0x156ba3['root']&&0x0===_0x156ba3['index'];)_0x156ba3=_0x156ba3['parent'];const _0xb34ff7=_0x41c41['substring'](0xb);_0x156ba3['hasClass']('page-break')||(_0xa51aa6['writer']['setStyle']('page-break-before','always',_0x156ba3),_0xa51aa6['writer']['setAttribute']('data-pagination-page',_0xb34ff7,_0x156ba3),_0xa51aa6['mapper']['bindElementToMarker'](_0x156ba3,_0x41c41)),_0x27b96a['stop']();});});}['_setupKeystrokes'](){const _0x421317=this['editor'];_0x421317['keystrokes']['set']('Shift+Pageup',(_0x4bdc33,_0x31618f)=>{this['goToPreviousPage'](),_0x31618f();}),_0x421317['keystrokes']['set']('Shift+Pagedown',(_0x130ccf,_0x526eb8)=>{this['goToNextPage'](),_0x526eb8();}),_0x421317['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x421317['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x421317['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x421317['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x46f76a){return _0x46f76a<0x1&&(_0x46f76a=0x1),_0x46f76a>this['totalPages']&&(_0x46f76a=this['totalPages']),_0x46f76a;}}class PageNavigatorView extends View{constructor(_0x3a7f8e){super(_0x3a7f8e);const _0xad8ade=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new InputNumberView(_0x3a7f8e,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x586762=>getTranslation$7(_0x3a7f8e,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x586762)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4325b9=>!_0x4325b9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xad8ade['if']('isEnabled','ck-disabled',_0x3ee2f3=>!_0x3ee2f3)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xad8ade['to']('totalPages')}]}]});}['render'](){super['render']();const _0x458298=this['pageNumberView']['element'],_0xcf98e8=_0x449a8d=>{this['pageNumberView']['element']['value']=String(_0x449a8d);};_0xcf98e8(this['pageNumber']),this['on']('change:pageNumber',(_0x50cc6e,_0x1f4fc9,_0x3c82c0)=>{_0xcf98e8(_0x3c82c0);}),this['listenTo'](_0x458298,'keydown',(_0x36c1b7,_0x573d7c)=>{if('ArrowUp'===_0x573d7c['key']||'ArrowDown'===_0x573d7c['key'])return void _0x573d7c['stopPropagation']();if(_0x573d7c['keyCode']!==keyCodes['enter'])return;_0x573d7c['preventDefault']();const _0x2539c5=_0x458298['valueAsNumber'];Number['isNaN'](_0x2539c5)?_0x458298['value']=String(this['pageNumber']):(_0x458298['checkValidity']()?this['pageNumber']=_0x2539c5:_0x2539c5>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x458298['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x458298['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x458298,'blur',()=>{_0x458298['value']=String(this['pageNumber']);}),this['listenTo'](_0x458298,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}var arrowDownIcon$1='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x20.75a9.25\x209.25\x200\x20110\x2018.5\x209.25\x209.25\x200\x20010-18.5zm0\x201.5a7.75\x207.75\x200\x20100\x2015.5\x207.75\x207.75\x200\x20000-15.5zm0\x202.022a.75.75\x200\x2001.743.649l.007.101v8.165l2.714-2.705a.75.75\x200\x2001.977-.07l.084.072a.75.75\x200\x2001.07.976l-.072.084-3.994\x203.981a.75.75\x200\x2001-.975.073l-.084-.073-3.99-3.98a.75.75\x200\x2001.975-1.135l.085.072\x202.71\x202.706V5.022a.75.75\x200\x2001.75-.75z\x22/></svg>\x0a',arrowUpIcon$1='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x2019.25a9.25\x209.25\x200\x20100-18.5\x209.25\x209.25\x200\x20000\x2018.5zm0-1.5a7.75\x207.75\x200\x20110-15.5\x207.75\x207.75\x200\x20010\x2015.5zm0-2.022a.75.75\x200\x2000.743-.649l.007-.101V6.813l2.714\x202.705a.75.75\x200\x2000.977.07l.084-.072a.75.75\x200\x2000.07-.976l-.072-.084-3.994-3.981a.75.75\x200\x2000-.975-.073l-.084.073-3.99\x203.98a.75.75\x200\x2000.975\x201.135l.085-.072\x202.71-2.706v8.166c0\x20.414.336.75.75.75z\x22/></svg>\x0a';class PaginationUI extends Plugin{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5775ef=this['editor'],_0x30e327=_0x5775ef['plugins']['get']('PaginationEditing');_0x5775ef['ui']['componentFactory']['add']('pageNavigation',_0x1f0051=>{const _0x2859c9=new PageNavigatorView(_0x1f0051);return _0x2859c9['bind']('pageNumber')['to'](_0x30e327),_0x2859c9['bind']('totalPages')['to'](_0x30e327),_0x2859c9['bind']('isEnabled')['to'](_0x30e327),_0x2859c9['on']('navigation',(_0x4308f1,_0x329ee0)=>{_0x30e327['moveSelectionToPage'](_0x329ee0),_0x30e327['scrollToPage'](_0x329ee0);}),_0x2859c9;}),_0x5775ef['ui']['componentFactory']['add']('nextPage',_0x3f72a4=>{const _0x19da2e=new ButtonView(_0x3f72a4);return _0x19da2e['isEnabled']=!0x0,_0x19da2e['label']=getTranslation$7(_0x5775ef['locale'],'Go\x20to\x20next\x20page'),_0x19da2e['icon']=arrowDownIcon$1,_0x19da2e['tooltip']=!0x0,_0x19da2e['keystroke']='Shift+PageDown',_0x19da2e['bind']('isEnabled')['to'](_0x30e327),this['listenTo'](_0x19da2e,'execute',()=>{_0x30e327['goToNextPage']();}),_0x19da2e;}),_0x5775ef['ui']['componentFactory']['add']('previousPage',_0x9c6d8b=>{const _0x148aa4=new ButtonView(_0x9c6d8b);return _0x148aa4['isEnabled']=!0x0,_0x148aa4['label']=getTranslation$7(_0x5775ef['locale'],'Go\x20to\x20previous\x20page'),_0x148aa4['icon']=arrowUpIcon$1,_0x148aa4['tooltip']=!0x0,_0x148aa4['keystroke']='Shift+PageUp',_0x148aa4['bind']('isEnabled')['to'](_0x30e327),this['listenTo'](_0x148aa4,'execute',()=>{_0x30e327['goToPreviousPage']();}),_0x148aa4;});}}class Pagination extends Plugin{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x52e7c0){super(_0x52e7c0),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1469a6=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x1469a6),this['bind']('totalPages')['to'](_0x1469a6),env['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x15d2c4){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x15d2c4);}}const MS_EXCEL_META_REGEX=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x4a4a30){return MS_EXCEL_META_REGEX['test'](_0x4a4a30);}const CSS_SELECTOR_REGEX=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x47b54b,_0x3d0511){const _0x20a817=new Map();for(const [_0x184e75,_0xcce872]of _0x3d0511){if(!_0x184e75['tagName']&&!_0x184e75['className'])continue;const _0x2c87c2=!_0x184e75['tagName']||_0x47b54b['name']===_0x184e75['tagName'],_0x3172db=!_0x184e75['className']||_0x47b54b['hasClass'](_0x184e75['className']);_0x2c87c2&&_0x3172db&&_0x20a817['set'](_0x184e75,_0xcce872);}return _0x20a817;}function extractStyles(_0x1491c5){const _0x14185d={};for(const _0x5ad57a of _0x1491c5)for(const _0x356fa7 of _0x5ad57a['cssRules'])if(_0x356fa7 instanceof CSSStyleRule){const _0x131e62=parseCSSStyleDeclaration(_0x356fa7['style']);_0x14185d[_0x356fa7['selectorText']]=Object['assign']({},_0x14185d[_0x356fa7['selectorText']]||{},_0x131e62);}return _0x14185d;}function expandStyles(_0xf9c1c6){const _0x3032be=new Map();for(const _0x55057a in _0xf9c1c6){const _0x4b09e7=parseCSSSelector(_0x55057a),_0x5f2254=_0xf9c1c6[_0x55057a];for(const _0x31f4c8 of _0x4b09e7)_0x3032be['set'](_0x31f4c8,_0x5f2254);}return _0x3032be;}function parseCSSStyleDeclaration(_0x17c923){const _0x2e0c3f={};for(let _0x5d40e7=0x0;_0x5d40e7<_0x17c923['length'];_0x5d40e7++){const _0x59973a=_0x17c923[_0x5d40e7],_0x1796c9=_0x17c923['getPropertyValue'](_0x59973a);'initial'!==_0x1796c9&&(_0x2e0c3f[_0x59973a]=_0x1796c9);}return _0x2e0c3f;}function parseCSSSelector(_0x4c6a89){const _0x400c51=_0x4c6a89['split'](',')['map'](_0x473554=>_0x473554['trim']()),_0x1579d5=[];for(const _0x4186fb of _0x400c51){const _0x260fc6=CSS_SELECTOR_REGEX['exec'](_0x4186fb);_0x260fc6&&_0x1579d5['push'](_0x260fc6['groups']);}return _0x1579d5;}function flattenStyleDefinitions(_0x3b2d11){const _0xa5d609={};for(const _0x336b60 of _0x3b2d11)Object['assign'](_0xa5d609,_0x336b60);return _0xa5d609;}class MSOfficeStylesInliner extends MSWordNormalizer{['execute'](_0x151380){const {body:_0x38126e,styles:_0xb583c}=_0x151380['_parsedData'],_0x2d89c1=new UpcastWriter(_0x38126e['document']),_0x5215f=_0x2d89c1['createRangeIn'](_0x38126e),_0x5bc93b=expandStyles(extractStyles(_0xb583c));for(const _0x2cd0b7 of _0x5215f){if('elementStart'!==_0x2cd0b7['type'])continue;const _0x4d0be5=getMatchingStyles(_0x2cd0b7['item'],_0x5bc93b);if(_0x4d0be5['size']){const _0x1b60c7=flattenStyleDefinitions(Array['from'](_0x4d0be5['values']()));for(const _0x4c4439 in _0x1b60c7){const _0x28817a=_0x2cd0b7['item'];_0x28817a['hasStyle'](_0x4c4439)||_0x2d89c1['setStyle'](_0x4c4439,_0x1b60c7[_0x4c4439],_0x28817a);}}}_0x151380['content']=_0x38126e;}['isActive'](_0x8448ec){return super['isActive'](_0x8448ec)||isMSExcelContent(_0x8448ec);}}class PasteFromOfficeEnhancedInliner extends Plugin{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x1e1c45=this['editor'],_0x598ca8=_0x1e1c45['plugins']['get']('ClipboardPipeline'),_0x1bb48c=_0x1e1c45['editing']['view']['document'],_0x4c217a=new MSOfficeStylesInliner(_0x1bb48c);_0x598ca8['on']('inputTransformation',(_0xc593d7,_0x41abe3)=>{const _0x3679c0=_0x41abe3['dataTransfer']['getData']('text/html');_0x4c217a['isActive'](_0x3679c0)&&(_0x41abe3['_parsedData']||(_0x41abe3['_parsedData']=parseHtml(_0x3679c0,_0x1bb48c['stylesProcessor'])),_0x4c217a['execute'](_0x41abe3));},{'priority':priorities['get']('high')+0xb});}['afterInit'](){checkLicense$6(this);}}async function checkLicense$6(_0x1bd68b){const _0x252163=_0x2f4c48([0x76,0x72,0x48,0x4b,0x78,0x31,0x45,0x57,0x4f,0x7a,0x32,0x58,0x6a,0x59,0x77,0x4d,0x6b,0x6c,0x63,0x52,0x67,0x68,0x33,0x4a,0x43,0x34,0x70,0x46,0x42,0x56,0x37,0x4c,0x4e,0x74,0x6f,0x39,0x51,0x75,0x49,0x6e,0x69,0x47,0x55,0x62,0x30,0x66,0x73,0x44,0x41,0x71,0x50,0x65,0x6d,0x54,0x53,0x5a,0x64,0x35,0x36,0x38,0x79,0x61]),_0x1ecc54=window[_0x2f4c48([0x44,0x61,0x74,0x65])][_0x2f4c48([0x6e,0x6f,0x77])](),_0x4b6b91=_0x1bd68b[_0x2f4c48([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32b3a9=new window[(_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36abfc=>{_0x4b6b91[_0x2f4c48([0x6f,0x6e,0x63,0x65])](_0x2f4c48([0x72,0x65,0x61,0x64,0x79]),_0x36abfc);}),_0x1d687f={[_0x2f4c48([0x6b,0x74,0x79])]:_0x2f4c48([0x45,0x43]),[_0x2f4c48([0x75,0x73,0x65])]:_0x2f4c48([0x73,0x69,0x67]),[_0x2f4c48([0x63,0x72,0x76])]:_0x2f4c48([0x50,0x2d,0x32,0x35,0x36]),[_0x2f4c48([0x78])]:_0x2f4c48([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]),[_0x2f4c48([0x79])]:_0x2f4c48([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]),[_0x2f4c48([0x61,0x6c,0x67])]:_0x2f4c48([0x45,0x53,0x32,0x35,0x36])},_0x555e44=_0x4b6b91[_0x2f4c48([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f4c48([0x67,0x65,0x74])](_0x2f4c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xb34f2a=await(async function(){let _0x6021be,_0x39d67d=null,_0x2328a0=null;try{if(_0x555e44==_0x2f4c48([0x47,0x50,0x4c]))return _0x2f4c48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6021be=(function(){const _0x2fa565=_0x555e44[_0x2f4c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f4c48([0x2e]));if(0x3!=_0x2fa565[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x268d60=_0x2fa565[0x1];return _0x67abac(_0x268d60);function _0x67abac(_0x5d5da6){const _0x363c6e=_0x27536d(_0x5d5da6);return _0x363c6e&&_0x4a3b10()?_0x363c6e:null;function _0x4a3b10(){const _0x3643ea=_0x363c6e[_0x2f4c48([0x6a,0x74,0x69])],_0x58f730=window[_0x2f4c48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3643ea[_0x2f4c48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3643ea[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x552bf5={..._0x363c6e,[_0x2f4c48([0x6a,0x74,0x69])]:_0x3643ea[_0x2f4c48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3643ea[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x552bf5[_0x2f4c48([0x76,0x63])],_0x577df9(_0x552bf5)==_0x58f730;}}}()),!_0x6021be)return _0x2f4c48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x6021be[_0x2f4c48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2328a0=function(_0x1b9428,_0x399e00){return new window[(_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a58ad=>{if(_0x1de95f())return _0x2a58ad(_0x2f4c48([0x56,0x61,0x6c,0x69,0x64]));_0x3f242c(),_0x4b6b91[_0x2f4c48([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f4c48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15d0cb=!0x1;const _0x567966=uid();function _0x3bcb0b(_0xbc765d){return!!_0xbc765d&&(typeof _0xbc765d===_0x2f4c48([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbc765d===_0x2f4c48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbc765d[_0x2f4c48([0x74,0x68,0x65,0x6e])]===_0x2f4c48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbc765d[_0x2f4c48([0x63,0x61,0x74,0x63,0x68])]===_0x2f4c48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x551570(_0x1e8ccf){_0x4229e6(_0x1e8ccf)[_0x2f4c48([0x74,0x68,0x65,0x6e])](_0x294f99=>{if(!_0x294f99||_0x294f99[_0x2f4c48([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f4c48([0x6f,0x6b]))return _0x2f4c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33282d(_0x577df9(_0x567966+_0x399e00))!=_0x294f99[_0x2f4c48([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f4c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f4c48([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f4c48([0x74,0x68,0x65,0x6e])](_0x23dfdd=>(_0x237d6f(),_0x23dfdd),()=>{const _0x2434ca=_0x58ad90();return null==_0x2434ca?(_0x237d6f(),_0x2f4c48([0x56,0x61,0x6c,0x69,0x64])):_0x2f4c48(_0x1ecc54-_0x2434ca>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f4c48([0x74,0x68,0x65,0x6e])](_0x2a58ad)[_0x2f4c48([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a58ad(_0x2f4c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x173533=0x36ee80;function _0x237d6f(){const _0x54c757=_0x2f4c48([0x6c,0x6c,0x63,0x74,0x2d])+_0x33282d(_0x577df9(_0x1b9428)),_0x1faa39=_0x3fc969(_0x33282d(window[_0x2f4c48([0x4d,0x61,0x74,0x68])][_0x2f4c48([0x63,0x65,0x69,0x6c])](_0x1ecc54/_0x173533)));window[_0x2f4c48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f4c48([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54c757,_0x1faa39);}function _0x58ad90(){const _0x23f9b2=_0x2f4c48([0x6c,0x6c,0x63,0x74,0x2d])+_0x33282d(_0x577df9(_0x1b9428)),_0x42e800=window[_0x2f4c48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f4c48([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f9b2);return _0x42e800?window[_0x2f4c48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fc969(_0x42e800),0x10)*_0x173533:null;}function _0x4229e6(_0x4f59b3){return new window[(_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f9920,_0x58c130)=>{_0x4f59b3[_0x2f4c48([0x74,0x68,0x65,0x6e])](_0x4f9920,_0x58c130),window[_0x2f4c48([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58c130,0x1d4c0);});}}_0x4b6b91[_0x2f4c48([0x6f,0x6e])](_0x2f4c48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23cbfe,_0x490a66)=>{if(_0x490a66[0x0]!=_0x1b9428)return _0x2a58ad(_0x2f4c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x490a66[0x1]={..._0x490a66[0x1],[_0x2f4c48([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x567966};},{[_0x2f4c48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f4c48([0x68,0x69,0x67,0x68])}),_0x4b6b91[_0x2f4c48([0x6f,0x6e])](_0x2f4c48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bd0f9=>{_0x3bcb0b(_0x5bd0f9[_0x2f4c48([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15d0cb=!0x0,_0x551570(_0x5bd0f9[_0x2f4c48([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f4c48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f4c48([0x6c,0x6f,0x77])}),_0x32b3a9[_0x2f4c48([0x74,0x68,0x65,0x6e])](()=>{_0x15d0cb||_0x2a58ad(_0x2f4c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1de95f(){return _0x4b6b91[_0x2f4c48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f4c48([0x76,0x69,0x65,0x77])][_0x2f4c48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f4c48([0x61,0x75,0x74,0x6f]);}function _0x3f242c(){_0x4b6b91[_0x2f4c48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f4c48([0x76,0x69,0x65,0x77])][_0x2f4c48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f4c48([0x61,0x75,0x74,0x6f]);}}(_0x6021be[_0x2f4c48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6021be[_0x2f4c48([0x6a,0x74,0x69])]));const _0x41b9d3=await(async function(){let _0x30f877=!0x0;try{const _0x1c3de0=_0x555e44[_0x2f4c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f4c48([0x2e])),[_0x3c443f,_0x2acbd3,_0x21172b]=_0x1c3de0;return _0x5623e3(_0x3c443f),await _0x472c61(_0x3c443f,_0x2acbd3,_0x21172b),_0x30f877;}catch(_0xfd6579){return!0x1;}function _0x5623e3(_0x32fb18){const _0x389e02=_0x27536d(_0x32fb18);_0x389e02&&_0x389e02[_0x2f4c48([0x61,0x6c,0x67])]==_0x2f4c48([0x45,0x53,0x32,0x35,0x36])||(_0x30f877=!0x1);}async function _0x472c61(_0x21df9d,_0x44ee7f,_0x410437){const _0x366e7c=window[_0x2f4c48([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f4c48([0x66,0x72,0x6f,0x6d])](_0x2e4ad8(_0x410437),_0x383a65=>_0x383a65[_0x2f4c48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27fc0a=new window[(_0x2f4c48([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f4c48([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21df9d+_0x2f4c48([0x2e])+_0x44ee7f),_0x172aee=window[_0x2f4c48([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f4c48([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x172aee)return;const _0x2e591b=await _0x172aee[_0x2f4c48([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f4c48([0x6a,0x77,0x6b]),_0x1d687f,{[_0x2f4c48([0x6e,0x61,0x6d,0x65])]:_0x2f4c48([0x45,0x43,0x44,0x53,0x41]),[_0x2f4c48([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f4c48([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f4c48([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x172aee[_0x2f4c48([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f4c48([0x6e,0x61,0x6d,0x65])]:_0x2f4c48([0x45,0x43,0x44,0x53,0x41]),[_0x2f4c48([0x68,0x61,0x73,0x68])]:{[_0x2f4c48([0x6e,0x61,0x6d,0x65])]:_0x2f4c48([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e591b,_0x366e7c,_0x27fc0a)||(_0x30f877=!0x1);}}());return _0x41b9d3?(function(){const _0x508b33=_0x6021be[_0x2f4c48([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x508b33)return!0x1;if(_0x508b33[_0x2f4c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f4c48([0x2a])))return!0x0;if(_0x508b33[_0x2f4c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f4c48([0x50,0x4f,0x45])))return!0x0;if(_0x508b33[_0x2f4c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f4c48([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x5b50c1=[_0x2f4c48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f4c48([0x74,0x72,0x69,0x61,0x6c])][_0x2f4c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6021be[_0x2f4c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ecc54/0x3e8:0x67b67080;return _0x6021be[_0x2f4c48([0x65,0x78,0x70])]<_0x5b50c1;}())?_0x2f4c48([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x8d4f6b=_0x6021be[_0x2f4c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8d4f6b||0x0==_0x8d4f6b[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23b4d8}=new URL(window[_0x2f4c48([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x8d4f6b[_0x2f4c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23b4d8))return!0x0;const _0x20a7de=_0x23b4d8[_0x2f4c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f4c48([0x2e]));return _0x8d4f6b[_0x2f4c48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49e6e6=>_0x49e6e6[_0x2f4c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f4c48([0x2a])))[_0x2f4c48([0x6d,0x61,0x70])](_0x969e20=>_0x969e20[_0x2f4c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f4c48([0x2e])))[_0x2f4c48([0x73,0x6f,0x6d,0x65])](_0x340dfe=>_0x20a7de[_0x2f4c48([0x65,0x76,0x65,0x72,0x79])]((_0x368caf,_0x3af952)=>_0x340dfe[_0x3af952]===_0x368caf||_0x340dfe[_0x3af952]===_0x2f4c48([0x2a])));}())?(_0x6021be[_0x2f4c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f4c48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39d67d=_0x365478(_0x2f4c48([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6021be[_0x2f4c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f4c48([0x74,0x72,0x69,0x61,0x6c])&&(_0x39d67d=_0x365478(_0x2f4c48([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x39d67d&&_0x2328a0)return new window[(_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15e164,_0x3a1cc4)=>{_0x39d67d[_0x2f4c48([0x74,0x68,0x65,0x6e])](_0x15e164,_0x3a1cc4),_0x2328a0[_0x2f4c48([0x74,0x68,0x65,0x6e])](_0x5ca5af=>{_0x5ca5af!=_0x2f4c48([0x56,0x61,0x6c,0x69,0x64])&&_0x15e164(_0x5ca5af);},_0x3a1cc4);});return _0x39d67d||_0x2328a0||_0x2f4c48([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2f4c48([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f4c48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f4c48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x521fb0){return _0x2f4c48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x365478(_0x11d8ab){const _0x353d37=new window[(_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e72fd=>setTimeout(_0x1e72fd,0x93ecc)),_0x393437=_0x32b3a9[_0x2f4c48([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429d46=>{let _0x27c2a5=0x0;_0x4b6b91[_0x2f4c48([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f4c48([0x6f,0x6e])](_0x2f4c48([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51d35e,_0x20441e)=>{_0x20441e[0x0][_0x2f4c48([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27c2a5++,0x1f8==_0x27c2a5&&(_0x429d46(),_0x51d35e[_0x2f4c48([0x6f,0x66,0x66])]());});})),_0x4cc244=[_0x353d37,_0x393437];return window[_0x2f4c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f4c48([0x72,0x61,0x63,0x65])](_0x4cc244)[_0x2f4c48([0x74,0x68,0x65,0x6e])](()=>_0x11d8ab);}function _0x27536d(_0x387ee1){return _0x387ee1[_0x2f4c48([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f4c48([0x65,0x79]))?JSON[_0x2f4c48([0x70,0x61,0x72,0x73,0x65])](_0x2e4ad8(_0x387ee1)):null;}function _0x2e4ad8(_0x1f5a64){return window[_0x2f4c48([0x61,0x74,0x6f,0x62])](_0x1f5a64[_0x2f4c48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f4c48([0x2b]))[_0x2f4c48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f4c48([0x2f])));}function _0x577df9(_0xf9d340){let _0x2d5a35=0x1505;function _0x1479a0(_0x591ee9){for(let _0x5587f7=0x0;_0x5587f7<_0x591ee9[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5587f7++){const _0x177fba=_0x591ee9[_0x2f4c48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5587f7);_0x2d5a35=(_0x2d5a35<<0x5)+_0x2d5a35+_0x177fba,_0x2d5a35&=_0x2d5a35;}}return function _0x4a9208(_0x3f5ca2){Array[_0x2f4c48([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f5ca2)?_0x3f5ca2[_0x2f4c48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a9208):_0x3f5ca2&&typeof _0x3f5ca2==_0x2f4c48([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f4c48([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f5ca2)[_0x2f4c48([0x73,0x6f,0x72,0x74])]()[_0x2f4c48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a0601,_0x13721d])=>{_0x1479a0(_0x3a0601),_0x4a9208(_0x13721d);}):_0x1479a0(window[_0x2f4c48([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f5ca2));}(_0xf9d340),_0x2d5a35>>>0x0;}function _0x33282d(_0x3882af){return _0x3882af[_0x2f4c48([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f4c48([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f4c48([0x30]));}function _0x3fc969(_0x566b56){return _0x566b56[_0x2f4c48([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f4c48([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f4c48([0x6a,0x6f,0x69,0x6e])]('');}function _0x294e53(){}function _0x2f4c48(_0x3a95dd){return _0x3a95dd['map'](_0x30dbd7=>String['fromCharCode'](_0x30dbd7))['join']('');}!function(_0x75c796){const _0x558c6d=(function(){const _0x1b6efa=window[_0x2f4c48([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f4c48([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f4c48([0x6e,0x6f,0x77])]())[_0x2f4c48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f4c48([0x2e]),'');let _0x346468=_0x2f4c48([0x76]);for(let _0x3d644b=0x0;_0x3d644b<_0x1b6efa[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d644b+=0x2){let _0x9a9097=window[_0x2f4c48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b6efa[_0x2f4c48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d644b,_0x3d644b+0x2));_0x9a9097>=_0x252163[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9a9097-=_0x252163[_0x2f4c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x346468+=_0x252163[_0x9a9097];}return _0x346468;}());_0x4b6b91[_0x558c6d]=_0x2f4c48([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x75c796,_0x75c796!=_0x2f4c48([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x32b3a9,_0x4b6b91[_0x2f4c48([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f4c48([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x294e53,_0x4b6b91[_0x2f4c48([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f4c48([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x294e53,_0x4b6b91[_0x2f4c48([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f4c48([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xb34f2a);}const CSS_PROPERTIES_TO_PROPAGATE=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],CSS_PROPERTIES_TO_BE_SPANS=['color','font-family','font-size'],CSS_PROPERTIES_TO_BE_HTML_ELEMENTS={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x2c4ec2=>Number(_0x2c4ec2)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function isPropertyToBePropagated(_0x81f4b4){return CSS_PROPERTIES_TO_PROPAGATE['includes'](_0x81f4b4);}function isPropertyToBePropagatedAsSpan(_0x38b37e){return CSS_PROPERTIES_TO_BE_SPANS['includes'](_0x38b37e);}function isPropertyToBePropagatedAsHTMLElement(_0x5728d5){return _0x5728d5 in CSS_PROPERTIES_TO_BE_HTML_ELEMENTS;}function getStylePropertyNamesToPropagate(_0x199f37){return Array['from'](_0x199f37['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x35ddc8,_0x573003,_0xdb87ed){const {spanStyles:_0x12a7cf,stylesToBeHtmlElements:_0x1449d8}=getStylesToPropagate(_0x35ddc8,_0xdb87ed);propagateStylesAsHTMLElements(_0x35ddc8,_0x573003,_0x1449d8),propagateStylesAsSpan(_0x35ddc8,_0x573003,_0x12a7cf);}function propagateStylesAsHTMLElements(_0x36efbe,_0x35b1d5,_0x25e6b3){for(const _0x297437 in _0x25e6b3){_0x25e6b3[_0x297437]['forEach'](([,_0x55eba2])=>{const _0x1b7fbf=_0x35b1d5['createElement'](_0x55eba2,[],_0x36efbe['getChildren']());_0x35b1d5['insertChild'](0x0,_0x1b7fbf,_0x36efbe);}),_0x35b1d5['removeStyle'](_0x297437,_0x36efbe);}}function propagateStylesAsSpan(_0x994446,_0x50ada8,_0x4d775c){if(!Object['keys'](_0x4d775c)['length'])return;const _0x1378c2=_0x50ada8['createElement']('span',[],_0x994446['getChildren']());_0x50ada8['setStyle'](_0x4d775c,_0x1378c2),_0x50ada8['insertChild'](0x0,_0x1378c2,_0x994446),_0x50ada8['removeStyle'](Object['keys'](_0x4d775c),_0x994446);}function getStylesToPropagate(_0xcb2d64,_0x5f1a32){const _0x5a1c1a={},_0x2be146={};return _0x5f1a32['forEach'](_0x1dc82a=>{const _0xa40056=_0xcb2d64['getStyle'](_0x1dc82a);if(_0xa40056){if(isPropertyToBePropagatedAsSpan(_0x1dc82a))_0x5a1c1a[_0x1dc82a]=_0xa40056;else{if(isPropertyToBePropagatedAsHTMLElement(_0x1dc82a)){const _0x16cff2=_0xa40056['split']('\x20');CSS_PROPERTIES_TO_BE_HTML_ELEMENTS[_0x1dc82a]['forEach'](([_0x349c9e,_0x55281a])=>{for(const _0x3a8087 of _0x16cff2){('function'==typeof _0x349c9e&&_0x349c9e(_0x3a8087)||_0x349c9e===_0x3a8087)&&(_0x2be146[_0x1dc82a]=[..._0x2be146[_0x1dc82a]||[],[_0x349c9e,_0x55281a]]);}});}}}}),{'spanStyles':_0x5a1c1a,'stylesToBeHtmlElements':_0x2be146};}class MSOfficeInlineStylePropagator extends MSWordNormalizer{['execute'](_0x532533){const {body:_0x367f40}=_0x532533['_parsedData'],_0x5f3ea8=new UpcastWriter(_0x367f40['document']),_0x5042ba=_0x5f3ea8['createRangeIn'](_0x367f40),_0x32c4af=new ViewDocument(_0x5f3ea8['document']['stylesProcessor']),_0x7c09d=[...new DomConverter(_0x32c4af)['blockElements'],'font'],_0x185d29=_0x5042ba['getItems']();for(const _0x3e564f of _0x185d29)_0x3e564f['is']('element')&&_0x7c09d['includes'](_0x3e564f['name'])&&propagateStyleProperties(_0x3e564f,_0x5f3ea8,getStylePropertyNamesToPropagate(_0x3e564f));_0x532533['content']=_0x367f40;}['isActive'](_0x1541ff){return super['isActive'](_0x1541ff)||isMSExcelContent(_0x1541ff);}}class PasteFromOfficeEnhancedPropagator extends Plugin{static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x57a6bd=this['editor'],_0x3e7d78=_0x57a6bd['plugins']['get']('ClipboardPipeline'),_0x1be4a8=_0x57a6bd['editing']['view']['document'],_0x355acf=new MSOfficeInlineStylePropagator(_0x1be4a8);_0x3e7d78['on']('inputTransformation',(_0x408e94,_0x612fab)=>{const _0x3b64a9=_0x612fab['dataTransfer']['getData']('text/html');_0x355acf['isActive'](_0x3b64a9)&&(_0x612fab['_parsedData']||(_0x612fab['_parsedData']=parseHtml(_0x3b64a9,_0x1be4a8['stylesProcessor'])),_0x355acf['execute'](_0x612fab));},{'priority':priorities['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x465565=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb3fce6;for(const _0x5a98fa in _0x465565){const _0x18b706=_0x5a98fa,_0x487325=_0x465565[_0x18b706];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyTrialLimit'==_0x487325||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x487325){delete _0x465565[_0x18b706],_0xb3fce6=_0x487325,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xb3fce6&&_0x465565['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xb3fce6&&_0x465565['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xb3fce6&&_0x465565['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xb3fce6&&_0x465565['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xb3fce6&&_0x465565['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyTrialLimit'==_0xb3fce6&&_0x465565['_showLicenseError']('trialLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xb3fce6&&_0x465565['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends Plugin{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var indexMinimal={},minimal$1={},aspromise,hasRequiredAspromise;function requireAspromise(){if(hasRequiredAspromise)return aspromise;return hasRequiredAspromise=0x1,aspromise=function(_0x598fbf,_0x21a997){var _0x2afb51=new Array(arguments['length']-0x1),_0x3c68b7=0x0,_0x4e0581=0x2,_0x50e087=!0x0;for(;_0x4e0581<arguments['length'];)_0x2afb51[_0x3c68b7++]=arguments[_0x4e0581++];return new Promise(function(_0x4cbeda,_0x1c51c7){_0x2afb51[_0x3c68b7]=function(_0x3fe5fd){if(_0x50e087){if(_0x50e087=!0x1,_0x3fe5fd)_0x1c51c7(_0x3fe5fd);else{for(var _0x58c6f1=new Array(arguments['length']-0x1),_0x1cc471=0x0;_0x1cc471<_0x58c6f1['length'];)_0x58c6f1[_0x1cc471++]=arguments[_0x1cc471];_0x4cbeda['apply'](null,_0x58c6f1);}}};try{_0x598fbf['apply'](_0x21a997||null,_0x2afb51);}catch(_0x4f0ca2){_0x50e087&&(_0x50e087=!0x1,_0x1c51c7(_0x4f0ca2));}});},aspromise;}var base64$1={},hasRequiredBase64,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,inquire_1,hasRequiredInquire;function requireBase64(){return hasRequiredBase64||(hasRequiredBase64=0x1,(function(){var _0x2318fc=base64$1;_0x2318fc['length']=function(_0x3fc942){var _0x2fd3ad=_0x3fc942['length'];if(!_0x2fd3ad)return 0x0;for(var _0x59046a=0x0;--_0x2fd3ad%0x4>0x1&&'='===_0x3fc942['charAt'](_0x2fd3ad);)++_0x59046a;return Math['ceil'](0x3*_0x3fc942['length'])/0x4-_0x59046a;};for(var _0x544a96=new Array(0x40),_0x3c7ab5=new Array(0x7b),_0x204537=0x0;_0x204537<0x40;)_0x3c7ab5[_0x544a96[_0x204537]=_0x204537<0x1a?_0x204537+0x41:_0x204537<0x34?_0x204537+0x47:_0x204537<0x3e?_0x204537-0x4:_0x204537-0x3b|0x2b]=_0x204537++;_0x2318fc['encode']=function(_0x1d906e,_0x3fe9bb,_0x2b8c6e){for(var t,_0x3eb404=null,_0x29342d=[],_0x2bdcda=0x0,_0xb6068b=0x0;_0x3fe9bb<_0x2b8c6e;){var _0x455764=_0x1d906e[_0x3fe9bb++];switch(_0xb6068b){case 0x0:_0x29342d[_0x2bdcda++]=_0x544a96[_0x455764>>0x2],t=(0x3&_0x455764)<<0x4,_0xb6068b=0x1;break;case 0x1:_0x29342d[_0x2bdcda++]=_0x544a96[t|_0x455764>>0x4],t=(0xf&_0x455764)<<0x2,_0xb6068b=0x2;break;case 0x2:_0x29342d[_0x2bdcda++]=_0x544a96[t|_0x455764>>0x6],_0x29342d[_0x2bdcda++]=_0x544a96[0x3f&_0x455764],_0xb6068b=0x0;}_0x2bdcda>0x1fff&&((_0x3eb404||(_0x3eb404=[]))['push'](String['fromCharCode']['apply'](String,_0x29342d)),_0x2bdcda=0x0);}return _0xb6068b&&(_0x29342d[_0x2bdcda++]=_0x544a96[t],_0x29342d[_0x2bdcda++]=0x3d,0x1===_0xb6068b&&(_0x29342d[_0x2bdcda++]=0x3d)),_0x3eb404?(_0x2bdcda&&_0x3eb404['push'](String['fromCharCode']['apply'](String,_0x29342d['slice'](0x0,_0x2bdcda))),_0x3eb404['join']('')):String['fromCharCode']['apply'](String,_0x29342d['slice'](0x0,_0x2bdcda));};var _0x550998='invalid\x20encoding';_0x2318fc['decode']=function(_0x4f83da,_0x3c2df1,_0x1d9e56){for(var t,_0x5c38f3=_0x1d9e56,_0x3bfbd9=0x0,_0x9396c7=0x0;_0x9396c7<_0x4f83da['length'];){var _0x3811e6=_0x4f83da['charCodeAt'](_0x9396c7++);if(0x3d===_0x3811e6&&_0x3bfbd9>0x1)break;if(void 0x0===(_0x3811e6=_0x3c7ab5[_0x3811e6]))throw Error(_0x550998);switch(_0x3bfbd9){case 0x0:t=_0x3811e6,_0x3bfbd9=0x1;break;case 0x1:_0x3c2df1[_0x1d9e56++]=t<<0x2|(0x30&_0x3811e6)>>0x4,t=_0x3811e6,_0x3bfbd9=0x2;break;case 0x2:_0x3c2df1[_0x1d9e56++]=(0xf&t)<<0x4|(0x3c&_0x3811e6)>>0x2,t=_0x3811e6,_0x3bfbd9=0x3;break;case 0x3:_0x3c2df1[_0x1d9e56++]=(0x3&t)<<0x6|_0x3811e6,_0x3bfbd9=0x0;}}if(0x1===_0x3bfbd9)throw Error(_0x550998);return _0x1d9e56-_0x5c38f3;},_0x2318fc['test']=function(_0xfbada8){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0xfbada8);};}())),base64$1;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x4ccf63(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x4ccf63,_0x4ccf63['prototype']['on']=function(_0x249f3b,_0x3a7bce,_0x46f908){return(this['_listeners'][_0x249f3b]||(this['_listeners'][_0x249f3b]=[]))['push']({'fn':_0x3a7bce,'ctx':_0x46f908||this}),this;},_0x4ccf63['prototype']['off']=function(_0x386d43,_0xba74a1){if(void 0x0===_0x386d43)this['_listeners']={};else{if(void 0x0===_0xba74a1)this['_listeners'][_0x386d43]=[];else{for(var _0xe1f278=this['_listeners'][_0x386d43],_0x46a3f5=0x0;_0x46a3f5<_0xe1f278['length'];)_0xe1f278[_0x46a3f5]['fn']===_0xba74a1?_0xe1f278['splice'](_0x46a3f5,0x1):++_0x46a3f5;}}return this;},_0x4ccf63['prototype']['emit']=function(_0x585f68){var _0x3e9376=this['_listeners'][_0x585f68];if(_0x3e9376){for(var _0x53a6b8=[],_0x1ad157=0x1;_0x1ad157<arguments['length'];)_0x53a6b8['push'](arguments[_0x1ad157++]);for(_0x1ad157=0x0;_0x1ad157<_0x3e9376['length'];)_0x3e9376[_0x1ad157]['fn']['apply'](_0x3e9376[_0x1ad157++]['ctx'],_0x53a6b8);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x3b5d2d(_0x44a279){return'undefined'!=typeof Float32Array?(function(){var _0x4de907=new Float32Array([-0x0]),_0x4736cb=new Uint8Array(_0x4de907['buffer']),_0x75a1ce=0x80===_0x4736cb[0x3];function _0x5b5ead(_0x2a15f7,_0x18e947,_0x4a8579){_0x4de907[0x0]=_0x2a15f7,_0x18e947[_0x4a8579]=_0x4736cb[0x0],_0x18e947[_0x4a8579+0x1]=_0x4736cb[0x1],_0x18e947[_0x4a8579+0x2]=_0x4736cb[0x2],_0x18e947[_0x4a8579+0x3]=_0x4736cb[0x3];}function _0xb6fc32(_0x4ab165,_0x2d0e4a,_0x5985c4){_0x4de907[0x0]=_0x4ab165,_0x2d0e4a[_0x5985c4]=_0x4736cb[0x3],_0x2d0e4a[_0x5985c4+0x1]=_0x4736cb[0x2],_0x2d0e4a[_0x5985c4+0x2]=_0x4736cb[0x1],_0x2d0e4a[_0x5985c4+0x3]=_0x4736cb[0x0];}function _0xaaa44(_0x523046,_0x29cc50){return _0x4736cb[0x0]=_0x523046[_0x29cc50],_0x4736cb[0x1]=_0x523046[_0x29cc50+0x1],_0x4736cb[0x2]=_0x523046[_0x29cc50+0x2],_0x4736cb[0x3]=_0x523046[_0x29cc50+0x3],_0x4de907[0x0];}function _0x1e1572(_0x1e066a,_0x1b316a){return _0x4736cb[0x3]=_0x1e066a[_0x1b316a],_0x4736cb[0x2]=_0x1e066a[_0x1b316a+0x1],_0x4736cb[0x1]=_0x1e066a[_0x1b316a+0x2],_0x4736cb[0x0]=_0x1e066a[_0x1b316a+0x3],_0x4de907[0x0];}_0x44a279['writeFloatLE']=_0x75a1ce?_0x5b5ead:_0xb6fc32,_0x44a279['writeFloatBE']=_0x75a1ce?_0xb6fc32:_0x5b5ead,_0x44a279['readFloatLE']=_0x75a1ce?_0xaaa44:_0x1e1572,_0x44a279['readFloatBE']=_0x75a1ce?_0x1e1572:_0xaaa44;}()):(function(){function _0x5c921b(_0x57217f,_0x5826c8,_0x39b4cd,_0x89e5e7){var _0x205cdc=_0x5826c8<0x0?0x1:0x0;if(_0x205cdc&&(_0x5826c8=-_0x5826c8),0x0===_0x5826c8)_0x57217f(0x1/_0x5826c8>0x0?0x0:0x80000000,_0x39b4cd,_0x89e5e7);else{if(isNaN(_0x5826c8))_0x57217f(0x7fc00000,_0x39b4cd,_0x89e5e7);else{if(_0x5826c8>0xffffff00000000000000000000000000)_0x57217f((_0x205cdc<<0x1f|0x7f800000)>>>0x0,_0x39b4cd,_0x89e5e7);else{if(_0x5826c8<1.1754943508222875e-38)_0x57217f((_0x205cdc<<0x1f|Math['round'](_0x5826c8/1.401298464324817e-45))>>>0x0,_0x39b4cd,_0x89e5e7);else{var _0x3d54a8=Math['floor'](Math['log'](_0x5826c8)/Math['LN2']);_0x57217f((_0x205cdc<<0x1f|_0x3d54a8+0x7f<<0x17|0x7fffff&Math['round'](_0x5826c8*Math['pow'](0x2,-_0x3d54a8)*0x800000))>>>0x0,_0x39b4cd,_0x89e5e7);}}}}}function _0x671b74(_0x56a829,_0x30f633,_0x146cda){var _0x45f025=_0x56a829(_0x30f633,_0x146cda),_0x96887d=0x2*(_0x45f025>>0x1f)+0x1,_0x53cad1=_0x45f025>>>0x17&0xff,_0x1827f6=0x7fffff&_0x45f025;return 0xff===_0x53cad1?_0x1827f6?NaN:_0x96887d*(0x1/0x0):0x0===_0x53cad1?1.401298464324817e-45*_0x96887d*_0x1827f6:_0x96887d*Math['pow'](0x2,_0x53cad1-0x96)*(_0x1827f6+0x800000);}_0x44a279['writeFloatLE']=_0x5c921b['bind'](null,_0x56aede),_0x44a279['writeFloatBE']=_0x5c921b['bind'](null,_0x43ef29),_0x44a279['readFloatLE']=_0x671b74['bind'](null,_0x478723),_0x44a279['readFloatBE']=_0x671b74['bind'](null,_0x510ac0);}()),'undefined'!=typeof Float64Array?(function(){var _0x55d29f=new Float64Array([-0x0]),_0x1305cc=new Uint8Array(_0x55d29f['buffer']),_0x2b8642=0x80===_0x1305cc[0x7];function _0x3952cf(_0x17227b,_0x1291da,_0x49aace){_0x55d29f[0x0]=_0x17227b,_0x1291da[_0x49aace]=_0x1305cc[0x0],_0x1291da[_0x49aace+0x1]=_0x1305cc[0x1],_0x1291da[_0x49aace+0x2]=_0x1305cc[0x2],_0x1291da[_0x49aace+0x3]=_0x1305cc[0x3],_0x1291da[_0x49aace+0x4]=_0x1305cc[0x4],_0x1291da[_0x49aace+0x5]=_0x1305cc[0x5],_0x1291da[_0x49aace+0x6]=_0x1305cc[0x6],_0x1291da[_0x49aace+0x7]=_0x1305cc[0x7];}function _0xb2c202(_0x56e739,_0x3f418f,_0x120945){_0x55d29f[0x0]=_0x56e739,_0x3f418f[_0x120945]=_0x1305cc[0x7],_0x3f418f[_0x120945+0x1]=_0x1305cc[0x6],_0x3f418f[_0x120945+0x2]=_0x1305cc[0x5],_0x3f418f[_0x120945+0x3]=_0x1305cc[0x4],_0x3f418f[_0x120945+0x4]=_0x1305cc[0x3],_0x3f418f[_0x120945+0x5]=_0x1305cc[0x2],_0x3f418f[_0x120945+0x6]=_0x1305cc[0x1],_0x3f418f[_0x120945+0x7]=_0x1305cc[0x0];}function _0x597988(_0x2dcfa6,_0x180d04){return _0x1305cc[0x0]=_0x2dcfa6[_0x180d04],_0x1305cc[0x1]=_0x2dcfa6[_0x180d04+0x1],_0x1305cc[0x2]=_0x2dcfa6[_0x180d04+0x2],_0x1305cc[0x3]=_0x2dcfa6[_0x180d04+0x3],_0x1305cc[0x4]=_0x2dcfa6[_0x180d04+0x4],_0x1305cc[0x5]=_0x2dcfa6[_0x180d04+0x5],_0x1305cc[0x6]=_0x2dcfa6[_0x180d04+0x6],_0x1305cc[0x7]=_0x2dcfa6[_0x180d04+0x7],_0x55d29f[0x0];}function _0x4848fe(_0x1330d2,_0x10af85){return _0x1305cc[0x7]=_0x1330d2[_0x10af85],_0x1305cc[0x6]=_0x1330d2[_0x10af85+0x1],_0x1305cc[0x5]=_0x1330d2[_0x10af85+0x2],_0x1305cc[0x4]=_0x1330d2[_0x10af85+0x3],_0x1305cc[0x3]=_0x1330d2[_0x10af85+0x4],_0x1305cc[0x2]=_0x1330d2[_0x10af85+0x5],_0x1305cc[0x1]=_0x1330d2[_0x10af85+0x6],_0x1305cc[0x0]=_0x1330d2[_0x10af85+0x7],_0x55d29f[0x0];}_0x44a279['writeDoubleLE']=_0x2b8642?_0x3952cf:_0xb2c202,_0x44a279['writeDoubleBE']=_0x2b8642?_0xb2c202:_0x3952cf,_0x44a279['readDoubleLE']=_0x2b8642?_0x597988:_0x4848fe,_0x44a279['readDoubleBE']=_0x2b8642?_0x4848fe:_0x597988;}()):(function(){function _0x1a505e(_0x3d9c32,_0x423e60,_0x566e2a,_0x9b4509,_0x47dade,_0x3413b8){var _0x597dbe=_0x9b4509<0x0?0x1:0x0;if(_0x597dbe&&(_0x9b4509=-_0x9b4509),0x0===_0x9b4509)_0x3d9c32(0x0,_0x47dade,_0x3413b8+_0x423e60),_0x3d9c32(0x1/_0x9b4509>0x0?0x0:0x80000000,_0x47dade,_0x3413b8+_0x566e2a);else{if(isNaN(_0x9b4509))_0x3d9c32(0x0,_0x47dade,_0x3413b8+_0x423e60),_0x3d9c32(0x7ff80000,_0x47dade,_0x3413b8+_0x566e2a);else{if(_0x9b4509>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x3d9c32(0x0,_0x47dade,_0x3413b8+_0x423e60),_0x3d9c32((_0x597dbe<<0x1f|0x7ff00000)>>>0x0,_0x47dade,_0x3413b8+_0x566e2a);else{var _0x1aae0b;if(_0x9b4509<2.2250738585072014e-308)_0x3d9c32((_0x1aae0b=_0x9b4509/5e-324)>>>0x0,_0x47dade,_0x3413b8+_0x423e60),_0x3d9c32((_0x597dbe<<0x1f|_0x1aae0b/0x100000000)>>>0x0,_0x47dade,_0x3413b8+_0x566e2a);else{var _0x133553=Math['floor'](Math['log'](_0x9b4509)/Math['LN2']);0x400===_0x133553&&(_0x133553=0x3ff),_0x3d9c32(0x10000000000000*(_0x1aae0b=_0x9b4509*Math['pow'](0x2,-_0x133553))>>>0x0,_0x47dade,_0x3413b8+_0x423e60),_0x3d9c32((_0x597dbe<<0x1f|_0x133553+0x3ff<<0x14|0x100000*_0x1aae0b&0xfffff)>>>0x0,_0x47dade,_0x3413b8+_0x566e2a);}}}}}function _0x187b67(_0x3a65e2,_0x2de317,_0x307d9f,_0x1c9999,_0x53502b){var _0x527636=_0x3a65e2(_0x1c9999,_0x53502b+_0x2de317),_0x4a28dd=_0x3a65e2(_0x1c9999,_0x53502b+_0x307d9f),_0x1bd13a=0x2*(_0x4a28dd>>0x1f)+0x1,_0x51380d=_0x4a28dd>>>0x14&0x7ff,_0x48084a=0x100000000*(0xfffff&_0x4a28dd)+_0x527636;return 0x7ff===_0x51380d?_0x48084a?NaN:_0x1bd13a*(0x1/0x0):0x0===_0x51380d?5e-324*_0x1bd13a*_0x48084a:_0x1bd13a*Math['pow'](0x2,_0x51380d-0x433)*(_0x48084a+0x10000000000000);}_0x44a279['writeDoubleLE']=_0x1a505e['bind'](null,_0x56aede,0x0,0x4),_0x44a279['writeDoubleBE']=_0x1a505e['bind'](null,_0x43ef29,0x4,0x0),_0x44a279['readDoubleLE']=_0x187b67['bind'](null,_0x478723,0x0,0x4),_0x44a279['readDoubleBE']=_0x187b67['bind'](null,_0x510ac0,0x4,0x0);}()),_0x44a279;}function _0x56aede(_0x195783,_0x112dea,_0x3d9ec0){_0x112dea[_0x3d9ec0]=0xff&_0x195783,_0x112dea[_0x3d9ec0+0x1]=_0x195783>>>0x8&0xff,_0x112dea[_0x3d9ec0+0x2]=_0x195783>>>0x10&0xff,_0x112dea[_0x3d9ec0+0x3]=_0x195783>>>0x18;}function _0x43ef29(_0xb15c93,_0x20474,_0x402217){_0x20474[_0x402217]=_0xb15c93>>>0x18,_0x20474[_0x402217+0x1]=_0xb15c93>>>0x10&0xff,_0x20474[_0x402217+0x2]=_0xb15c93>>>0x8&0xff,_0x20474[_0x402217+0x3]=0xff&_0xb15c93;}function _0x478723(_0x32b1ce,_0x37439c){return(_0x32b1ce[_0x37439c]|_0x32b1ce[_0x37439c+0x1]<<0x8|_0x32b1ce[_0x37439c+0x2]<<0x10|_0x32b1ce[_0x37439c+0x3]<<0x18)>>>0x0;}function _0x510ac0(_0x478df0,_0x3ff5bf){return(_0x478df0[_0x3ff5bf]<<0x18|_0x478df0[_0x3ff5bf+0x1]<<0x10|_0x478df0[_0x3ff5bf+0x2]<<0x8|_0x478df0[_0x3ff5bf+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x3b5d2d(_0x3b5d2d);}function requireInquire(){if(hasRequiredInquire)return inquire_1;function _0xb0b1c4(_0x22fd37){try{var _0x233dad=eval('quire'['replace'](/^/,'re'))(_0x22fd37);if(_0x233dad&&(_0x233dad['length']||Object['keys'](_0x233dad)['length']))return _0x233dad;}catch(_0x3d028b){}return null;}return hasRequiredInquire=0x1,inquire_1=_0xb0b1c4,inquire_1;}var utf8$2={},hasRequiredUtf8,pool_1,hasRequiredPool,longbits,hasRequiredLongbits,hasRequiredMinimal;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,(function(){var _0x269273=utf8$2;_0x269273['length']=function(_0x301bb2){for(var _0x52cc0b=0x0,_0x5b3681=0x0,_0x501cbb=0x0;_0x501cbb<_0x301bb2['length'];++_0x501cbb)(_0x5b3681=_0x301bb2['charCodeAt'](_0x501cbb))<0x80?_0x52cc0b+=0x1:_0x5b3681<0x800?_0x52cc0b+=0x2:0xd800==(0xfc00&_0x5b3681)&&0xdc00==(0xfc00&_0x301bb2['charCodeAt'](_0x501cbb+0x1))?(++_0x501cbb,_0x52cc0b+=0x4):_0x52cc0b+=0x3;return _0x52cc0b;},_0x269273['read']=function(_0x56d52f,_0x5f5ae8,_0x4759ff){if(_0x4759ff-_0x5f5ae8<0x1)return'';for(var t,_0x18edca=null,_0x11d61d=[],_0xc4a917=0x0;_0x5f5ae8<_0x4759ff;)(t=_0x56d52f[_0x5f5ae8++])<0x80?_0x11d61d[_0xc4a917++]=t:t>0xbf&&t<0xe0?_0x11d61d[_0xc4a917++]=(0x1f&t)<<0x6|0x3f&_0x56d52f[_0x5f5ae8++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x56d52f[_0x5f5ae8++])<<0xc|(0x3f&_0x56d52f[_0x5f5ae8++])<<0x6|0x3f&_0x56d52f[_0x5f5ae8++])-0x10000,_0x11d61d[_0xc4a917++]=0xd800+(t>>0xa),_0x11d61d[_0xc4a917++]=0xdc00+(0x3ff&t)):_0x11d61d[_0xc4a917++]=(0xf&t)<<0xc|(0x3f&_0x56d52f[_0x5f5ae8++])<<0x6|0x3f&_0x56d52f[_0x5f5ae8++],_0xc4a917>0x1fff&&((_0x18edca||(_0x18edca=[]))['push'](String['fromCharCode']['apply'](String,_0x11d61d)),_0xc4a917=0x0);return _0x18edca?(_0xc4a917&&_0x18edca['push'](String['fromCharCode']['apply'](String,_0x11d61d['slice'](0x0,_0xc4a917))),_0x18edca['join']('')):String['fromCharCode']['apply'](String,_0x11d61d['slice'](0x0,_0xc4a917));},_0x269273['write']=function(_0x2351b3,_0x3898c7,_0x28d9e1){for(var _0x11488c,_0x457a1a,_0x21a6fb=_0x28d9e1,_0x320475=0x0;_0x320475<_0x2351b3['length'];++_0x320475)(_0x11488c=_0x2351b3['charCodeAt'](_0x320475))<0x80?_0x3898c7[_0x28d9e1++]=_0x11488c:_0x11488c<0x800?(_0x3898c7[_0x28d9e1++]=_0x11488c>>0x6|0xc0,_0x3898c7[_0x28d9e1++]=0x3f&_0x11488c|0x80):0xd800==(0xfc00&_0x11488c)&&0xdc00==(0xfc00&(_0x457a1a=_0x2351b3['charCodeAt'](_0x320475+0x1)))?(_0x11488c=0x10000+((0x3ff&_0x11488c)<<0xa)+(0x3ff&_0x457a1a),++_0x320475,_0x3898c7[_0x28d9e1++]=_0x11488c>>0x12|0xf0,_0x3898c7[_0x28d9e1++]=_0x11488c>>0xc&0x3f|0x80,_0x3898c7[_0x28d9e1++]=_0x11488c>>0x6&0x3f|0x80,_0x3898c7[_0x28d9e1++]=0x3f&_0x11488c|0x80):(_0x3898c7[_0x28d9e1++]=_0x11488c>>0xc|0xe0,_0x3898c7[_0x28d9e1++]=_0x11488c>>0x6&0x3f|0x80,_0x3898c7[_0x28d9e1++]=0x3f&_0x11488c|0x80);return _0x28d9e1-_0x21a6fb;};}())),utf8$2;}function requirePool(){if(hasRequiredPool)return pool_1;return hasRequiredPool=0x1,pool_1=function(_0x217932,_0x377150,_0x3851ec){var _0x2d99e3=_0x3851ec||0x2000,_0x407127=_0x2d99e3>>>0x1,_0x4f8713=null,_0x3627b0=_0x2d99e3;return function(_0x42700e){if(_0x42700e<0x1||_0x42700e>_0x407127)return _0x217932(_0x42700e);_0x3627b0+_0x42700e>_0x2d99e3&&(_0x4f8713=_0x217932(_0x2d99e3),_0x3627b0=0x0);var _0x135921=_0x377150['call'](_0x4f8713,_0x3627b0,_0x3627b0+=_0x42700e);return 0x7&_0x3627b0&&(_0x3627b0=0x1+(0x7|_0x3627b0)),_0x135921;};},pool_1;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x24c8a2;var _0x14cf3d=requireMinimal();function _0x24c8a2(_0x54e6c1,_0x18590d){this['lo']=_0x54e6c1>>>0x0,this['hi']=_0x18590d>>>0x0;}var _0x351f93=_0x24c8a2['zero']=new _0x24c8a2(0x0,0x0);_0x351f93['toNumber']=function(){return 0x0;},_0x351f93['zzEncode']=_0x351f93['zzDecode']=function(){return this;},_0x351f93['length']=function(){return 0x1;};var _0x18b5b8=_0x24c8a2['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x24c8a2['fromNumber']=function(_0x4095f7){if(0x0===_0x4095f7)return _0x351f93;var _0x209dcb=_0x4095f7<0x0;_0x209dcb&&(_0x4095f7=-_0x4095f7);var _0x567457=_0x4095f7>>>0x0,_0x1321c8=(_0x4095f7-_0x567457)/0x100000000>>>0x0;return _0x209dcb&&(_0x1321c8=~_0x1321c8>>>0x0,_0x567457=~_0x567457>>>0x0,++_0x567457>0xffffffff&&(_0x567457=0x0,++_0x1321c8>0xffffffff&&(_0x1321c8=0x0))),new _0x24c8a2(_0x567457,_0x1321c8);},_0x24c8a2['from']=function(_0x4cc1a6){if('number'==typeof _0x4cc1a6)return _0x24c8a2['fromNumber'](_0x4cc1a6);if(_0x14cf3d['isString'](_0x4cc1a6)){if(!_0x14cf3d['Long'])return _0x24c8a2['fromNumber'](parseInt(_0x4cc1a6,0xa));_0x4cc1a6=_0x14cf3d['Long']['fromString'](_0x4cc1a6);}return _0x4cc1a6['low']||_0x4cc1a6['high']?new _0x24c8a2(_0x4cc1a6['low']>>>0x0,_0x4cc1a6['high']>>>0x0):_0x351f93;},_0x24c8a2['prototype']['toNumber']=function(_0x281713){if(!_0x281713&&this['hi']>>>0x1f){var _0x3544ed=0x1+~this['lo']>>>0x0,_0x52787f=~this['hi']>>>0x0;return _0x3544ed||(_0x52787f=_0x52787f+0x1>>>0x0),-(_0x3544ed+0x100000000*_0x52787f);}return this['lo']+0x100000000*this['hi'];},_0x24c8a2['prototype']['toLong']=function(_0x48c86a){return _0x14cf3d['Long']?new _0x14cf3d['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x48c86a)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x48c86a)};};var _0x537db3=String['prototype']['charCodeAt'];return _0x24c8a2['fromHash']=function(_0x327bea){return _0x327bea===_0x18b5b8?_0x351f93:new _0x24c8a2((_0x537db3['call'](_0x327bea,0x0)|_0x537db3['call'](_0x327bea,0x1)<<0x8|_0x537db3['call'](_0x327bea,0x2)<<0x10|_0x537db3['call'](_0x327bea,0x3)<<0x18)>>>0x0,(_0x537db3['call'](_0x327bea,0x4)|_0x537db3['call'](_0x327bea,0x5)<<0x8|_0x537db3['call'](_0x327bea,0x6)<<0x10|_0x537db3['call'](_0x327bea,0x7)<<0x18)>>>0x0);},_0x24c8a2['prototype']['toHash']=function(){return String['fromCharCode'](0xff&this['lo'],this['lo']>>>0x8&0xff,this['lo']>>>0x10&0xff,this['lo']>>>0x18,0xff&this['hi'],this['hi']>>>0x8&0xff,this['hi']>>>0x10&0xff,this['hi']>>>0x18);},_0x24c8a2['prototype']['zzEncode']=function(){var _0x3c8bec=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x3c8bec)>>>0x0,this['lo']=(this['lo']<<0x1^_0x3c8bec)>>>0x0,this;},_0x24c8a2['prototype']['zzDecode']=function(){var _0x2a8990=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x2a8990)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x2a8990)>>>0x0,this;},_0x24c8a2['prototype']['length']=function(){var _0x285341=this['lo'],_0x28c68b=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x3a95e=this['hi']>>>0x18;return 0x0===_0x3a95e?0x0===_0x28c68b?_0x285341<0x4000?_0x285341<0x80?0x1:0x2:_0x285341<0x200000?0x3:0x4:_0x28c68b<0x4000?_0x28c68b<0x80?0x5:0x6:_0x28c68b<0x200000?0x7:0x8:_0x3a95e<0x80?0x9:0xa;},longbits;}function requireMinimal(){return hasRequiredMinimal||(hasRequiredMinimal=0x1,(function(){var _0x569af1=minimal$1;function _0x2dcbfa(_0x49c3f1,_0x7ca5e6,_0x2351ed){for(var _0x528ab9=Object['keys'](_0x7ca5e6),_0xbe9bd3=0x0;_0xbe9bd3<_0x528ab9['length'];++_0xbe9bd3)void 0x0!==_0x49c3f1[_0x528ab9[_0xbe9bd3]]&&_0x2351ed||(_0x49c3f1[_0x528ab9[_0xbe9bd3]]=_0x7ca5e6[_0x528ab9[_0xbe9bd3]]);return _0x49c3f1;}function _0x2b84b9(_0x8c8211){function _0x24ea8c(_0x765716,_0x174eca){if(!(this instanceof _0x24ea8c))return new _0x24ea8c(_0x765716,_0x174eca);Object['defineProperty'](this,'message',{'get':function(){return _0x765716;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x24ea8c):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x174eca&&_0x2dcbfa(this,_0x174eca);}return _0x24ea8c['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x24ea8c,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x8c8211;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x24ea8c;}_0x569af1['asPromise']=requireAspromise(),_0x569af1['base64']=requireBase64(),_0x569af1['EventEmitter']=requireEventemitter(),_0x569af1['float']=requireFloat(),_0x569af1['inquire']=requireInquire(),_0x569af1['utf8']=requireUtf8(),_0x569af1['pool']=requirePool(),_0x569af1['LongBits']=requireLongbits(),_0x569af1['isNode']=Boolean(void 0x0!==commonjsGlobal&&commonjsGlobal&&commonjsGlobal['process']&&commonjsGlobal['process']['versions']&&commonjsGlobal['process']['versions']['node']),_0x569af1['global']=_0x569af1['isNode']&&commonjsGlobal||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||commonjsGlobal,_0x569af1['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x569af1['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x569af1['isInteger']=Number['isInteger']||function(_0x457ac9){return'number'==typeof _0x457ac9&&isFinite(_0x457ac9)&&Math['floor'](_0x457ac9)===_0x457ac9;},_0x569af1['isString']=function(_0x10e0c3){return'string'==typeof _0x10e0c3||_0x10e0c3 instanceof String;},_0x569af1['isObject']=function(_0x5cfc6f){return _0x5cfc6f&&'object'==typeof _0x5cfc6f;},_0x569af1['isset']=_0x569af1['isSet']=function(_0x151505,_0x3c9728){var _0x5abde6=_0x151505[_0x3c9728];return!(null==_0x5abde6||!_0x151505['hasOwnProperty'](_0x3c9728))&&('object'!=typeof _0x5abde6||(Array['isArray'](_0x5abde6)?_0x5abde6['length']:Object['keys'](_0x5abde6)['length'])>0x0);},_0x569af1['Buffer']=(function(){try{var _0x765aec=_0x569af1['inquire']('buffer')['Buffer'];return _0x765aec['prototype']['utf8Write']?_0x765aec:null;}catch(_0x33856c){return null;}}()),_0x569af1['_Buffer_from']=null,_0x569af1['_Buffer_allocUnsafe']=null,_0x569af1['newBuffer']=function(_0x5cac84){return'number'==typeof _0x5cac84?_0x569af1['Buffer']?_0x569af1['_Buffer_allocUnsafe'](_0x5cac84):new _0x569af1['Array'](_0x5cac84):_0x569af1['Buffer']?_0x569af1['_Buffer_from'](_0x5cac84):'undefined'==typeof Uint8Array?_0x5cac84:new Uint8Array(_0x5cac84);},_0x569af1['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x569af1['Long']=_0x569af1['global']['dcodeIO']&&_0x569af1['global']['dcodeIO']['Long']||_0x569af1['global']['Long']||_0x569af1['inquire']('long'),_0x569af1['key2Re']=/^true|false|0|1$/,_0x569af1['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x569af1['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x569af1['longToHash']=function(_0x313f06){return _0x313f06?_0x569af1['LongBits']['from'](_0x313f06)['toHash']():_0x569af1['LongBits']['zeroHash'];},_0x569af1['longFromHash']=function(_0x5ef554,_0x83784e){var _0x3ade08=_0x569af1['LongBits']['fromHash'](_0x5ef554);return _0x569af1['Long']?_0x569af1['Long']['fromBits'](_0x3ade08['lo'],_0x3ade08['hi'],_0x83784e):_0x3ade08['toNumber'](Boolean(_0x83784e));},_0x569af1['merge']=_0x2dcbfa,_0x569af1['lcFirst']=function(_0x422a0e){return _0x422a0e['charAt'](0x0)['toLowerCase']()+_0x422a0e['substring'](0x1);},_0x569af1['newError']=_0x2b84b9,_0x569af1['ProtocolError']=_0x2b84b9('ProtocolError'),_0x569af1['oneOfGetter']=function(_0x21cec3){for(var _0x588765={},_0x13900e=0x0;_0x13900e<_0x21cec3['length'];++_0x13900e)_0x588765[_0x21cec3[_0x13900e]]=0x1;return function(){for(var _0x3cde13=Object['keys'](this),_0x418891=_0x3cde13['length']-0x1;_0x418891>-0x1;--_0x418891)if(0x1===_0x588765[_0x3cde13[_0x418891]]&&void 0x0!==this[_0x3cde13[_0x418891]]&&null!==this[_0x3cde13[_0x418891]])return _0x3cde13[_0x418891];};},_0x569af1['oneOfSetter']=function(_0x35b05b){return function(_0x469990){for(var _0x426527=0x0;_0x426527<_0x35b05b['length'];++_0x426527)_0x35b05b[_0x426527]!==_0x469990&&delete this[_0x35b05b[_0x426527]];};},_0x569af1['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x569af1['_configure']=function(){var _0xc8d4fe=_0x569af1['Buffer'];_0xc8d4fe?(_0x569af1['_Buffer_from']=_0xc8d4fe['from']!==Uint8Array['from']&&_0xc8d4fe['from']||function(_0x3ae3bd,_0x375964){return new _0xc8d4fe(_0x3ae3bd,_0x375964);},_0x569af1['_Buffer_allocUnsafe']=_0xc8d4fe['allocUnsafe']||function(_0x5ba4eb){return new _0xc8d4fe(_0x5ba4eb);}):_0x569af1['_Buffer_from']=_0x569af1['_Buffer_allocUnsafe']=null;};}())),minimal$1;}var writer=Writer$1,util$4=requireMinimal(),BufferWriter$1,LongBits$1=util$4['LongBits'],base64=util$4['base64'],utf8$1=util$4['utf8'];function Op(_0xb92494,_0x32f458,_0x15197b){this['fn']=_0xb92494,this['len']=_0x32f458,this['next']=void 0x0,this['val']=_0x15197b;}function noop(){}function State(_0x525ff1){this['head']=_0x525ff1['head'],this['tail']=_0x525ff1['tail'],this['len']=_0x525ff1['len'],this['next']=_0x525ff1['states'];}function Writer$1(){this['len']=0x0,this['head']=new Op(noop,0x0,0x0),this['tail']=this['head'],this['states']=null;}var create$2=function(){return util$4['Buffer']?function(){return(Writer$1['create']=function(){return new BufferWriter$1();})();}:function(){return new Writer$1();};};function writeByte(_0x3f23c2,_0x5cf844,_0x2549be){_0x5cf844[_0x2549be]=0xff&_0x3f23c2;}function writeVarint32(_0x105676,_0x275dfd,_0xa53eda){for(;_0x105676>0x7f;)_0x275dfd[_0xa53eda++]=0x7f&_0x105676|0x80,_0x105676>>>=0x7;_0x275dfd[_0xa53eda]=_0x105676;}function VarintOp(_0x3d1fe6,_0x114206){this['len']=_0x3d1fe6,this['next']=void 0x0,this['val']=_0x114206;}function writeVarint64(_0x44acd5,_0x5167c1,_0x9cb38d){for(;_0x44acd5['hi'];)_0x5167c1[_0x9cb38d++]=0x7f&_0x44acd5['lo']|0x80,_0x44acd5['lo']=(_0x44acd5['lo']>>>0x7|_0x44acd5['hi']<<0x19)>>>0x0,_0x44acd5['hi']>>>=0x7;for(;_0x44acd5['lo']>0x7f;)_0x5167c1[_0x9cb38d++]=0x7f&_0x44acd5['lo']|0x80,_0x44acd5['lo']=_0x44acd5['lo']>>>0x7;_0x5167c1[_0x9cb38d++]=_0x44acd5['lo'];}function writeFixed32(_0x474810,_0x444801,_0x37c187){_0x444801[_0x37c187]=0xff&_0x474810,_0x444801[_0x37c187+0x1]=_0x474810>>>0x8&0xff,_0x444801[_0x37c187+0x2]=_0x474810>>>0x10&0xff,_0x444801[_0x37c187+0x3]=_0x474810>>>0x18;}Writer$1['create']=create$2(),Writer$1['alloc']=function(_0x5c3c46){return new util$4['Array'](_0x5c3c46);},util$4['Array']!==Array&&(Writer$1['alloc']=util$4['pool'](Writer$1['alloc'],util$4['Array']['prototype']['subarray'])),Writer$1['prototype']['_push']=function(_0x1d90c4,_0x487400,_0x26918d){return this['tail']=this['tail']['next']=new Op(_0x1d90c4,_0x487400,_0x26918d),this['len']+=_0x487400,this;},VarintOp['prototype']=Object['create'](Op['prototype']),VarintOp['prototype']['fn']=writeVarint32,Writer$1['prototype']['uint32']=function(_0x34c443){return this['len']+=(this['tail']=this['tail']['next']=new VarintOp((_0x34c443>>>=0x0)<0x80?0x1:_0x34c443<0x4000?0x2:_0x34c443<0x200000?0x3:_0x34c443<0x10000000?0x4:0x5,_0x34c443))['len'],this;},Writer$1['prototype']['int32']=function(_0x27127c){return _0x27127c<0x0?this['_push'](writeVarint64,0xa,LongBits$1['fromNumber'](_0x27127c)):this['uint32'](_0x27127c);},Writer$1['prototype']['sint32']=function(_0x2317d6){return this['uint32']((_0x2317d6<<0x1^_0x2317d6>>0x1f)>>>0x0);},Writer$1['prototype']['uint64']=function(_0x13636e){var _0x341a0f=LongBits$1['from'](_0x13636e);return this['_push'](writeVarint64,_0x341a0f['length'](),_0x341a0f);},Writer$1['prototype']['int64']=Writer$1['prototype']['uint64'],Writer$1['prototype']['sint64']=function(_0x5325b1){var _0x2a6b7b=LongBits$1['from'](_0x5325b1)['zzEncode']();return this['_push'](writeVarint64,_0x2a6b7b['length'](),_0x2a6b7b);},Writer$1['prototype']['bool']=function(_0x3bb403){return this['_push'](writeByte,0x1,_0x3bb403?0x1:0x0);},Writer$1['prototype']['fixed32']=function(_0x45c1b9){return this['_push'](writeFixed32,0x4,_0x45c1b9>>>0x0);},Writer$1['prototype']['sfixed32']=Writer$1['prototype']['fixed32'],Writer$1['prototype']['fixed64']=function(_0x77db6c){var _0x4b4d4d=LongBits$1['from'](_0x77db6c);return this['_push'](writeFixed32,0x4,_0x4b4d4d['lo'])['_push'](writeFixed32,0x4,_0x4b4d4d['hi']);},Writer$1['prototype']['sfixed64']=Writer$1['prototype']['fixed64'],Writer$1['prototype']['float']=function(_0x3aa0ec){return this['_push'](util$4['float']['writeFloatLE'],0x4,_0x3aa0ec);},Writer$1['prototype']['double']=function(_0x544e33){return this['_push'](util$4['float']['writeDoubleLE'],0x8,_0x544e33);};var writeBytes=util$4['Array']['prototype']['set']?function(_0x16677e,_0x402165,_0x3ad913){_0x402165['set'](_0x16677e,_0x3ad913);}:function(_0x39f301,_0x2ab1d2,_0x24e9c6){for(var _0xc882a7=0x0;_0xc882a7<_0x39f301['length'];++_0xc882a7)_0x2ab1d2[_0x24e9c6+_0xc882a7]=_0x39f301[_0xc882a7];};Writer$1['prototype']['bytes']=function(_0x4db6f1){var _0x464673=_0x4db6f1['length']>>>0x0;if(!_0x464673)return this['_push'](writeByte,0x1,0x0);if(util$4['isString'](_0x4db6f1)){var _0x27f4ea=Writer$1['alloc'](_0x464673=base64['length'](_0x4db6f1));base64['decode'](_0x4db6f1,_0x27f4ea,0x0),_0x4db6f1=_0x27f4ea;}return this['uint32'](_0x464673)['_push'](writeBytes,_0x464673,_0x4db6f1);},Writer$1['prototype']['string']=function(_0x2cb0a9){var _0x5412a4=utf8$1['length'](_0x2cb0a9);return _0x5412a4?this['uint32'](_0x5412a4)['_push'](utf8$1['write'],_0x5412a4,_0x2cb0a9):this['_push'](writeByte,0x1,0x0);},Writer$1['prototype']['fork']=function(){return this['states']=new State(this),this['head']=this['tail']=new Op(noop,0x0,0x0),this['len']=0x0,this;},Writer$1['prototype']['reset']=function(){return this['states']?(this['head']=this['states']['head'],this['tail']=this['states']['tail'],this['len']=this['states']['len'],this['states']=this['states']['next']):(this['head']=this['tail']=new Op(noop,0x0,0x0),this['len']=0x0),this;},Writer$1['prototype']['ldelim']=function(){var _0x4e76b0=this['head'],_0x206c09=this['tail'],_0x1ea1b0=this['len'];return this['reset']()['uint32'](_0x1ea1b0),_0x1ea1b0&&(this['tail']['next']=_0x4e76b0['next'],this['tail']=_0x206c09,this['len']+=_0x1ea1b0),this;},Writer$1['prototype']['finish']=function(){for(var _0x4bf1e0=this['head']['next'],_0x207488=this['constructor']['alloc'](this['len']),_0x46fffd=0x0;_0x4bf1e0;)_0x4bf1e0['fn'](_0x4bf1e0['val'],_0x207488,_0x46fffd),_0x46fffd+=_0x4bf1e0['len'],_0x4bf1e0=_0x4bf1e0['next'];return _0x207488;},Writer$1['_configure']=function(_0x30ab0b){BufferWriter$1=_0x30ab0b,Writer$1['create']=create$2(),BufferWriter$1['_configure']();};var writer_buffer=BufferWriter,Writer=writer;(BufferWriter['prototype']=Object['create'](Writer['prototype']))['constructor']=BufferWriter;var util$3=requireMinimal();function BufferWriter(){Writer['call'](this);}function writeStringBuffer(_0x5cf0fc,_0x372127,_0x1728cc){_0x5cf0fc['length']<0x28?util$3['utf8']['write'](_0x5cf0fc,_0x372127,_0x1728cc):_0x372127['utf8Write']?_0x372127['utf8Write'](_0x5cf0fc,_0x1728cc):_0x372127['write'](_0x5cf0fc,_0x1728cc);}BufferWriter['_configure']=function(){BufferWriter['alloc']=util$3['_Buffer_allocUnsafe'],BufferWriter['writeBytesBuffer']=util$3['Buffer']&&util$3['Buffer']['prototype']instanceof Uint8Array&&'set'===util$3['Buffer']['prototype']['set']['name']?function(_0x5ae4b8,_0x3f1002,_0x4c21af){_0x3f1002['set'](_0x5ae4b8,_0x4c21af);}:function(_0x4cc55e,_0x106809,_0x35381b){if(_0x4cc55e['copy'])_0x4cc55e['copy'](_0x106809,_0x35381b,0x0,_0x4cc55e['length']);else{for(var _0x501494=0x0;_0x501494<_0x4cc55e['length'];)_0x106809[_0x35381b++]=_0x4cc55e[_0x501494++];}};},BufferWriter['prototype']['bytes']=function(_0x562188){util$3['isString'](_0x562188)&&(_0x562188=util$3['_Buffer_from'](_0x562188,'base64'));var _0x3d6e72=_0x562188['length']>>>0x0;return this['uint32'](_0x3d6e72),_0x3d6e72&&this['_push'](BufferWriter['writeBytesBuffer'],_0x3d6e72,_0x562188),this;},BufferWriter['prototype']['string']=function(_0x369960){var _0x529fd5=util$3['Buffer']['byteLength'](_0x369960);return this['uint32'](_0x529fd5),_0x529fd5&&this['_push'](writeStringBuffer,_0x529fd5,_0x369960),this;},BufferWriter['_configure']();var reader=Reader$1,util$2=requireMinimal(),BufferReader$1,LongBits=util$2['LongBits'],utf8=util$2['utf8'];function indexOutOfRange(_0xc8b55e,_0x3d2b72){return RangeError('index\x20out\x20of\x20range:\x20'+_0xc8b55e['pos']+'\x20+\x20'+(_0x3d2b72||0x1)+'\x20>\x20'+_0xc8b55e['len']);}function Reader$1(_0x3f05a7){this['buf']=_0x3f05a7,this['pos']=0x0,this['len']=_0x3f05a7['length'];}var create_array='undefined'!=typeof Uint8Array?function(_0x102e39){if(_0x102e39 instanceof Uint8Array||Array['isArray'](_0x102e39))return new Reader$1(_0x102e39);throw Error('illegal\x20buffer');}:function(_0x437fa4){if(Array['isArray'](_0x437fa4))return new Reader$1(_0x437fa4);throw Error('illegal\x20buffer');},create$1=function(){return util$2['Buffer']?function(_0x3c68d5){return(Reader$1['create']=function(_0x470174){return util$2['Buffer']['isBuffer'](_0x470174)?new BufferReader$1(_0x470174):create_array(_0x470174);})(_0x3c68d5);}:create_array;};function readLongVarint(){var _0x569c31=new LongBits(0x0,0x0),_0x27978a=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x27978a<0x3;++_0x27978a){if(this['pos']>=this['len'])throw indexOutOfRange(this);if(_0x569c31['lo']=(_0x569c31['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x27978a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x569c31;}return _0x569c31['lo']=(_0x569c31['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x27978a)>>>0x0,_0x569c31;}for(;_0x27978a<0x4;++_0x27978a)if(_0x569c31['lo']=(_0x569c31['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x27978a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x569c31;if(_0x569c31['lo']=(_0x569c31['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x569c31['hi']=(_0x569c31['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x569c31;if(_0x27978a=0x0,this['len']-this['pos']>0x4){for(;_0x27978a<0x5;++_0x27978a)if(_0x569c31['hi']=(_0x569c31['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x27978a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x569c31;}else for(;_0x27978a<0x5;++_0x27978a){if(this['pos']>=this['len'])throw indexOutOfRange(this);if(_0x569c31['hi']=(_0x569c31['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x27978a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x569c31;}throw Error('invalid\x20varint\x20encoding');}function readFixed32_end(_0xc8530,_0xeaa396){return(_0xc8530[_0xeaa396-0x4]|_0xc8530[_0xeaa396-0x3]<<0x8|_0xc8530[_0xeaa396-0x2]<<0x10|_0xc8530[_0xeaa396-0x1]<<0x18)>>>0x0;}function readFixed64(){if(this['pos']+0x8>this['len'])throw indexOutOfRange(this,0x8);return new LongBits(readFixed32_end(this['buf'],this['pos']+=0x4),readFixed32_end(this['buf'],this['pos']+=0x4));}Reader$1['create']=create$1(),Reader$1['prototype']['_slice']=util$2['Array']['prototype']['subarray']||util$2['Array']['prototype']['slice'],Reader$1['prototype']['uint32']=(function(){var _0x41dfe2=0xffffffff;return function(){if(_0x41dfe2=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x41dfe2;if(_0x41dfe2=(_0x41dfe2|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x41dfe2;if(_0x41dfe2=(_0x41dfe2|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x41dfe2;if(_0x41dfe2=(_0x41dfe2|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x41dfe2;if(_0x41dfe2=(_0x41dfe2|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x41dfe2;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],indexOutOfRange(this,0xa);return _0x41dfe2;};}()),Reader$1['prototype']['int32']=function(){return 0x0|this['uint32']();},Reader$1['prototype']['sint32']=function(){var _0x588759=this['uint32']();return _0x588759>>>0x1^-(0x1&_0x588759);},Reader$1['prototype']['bool']=function(){return 0x0!==this['uint32']();},Reader$1['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw indexOutOfRange(this,0x4);return readFixed32_end(this['buf'],this['pos']+=0x4);},Reader$1['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw indexOutOfRange(this,0x4);return 0x0|readFixed32_end(this['buf'],this['pos']+=0x4);},Reader$1['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw indexOutOfRange(this,0x4);var _0x2d1a62=util$2['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x2d1a62;},Reader$1['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw indexOutOfRange(this,0x4);var _0x4b9390=util$2['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x4b9390;},Reader$1['prototype']['bytes']=function(){var _0x43a682=this['uint32'](),_0x42e8a8=this['pos'],_0x45eff1=this['pos']+_0x43a682;if(_0x45eff1>this['len'])throw indexOutOfRange(this,_0x43a682);if(this['pos']+=_0x43a682,Array['isArray'](this['buf']))return this['buf']['slice'](_0x42e8a8,_0x45eff1);if(_0x42e8a8===_0x45eff1){var _0x471255=util$2['Buffer'];return _0x471255?_0x471255['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x42e8a8,_0x45eff1);},Reader$1['prototype']['string']=function(){var _0x5ec160=this['bytes']();return utf8['read'](_0x5ec160,0x0,_0x5ec160['length']);},Reader$1['prototype']['skip']=function(_0x1658ee){if('number'==typeof _0x1658ee){if(this['pos']+_0x1658ee>this['len'])throw indexOutOfRange(this,_0x1658ee);this['pos']+=_0x1658ee;}else do{if(this['pos']>=this['len'])throw indexOutOfRange(this);}while(0x80&this['buf'][this['pos']++]);return this;},Reader$1['prototype']['skipType']=function(_0x35105f){switch(_0x35105f){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x35105f=0x7&this['uint32']());)this['skipType'](_0x35105f);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x35105f+'\x20at\x20offset\x20'+this['pos']);}return this;},Reader$1['_configure']=function(_0x49e0b0){BufferReader$1=_0x49e0b0,Reader$1['create']=create$1(),BufferReader$1['_configure']();var _0x322c05=util$2['Long']?'toLong':'toNumber';util$2['merge'](Reader$1['prototype'],{'int64':function(){return readLongVarint['call'](this)[_0x322c05](!0x1);},'uint64':function(){return readLongVarint['call'](this)[_0x322c05](!0x0);},'sint64':function(){return readLongVarint['call'](this)['zzDecode']()[_0x322c05](!0x1);},'fixed64':function(){return readFixed64['call'](this)[_0x322c05](!0x0);},'sfixed64':function(){return readFixed64['call'](this)[_0x322c05](!0x1);}});};var reader_buffer=BufferReader,Reader=reader;(BufferReader['prototype']=Object['create'](Reader['prototype']))['constructor']=BufferReader;var util$1=requireMinimal();function BufferReader(_0x352b4f){Reader['call'](this,_0x352b4f);}BufferReader['_configure']=function(){util$1['Buffer']&&(BufferReader['prototype']['_slice']=util$1['Buffer']['prototype']['slice']);},BufferReader['prototype']['string']=function(){var _0x3152be=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x3152be,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x3152be,this['len']));},BufferReader['_configure']();var rpc={},service=Service,util=requireMinimal();function Service(_0x43df08,_0x3ec417,_0x5106d5){if('function'!=typeof _0x43df08)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');util['EventEmitter']['call'](this),this['rpcImpl']=_0x43df08,this['requestDelimited']=Boolean(_0x3ec417),this['responseDelimited']=Boolean(_0x5106d5);}(Service['prototype']=Object['create'](util['EventEmitter']['prototype']))['constructor']=Service,Service['prototype']['rpcCall']=function e(_0x558de0,_0x4cd9bc,_0x202029,_0x14da6c,_0x565685){if(!_0x14da6c)throw TypeError('request\x20must\x20be\x20specified');var _0x52e146=this;if(!_0x565685)return util['asPromise'](e,_0x52e146,_0x558de0,_0x4cd9bc,_0x202029,_0x14da6c);if(_0x52e146['rpcImpl'])try{return _0x52e146['rpcImpl'](_0x558de0,_0x4cd9bc[_0x52e146['requestDelimited']?'encodeDelimited':'encode'](_0x14da6c)['finish'](),function(_0xf56054,_0x53e8d1){if(_0xf56054)return _0x52e146['emit']('error',_0xf56054,_0x558de0),_0x565685(_0xf56054);if(null!==_0x53e8d1){if(!(_0x53e8d1 instanceof _0x202029))try{_0x53e8d1=_0x202029[_0x52e146['responseDelimited']?'decodeDelimited':'decode'](_0x53e8d1);}catch(_0x2d502e){return _0x52e146['emit']('error',_0x2d502e,_0x558de0),_0x565685(_0x2d502e);}return _0x52e146['emit']('data',_0x53e8d1,_0x558de0),_0x565685(null,_0x53e8d1);}_0x52e146['end'](!0x0);});}catch(_0x39190e){return _0x52e146['emit']('error',_0x39190e,_0x558de0),void setTimeout(function(){_0x565685(_0x39190e);},0x0);}else setTimeout(function(){_0x565685(Error('already\x20ended'));},0x0);},Service['prototype']['end']=function(_0x55d427){return this['rpcImpl']&&(_0x55d427||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},function(_0x4e5e07){_0x4e5e07['Service']=service;}(rpc);var roots={};!function(_0x1dfed9){var _0x34c776=indexMinimal;function _0x3ed34a(){_0x34c776['util']['_configure'](),_0x34c776['Writer']['_configure'](_0x34c776['BufferWriter']),_0x34c776['Reader']['_configure'](_0x34c776['BufferReader']);}_0x34c776['build']='minimal',_0x34c776['Writer']=writer,_0x34c776['BufferWriter']=writer_buffer,_0x34c776['Reader']=reader,_0x34c776['BufferReader']=reader_buffer,_0x34c776['util']=requireMinimal(),_0x34c776['rpc']=rpc,_0x34c776['roots']=roots,_0x34c776['configure']=_0x3ed34a,_0x3ed34a();}();var minimal=indexMinimal;const PACKET_TYPES=Object['create'](null);PACKET_TYPES['open']='0',PACKET_TYPES['close']='1',PACKET_TYPES['ping']='2',PACKET_TYPES['pong']='3',PACKET_TYPES['message']='4',PACKET_TYPES['upgrade']='5',PACKET_TYPES['noop']='6';const PACKET_TYPES_REVERSE=Object['create'](null);Object['keys'](PACKET_TYPES)['forEach'](_0x1344b6=>{PACKET_TYPES_REVERSE[PACKET_TYPES[_0x1344b6]]=_0x1344b6;});const ERROR_PACKET={'type':'error','data':'parser\x20error'},withNativeBlob$1='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),withNativeArrayBuffer$2='function'==typeof ArrayBuffer,isView$1=_0x4cddbf=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4cddbf):_0x4cddbf&&_0x4cddbf['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x5c34e0,data:_0x513979},_0x3cc353,_0x22a572)=>withNativeBlob$1&&_0x513979 instanceof Blob?_0x3cc353?_0x22a572(_0x513979):encodeBlobAsBase64(_0x513979,_0x22a572):withNativeArrayBuffer$2&&(_0x513979 instanceof ArrayBuffer||isView$1(_0x513979))?_0x3cc353?_0x22a572(_0x513979):encodeBlobAsBase64(new Blob([_0x513979]),_0x22a572):_0x22a572(PACKET_TYPES[_0x5c34e0]+(_0x513979||'')),encodeBlobAsBase64=(_0x243391,_0x3c2665)=>{const _0x46dbc8=new FileReader();return _0x46dbc8['onload']=function(){const _0x10214c=_0x46dbc8['result']['split'](',')[0x1];_0x3c2665('b'+(_0x10214c||''));},_0x46dbc8['readAsDataURL'](_0x243391);};function toArray(_0x1e05aa){return _0x1e05aa instanceof Uint8Array?_0x1e05aa:_0x1e05aa instanceof ArrayBuffer?new Uint8Array(_0x1e05aa):new Uint8Array(_0x1e05aa['buffer'],_0x1e05aa['byteOffset'],_0x1e05aa['byteLength']);}let TEXT_ENCODER;function encodePacketToBinary(_0x2b2f40,_0x35f3e9){return withNativeBlob$1&&_0x2b2f40['data']instanceof Blob?_0x2b2f40['data']['arrayBuffer']()['then'](toArray)['then'](_0x35f3e9):withNativeArrayBuffer$2&&(_0x2b2f40['data']instanceof ArrayBuffer||isView$1(_0x2b2f40['data']))?_0x35f3e9(toArray(_0x2b2f40['data'])):void encodePacket(_0x2b2f40,!0x1,_0x4662ea=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder()),_0x35f3e9(TEXT_ENCODER['encode'](_0x4662ea));});}const chars='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',lookup$1='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let e=0x0;e<chars['length'];e++)lookup$1[chars['charCodeAt'](e)]=e;const decode$2=_0x55351c=>{let _0x3fd678,_0x1e6475,_0x4effec,_0x1821dd,_0x26d8da,_0x216a79=0.75*_0x55351c['length'],_0x1782d3=_0x55351c['length'],_0x1dc9c1=0x0;'='===_0x55351c[_0x55351c['length']-0x1]&&(_0x216a79--,'='===_0x55351c[_0x55351c['length']-0x2]&&_0x216a79--);const _0x1ad4e4=new ArrayBuffer(_0x216a79),_0x1598c1=new Uint8Array(_0x1ad4e4);for(_0x3fd678=0x0;_0x3fd678<_0x1782d3;_0x3fd678+=0x4)_0x1e6475=lookup$1[_0x55351c['charCodeAt'](_0x3fd678)],_0x4effec=lookup$1[_0x55351c['charCodeAt'](_0x3fd678+0x1)],_0x1821dd=lookup$1[_0x55351c['charCodeAt'](_0x3fd678+0x2)],_0x26d8da=lookup$1[_0x55351c['charCodeAt'](_0x3fd678+0x3)],_0x1598c1[_0x1dc9c1++]=_0x1e6475<<0x2|_0x4effec>>0x4,_0x1598c1[_0x1dc9c1++]=(0xf&_0x4effec)<<0x4|_0x1821dd>>0x2,_0x1598c1[_0x1dc9c1++]=(0x3&_0x1821dd)<<0x6|0x3f&_0x26d8da;return _0x1ad4e4;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x4de58b,_0x1bd953)=>{if('string'!=typeof _0x4de58b)return{'type':'message','data':mapBinary(_0x4de58b,_0x1bd953)};const _0x1ade90=_0x4de58b['charAt'](0x0);if('b'===_0x1ade90)return{'type':'message','data':decodeBase64Packet(_0x4de58b['substring'](0x1),_0x1bd953)};return PACKET_TYPES_REVERSE[_0x1ade90]?_0x4de58b['length']>0x1?{'type':PACKET_TYPES_REVERSE[_0x1ade90],'data':_0x4de58b['substring'](0x1)}:{'type':PACKET_TYPES_REVERSE[_0x1ade90]}:ERROR_PACKET;},decodeBase64Packet=(_0x5bbd99,_0x51b02d)=>{if(withNativeArrayBuffer$1){const _0x404bfb=decode$2(_0x5bbd99);return mapBinary(_0x404bfb,_0x51b02d);}return{'base64':!0x0,'data':_0x5bbd99};},mapBinary=(_0x4f1fff,_0x34f381)=>'blob'===_0x34f381?_0x4f1fff instanceof Blob?_0x4f1fff:new Blob([_0x4f1fff]):_0x4f1fff instanceof ArrayBuffer?_0x4f1fff:_0x4f1fff['buffer'],SEPARATOR$2=String['fromCharCode'](0x1e),encodePayload=(_0x1bc647,_0xa91e7d)=>{const _0x28c506=_0x1bc647['length'],_0x471269=new Array(_0x28c506);let _0x5e634a=0x0;_0x1bc647['forEach']((_0x4bf39b,_0x5cdd78)=>{encodePacket(_0x4bf39b,!0x1,_0x33a8b9=>{_0x471269[_0x5cdd78]=_0x33a8b9,++_0x5e634a===_0x28c506&&_0xa91e7d(_0x471269['join'](SEPARATOR$2));});});},decodePayload=(_0x23d2d9,_0x3abbbe)=>{const _0x309105=_0x23d2d9['split'](SEPARATOR$2),_0x293682=[];for(let _0x2f9e2c=0x0;_0x2f9e2c<_0x309105['length'];_0x2f9e2c++){const _0x3b1bb7=decodePacket(_0x309105[_0x2f9e2c],_0x3abbbe);if(_0x293682['push'](_0x3b1bb7),'error'===_0x3b1bb7['type'])break;}return _0x293682;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x8606d,_0x2cd068){encodePacketToBinary(_0x8606d,_0x4dbd5f=>{const _0x26058a=_0x4dbd5f['length'];let _0xa135ea;if(_0x26058a<0x7e)_0xa135ea=new Uint8Array(0x1),new DataView(_0xa135ea['buffer'])['setUint8'](0x0,_0x26058a);else{if(_0x26058a<0x10000){_0xa135ea=new Uint8Array(0x3);const _0x5f51cb=new DataView(_0xa135ea['buffer']);_0x5f51cb['setUint8'](0x0,0x7e),_0x5f51cb['setUint16'](0x1,_0x26058a);}else{_0xa135ea=new Uint8Array(0x9);const _0x4e37cb=new DataView(_0xa135ea['buffer']);_0x4e37cb['setUint8'](0x0,0x7f),_0x4e37cb['setBigUint64'](0x1,BigInt(_0x26058a));}}_0x8606d['data']&&'string'!=typeof _0x8606d['data']&&(_0xa135ea[0x0]|=0x80),_0x2cd068['enqueue'](_0xa135ea),_0x2cd068['enqueue'](_0x4dbd5f);});}});}let TEXT_DECODER;function totalLength(_0x323ee3){return _0x323ee3['reduce']((_0x431d85,_0x429122)=>_0x431d85+_0x429122['length'],0x0);}function concatChunks(_0x15d103,_0x1a672e){if(_0x15d103[0x0]['length']===_0x1a672e)return _0x15d103['shift']();const _0x595623=new Uint8Array(_0x1a672e);let _0x48f301=0x0;for(let _0x51e47e=0x0;_0x51e47e<_0x1a672e;_0x51e47e++)_0x595623[_0x51e47e]=_0x15d103[0x0][_0x48f301++],_0x48f301===_0x15d103[0x0]['length']&&(_0x15d103['shift'](),_0x48f301=0x0);return _0x15d103['length']&&_0x48f301<_0x15d103[0x0]['length']&&(_0x15d103[0x0]=_0x15d103[0x0]['slice'](_0x48f301)),_0x595623;}function createPacketDecoderStream(_0x1a77bd,_0x22ac3c){TEXT_DECODER||(TEXT_DECODER=new TextDecoder());const _0x4d0ff3=[];let _0x4e8827=0x0,_0x2f5c3e=-0x1,_0x523333=!0x1;return new TransformStream({'transform'(_0x4bad73,_0x575942){for(_0x4d0ff3['push'](_0x4bad73);;){if(0x0===_0x4e8827){if(totalLength(_0x4d0ff3)<0x1)break;const _0x240c8d=concatChunks(_0x4d0ff3,0x1);_0x523333=!(0x80&~_0x240c8d[0x0]),_0x2f5c3e=0x7f&_0x240c8d[0x0],_0x4e8827=_0x2f5c3e<0x7e?0x3:0x7e===_0x2f5c3e?0x1:0x2;}else{if(0x1===_0x4e8827){if(totalLength(_0x4d0ff3)<0x2)break;const _0x31c841=concatChunks(_0x4d0ff3,0x2);_0x2f5c3e=new DataView(_0x31c841['buffer'],_0x31c841['byteOffset'],_0x31c841['length'])['getUint16'](0x0),_0x4e8827=0x3;}else{if(0x2===_0x4e8827){if(totalLength(_0x4d0ff3)<0x8)break;const _0x3e36e9=concatChunks(_0x4d0ff3,0x8),_0x318bec=new DataView(_0x3e36e9['buffer'],_0x3e36e9['byteOffset'],_0x3e36e9['length']),_0x51596b=_0x318bec['getUint32'](0x0);if(_0x51596b>Math['pow'](0x2,0x15)-0x1){_0x575942['enqueue'](ERROR_PACKET);break;}_0x2f5c3e=_0x51596b*Math['pow'](0x2,0x20)+_0x318bec['getUint32'](0x4),_0x4e8827=0x3;}else{if(totalLength(_0x4d0ff3)<_0x2f5c3e)break;const _0x586339=concatChunks(_0x4d0ff3,_0x2f5c3e);_0x575942['enqueue'](decodePacket(_0x523333?_0x586339:TEXT_DECODER['decode'](_0x586339),_0x22ac3c)),_0x4e8827=0x0;}}}if(0x0===_0x2f5c3e||_0x2f5c3e>_0x1a77bd){_0x575942['enqueue'](ERROR_PACKET);break;}}}});}const protocol$1=0x4;function Emitter(_0x3cd8dc){if(_0x3cd8dc)return mixin(_0x3cd8dc);}function mixin(_0x585891){for(var _0x49bac7 in Emitter['prototype'])_0x585891[_0x49bac7]=Emitter['prototype'][_0x49bac7];return _0x585891;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x59d816,_0x3b0f42){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x59d816]=this['_callbacks']['$'+_0x59d816]||[])['push'](_0x3b0f42),this;},Emitter['prototype']['once']=function(_0x5a960c,_0x14d6b7){function _0x40f4fa(){this['off'](_0x5a960c,_0x40f4fa),_0x14d6b7['apply'](this,arguments);}return _0x40f4fa['fn']=_0x14d6b7,this['on'](_0x5a960c,_0x40f4fa),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x85f761,_0x576086){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x5e5dee,_0xfc781b=this['_callbacks']['$'+_0x85f761];if(!_0xfc781b)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x85f761],this;for(var _0xbc19b=0x0;_0xbc19b<_0xfc781b['length'];_0xbc19b++)if((_0x5e5dee=_0xfc781b[_0xbc19b])===_0x576086||_0x5e5dee['fn']===_0x576086){_0xfc781b['splice'](_0xbc19b,0x1);break;}return 0x0===_0xfc781b['length']&&delete this['_callbacks']['$'+_0x85f761],this;},Emitter['prototype']['emit']=function(_0x8772fb){this['_callbacks']=this['_callbacks']||{};for(var _0x4c3c89=new Array(arguments['length']-0x1),_0x318b3b=this['_callbacks']['$'+_0x8772fb],_0x4d95a6=0x1;_0x4d95a6<arguments['length'];_0x4d95a6++)_0x4c3c89[_0x4d95a6-0x1]=arguments[_0x4d95a6];if(_0x318b3b){_0x4d95a6=0x0;for(var _0x5f551a=(_0x318b3b=_0x318b3b['slice'](0x0))['length'];_0x4d95a6<_0x5f551a;++_0x4d95a6)_0x318b3b[_0x4d95a6]['apply'](this,_0x4c3c89);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x2b2781){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x2b2781]||[];},Emitter['prototype']['hasListeners']=function(_0x283112){return!!this['listeners'](_0x283112)['length'];};const globalThisShim='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function pick$1(_0x419268,..._0x5cd742){return _0x5cd742['reduce']((_0x31b32b,_0x200c9f)=>(_0x419268['hasOwnProperty'](_0x200c9f)&&(_0x31b32b[_0x200c9f]=_0x419268[_0x200c9f]),_0x31b32b),{});}const NATIVE_SET_TIMEOUT=globalThisShim['setTimeout'],NATIVE_CLEAR_TIMEOUT=globalThisShim['clearTimeout'];function installTimerFunctions(_0x570a96,_0x4071f2){_0x4071f2['useNativeTimers']?(_0x570a96['setTimeoutFn']=NATIVE_SET_TIMEOUT['bind'](globalThisShim),_0x570a96['clearTimeoutFn']=NATIVE_CLEAR_TIMEOUT['bind'](globalThisShim)):(_0x570a96['setTimeoutFn']=globalThisShim['setTimeout']['bind'](globalThisShim),_0x570a96['clearTimeoutFn']=globalThisShim['clearTimeout']['bind'](globalThisShim));}const BASE64_OVERHEAD=1.33;function byteLength(_0x5706d5){return'string'==typeof _0x5706d5?utf8Length(_0x5706d5):Math['ceil']((_0x5706d5['byteLength']||_0x5706d5['size'])*BASE64_OVERHEAD);}function utf8Length(_0x1cfc60){let _0x10e986=0x0,_0x155f0a=0x0;for(let _0x464b22=0x0,_0xd04b31=_0x1cfc60['length'];_0x464b22<_0xd04b31;_0x464b22++)_0x10e986=_0x1cfc60['charCodeAt'](_0x464b22),_0x10e986<0x80?_0x155f0a+=0x1:_0x10e986<0x800?_0x155f0a+=0x2:_0x10e986<0xd800||_0x10e986>=0xe000?_0x155f0a+=0x3:(_0x464b22++,_0x155f0a+=0x4);return _0x155f0a;}function encode$2(_0x1b8775){let _0x41c2ec='';for(let _0x377fc5 in _0x1b8775)_0x1b8775['hasOwnProperty'](_0x377fc5)&&(_0x41c2ec['length']&&(_0x41c2ec+='&'),_0x41c2ec+=encodeURIComponent(_0x377fc5)+'='+encodeURIComponent(_0x1b8775[_0x377fc5]));return _0x41c2ec;}function decode$1(_0x28969f){let _0x1d6235={},_0x3db3ab=_0x28969f['split']('&');for(let _0x39df31=0x0,_0x1b79a7=_0x3db3ab['length'];_0x39df31<_0x1b79a7;_0x39df31++){let _0x4c54f9=_0x3db3ab[_0x39df31]['split']('=');_0x1d6235[decodeURIComponent(_0x4c54f9[0x0])]=decodeURIComponent(_0x4c54f9[0x1]);}return _0x1d6235;}class TransportError extends Error{constructor(_0x42036e,_0x33ce96,_0x284375){super(_0x42036e),this['description']=_0x33ce96,this['context']=_0x284375,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x2cb0c8){super(),this['writable']=!0x1,installTimerFunctions(this,_0x2cb0c8),this['opts']=_0x2cb0c8,this['query']=_0x2cb0c8['query'],this['socket']=_0x2cb0c8['socket'];}['onError'](_0x26479f,_0x268b16,_0x2eb4df){return super['emitReserved']('error',new TransportError(_0x26479f,_0x268b16,_0x2eb4df)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x3c199a){'open'===this['readyState']&&this['write'](_0x3c199a);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x2d7f57){const _0x9266f8=decodePacket(_0x2d7f57,this['socket']['binaryType']);this['onPacket'](_0x9266f8);}['onPacket'](_0x18d8a1){super['emitReserved']('packet',_0x18d8a1);}['onClose'](_0x3c993a){this['readyState']='closed',super['emitReserved']('close',_0x3c993a);}['pause'](_0x277600){}['createUri'](_0x2ed6c2,_0x1b59a1={}){return _0x2ed6c2+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x1b59a1);}['_hostname'](){const _0x447da5=this['opts']['hostname'];return-0x1===_0x447da5['indexOf'](':')?_0x447da5:'['+_0x447da5+']';}['_port'](){return this['opts']['port']&&(this['opts']['secure']&&Number(0x1bb!==this['opts']['port'])||!this['opts']['secure']&&0x50!==Number(this['opts']['port']))?':'+this['opts']['port']:'';}['_query'](_0x4a940b){const _0x1db3ef=encode$2(_0x4a940b);return _0x1db3ef['length']?'?'+_0x1db3ef:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,map={};let seed=0x0,i$1=0x0,prev;function encode$1(_0x5dca7c){let _0x32c270='';do{_0x32c270=alphabet[_0x5dca7c%length]+_0x32c270,_0x5dca7c=Math['floor'](_0x5dca7c/length);}while(_0x5dca7c>0x0);return _0x32c270;}function yeast(){const _0x5861ed=encode$1(+new Date());return _0x5861ed!==prev?(seed=0x0,prev=_0x5861ed):_0x5861ed+'.'+encode$1(seed++);}for(;i$1<length;i$1++)map[alphabet[i$1]]=i$1;let value=!0x1;try{value='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x75d2d){}const hasCORS=value;function XHR(_0x299209){const _0x2c9a81=_0x299209['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x2c9a81||hasCORS))return new XMLHttpRequest();}catch(_0x412bb5){}if(!_0x2c9a81)try{return new globalThisShim[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x5cddfe){}}function createCookieJar(){}function empty(){}const hasXHR2=null!=new XHR({'xdomain':!0x1})['responseType'];class Polling extends Transport{constructor(_0x192e5c){if(super(_0x192e5c),this['polling']=!0x1,'undefined'!=typeof location){const _0x42817c='https:'===location['protocol'];let _0x323f12=location['port'];_0x323f12||(_0x323f12=_0x42817c?'443':'80'),this['xd']='undefined'!=typeof location&&_0x192e5c['hostname']!==location['hostname']||_0x323f12!==_0x192e5c['port'];}const _0x4d6263=_0x192e5c&&_0x192e5c['forceBase64'];this['supportsBinary']=hasXHR2&&!_0x4d6263,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x1b4b1f){this['readyState']='pausing';const _0x12b80f=()=>{this['readyState']='paused',_0x1b4b1f();};if(this['polling']||!this['writable']){let _0x235bb2=0x0;this['polling']&&(_0x235bb2++,this['once']('pollComplete',function(){--_0x235bb2||_0x12b80f();})),this['writable']||(_0x235bb2++,this['once']('drain',function(){--_0x235bb2||_0x12b80f();}));}else _0x12b80f();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x1f9af1){decodePayload(_0x1f9af1,this['socket']['binaryType'])['forEach'](_0x547ad4=>{if('opening'===this['readyState']&&'open'===_0x547ad4['type']&&this['onOpen'](),'close'===_0x547ad4['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x547ad4);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x218fec=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x218fec():this['once']('open',_0x218fec);}['write'](_0x46d9db){this['writable']=!0x1,encodePayload(_0x46d9db,_0xfae97b=>{this['doWrite'](_0xfae97b,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x22711c=this['opts']['secure']?'https':'http',_0x3d3eee=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x3d3eee[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0x3d3eee['sid']||(_0x3d3eee['b64']=0x1),this['createUri'](_0x22711c,_0x3d3eee);}['request'](_0x88a220={}){return Object['assign'](_0x88a220,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request$1(this['uri'](),_0x88a220);}['doWrite'](_0x346512,_0x32ef33){const _0x2fd744=this['request']({'method':'POST','data':_0x346512});_0x2fd744['on']('success',_0x32ef33),_0x2fd744['on']('error',(_0x26cc3a,_0x234186)=>{this['onError']('xhr\x20post\x20error',_0x26cc3a,_0x234186);});}['doPoll'](){const _0x2dd08b=this['request']();_0x2dd08b['on']('data',this['onData']['bind'](this)),_0x2dd08b['on']('error',(_0x33ac53,_0x3d2d82)=>{this['onError']('xhr\x20poll\x20error',_0x33ac53,_0x3d2d82);}),this['pollXhr']=_0x2dd08b;}}let Request$1=class e extends Emitter{constructor(_0x3acc26,_0x282af4){super(),installTimerFunctions(this,_0x282af4),this['opts']=_0x282af4,this['method']=_0x282af4['method']||'GET',this['uri']=_0x3acc26,this['data']=void 0x0!==_0x282af4['data']?_0x282af4['data']:null,this['create']();}['create'](){var _0x3ea925;const _0x1a671b=pick$1(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x1a671b['xdomain']=!!this['opts']['xd'];const _0x5e59b8=this['xhr']=new XHR(_0x1a671b);try{_0x5e59b8['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x5e59b8['setDisableHeaderCheck']&&_0x5e59b8['setDisableHeaderCheck'](!0x0);for(let _0x3495c2 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x3495c2)&&_0x5e59b8['setRequestHeader'](_0x3495c2,this['opts']['extraHeaders'][_0x3495c2]);}}catch(_0x92b660){}if('POST'===this['method'])try{_0x5e59b8['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x4fe441){}try{_0x5e59b8['setRequestHeader']('Accept','*/*');}catch(_0x26ab6b){}null===(_0x3ea925=this['opts']['cookieJar'])||void 0x0===_0x3ea925||_0x3ea925['addCookies'](_0x5e59b8),'withCredentials'in _0x5e59b8&&(_0x5e59b8['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x5e59b8['timeout']=this['opts']['requestTimeout']),_0x5e59b8['onreadystatechange']=()=>{var _0x3132b0;0x3===_0x5e59b8['readyState']&&(null===(_0x3132b0=this['opts']['cookieJar'])||void 0x0===_0x3132b0||_0x3132b0['parseCookies'](_0x5e59b8)),0x4===_0x5e59b8['readyState']&&(0xc8===_0x5e59b8['status']||0x4c7===_0x5e59b8['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x5e59b8['status']?_0x5e59b8['status']:0x0);},0x0));},_0x5e59b8['send'](this['data']);}catch(_0x2885b3){return void this['setTimeoutFn'](()=>{this['onError'](_0x2885b3);},0x0);}'undefined'!=typeof document&&(this['index']=e['requestsCount']++,e['requests'][this['index']]=this);}['onError'](_0x59203c){this['emitReserved']('error',_0x59203c,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x9a8b58){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x9a8b58)try{this['xhr']['abort']();}catch(_0x1d1b0e){}'undefined'!=typeof document&&delete e['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x3b2f26=this['xhr']['responseText'];null!==_0x3b2f26&&(this['emitReserved']('data',_0x3b2f26),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}};if(Request$1['requestsCount']=0x0,Request$1['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',unloadHandler);else{if('function'==typeof addEventListener){const e='onpagehide'in globalThisShim?'pagehide':'unload';addEventListener(e,unloadHandler,!0x1);}}}function unloadHandler(){for(let _0x4a4219 in Request$1['requests'])Request$1['requests']['hasOwnProperty'](_0x4a4219)&&Request$1['requests'][_0x4a4219]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x5c4b3d=>Promise['resolve']()['then'](_0x5c4b3d):(_0x684df5,_0x296316)=>_0x296316(_0x684df5,0x0),WebSocket$2=globalThisShim['WebSocket']||globalThisShim['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class WS extends Transport{constructor(_0x4cef81){super(_0x4cef81),this['supportsBinary']=!_0x4cef81['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x40d6ff=this['uri'](),_0x4b004a=this['opts']['protocols'],_0x2ae0e1=isReactNative?{}:pick$1(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x2ae0e1['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x4b004a?new WebSocket$2(_0x40d6ff,_0x4b004a):new WebSocket$2(_0x40d6ff):new WebSocket$2(_0x40d6ff,_0x4b004a,_0x2ae0e1);}catch(_0x11e0c2){return this['emitReserved']('error',_0x11e0c2);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x1f6dcf=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x1f6dcf}),this['ws']['onmessage']=_0x440a9a=>this['onData'](_0x440a9a['data']),this['ws']['onerror']=_0xd5ecec=>this['onError']('websocket\x20error',_0xd5ecec);}['write'](_0x175c80){this['writable']=!0x1;for(let _0x627c30=0x0;_0x627c30<_0x175c80['length'];_0x627c30++){const _0x207a3a=_0x175c80[_0x627c30],_0xfd5e87=_0x627c30===_0x175c80['length']-0x1;encodePacket(_0x207a3a,this['supportsBinary'],_0x5cbf85=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x5cbf85);}catch(_0x5f3697){}_0xfd5e87&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0xfedfe8=this['opts']['secure']?'wss':'ws',_0x4d57d7=this['query']||{};return this['opts']['timestampRequests']&&(_0x4d57d7[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x4d57d7['b64']=0x1),this['createUri'](_0xfedfe8,_0x4d57d7);}['check'](){return!!WebSocket$2;}}class WT extends Transport{get['name'](){return'webtransport';}['doOpen'](){'function'==typeof WebTransport&&(this['transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]),this['transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0x3c0475=>{this['onError']('webtransport\x20error',_0x3c0475);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x4a6703=>{const _0x1e7ba8=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x70c0b8=_0x4a6703['readable']['pipeThrough'](_0x1e7ba8)['getReader'](),_0xe5924a=createPacketEncoderStream();_0xe5924a['readable']['pipeTo'](_0x4a6703['writable']),this['writer']=_0xe5924a['writable']['getWriter']();const _0x1a3b4f=()=>{_0x70c0b8['read']()['then'](({done:_0x3e8e1c,value:_0x7f9474})=>{_0x3e8e1c||(this['onPacket'](_0x7f9474),_0x1a3b4f());})['catch'](_0xb62640=>{});};_0x1a3b4f();const _0x562425={'type':'open'};this['query']['sid']&&(_0x562425['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x562425)['then'](()=>this['onOpen']());});}));}['write'](_0x5fa650){this['writable']=!0x1;for(let _0x3e06df=0x0;_0x3e06df<_0x5fa650['length'];_0x3e06df++){const _0x169a83=_0x5fa650[_0x3e06df],_0xd34d5c=_0x3e06df===_0x5fa650['length']-0x1;this['writer']['write'](_0x169a83)['then'](()=>{_0xd34d5c&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0xbb4a01;null===(_0xbb4a01=this['transport'])||void 0x0===_0xbb4a01||_0xbb4a01['close']();}}const transports={'websocket':WS,'webtransport':WT,'polling':Polling},re=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function parse(_0x49e7ce){if(_0x49e7ce['length']>0x7d0)throw'URI\x20too\x20long';const _0x4975fe=_0x49e7ce,_0x37f6ad=_0x49e7ce['indexOf']('['),_0x238d7f=_0x49e7ce['indexOf'](']');-0x1!=_0x37f6ad&&-0x1!=_0x238d7f&&(_0x49e7ce=_0x49e7ce['substring'](0x0,_0x37f6ad)+_0x49e7ce['substring'](_0x37f6ad,_0x238d7f)['replace'](/:/g,';')+_0x49e7ce['substring'](_0x238d7f,_0x49e7ce['length']));let _0x1816f8=re['exec'](_0x49e7ce||''),_0xfb034c={},_0x4364d5=0xe;for(;_0x4364d5--;)_0xfb034c[parts[_0x4364d5]]=_0x1816f8[_0x4364d5]||'';return-0x1!=_0x37f6ad&&-0x1!=_0x238d7f&&(_0xfb034c['source']=_0x4975fe,_0xfb034c['host']=_0xfb034c['host']['substring'](0x1,_0xfb034c['host']['length']-0x1)['replace'](/;/g,':'),_0xfb034c['authority']=_0xfb034c['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0xfb034c['ipv6uri']=!0x0),_0xfb034c['pathNames']=pathNames(_0xfb034c,_0xfb034c['path']),_0xfb034c['queryKey']=queryKey(_0xfb034c,_0xfb034c['query']),_0xfb034c;}function pathNames(_0x14faeb,_0x52fc2a){const _0x54f58a=_0x52fc2a['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x52fc2a['slice'](0x0,0x1)&&0x0!==_0x52fc2a['length']||_0x54f58a['splice'](0x0,0x1),'/'==_0x52fc2a['slice'](-0x1)&&_0x54f58a['splice'](_0x54f58a['length']-0x1,0x1),_0x54f58a;}function queryKey(_0x47e485,_0x44d8e0){const _0x3f1050={};return _0x44d8e0['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x3e9a55,_0x54c8e0,_0x5eeb9a){_0x54c8e0&&(_0x3f1050[_0x54c8e0]=_0x5eeb9a);}),_0x3f1050;}let Socket$1=class e extends Emitter{constructor(_0x59fdc6,_0x440ce8={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x59fdc6&&'object'==typeof _0x59fdc6&&(_0x440ce8=_0x59fdc6,_0x59fdc6=null),_0x59fdc6?(_0x59fdc6=parse(_0x59fdc6),_0x440ce8['hostname']=_0x59fdc6['host'],_0x440ce8['secure']='https'===_0x59fdc6['protocol']||'wss'===_0x59fdc6['protocol'],_0x440ce8['port']=_0x59fdc6['port'],_0x59fdc6['query']&&(_0x440ce8['query']=_0x59fdc6['query'])):_0x440ce8['host']&&(_0x440ce8['hostname']=parse(_0x440ce8['host'])['host']),installTimerFunctions(this,_0x440ce8),this['secure']=null!=_0x440ce8['secure']?_0x440ce8['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x440ce8['hostname']&&!_0x440ce8['port']&&(_0x440ce8['port']=this['secure']?'443':'80'),this['hostname']=_0x440ce8['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x440ce8['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x440ce8['transports']||['polling','websocket','webtransport'],this['writeBuffer']=[],this['prevBufferLen']=0x0,this['opts']=Object['assign']({'path':'/engine.io','agent':!0x1,'withCredentials':!0x1,'upgrade':!0x0,'timestampParam':'t','rememberUpgrade':!0x1,'addTrailingSlash':!0x0,'rejectUnauthorized':!0x0,'perMessageDeflate':{'threshold':0x400},'transportOptions':{},'closeOnBeforeunload':!0x1},_0x440ce8),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=decode$1(this['opts']['query'])),this['id']=null,this['upgrades']=null,this['pingInterval']=null,this['pingTimeout']=null,this['pingTimeoutTimer']=null,'function'==typeof addEventListener&&(this['opts']['closeOnBeforeunload']&&(this['beforeunloadEventListener']=()=>{this['transport']&&(this['transport']['removeAllListeners'](),this['transport']['close']());},addEventListener('beforeunload',this['beforeunloadEventListener'],!0x1)),'localhost'!==this['hostname']&&(this['offlineEventListener']=()=>{this['onClose']('transport\x20close',{'description':'network\x20connection\x20lost'});},addEventListener('offline',this['offlineEventListener'],!0x1))),this['open']();}['createTransport'](_0x1b4bb2){const _0x16b62e=Object['assign']({},this['opts']['query']);_0x16b62e['EIO']=protocol$1,_0x16b62e['transport']=_0x1b4bb2,this['id']&&(_0x16b62e['sid']=this['id']);const _0x3dc01b=Object['assign']({},this['opts'],{'query':_0x16b62e,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x1b4bb2]);return new transports[_0x1b4bb2](_0x3dc01b);}['open'](){let _0x433d20;if(this['opts']['rememberUpgrade']&&e['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x433d20='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x433d20=this['transports'][0x0];}this['readyState']='opening';try{_0x433d20=this['createTransport'](_0x433d20);}catch(_0x5e6b47){return this['transports']['shift'](),void this['open']();}_0x433d20['open'](),this['setTransport'](_0x433d20);}['setTransport'](_0x8f3fd){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x8f3fd,_0x8f3fd['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0xdf5313=>this['onClose']('transport\x20close',_0xdf5313));}['probe'](_0x292095){let _0x1247e3=this['createTransport'](_0x292095),_0x4c3f11=!0x1;e['priorWebsocketSuccess']=!0x1;const _0x128068=()=>{_0x4c3f11||(_0x1247e3['send']([{'type':'ping','data':'probe'}]),_0x1247e3['once']('packet',_0x517484=>{if(!_0x4c3f11){if('pong'===_0x517484['type']&&'probe'===_0x517484['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x1247e3),!_0x1247e3)return;e['priorWebsocketSuccess']='websocket'===_0x1247e3['name'],this['transport']['pause'](()=>{_0x4c3f11||'closed'!==this['readyState']&&(_0x1f1384(),this['setTransport'](_0x1247e3),_0x1247e3['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x1247e3),_0x1247e3=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x5834a2=new Error('probe\x20error');_0x5834a2['transport']=_0x1247e3['name'],this['emitReserved']('upgradeError',_0x5834a2);}}}));};function _0x530f3e(){_0x4c3f11||(_0x4c3f11=!0x0,_0x1f1384(),_0x1247e3['close'](),_0x1247e3=null);}const _0x57aa80=_0x478209=>{const _0x2db81e=new Error('probe\x20error:\x20'+_0x478209);_0x2db81e['transport']=_0x1247e3['name'],_0x530f3e(),this['emitReserved']('upgradeError',_0x2db81e);};function _0x5c0e6e(){_0x57aa80('transport\x20closed');}function _0x11537a(){_0x57aa80('socket\x20closed');}function _0x13f88b(_0x5d61a6){_0x1247e3&&_0x5d61a6['name']!==_0x1247e3['name']&&_0x530f3e();}const _0x1f1384=()=>{_0x1247e3['removeListener']('open',_0x128068),_0x1247e3['removeListener']('error',_0x57aa80),_0x1247e3['removeListener']('close',_0x5c0e6e),this['off']('close',_0x11537a),this['off']('upgrading',_0x13f88b);};_0x1247e3['once']('open',_0x128068),_0x1247e3['once']('error',_0x57aa80),_0x1247e3['once']('close',_0x5c0e6e),this['once']('close',_0x11537a),this['once']('upgrading',_0x13f88b),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x292095?this['setTimeoutFn'](()=>{_0x4c3f11||_0x1247e3['open']();},0xc8):_0x1247e3['open']();}['onOpen'](){if(this['readyState']='open',e['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x4d5576=0x0;const _0x59491b=this['upgrades']['length'];for(;_0x4d5576<_0x59491b;_0x4d5576++)this['probe'](this['upgrades'][_0x4d5576]);}}['onPacket'](_0x24168a){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x24168a),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x24168a['type']){case'open':this['onHandshake'](JSON['parse'](_0x24168a['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x1f236f=new Error('server\x20error');_0x1f236f['code']=_0x24168a['data'],this['onError'](_0x1f236f);break;case'message':this['emitReserved']('data',_0x24168a['data']),this['emitReserved']('message',_0x24168a['data']);}}['onHandshake'](_0x537279){this['emitReserved']('handshake',_0x537279),this['id']=_0x537279['sid'],this['transport']['query']['sid']=_0x537279['sid'],this['upgrades']=this['filterUpgrades'](_0x537279['upgrades']),this['pingInterval']=_0x537279['pingInterval'],this['pingTimeout']=_0x537279['pingTimeout'],this['maxPayload']=_0x537279['maxPayload'],this['onOpen'](),'closed'!==this['readyState']&&this['resetPingTimeout']();}['resetPingTimeout'](){this['clearTimeoutFn'](this['pingTimeoutTimer']),this['pingTimeoutTimer']=this['setTimeoutFn'](()=>{this['onClose']('ping\x20timeout');},this['pingInterval']+this['pingTimeout']),this['opts']['autoUnref']&&this['pingTimeoutTimer']['unref']();}['onDrain'](){this['writeBuffer']['splice'](0x0,this['prevBufferLen']),this['prevBufferLen']=0x0,0x0===this['writeBuffer']['length']?this['emitReserved']('drain'):this['flush']();}['flush'](){if('closed'!==this['readyState']&&this['transport']['writable']&&!this['upgrading']&&this['writeBuffer']['length']){const _0x1a5a87=this['getWritablePackets']();this['transport']['send'](_0x1a5a87),this['prevBufferLen']=_0x1a5a87['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x557e98=0x1;for(let _0x3fc39b=0x0;_0x3fc39b<this['writeBuffer']['length'];_0x3fc39b++){const _0x1379b1=this['writeBuffer'][_0x3fc39b]['data'];if(_0x1379b1&&(_0x557e98+=byteLength(_0x1379b1)),_0x3fc39b>0x0&&_0x557e98>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x3fc39b);_0x557e98+=0x2;}return this['writeBuffer'];}['write'](_0x3f4897,_0x5b96e,_0x23acc0){return this['sendPacket']('message',_0x3f4897,_0x5b96e,_0x23acc0),this;}['send'](_0x1087db,_0xeb31f5,_0x523004){return this['sendPacket']('message',_0x1087db,_0xeb31f5,_0x523004),this;}['sendPacket'](_0xab9550,_0x2e672c,_0x12e371,_0x463370){if('function'==typeof _0x2e672c&&(_0x463370=_0x2e672c,_0x2e672c=void 0x0),'function'==typeof _0x12e371&&(_0x463370=_0x12e371,_0x12e371=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x12e371=_0x12e371||{})['compress']=!0x1!==_0x12e371['compress'];const _0x5b4de4={'type':_0xab9550,'data':_0x2e672c,'options':_0x12e371};this['emitReserved']('packetCreate',_0x5b4de4),this['writeBuffer']['push'](_0x5b4de4),_0x463370&&this['once']('flush',_0x463370),this['flush']();}['close'](){const _0x3950e0=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x3ec6f3=()=>{this['off']('upgrade',_0x3ec6f3),this['off']('upgradeError',_0x3ec6f3),_0x3950e0();},_0x51c2d7=()=>{this['once']('upgrade',_0x3ec6f3),this['once']('upgradeError',_0x3ec6f3);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x51c2d7():_0x3950e0();}):this['upgrading']?_0x51c2d7():_0x3950e0()),this;}['onError'](_0x2ec4cc){e['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x2ec4cc),this['onClose']('transport\x20error',_0x2ec4cc);}['onClose'](_0x388e84,_0x2cbe64){'opening'!==this['readyState']&&'open'!==this['readyState']&&'closing'!==this['readyState']||(this['clearTimeoutFn'](this['pingTimeoutTimer']),this['transport']['removeAllListeners']('close'),this['transport']['close'](),this['transport']['removeAllListeners'](),'function'==typeof removeEventListener&&(removeEventListener('beforeunload',this['beforeunloadEventListener'],!0x1),removeEventListener('offline',this['offlineEventListener'],!0x1)),this['readyState']='closed',this['id']=null,this['emitReserved']('close',_0x388e84,_0x2cbe64),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x11d055){const _0x1d362f=[];let _0xbdad07=0x0;const _0x268126=_0x11d055['length'];for(;_0xbdad07<_0x268126;_0xbdad07++)~this['transports']['indexOf'](_0x11d055[_0xbdad07])&&_0x1d362f['push'](_0x11d055[_0xbdad07]);return _0x1d362f;}};function url(_0x27df62,_0x1ade8f='',_0x489945){let _0x16d47a=_0x27df62;_0x489945=_0x489945||'undefined'!=typeof location&&location,null==_0x27df62&&(_0x27df62=_0x489945['protocol']+'//'+_0x489945['host']),'string'==typeof _0x27df62&&('/'===_0x27df62['charAt'](0x0)&&(_0x27df62='/'===_0x27df62['charAt'](0x1)?_0x489945['protocol']+_0x27df62:_0x489945['host']+_0x27df62),/^(https?|wss?):\/\//['test'](_0x27df62)||(_0x27df62=void 0x0!==_0x489945?_0x489945['protocol']+'//'+_0x27df62:'https://'+_0x27df62),_0x16d47a=parse(_0x27df62)),_0x16d47a['port']||(/^(http|ws)$/['test'](_0x16d47a['protocol'])?_0x16d47a['port']='80':/^(http|ws)s$/['test'](_0x16d47a['protocol'])&&(_0x16d47a['port']='443')),_0x16d47a['path']=_0x16d47a['path']||'/';const _0x58bd67=-0x1!==_0x16d47a['host']['indexOf'](':')?'['+_0x16d47a['host']+']':_0x16d47a['host'];return _0x16d47a['id']=_0x16d47a['protocol']+'://'+_0x58bd67+':'+_0x16d47a['port']+_0x1ade8f,_0x16d47a['href']=_0x16d47a['protocol']+'://'+_0x58bd67+(_0x489945&&_0x489945['port']===_0x16d47a['port']?'':':'+_0x16d47a['port']),_0x16d47a;}Socket$1['protocol']=protocol$1;const withNativeArrayBuffer='function'==typeof ArrayBuffer,isView=_0x2963b6=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2963b6):_0x2963b6['buffer']instanceof ArrayBuffer,toString$1=Object['prototype']['toString'],withNativeBlob='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===toString$1['call'](Blob),withNativeFile='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===toString$1['call'](File);function isBinary(_0x522202){return withNativeArrayBuffer&&(_0x522202 instanceof ArrayBuffer||isView(_0x522202))||withNativeBlob&&_0x522202 instanceof Blob||withNativeFile&&_0x522202 instanceof File;}function hasBinary(_0x363d96,_0x91b5d2){if(!_0x363d96||'object'!=typeof _0x363d96)return!0x1;if(Array['isArray'](_0x363d96)){for(let _0x2d9c9d=0x0,_0x564094=_0x363d96['length'];_0x2d9c9d<_0x564094;_0x2d9c9d++)if(hasBinary(_0x363d96[_0x2d9c9d]))return!0x0;return!0x1;}if(isBinary(_0x363d96))return!0x0;if(_0x363d96['toJSON']&&'function'==typeof _0x363d96['toJSON']&&0x1===arguments['length'])return hasBinary(_0x363d96['toJSON'](),!0x0);for(const _0x5e85b4 in _0x363d96)if(Object['prototype']['hasOwnProperty']['call'](_0x363d96,_0x5e85b4)&&hasBinary(_0x363d96[_0x5e85b4]))return!0x0;return!0x1;}function deconstructPacket(_0x31e2e3){const _0x37a0ad=[],_0x8ed38f=_0x31e2e3['data'],_0x57e7c2=_0x31e2e3;return _0x57e7c2['data']=_deconstructPacket(_0x8ed38f,_0x37a0ad),_0x57e7c2['attachments']=_0x37a0ad['length'],{'packet':_0x57e7c2,'buffers':_0x37a0ad};}function _deconstructPacket(_0x574a4b,_0x4d20bf){if(!_0x574a4b)return _0x574a4b;if(isBinary(_0x574a4b)){const _0x24c2a1={'_placeholder':!0x0,'num':_0x4d20bf['length']};return _0x4d20bf['push'](_0x574a4b),_0x24c2a1;}if(Array['isArray'](_0x574a4b)){const _0x523e59=new Array(_0x574a4b['length']);for(let _0x375e78=0x0;_0x375e78<_0x574a4b['length'];_0x375e78++)_0x523e59[_0x375e78]=_deconstructPacket(_0x574a4b[_0x375e78],_0x4d20bf);return _0x523e59;}if('object'==typeof _0x574a4b&&!(_0x574a4b instanceof Date)){const _0x4c9d3e={};for(const _0x42ba8e in _0x574a4b)Object['prototype']['hasOwnProperty']['call'](_0x574a4b,_0x42ba8e)&&(_0x4c9d3e[_0x42ba8e]=_deconstructPacket(_0x574a4b[_0x42ba8e],_0x4d20bf));return _0x4c9d3e;}return _0x574a4b;}function reconstructPacket(_0x24bce9,_0x21b0ce){return _0x24bce9['data']=_reconstructPacket(_0x24bce9['data'],_0x21b0ce),delete _0x24bce9['attachments'],_0x24bce9;}function _reconstructPacket(_0x1daa82,_0x55b0f2){if(!_0x1daa82)return _0x1daa82;if(_0x1daa82&&!0x0===_0x1daa82['_placeholder']){if('number'==typeof _0x1daa82['num']&&_0x1daa82['num']>=0x0&&_0x1daa82['num']<_0x55b0f2['length'])return _0x55b0f2[_0x1daa82['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x1daa82)){for(let _0x430535=0x0;_0x430535<_0x1daa82['length'];_0x430535++)_0x1daa82[_0x430535]=_reconstructPacket(_0x1daa82[_0x430535],_0x55b0f2);}else{if('object'==typeof _0x1daa82){for(const _0x512e77 in _0x1daa82)Object['prototype']['hasOwnProperty']['call'](_0x1daa82,_0x512e77)&&(_0x1daa82[_0x512e77]=_reconstructPacket(_0x1daa82[_0x512e77],_0x55b0f2));}}return _0x1daa82;}const RESERVED_EVENTS$1=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'],protocol=0x5;var PacketType;!function(_0x48a687){_0x48a687[_0x48a687['CONNECT']=0x0]='CONNECT',_0x48a687[_0x48a687['DISCONNECT']=0x1]='DISCONNECT',_0x48a687[_0x48a687['EVENT']=0x2]='EVENT',_0x48a687[_0x48a687['ACK']=0x3]='ACK',_0x48a687[_0x48a687['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x48a687[_0x48a687['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x48a687[_0x48a687['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let Encoder$1=class{constructor(_0x122558){this['replacer']=_0x122558;}['encode'](_0xd95c3c){return _0xd95c3c['type']!==PacketType['EVENT']&&_0xd95c3c['type']!==PacketType['ACK']||!hasBinary(_0xd95c3c)?[this['encodeAsString'](_0xd95c3c)]:this['encodeAsBinary']({'type':_0xd95c3c['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0xd95c3c['nsp'],'data':_0xd95c3c['data'],'id':_0xd95c3c['id']});}['encodeAsString'](_0x5c60e4){let _0x846379=''+_0x5c60e4['type'];return _0x5c60e4['type']!==PacketType['BINARY_EVENT']&&_0x5c60e4['type']!==PacketType['BINARY_ACK']||(_0x846379+=_0x5c60e4['attachments']+'-'),_0x5c60e4['nsp']&&'/'!==_0x5c60e4['nsp']&&(_0x846379+=_0x5c60e4['nsp']+','),null!=_0x5c60e4['id']&&(_0x846379+=_0x5c60e4['id']),null!=_0x5c60e4['data']&&(_0x846379+=JSON['stringify'](_0x5c60e4['data'],this['replacer'])),_0x846379;}['encodeAsBinary'](_0x2f144b){const _0x204565=deconstructPacket(_0x2f144b),_0x85b17d=this['encodeAsString'](_0x204565['packet']),_0xad142c=_0x204565['buffers'];return _0xad142c['unshift'](_0x85b17d),_0xad142c;}};function isObject$2(_0x31a8f4){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x31a8f4);}let Decoder$1=class e extends Emitter{constructor(_0x7b5bcb){super(),this['reviver']=_0x7b5bcb;}['add'](_0x27487d){let _0x1b8992;if('string'==typeof _0x27487d){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x1b8992=this['decodeString'](_0x27487d);const _0x1436eb=_0x1b8992['type']===PacketType['BINARY_EVENT'];_0x1436eb||_0x1b8992['type']===PacketType['BINARY_ACK']?(_0x1b8992['type']=_0x1436eb?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x1b8992),0x0===_0x1b8992['attachments']&&super['emitReserved']('decoded',_0x1b8992)):super['emitReserved']('decoded',_0x1b8992);}else{if(!isBinary(_0x27487d)&&!_0x27487d['base64'])throw new Error('Unknown\x20type:\x20'+_0x27487d);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x1b8992=this['reconstructor']['takeBinaryData'](_0x27487d),_0x1b8992&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x1b8992));}}['decodeString'](_0x4a4e03){let _0xdefb7e=0x0;const _0x973474={'type':Number(_0x4a4e03['charAt'](0x0))};if(void 0x0===PacketType[_0x973474['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x973474['type']);if(_0x973474['type']===PacketType['BINARY_EVENT']||_0x973474['type']===PacketType['BINARY_ACK']){const _0x4bcb5d=_0xdefb7e+0x1;for(;'-'!==_0x4a4e03['charAt'](++_0xdefb7e)&&_0xdefb7e!=_0x4a4e03['length'];);const _0x3d6a25=_0x4a4e03['substring'](_0x4bcb5d,_0xdefb7e);if(_0x3d6a25!=Number(_0x3d6a25)||'-'!==_0x4a4e03['charAt'](_0xdefb7e))throw new Error('Illegal\x20attachments');_0x973474['attachments']=Number(_0x3d6a25);}if('/'===_0x4a4e03['charAt'](_0xdefb7e+0x1)){const _0x4d9201=_0xdefb7e+0x1;for(;++_0xdefb7e;){if(','===_0x4a4e03['charAt'](_0xdefb7e))break;if(_0xdefb7e===_0x4a4e03['length'])break;}_0x973474['nsp']=_0x4a4e03['substring'](_0x4d9201,_0xdefb7e);}else _0x973474['nsp']='/';const _0x432a65=_0x4a4e03['charAt'](_0xdefb7e+0x1);if(''!==_0x432a65&&Number(_0x432a65)==_0x432a65){const _0x58f20c=_0xdefb7e+0x1;for(;++_0xdefb7e;){const _0x24afd4=_0x4a4e03['charAt'](_0xdefb7e);if(null==_0x24afd4||Number(_0x24afd4)!=_0x24afd4){--_0xdefb7e;break;}if(_0xdefb7e===_0x4a4e03['length'])break;}_0x973474['id']=Number(_0x4a4e03['substring'](_0x58f20c,_0xdefb7e+0x1));}if(_0x4a4e03['charAt'](++_0xdefb7e)){const _0x422412=this['tryParse'](_0x4a4e03['substr'](_0xdefb7e));if(!e['isPayloadValid'](_0x973474['type'],_0x422412))throw new Error('invalid\x20payload');_0x973474['data']=_0x422412;}return _0x973474;}['tryParse'](_0x5cfda8){try{return JSON['parse'](_0x5cfda8,this['reviver']);}catch(_0x264fcc){return!0x1;}}static['isPayloadValid'](_0xa96464,_0x59580b){switch(_0xa96464){case PacketType['CONNECT']:return isObject$2(_0x59580b);case PacketType['DISCONNECT']:return void 0x0===_0x59580b;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x59580b||isObject$2(_0x59580b);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x59580b)&&('number'==typeof _0x59580b[0x0]||'string'==typeof _0x59580b[0x0]&&-0x1===RESERVED_EVENTS$1['indexOf'](_0x59580b[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x59580b);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0xbcbf3a){this['packet']=_0xbcbf3a,this['buffers']=[],this['reconPack']=_0xbcbf3a;}['takeBinaryData'](_0x64c68b){if(this['buffers']['push'](_0x64c68b),this['buffers']['length']===this['reconPack']['attachments']){const _0x3f6eb0=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x3f6eb0;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}var parser$4=Object['freeze']({'__proto__':null,'Decoder':Decoder$1,'Encoder':Encoder$1,get 'PacketType'(){return PacketType;},'protocol':protocol});function on(_0x258bc7,_0x3397df,_0x2ba079){return _0x258bc7['on'](_0x3397df,_0x2ba079),function(){_0x258bc7['off'](_0x3397df,_0x2ba079);};}const RESERVED_EVENTS=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x26ddfd,_0x585fa5,_0x476d5e){super(),this['connected']=!0x1,this['recovered']=!0x1,this['receiveBuffer']=[],this['sendBuffer']=[],this['_queue']=[],this['_queueSeq']=0x0,this['ids']=0x0,this['acks']={},this['flags']={},this['io']=_0x26ddfd,this['nsp']=_0x585fa5,_0x476d5e&&_0x476d5e['auth']&&(this['auth']=_0x476d5e['auth']),this['_opts']=Object['assign']({},_0x476d5e),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x21ecd6=this['io'];this['subs']=[on(_0x21ecd6,'open',this['onopen']['bind'](this)),on(_0x21ecd6,'packet',this['onpacket']['bind'](this)),on(_0x21ecd6,'error',this['onerror']['bind'](this)),on(_0x21ecd6,'close',this['onclose']['bind'](this))];}get['active'](){return!!this['subs'];}['connect'](){return this['connected']||(this['subEvents'](),this['io']['_reconnecting']||this['io']['open'](),'open'===this['io']['_readyState']&&this['onopen']()),this;}['open'](){return this['connect']();}['send'](..._0x3cc35e){return _0x3cc35e['unshift']('message'),this['emit']['apply'](this,_0x3cc35e),this;}['emit'](_0x53faa7,..._0x2ed8bc){if(RESERVED_EVENTS['hasOwnProperty'](_0x53faa7))throw new Error('\x22'+_0x53faa7['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x2ed8bc['unshift'](_0x53faa7),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x2ed8bc),this;const _0x26fdaf={'type':PacketType['EVENT'],'data':_0x2ed8bc,'options':{}};if(_0x26fdaf['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x2ed8bc[_0x2ed8bc['length']-0x1]){const _0x3087bd=this['ids']++,_0x346478=_0x2ed8bc['pop']();this['_registerAckCallback'](_0x3087bd,_0x346478),_0x26fdaf['id']=_0x3087bd;}const _0x16ea56=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x16ea56||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x26fdaf),this['packet'](_0x26fdaf)):this['sendBuffer']['push'](_0x26fdaf)),this['flags']={},this;}['_registerAckCallback'](_0x48ab7d,_0x3c9691){var _0x5d14ea;const _0x278bbe=null!==(_0x5d14ea=this['flags']['timeout'])&&void 0x0!==_0x5d14ea?_0x5d14ea:this['_opts']['ackTimeout'];if(void 0x0===_0x278bbe)return void(this['acks'][_0x48ab7d]=_0x3c9691);const _0x49f99e=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x48ab7d];for(let _0x4f95ea=0x0;_0x4f95ea<this['sendBuffer']['length'];_0x4f95ea++)this['sendBuffer'][_0x4f95ea]['id']===_0x48ab7d&&this['sendBuffer']['splice'](_0x4f95ea,0x1);_0x3c9691['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x278bbe);this['acks'][_0x48ab7d]=(..._0x5f0426)=>{this['io']['clearTimeoutFn'](_0x49f99e),_0x3c9691['apply'](this,[null,..._0x5f0426]);};}['emitWithAck'](_0x4b83d5,..._0x1d13e3){const _0x2bbf08=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x5f076c,_0x3dde44)=>{_0x1d13e3['push']((_0x1646c5,_0x5be790)=>_0x2bbf08?_0x1646c5?_0x3dde44(_0x1646c5):_0x5f076c(_0x5be790):_0x5f076c(_0x1646c5)),this['emit'](_0x4b83d5,..._0x1d13e3);});}['_addToQueue'](_0x5684f2){let _0x2cf182;'function'==typeof _0x5684f2[_0x5684f2['length']-0x1]&&(_0x2cf182=_0x5684f2['pop']());const _0x4f0812={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x5684f2,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x5684f2['push']((_0x51e371,..._0x390fd9)=>{if(_0x4f0812!==this['_queue'][0x0])return;return null!==_0x51e371?_0x4f0812['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x2cf182&&_0x2cf182(_0x51e371)):(this['_queue']['shift'](),_0x2cf182&&_0x2cf182(null,..._0x390fd9)),_0x4f0812['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x4f0812),this['_drainQueue']();}['_drainQueue'](_0x19b80d=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x3d24c7=this['_queue'][0x0];_0x3d24c7['pending']&&!_0x19b80d||(_0x3d24c7['pending']=!0x0,_0x3d24c7['tryCount']++,this['flags']=_0x3d24c7['flags'],this['emit']['apply'](this,_0x3d24c7['args']));}['packet'](_0x59351c){_0x59351c['nsp']=this['nsp'],this['io']['_packet'](_0x59351c);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x484235=>{this['_sendConnectPacket'](_0x484235);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x1fd871){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x1fd871):_0x1fd871});}['onerror'](_0x670fac){this['connected']||this['emitReserved']('connect_error',_0x670fac);}['onclose'](_0x1167f4,_0x1e8a3c){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x1167f4,_0x1e8a3c);}['onpacket'](_0x4ae433){if(_0x4ae433['nsp']===this['nsp'])switch(_0x4ae433['type']){case PacketType['CONNECT']:_0x4ae433['data']&&_0x4ae433['data']['sid']?this['onconnect'](_0x4ae433['data']['sid'],_0x4ae433['data']['pid']):this['emitReserved']('connect_error',new Error('It\x20seems\x20you\x20are\x20trying\x20to\x20reach\x20a\x20Socket.IO\x20server\x20in\x20v2.x\x20with\x20a\x20v3.x\x20client,\x20but\x20they\x20are\x20not\x20compatible\x20(more\x20information\x20here:\x20https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)'));break;case PacketType['EVENT']:case PacketType['BINARY_EVENT']:this['onevent'](_0x4ae433);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x4ae433);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x406fc8=new Error(_0x4ae433['data']['message']);_0x406fc8['data']=_0x4ae433['data']['data'],this['emitReserved']('connect_error',_0x406fc8);}}['onevent'](_0x2cf44c){const _0x124370=_0x2cf44c['data']||[];null!=_0x2cf44c['id']&&_0x124370['push'](this['ack'](_0x2cf44c['id'])),this['connected']?this['emitEvent'](_0x124370):this['receiveBuffer']['push'](Object['freeze'](_0x124370));}['emitEvent'](_0x22b8bf){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x5a8022=this['_anyListeners']['slice']();for(const _0x34e442 of _0x5a8022)_0x34e442['apply'](this,_0x22b8bf);}super['emit']['apply'](this,_0x22b8bf),this['_pid']&&_0x22b8bf['length']&&'string'==typeof _0x22b8bf[_0x22b8bf['length']-0x1]&&(this['_lastOffset']=_0x22b8bf[_0x22b8bf['length']-0x1]);}['ack'](_0x1bce8a){const _0x2efeb7=this;let _0x27ca23=!0x1;return function(..._0x4edea4){_0x27ca23||(_0x27ca23=!0x0,_0x2efeb7['packet']({'type':PacketType['ACK'],'id':_0x1bce8a,'data':_0x4edea4}));};}['onack'](_0x5a98f4){const _0x435cae=this['acks'][_0x5a98f4['id']];'function'==typeof _0x435cae&&(_0x435cae['apply'](this,_0x5a98f4['data']),delete this['acks'][_0x5a98f4['id']]);}['onconnect'](_0xeb5683,_0x1edbed){this['id']=_0xeb5683,this['recovered']=_0x1edbed&&this['_pid']===_0x1edbed,this['_pid']=_0x1edbed,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x1a3aae=>this['emitEvent'](_0x1a3aae)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x412fff=>{this['notifyOutgoingListeners'](_0x412fff),this['packet'](_0x412fff);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x1164d8=>_0x1164d8()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':PacketType['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x4cb8cb){return this['flags']['compress']=_0x4cb8cb,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x2099a1){return this['flags']['timeout']=_0x2099a1,this;}['onAny'](_0x4b4f45){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x4b4f45),this;}['prependAny'](_0x43bd73){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x43bd73),this;}['offAny'](_0x30d512){if(!this['_anyListeners'])return this;if(_0x30d512){const _0x4e9d1d=this['_anyListeners'];for(let _0x3516c5=0x0;_0x3516c5<_0x4e9d1d['length'];_0x3516c5++)if(_0x30d512===_0x4e9d1d[_0x3516c5])return _0x4e9d1d['splice'](_0x3516c5,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x2ce565){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x2ce565),this;}['prependAnyOutgoing'](_0xd15810){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0xd15810),this;}['offAnyOutgoing'](_0x3e7472){if(!this['_anyOutgoingListeners'])return this;if(_0x3e7472){const _0x2a0a74=this['_anyOutgoingListeners'];for(let _0x1738a4=0x0;_0x1738a4<_0x2a0a74['length'];_0x1738a4++)if(_0x3e7472===_0x2a0a74[_0x1738a4])return _0x2a0a74['splice'](_0x1738a4,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x48e278){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0xd74236=this['_anyOutgoingListeners']['slice']();for(const _0x1deb37 of _0xd74236)_0x1deb37['apply'](this,_0x48e278['data']);}}}function Backoff(_0x3e29bc){_0x3e29bc=_0x3e29bc||{},this['ms']=_0x3e29bc['min']||0x64,this['max']=_0x3e29bc['max']||0x2710,this['factor']=_0x3e29bc['factor']||0x2,this['jitter']=_0x3e29bc['jitter']>0x0&&_0x3e29bc['jitter']<=0x1?_0x3e29bc['jitter']:0x0,this['attempts']=0x0;}Backoff['prototype']['duration']=function(){var _0x190e1f=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x5a44db=Math['random'](),_0x88fd6=Math['floor'](_0x5a44db*this['jitter']*_0x190e1f);_0x190e1f=0x1&Math['floor'](0xa*_0x5a44db)?_0x190e1f+_0x88fd6:_0x190e1f-_0x88fd6;}return 0x0|Math['min'](_0x190e1f,this['max']);},Backoff['prototype']['reset']=function(){this['attempts']=0x0;},Backoff['prototype']['setMin']=function(_0x2fb07e){this['ms']=_0x2fb07e;},Backoff['prototype']['setMax']=function(_0xc574db){this['max']=_0xc574db;},Backoff['prototype']['setJitter']=function(_0x178908){this['jitter']=_0x178908;};class Manager extends Emitter{constructor(_0x238156,_0x41a168){var _0xdc8a7f;super(),this['nsps']={},this['subs']=[],_0x238156&&'object'==typeof _0x238156&&(_0x41a168=_0x238156,_0x238156=void 0x0),(_0x41a168=_0x41a168||{})['path']=_0x41a168['path']||'/socket.io',this['opts']=_0x41a168,installTimerFunctions(this,_0x41a168),this['reconnection'](!0x1!==_0x41a168['reconnection']),this['reconnectionAttempts'](_0x41a168['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x41a168['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x41a168['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0xdc8a7f=_0x41a168['randomizationFactor'])&&void 0x0!==_0xdc8a7f?_0xdc8a7f:0.5),this['backoff']=new Backoff({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x41a168['timeout']?0x4e20:_0x41a168['timeout']),this['_readyState']='closed',this['uri']=_0x238156;const _0x1dc561=_0x41a168['parser']||parser$4;this['encoder']=new _0x1dc561['Encoder'](),this['decoder']=new _0x1dc561['Decoder'](),this['_autoConnect']=!0x1!==_0x41a168['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x21fafc){return arguments['length']?(this['_reconnection']=!!_0x21fafc,this):this['_reconnection'];}['reconnectionAttempts'](_0x32c01c){return void 0x0===_0x32c01c?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x32c01c,this);}['reconnectionDelay'](_0x2fc947){var _0x4485e8;return void 0x0===_0x2fc947?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x2fc947,null===(_0x4485e8=this['backoff'])||void 0x0===_0x4485e8||_0x4485e8['setMin'](_0x2fc947),this);}['randomizationFactor'](_0x55d3ef){var _0x32c55b;return void 0x0===_0x55d3ef?this['_randomizationFactor']:(this['_randomizationFactor']=_0x55d3ef,null===(_0x32c55b=this['backoff'])||void 0x0===_0x32c55b||_0x32c55b['setJitter'](_0x55d3ef),this);}['reconnectionDelayMax'](_0x6c3c4c){var _0x5206fa;return void 0x0===_0x6c3c4c?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x6c3c4c,null===(_0x5206fa=this['backoff'])||void 0x0===_0x5206fa||_0x5206fa['setMax'](_0x6c3c4c),this);}['timeout'](_0x2ec0d7){return arguments['length']?(this['_timeout']=_0x2ec0d7,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x418f4b){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x4a743a=this['engine'],_0x43f040=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x28f289=on(_0x4a743a,'open',function(){_0x43f040['onopen'](),_0x418f4b&&_0x418f4b();}),_0x223e7d=_0xc779cc=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0xc779cc),_0x418f4b?_0x418f4b(_0xc779cc):this['maybeReconnectOnOpen']();},_0x1f9d2f=on(_0x4a743a,'error',_0x223e7d);if(!0x1!==this['_timeout']){const _0x3ae689=this['_timeout'],_0x2e0e76=this['setTimeoutFn'](()=>{_0x28f289(),_0x223e7d(new Error('timeout')),_0x4a743a['close']();},_0x3ae689);this['opts']['autoUnref']&&_0x2e0e76['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x2e0e76);});}return this['subs']['push'](_0x28f289),this['subs']['push'](_0x1f9d2f),this;}['connect'](_0x3b57a4){return this['open'](_0x3b57a4);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x1d083e=this['engine'];this['subs']['push'](on(_0x1d083e,'ping',this['onping']['bind'](this)),on(_0x1d083e,'data',this['ondata']['bind'](this)),on(_0x1d083e,'error',this['onerror']['bind'](this)),on(_0x1d083e,'close',this['onclose']['bind'](this)),on(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x28007a){try{this['decoder']['add'](_0x28007a);}catch(_0x3fee29){this['onclose']('parse\x20error',_0x3fee29);}}['ondecoded'](_0x5675d5){nextTick(()=>{this['emitReserved']('packet',_0x5675d5);},this['setTimeoutFn']);}['onerror'](_0x55dff7){this['emitReserved']('error',_0x55dff7);}['socket'](_0x58e15f,_0xd255de){let _0x424f77=this['nsps'][_0x58e15f];return _0x424f77?this['_autoConnect']&&!_0x424f77['active']&&_0x424f77['connect']():(_0x424f77=new Socket(this,_0x58e15f,_0xd255de),this['nsps'][_0x58e15f]=_0x424f77),_0x424f77;}['_destroy'](_0x3d931a){const _0x28c0ba=Object['keys'](this['nsps']);for(const _0x3ae99f of _0x28c0ba){if(this['nsps'][_0x3ae99f]['active'])return;}this['_close']();}['_packet'](_0xa76152){const _0x254f40=this['encoder']['encode'](_0xa76152);for(let _0x2558ee=0x0;_0x2558ee<_0x254f40['length'];_0x2558ee++)this['engine']['write'](_0x254f40[_0x2558ee],_0xa76152['options']);}['cleanup'](){this['subs']['forEach'](_0x1f5bc6=>_0x1f5bc6()),this['subs']['length']=0x0,this['decoder']['destroy']();}['_close'](){this['skipReconnect']=!0x0,this['_reconnecting']=!0x1,this['onclose']('forced\x20close'),this['engine']&&this['engine']['close']();}['disconnect'](){return this['_close']();}['onclose'](_0x28eda5,_0x2d7cd1){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x28eda5,_0x2d7cd1),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x37bbf9=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x3e34bc=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x1046bf=this['setTimeoutFn'](()=>{_0x37bbf9['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x37bbf9['backoff']['attempts']),_0x37bbf9['skipReconnect']||_0x37bbf9['open'](_0x4a66b7=>{_0x4a66b7?(_0x37bbf9['_reconnecting']=!0x1,_0x37bbf9['reconnect'](),this['emitReserved']('reconnect_error',_0x4a66b7)):_0x37bbf9['onreconnect']();}));},_0x3e34bc);this['opts']['autoUnref']&&_0x1046bf['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x1046bf);});}}['onreconnect'](){const _0x2fc74d=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x2fc74d);}}const cache$1={};function lookup(_0x1abe33,_0x15a928){'object'==typeof _0x1abe33&&(_0x15a928=_0x1abe33,_0x1abe33=void 0x0);const _0x368e5e=url(_0x1abe33,(_0x15a928=_0x15a928||{})['path']||'/socket.io'),_0x27026c=_0x368e5e['source'],_0x883e6a=_0x368e5e['id'],_0x255f76=_0x368e5e['path'],_0x5d0ea6=cache$1[_0x883e6a]&&_0x255f76 in cache$1[_0x883e6a]['nsps'];let _0x53e4af;return _0x15a928['forceNew']||_0x15a928['force\x20new\x20connection']||!0x1===_0x15a928['multiplex']||_0x5d0ea6?_0x53e4af=new Manager(_0x27026c,_0x15a928):(cache$1[_0x883e6a]||(cache$1[_0x883e6a]=new Manager(_0x27026c,_0x15a928)),_0x53e4af=cache$1[_0x883e6a]),_0x368e5e['query']&&!_0x15a928['query']&&(_0x15a928['query']=_0x368e5e['queryKey']),_0x53e4af['socket'](_0x368e5e['path'],_0x15a928);}Object['assign'](lookup,{'Manager':Manager,'Socket':Socket,'io':lookup,'connect':lookup});var requiresPort=function(_0x2a870c,_0x4a0a2f){if(_0x4a0a2f=_0x4a0a2f['split'](':')[0x0],!(_0x2a870c=+_0x2a870c))return!0x1;switch(_0x4a0a2f){case'http':case'ws':return 0x50!==_0x2a870c;case'https':case'wss':return 0x1bb!==_0x2a870c;case'ftp':return 0x15!==_0x2a870c;case'gopher':return 0x46!==_0x2a870c;case'file':return!0x1;}return 0x0!==_0x2a870c;},querystringify$1={},has=Object['prototype']['hasOwnProperty'],undef;function decode(_0x474a9d){try{return decodeURIComponent(_0x474a9d['replace'](/\+/g,'\x20'));}catch(_0x2bbcd9){return null;}}function encode(_0x1ee0af){try{return encodeURIComponent(_0x1ee0af);}catch(_0x43c886){return null;}}function querystring(_0x22bd64){for(var _0x2375bb,_0x1623e5=/([^=?#&]+)=?([^&]*)/g,_0x238183={};_0x2375bb=_0x1623e5['exec'](_0x22bd64);){var _0xd32c56=decode(_0x2375bb[0x1]),_0x2ab186=decode(_0x2375bb[0x2]);null===_0xd32c56||null===_0x2ab186||_0xd32c56 in _0x238183||(_0x238183[_0xd32c56]=_0x2ab186);}return _0x238183;}function querystringify(_0x1a17c4,_0x42d600){_0x42d600=_0x42d600||'';var _0x52d475,_0x58dc1c,_0x5051cd=[];for(_0x58dc1c in('string'!=typeof _0x42d600&&(_0x42d600='?'),_0x1a17c4))if(has['call'](_0x1a17c4,_0x58dc1c)){if((_0x52d475=_0x1a17c4[_0x58dc1c])||null!==_0x52d475&&_0x52d475!==undef&&!isNaN(_0x52d475)||(_0x52d475=''),_0x58dc1c=encode(_0x58dc1c),_0x52d475=encode(_0x52d475),null===_0x58dc1c||null===_0x52d475)continue;_0x5051cd['push'](_0x58dc1c+'='+_0x52d475);}return _0x5051cd['length']?_0x42d600+_0x5051cd['join']('&'):'';}querystringify$1['stringify']=querystringify,querystringify$1['parse']=querystring;var required=requiresPort,qs=querystringify$1,controlOrWhitespace=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,CRHTLF=/[\n\r\t]/g,slashes=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,port=/:\d+$/,protocolre=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,windowsDriveLetter=/^[a-zA-Z]:/;function trimLeft(_0x19c80e){return(_0x19c80e||'')['toString']()['replace'](controlOrWhitespace,'');}var rules=[['#','hash'],['?','query'],function(_0x38c63a,_0x11a0f0){return isSpecial(_0x11a0f0['protocol'])?_0x38c63a['replace'](/\\/g,'/'):_0x38c63a;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],ignore={'hash':0x1,'query':0x1};function lolcation(_0xfdf1f0){var _0x487890,_0x49b09b=('undefined'!=typeof window?window:void 0x0!==commonjsGlobal?commonjsGlobal:'undefined'!=typeof self?self:{})['location']||{},_0x31ff27={},_0xbc9a5f=typeof(_0xfdf1f0=_0xfdf1f0||_0x49b09b);if('blob:'===_0xfdf1f0['protocol'])_0x31ff27=new Url(unescape(_0xfdf1f0['pathname']),{});else{if('string'===_0xbc9a5f){for(_0x487890 in(_0x31ff27=new Url(_0xfdf1f0,{}),ignore))delete _0x31ff27[_0x487890];}else{if('object'===_0xbc9a5f){for(_0x487890 in _0xfdf1f0)_0x487890 in ignore||(_0x31ff27[_0x487890]=_0xfdf1f0[_0x487890]);void 0x0===_0x31ff27['slashes']&&(_0x31ff27['slashes']=slashes['test'](_0xfdf1f0['href']));}}}return _0x31ff27;}function isSpecial(_0x29b319){return'file:'===_0x29b319||'ftp:'===_0x29b319||'http:'===_0x29b319||'https:'===_0x29b319||'ws:'===_0x29b319||'wss:'===_0x29b319;}function extractProtocol(_0x428f87,_0x253420){_0x428f87=(_0x428f87=trimLeft(_0x428f87))['replace'](CRHTLF,''),_0x253420=_0x253420||{};var _0x22c9d0,_0x549669=protocolre['exec'](_0x428f87),_0x57d868=_0x549669[0x1]?_0x549669[0x1]['toLowerCase']():'',_0x333dbd=!!_0x549669[0x2],_0x13f2e1=!!_0x549669[0x3],_0x38f782=0x0;return _0x333dbd?_0x13f2e1?(_0x22c9d0=_0x549669[0x2]+_0x549669[0x3]+_0x549669[0x4],_0x38f782=_0x549669[0x2]['length']+_0x549669[0x3]['length']):(_0x22c9d0=_0x549669[0x2]+_0x549669[0x4],_0x38f782=_0x549669[0x2]['length']):_0x13f2e1?(_0x22c9d0=_0x549669[0x3]+_0x549669[0x4],_0x38f782=_0x549669[0x3]['length']):_0x22c9d0=_0x549669[0x4],'file:'===_0x57d868?_0x38f782>=0x2&&(_0x22c9d0=_0x22c9d0['slice'](0x2)):isSpecial(_0x57d868)?_0x22c9d0=_0x549669[0x4]:_0x57d868?_0x333dbd&&(_0x22c9d0=_0x22c9d0['slice'](0x2)):_0x38f782>=0x2&&isSpecial(_0x253420['protocol'])&&(_0x22c9d0=_0x549669[0x4]),{'protocol':_0x57d868,'slashes':_0x333dbd||isSpecial(_0x57d868),'slashesCount':_0x38f782,'rest':_0x22c9d0};}function resolve(_0x487bde,_0x25d580){if(''===_0x487bde)return _0x25d580;for(var _0x1e175a=(_0x25d580||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x487bde['split']('/')),_0x27482a=_0x1e175a['length'],_0x1ad95d=_0x1e175a[_0x27482a-0x1],_0x50d30=!0x1,_0x3f7451=0x0;_0x27482a--;)'.'===_0x1e175a[_0x27482a]?_0x1e175a['splice'](_0x27482a,0x1):'..'===_0x1e175a[_0x27482a]?(_0x1e175a['splice'](_0x27482a,0x1),_0x3f7451++):_0x3f7451&&(0x0===_0x27482a&&(_0x50d30=!0x0),_0x1e175a['splice'](_0x27482a,0x1),_0x3f7451--);return _0x50d30&&_0x1e175a['unshift'](''),'.'!==_0x1ad95d&&'..'!==_0x1ad95d||_0x1e175a['push'](''),_0x1e175a['join']('/');}function Url(_0xc6fbdc,_0x36bd6d,_0x3c7c35){if(_0xc6fbdc=(_0xc6fbdc=trimLeft(_0xc6fbdc))['replace'](CRHTLF,''),!(this instanceof Url))return new Url(_0xc6fbdc,_0x36bd6d,_0x3c7c35);var _0x541398,_0x474dbb,_0x5321ff,_0x108dbb,_0x48843c,_0x6a77ed,_0x2eeb9f=rules['slice'](),_0xe6e71b=typeof _0x36bd6d,_0x414a27=this,_0x5d876d=0x0;for('object'!==_0xe6e71b&&'string'!==_0xe6e71b&&(_0x3c7c35=_0x36bd6d,_0x36bd6d=null),_0x3c7c35&&'function'!=typeof _0x3c7c35&&(_0x3c7c35=qs['parse']),_0x541398=!(_0x474dbb=extractProtocol(_0xc6fbdc||'',_0x36bd6d=lolcation(_0x36bd6d)))['protocol']&&!_0x474dbb['slashes'],_0x414a27['slashes']=_0x474dbb['slashes']||_0x541398&&_0x36bd6d['slashes'],_0x414a27['protocol']=_0x474dbb['protocol']||_0x36bd6d['protocol']||'',_0xc6fbdc=_0x474dbb['rest'],('file:'===_0x474dbb['protocol']&&(0x2!==_0x474dbb['slashesCount']||windowsDriveLetter['test'](_0xc6fbdc))||!_0x474dbb['slashes']&&(_0x474dbb['protocol']||_0x474dbb['slashesCount']<0x2||!isSpecial(_0x414a27['protocol'])))&&(_0x2eeb9f[0x3]=[/(.*)/,'pathname']);_0x5d876d<_0x2eeb9f['length'];_0x5d876d++)'function'!=typeof(_0x108dbb=_0x2eeb9f[_0x5d876d])?(_0x5321ff=_0x108dbb[0x0],_0x6a77ed=_0x108dbb[0x1],_0x5321ff!=_0x5321ff?_0x414a27[_0x6a77ed]=_0xc6fbdc:'string'==typeof _0x5321ff?~(_0x48843c='@'===_0x5321ff?_0xc6fbdc['lastIndexOf'](_0x5321ff):_0xc6fbdc['indexOf'](_0x5321ff))&&('number'==typeof _0x108dbb[0x2]?(_0x414a27[_0x6a77ed]=_0xc6fbdc['slice'](0x0,_0x48843c),_0xc6fbdc=_0xc6fbdc['slice'](_0x48843c+_0x108dbb[0x2])):(_0x414a27[_0x6a77ed]=_0xc6fbdc['slice'](_0x48843c),_0xc6fbdc=_0xc6fbdc['slice'](0x0,_0x48843c))):(_0x48843c=_0x5321ff['exec'](_0xc6fbdc))&&(_0x414a27[_0x6a77ed]=_0x48843c[0x1],_0xc6fbdc=_0xc6fbdc['slice'](0x0,_0x48843c['index'])),_0x414a27[_0x6a77ed]=_0x414a27[_0x6a77ed]||_0x541398&&_0x108dbb[0x3]&&_0x36bd6d[_0x6a77ed]||'',_0x108dbb[0x4]&&(_0x414a27[_0x6a77ed]=_0x414a27[_0x6a77ed]['toLowerCase']())):_0xc6fbdc=_0x108dbb(_0xc6fbdc,_0x414a27);_0x3c7c35&&(_0x414a27['query']=_0x3c7c35(_0x414a27['query'])),_0x541398&&_0x36bd6d['slashes']&&'/'!==_0x414a27['pathname']['charAt'](0x0)&&(''!==_0x414a27['pathname']||''!==_0x36bd6d['pathname'])&&(_0x414a27['pathname']=resolve(_0x414a27['pathname'],_0x36bd6d['pathname'])),'/'!==_0x414a27['pathname']['charAt'](0x0)&&isSpecial(_0x414a27['protocol'])&&(_0x414a27['pathname']='/'+_0x414a27['pathname']),required(_0x414a27['port'],_0x414a27['protocol'])||(_0x414a27['host']=_0x414a27['hostname'],_0x414a27['port']=''),_0x414a27['username']=_0x414a27['password']='',_0x414a27['auth']&&(~(_0x48843c=_0x414a27['auth']['indexOf'](':'))?(_0x414a27['username']=_0x414a27['auth']['slice'](0x0,_0x48843c),_0x414a27['username']=encodeURIComponent(decodeURIComponent(_0x414a27['username'])),_0x414a27['password']=_0x414a27['auth']['slice'](_0x48843c+0x1),_0x414a27['password']=encodeURIComponent(decodeURIComponent(_0x414a27['password']))):_0x414a27['username']=encodeURIComponent(decodeURIComponent(_0x414a27['auth'])),_0x414a27['auth']=_0x414a27['password']?_0x414a27['username']+':'+_0x414a27['password']:_0x414a27['username']),_0x414a27['origin']='file:'!==_0x414a27['protocol']&&isSpecial(_0x414a27['protocol'])&&_0x414a27['host']?_0x414a27['protocol']+'//'+_0x414a27['host']:'null',_0x414a27['href']=_0x414a27['toString']();}function set(_0x6bc181,_0x4e1594,_0x31acab){var _0x16108a=this;switch(_0x6bc181){case'query':'string'==typeof _0x4e1594&&_0x4e1594['length']&&(_0x4e1594=(_0x31acab||qs['parse'])(_0x4e1594)),_0x16108a[_0x6bc181]=_0x4e1594;break;case'port':_0x16108a[_0x6bc181]=_0x4e1594,required(_0x4e1594,_0x16108a['protocol'])?_0x4e1594&&(_0x16108a['host']=_0x16108a['hostname']+':'+_0x4e1594):(_0x16108a['host']=_0x16108a['hostname'],_0x16108a[_0x6bc181]='');break;case'hostname':_0x16108a[_0x6bc181]=_0x4e1594,_0x16108a['port']&&(_0x4e1594+=':'+_0x16108a['port']),_0x16108a['host']=_0x4e1594;break;case'host':_0x16108a[_0x6bc181]=_0x4e1594,port['test'](_0x4e1594)?(_0x4e1594=_0x4e1594['split'](':'),_0x16108a['port']=_0x4e1594['pop'](),_0x16108a['hostname']=_0x4e1594['join'](':')):(_0x16108a['hostname']=_0x4e1594,_0x16108a['port']='');break;case'protocol':_0x16108a['protocol']=_0x4e1594['toLowerCase'](),_0x16108a['slashes']=!_0x31acab;break;case'pathname':case'hash':if(_0x4e1594){var _0x1fbf80='pathname'===_0x6bc181?'/':'#';_0x16108a[_0x6bc181]=_0x4e1594['charAt'](0x0)!==_0x1fbf80?_0x1fbf80+_0x4e1594:_0x4e1594;}else _0x16108a[_0x6bc181]=_0x4e1594;break;case'username':case'password':_0x16108a[_0x6bc181]=encodeURIComponent(_0x4e1594);break;case'auth':var _0x484383=_0x4e1594['indexOf'](':');~_0x484383?(_0x16108a['username']=_0x4e1594['slice'](0x0,_0x484383),_0x16108a['username']=encodeURIComponent(decodeURIComponent(_0x16108a['username'])),_0x16108a['password']=_0x4e1594['slice'](_0x484383+0x1),_0x16108a['password']=encodeURIComponent(decodeURIComponent(_0x16108a['password']))):_0x16108a['username']=encodeURIComponent(decodeURIComponent(_0x4e1594));}for(var _0x4b4eb8=0x0;_0x4b4eb8<rules['length'];_0x4b4eb8++){var _0x2fd4bb=rules[_0x4b4eb8];_0x2fd4bb[0x4]&&(_0x16108a[_0x2fd4bb[0x1]]=_0x16108a[_0x2fd4bb[0x1]]['toLowerCase']());}return _0x16108a['auth']=_0x16108a['password']?_0x16108a['username']+':'+_0x16108a['password']:_0x16108a['username'],_0x16108a['origin']='file:'!==_0x16108a['protocol']&&isSpecial(_0x16108a['protocol'])&&_0x16108a['host']?_0x16108a['protocol']+'//'+_0x16108a['host']:'null',_0x16108a['href']=_0x16108a['toString'](),_0x16108a;}function toString(_0x3bcf2d){_0x3bcf2d&&'function'==typeof _0x3bcf2d||(_0x3bcf2d=qs['stringify']);var _0x53dc4d,_0x184c33=this,_0x3bc179=_0x184c33['host'],_0x56ab8e=_0x184c33['protocol'];_0x56ab8e&&':'!==_0x56ab8e['charAt'](_0x56ab8e['length']-0x1)&&(_0x56ab8e+=':');var _0x208aff=_0x56ab8e+(_0x184c33['protocol']&&_0x184c33['slashes']||isSpecial(_0x184c33['protocol'])?'//':'');return _0x184c33['username']?(_0x208aff+=_0x184c33['username'],_0x184c33['password']&&(_0x208aff+=':'+_0x184c33['password']),_0x208aff+='@'):_0x184c33['password']?(_0x208aff+=':'+_0x184c33['password'],_0x208aff+='@'):'file:'!==_0x184c33['protocol']&&isSpecial(_0x184c33['protocol'])&&!_0x3bc179&&'/'!==_0x184c33['pathname']&&(_0x208aff+='@'),(':'===_0x3bc179[_0x3bc179['length']-0x1]||port['test'](_0x184c33['hostname'])&&!_0x184c33['port'])&&(_0x3bc179+=':'),_0x208aff+=_0x3bc179+_0x184c33['pathname'],(_0x53dc4d='object'==typeof _0x184c33['query']?_0x3bcf2d(_0x184c33['query']):_0x184c33['query'])&&(_0x208aff+='?'!==_0x53dc4d['charAt'](0x0)?'?'+_0x53dc4d:_0x53dc4d),_0x184c33['hash']&&(_0x208aff+=_0x184c33['hash']),_0x208aff;}Url['prototype']={'set':set,'toString':toString},Url['extractProtocol']=extractProtocol,Url['location']=lolcation,Url['trimLeft']=trimLeft,Url['qs']=qs;var urlParse=Url;let getRandomValues;const rnds8=new Uint8Array(0x10);function rng(){if(!getRandomValues&&(getRandomValues='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!getRandomValues))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return getRandomValues(rnds8);}const byteToHex=[];for(let e=0x0;e<0x100;++e)byteToHex['push']((e+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x458674,_0x3dcdc1=0x0){return byteToHex[_0x458674[_0x3dcdc1+0x0]]+byteToHex[_0x458674[_0x3dcdc1+0x1]]+byteToHex[_0x458674[_0x3dcdc1+0x2]]+byteToHex[_0x458674[_0x3dcdc1+0x3]]+'-'+byteToHex[_0x458674[_0x3dcdc1+0x4]]+byteToHex[_0x458674[_0x3dcdc1+0x5]]+'-'+byteToHex[_0x458674[_0x3dcdc1+0x6]]+byteToHex[_0x458674[_0x3dcdc1+0x7]]+'-'+byteToHex[_0x458674[_0x3dcdc1+0x8]]+byteToHex[_0x458674[_0x3dcdc1+0x9]]+'-'+byteToHex[_0x458674[_0x3dcdc1+0xa]]+byteToHex[_0x458674[_0x3dcdc1+0xb]]+byteToHex[_0x458674[_0x3dcdc1+0xc]]+byteToHex[_0x458674[_0x3dcdc1+0xd]]+byteToHex[_0x458674[_0x3dcdc1+0xe]]+byteToHex[_0x458674[_0x3dcdc1+0xf]];}const randomUUID='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':randomUUID};function v4(_0x17461d,_0x19e71c,_0x2658f6){if(native$1['randomUUID']&&!_0x17461d)return native$1['randomUUID']();const _0x30342c=(_0x17461d=_0x17461d||{})['random']||(_0x17461d['rng']||rng)();return _0x30342c[0x6]=0xf&_0x30342c[0x6]|0x40,_0x30342c[0x8]=0x3f&_0x30342c[0x8]|0x80,unsafeStringify(_0x30342c);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x1fcad1){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x5227ed){super();}static['fromJSON'](_0x3f53fb){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends Message{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x530a5a){super(),this['id']=_0x530a5a;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x5b871a){return new GetUserMessage(_0x5b871a['id']);}}class GetUserResponse extends Message{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0xfb24ae){super(),this['attributes']=_0xfb24ae;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x43c048=>({'key':_0x43c048,'value':JSON['stringify'](this['attributes'][_0x43c048])}))};}static['fromJSON'](_0x2151b7){const _0x2410b4=_0x2151b7['attributes']['reduce']((_0x10c902,_0x271f28)=>(_0x10c902[_0x271f28['key']]=_0x271f28['value']?JSON['parse'](_0x271f28['value']):null,_0x10c902),{});return new GetUserResponse(_0x2410b4);}}const messages$1=/* #__PURE__ -- @preserve */
((()=>{var _0x4537d0=minimal['Reader'],_0x5a9410=minimal['Writer'],_0x3be80d=minimal['util'],_0x48cb19=minimal['roots']['default']||(minimal['roots']['default']={});return _0x48cb19['OperationMetadataDescriptor']=(function(){function _0x2e0b71(_0x437932){if(_0x437932){for(var _0x491cc8=Object['keys'](_0x437932),_0x2b2030=0x0;_0x2b2030<_0x491cc8['length'];++_0x2b2030)null!=_0x437932[_0x491cc8[_0x2b2030]]&&(this[_0x491cc8[_0x2b2030]]=_0x437932[_0x491cc8[_0x2b2030]]);}}return _0x2e0b71['prototype']['userId']='',_0x2e0b71['prototype']['type']='',_0x2e0b71['prototype']['createdAt']='',_0x2e0b71['create']=function(_0x44ac1d){return new _0x2e0b71(_0x44ac1d);},_0x2e0b71['encode']=function(_0xf72499,_0x57c495){return _0x57c495||(_0x57c495=_0x5a9410['create']()),null!=_0xf72499['userId']&&Object['hasOwnProperty']['call'](_0xf72499,'userId')&&_0x57c495['uint32'](0xa)['string'](_0xf72499['userId']),null!=_0xf72499['type']&&Object['hasOwnProperty']['call'](_0xf72499,'type')&&_0x57c495['uint32'](0x12)['string'](_0xf72499['type']),null!=_0xf72499['createdAt']&&Object['hasOwnProperty']['call'](_0xf72499,'createdAt')&&_0x57c495['uint32'](0x1a)['string'](_0xf72499['createdAt']),_0x57c495;},_0x2e0b71['encodeDelimited']=function(_0x1aae3b,_0x581d76){return this['encode'](_0x1aae3b,_0x581d76)['ldelim']();},_0x2e0b71['decode']=function(_0x579cc5,_0x2bfe70){_0x579cc5 instanceof _0x4537d0||(_0x579cc5=_0x4537d0['create'](_0x579cc5));for(var _0x5dfa9a=void 0x0===_0x2bfe70?_0x579cc5['len']:_0x579cc5['pos']+_0x2bfe70,_0x3880ff=new _0x48cb19['OperationMetadataDescriptor']();_0x579cc5['pos']<_0x5dfa9a;){var _0x4572ba=_0x579cc5['uint32']();switch(_0x4572ba>>>0x3){case 0x1:_0x3880ff['userId']=_0x579cc5['string']();break;case 0x2:_0x3880ff['type']=_0x579cc5['string']();break;case 0x3:_0x3880ff['createdAt']=_0x579cc5['string']();break;default:_0x579cc5['skipType'](0x7&_0x4572ba);}}return _0x3880ff;},_0x2e0b71['decodeDelimited']=function(_0x1191a6){return _0x1191a6 instanceof _0x4537d0||(_0x1191a6=new _0x4537d0(_0x1191a6)),this['decode'](_0x1191a6,_0x1191a6['uint32']());},_0x2e0b71['verify']=function(_0x5a25aa){return'object'!=typeof _0x5a25aa||null===_0x5a25aa?'object\x20expected':null!=_0x5a25aa['userId']&&_0x5a25aa['hasOwnProperty']('userId')&&!_0x3be80d['isString'](_0x5a25aa['userId'])?'userId:\x20string\x20expected':null!=_0x5a25aa['type']&&_0x5a25aa['hasOwnProperty']('type')&&!_0x3be80d['isString'](_0x5a25aa['type'])?'type:\x20string\x20expected':null!=_0x5a25aa['createdAt']&&_0x5a25aa['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x5a25aa['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x2e0b71['fromObject']=function(_0x132cf5){if(_0x132cf5 instanceof _0x48cb19['OperationMetadataDescriptor'])return _0x132cf5;var _0x2bba00=new _0x48cb19['OperationMetadataDescriptor']();return null!=_0x132cf5['userId']&&(_0x2bba00['userId']=String(_0x132cf5['userId'])),null!=_0x132cf5['type']&&(_0x2bba00['type']=String(_0x132cf5['type'])),null!=_0x132cf5['createdAt']&&(_0x2bba00['createdAt']=String(_0x132cf5['createdAt'])),_0x2bba00;},_0x2e0b71['toObject']=function(_0x58da1d,_0x35923b){_0x35923b||(_0x35923b={});var _0x4fd44d={};return _0x35923b['defaults']&&(_0x4fd44d['userId']='',_0x4fd44d['type']='',_0x4fd44d['createdAt']=''),null!=_0x58da1d['userId']&&_0x58da1d['hasOwnProperty']('userId')&&(_0x4fd44d['userId']=_0x58da1d['userId']),null!=_0x58da1d['type']&&_0x58da1d['hasOwnProperty']('type')&&(_0x4fd44d['type']=_0x58da1d['type']),null!=_0x58da1d['createdAt']&&_0x58da1d['hasOwnProperty']('createdAt')&&(_0x4fd44d['createdAt']=_0x58da1d['createdAt']),_0x4fd44d;},_0x2e0b71['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2e0b71['getTypeUrl']=function(_0xde35dc){return void 0x0===_0xde35dc&&(_0xde35dc='type.googleapis.com'),_0xde35dc+'/OperationMetadataDescriptor';},_0x2e0b71;}()),_0x48cb19['CollaborativeEditingConnectMessage']=(function(){function _0x64315a(_0x1cc634){if(this['buffers']=[],this['types']=[],_0x1cc634){for(var _0x102a33=Object['keys'](_0x1cc634),_0x493246=0x0;_0x493246<_0x102a33['length'];++_0x493246)null!=_0x1cc634[_0x102a33[_0x493246]]&&(this[_0x102a33[_0x493246]]=_0x1cc634[_0x102a33[_0x493246]]);}}return _0x64315a['prototype']['id']='',_0x64315a['prototype']['bundleVersion']='',_0x64315a['prototype']['buffers']=_0x3be80d['emptyArray'],_0x64315a['prototype']['types']=_0x3be80d['emptyArray'],_0x64315a['prototype']['lastOperationId']='',_0x64315a['create']=function(_0x30336d){return new _0x64315a(_0x30336d);},_0x64315a['encode']=function(_0x79331b,_0x55ae40){if(_0x55ae40||(_0x55ae40=_0x5a9410['create']()),null!=_0x79331b['id']&&Object['hasOwnProperty']['call'](_0x79331b,'id')&&_0x55ae40['uint32'](0xa)['string'](_0x79331b['id']),null!=_0x79331b['bundleVersion']&&Object['hasOwnProperty']['call'](_0x79331b,'bundleVersion')&&_0x55ae40['uint32'](0x12)['string'](_0x79331b['bundleVersion']),null!=_0x79331b['buffers']&&_0x79331b['buffers']['length']){for(var _0x435002=0x0;_0x435002<_0x79331b['buffers']['length'];++_0x435002)_0x55ae40['uint32'](0x1a)['bytes'](_0x79331b['buffers'][_0x435002]);}if(null!=_0x79331b['types']&&_0x79331b['types']['length']){for(_0x55ae40['uint32'](0x22)['fork'](),_0x435002=0x0;_0x435002<_0x79331b['types']['length'];++_0x435002)_0x55ae40['uint32'](_0x79331b['types'][_0x435002]);_0x55ae40['ldelim']();}return null!=_0x79331b['lastOperationId']&&Object['hasOwnProperty']['call'](_0x79331b,'lastOperationId')&&_0x55ae40['uint32'](0x2a)['string'](_0x79331b['lastOperationId']),_0x55ae40;},_0x64315a['encodeDelimited']=function(_0x13b119,_0x37f6b5){return this['encode'](_0x13b119,_0x37f6b5)['ldelim']();},_0x64315a['decode']=function(_0x2df844,_0x14e1df){_0x2df844 instanceof _0x4537d0||(_0x2df844=_0x4537d0['create'](_0x2df844));for(var _0x52e4d1=void 0x0===_0x14e1df?_0x2df844['len']:_0x2df844['pos']+_0x14e1df,_0x47e424=new _0x48cb19['CollaborativeEditingConnectMessage']();_0x2df844['pos']<_0x52e4d1;){var _0x337129=_0x2df844['uint32']();switch(_0x337129>>>0x3){case 0x1:_0x47e424['id']=_0x2df844['string']();break;case 0x2:_0x47e424['bundleVersion']=_0x2df844['string']();break;case 0x3:_0x47e424['buffers']&&_0x47e424['buffers']['length']||(_0x47e424['buffers']=[]),_0x47e424['buffers']['push'](_0x2df844['bytes']());break;case 0x4:if(_0x47e424['types']&&_0x47e424['types']['length']||(_0x47e424['types']=[]),0x2==(0x7&_0x337129)){for(var _0x37d9ac=_0x2df844['uint32']()+_0x2df844['pos'];_0x2df844['pos']<_0x37d9ac;)_0x47e424['types']['push'](_0x2df844['uint32']());}else _0x47e424['types']['push'](_0x2df844['uint32']());break;case 0x5:_0x47e424['lastOperationId']=_0x2df844['string']();break;default:_0x2df844['skipType'](0x7&_0x337129);}}return _0x47e424;},_0x64315a['decodeDelimited']=function(_0x1a2d98){return _0x1a2d98 instanceof _0x4537d0||(_0x1a2d98=new _0x4537d0(_0x1a2d98)),this['decode'](_0x1a2d98,_0x1a2d98['uint32']());},_0x64315a['verify']=function(_0x4771ed){if('object'!=typeof _0x4771ed||null===_0x4771ed)return'object\x20expected';if(null!=_0x4771ed['id']&&_0x4771ed['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x4771ed['id']))return'id:\x20string\x20expected';if(null!=_0x4771ed['bundleVersion']&&_0x4771ed['hasOwnProperty']('bundleVersion')&&!_0x3be80d['isString'](_0x4771ed['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x4771ed['buffers']&&_0x4771ed['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x4771ed['buffers']))return'buffers:\x20array\x20expected';for(var _0x1025f9=0x0;_0x1025f9<_0x4771ed['buffers']['length'];++_0x1025f9)if(!(_0x4771ed['buffers'][_0x1025f9]&&'number'==typeof _0x4771ed['buffers'][_0x1025f9]['length']||_0x3be80d['isString'](_0x4771ed['buffers'][_0x1025f9])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4771ed['types']&&_0x4771ed['hasOwnProperty']('types')){if(!Array['isArray'](_0x4771ed['types']))return'types:\x20array\x20expected';for(_0x1025f9=0x0;_0x1025f9<_0x4771ed['types']['length'];++_0x1025f9)if(!_0x3be80d['isInteger'](_0x4771ed['types'][_0x1025f9]))return'types:\x20integer[]\x20expected';}return null!=_0x4771ed['lastOperationId']&&_0x4771ed['hasOwnProperty']('lastOperationId')&&!_0x3be80d['isString'](_0x4771ed['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x64315a['fromObject']=function(_0x3f77a0){if(_0x3f77a0 instanceof _0x48cb19['CollaborativeEditingConnectMessage'])return _0x3f77a0;var _0x49fda7=new _0x48cb19['CollaborativeEditingConnectMessage']();if(null!=_0x3f77a0['id']&&(_0x49fda7['id']=String(_0x3f77a0['id'])),null!=_0x3f77a0['bundleVersion']&&(_0x49fda7['bundleVersion']=String(_0x3f77a0['bundleVersion'])),_0x3f77a0['buffers']){if(!Array['isArray'](_0x3f77a0['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x49fda7['buffers']=[];for(var _0x4cdb52=0x0;_0x4cdb52<_0x3f77a0['buffers']['length'];++_0x4cdb52)'string'==typeof _0x3f77a0['buffers'][_0x4cdb52]?_0x3be80d['base64']['decode'](_0x3f77a0['buffers'][_0x4cdb52],_0x49fda7['buffers'][_0x4cdb52]=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x3f77a0['buffers'][_0x4cdb52])),0x0):_0x3f77a0['buffers'][_0x4cdb52]['length']>=0x0&&(_0x49fda7['buffers'][_0x4cdb52]=_0x3f77a0['buffers'][_0x4cdb52]);}if(_0x3f77a0['types']){if(!Array['isArray'](_0x3f77a0['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x49fda7['types']=[],_0x4cdb52=0x0;_0x4cdb52<_0x3f77a0['types']['length'];++_0x4cdb52)_0x49fda7['types'][_0x4cdb52]=_0x3f77a0['types'][_0x4cdb52]>>>0x0;}return null!=_0x3f77a0['lastOperationId']&&(_0x49fda7['lastOperationId']=String(_0x3f77a0['lastOperationId'])),_0x49fda7;},_0x64315a['toObject']=function(_0x30ebad,_0x3c6aa9){_0x3c6aa9||(_0x3c6aa9={});var _0x8b54c8={};if((_0x3c6aa9['arrays']||_0x3c6aa9['defaults'])&&(_0x8b54c8['buffers']=[],_0x8b54c8['types']=[]),_0x3c6aa9['defaults']&&(_0x8b54c8['id']='',_0x8b54c8['bundleVersion']='',_0x8b54c8['lastOperationId']=''),null!=_0x30ebad['id']&&_0x30ebad['hasOwnProperty']('id')&&(_0x8b54c8['id']=_0x30ebad['id']),null!=_0x30ebad['bundleVersion']&&_0x30ebad['hasOwnProperty']('bundleVersion')&&(_0x8b54c8['bundleVersion']=_0x30ebad['bundleVersion']),_0x30ebad['buffers']&&_0x30ebad['buffers']['length']){_0x8b54c8['buffers']=[];for(var _0x151280=0x0;_0x151280<_0x30ebad['buffers']['length'];++_0x151280)_0x8b54c8['buffers'][_0x151280]=_0x3c6aa9['bytes']===String?_0x3be80d['base64']['encode'](_0x30ebad['buffers'][_0x151280],0x0,_0x30ebad['buffers'][_0x151280]['length']):_0x3c6aa9['bytes']===Array?Array['prototype']['slice']['call'](_0x30ebad['buffers'][_0x151280]):_0x30ebad['buffers'][_0x151280];}if(_0x30ebad['types']&&_0x30ebad['types']['length']){for(_0x8b54c8['types']=[],_0x151280=0x0;_0x151280<_0x30ebad['types']['length'];++_0x151280)_0x8b54c8['types'][_0x151280]=_0x30ebad['types'][_0x151280];}return null!=_0x30ebad['lastOperationId']&&_0x30ebad['hasOwnProperty']('lastOperationId')&&(_0x8b54c8['lastOperationId']=_0x30ebad['lastOperationId']),_0x8b54c8;},_0x64315a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x64315a['getTypeUrl']=function(_0x5b5e9d){return void 0x0===_0x5b5e9d&&(_0x5b5e9d='type.googleapis.com'),_0x5b5e9d+'/CollaborativeEditingConnectMessage';},_0x64315a;}()),_0x48cb19['CollaborativeEditingReconnectMessage']=(function(){function _0x4a103a(_0x25a83a){if(_0x25a83a){for(var _0x212add=Object['keys'](_0x25a83a),_0x4b9738=0x0;_0x4b9738<_0x212add['length'];++_0x4b9738)null!=_0x25a83a[_0x212add[_0x4b9738]]&&(this[_0x212add[_0x4b9738]]=_0x25a83a[_0x212add[_0x4b9738]]);}}return _0x4a103a['prototype']['id']='',_0x4a103a['prototype']['bundleVersion']='',_0x4a103a['prototype']['lastKnowVersion']=0x0,_0x4a103a['create']=function(_0x12a645){return new _0x4a103a(_0x12a645);},_0x4a103a['encode']=function(_0x5d9d2e,_0x56431b){return _0x56431b||(_0x56431b=_0x5a9410['create']()),null!=_0x5d9d2e['id']&&Object['hasOwnProperty']['call'](_0x5d9d2e,'id')&&_0x56431b['uint32'](0xa)['string'](_0x5d9d2e['id']),null!=_0x5d9d2e['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5d9d2e,'bundleVersion')&&_0x56431b['uint32'](0x12)['string'](_0x5d9d2e['bundleVersion']),null!=_0x5d9d2e['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x5d9d2e,'lastKnowVersion')&&_0x56431b['uint32'](0x18)['uint32'](_0x5d9d2e['lastKnowVersion']),_0x56431b;},_0x4a103a['encodeDelimited']=function(_0x17d3da,_0x4dd28e){return this['encode'](_0x17d3da,_0x4dd28e)['ldelim']();},_0x4a103a['decode']=function(_0x47560d,_0x5c5eb2){_0x47560d instanceof _0x4537d0||(_0x47560d=_0x4537d0['create'](_0x47560d));for(var _0x240461=void 0x0===_0x5c5eb2?_0x47560d['len']:_0x47560d['pos']+_0x5c5eb2,_0x3dc67d=new _0x48cb19['CollaborativeEditingReconnectMessage']();_0x47560d['pos']<_0x240461;){var _0x1e38d5=_0x47560d['uint32']();switch(_0x1e38d5>>>0x3){case 0x1:_0x3dc67d['id']=_0x47560d['string']();break;case 0x2:_0x3dc67d['bundleVersion']=_0x47560d['string']();break;case 0x3:_0x3dc67d['lastKnowVersion']=_0x47560d['uint32']();break;default:_0x47560d['skipType'](0x7&_0x1e38d5);}}return _0x3dc67d;},_0x4a103a['decodeDelimited']=function(_0x3bcfcc){return _0x3bcfcc instanceof _0x4537d0||(_0x3bcfcc=new _0x4537d0(_0x3bcfcc)),this['decode'](_0x3bcfcc,_0x3bcfcc['uint32']());},_0x4a103a['verify']=function(_0x37fce1){return'object'!=typeof _0x37fce1||null===_0x37fce1?'object\x20expected':null!=_0x37fce1['id']&&_0x37fce1['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x37fce1['id'])?'id:\x20string\x20expected':null!=_0x37fce1['bundleVersion']&&_0x37fce1['hasOwnProperty']('bundleVersion')&&!_0x3be80d['isString'](_0x37fce1['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x37fce1['lastKnowVersion']&&_0x37fce1['hasOwnProperty']('lastKnowVersion')&&!_0x3be80d['isInteger'](_0x37fce1['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x4a103a['fromObject']=function(_0xa2b0c9){if(_0xa2b0c9 instanceof _0x48cb19['CollaborativeEditingReconnectMessage'])return _0xa2b0c9;var _0x4a9170=new _0x48cb19['CollaborativeEditingReconnectMessage']();return null!=_0xa2b0c9['id']&&(_0x4a9170['id']=String(_0xa2b0c9['id'])),null!=_0xa2b0c9['bundleVersion']&&(_0x4a9170['bundleVersion']=String(_0xa2b0c9['bundleVersion'])),null!=_0xa2b0c9['lastKnowVersion']&&(_0x4a9170['lastKnowVersion']=_0xa2b0c9['lastKnowVersion']>>>0x0),_0x4a9170;},_0x4a103a['toObject']=function(_0x5b1257,_0x3c5864){_0x3c5864||(_0x3c5864={});var _0x2e5c6a={};return _0x3c5864['defaults']&&(_0x2e5c6a['id']='',_0x2e5c6a['bundleVersion']='',_0x2e5c6a['lastKnowVersion']=0x0),null!=_0x5b1257['id']&&_0x5b1257['hasOwnProperty']('id')&&(_0x2e5c6a['id']=_0x5b1257['id']),null!=_0x5b1257['bundleVersion']&&_0x5b1257['hasOwnProperty']('bundleVersion')&&(_0x2e5c6a['bundleVersion']=_0x5b1257['bundleVersion']),null!=_0x5b1257['lastKnowVersion']&&_0x5b1257['hasOwnProperty']('lastKnowVersion')&&(_0x2e5c6a['lastKnowVersion']=_0x5b1257['lastKnowVersion']),_0x2e5c6a;},_0x4a103a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x4a103a['getTypeUrl']=function(_0x1daaeb){return void 0x0===_0x1daaeb&&(_0x1daaeb='type.googleapis.com'),_0x1daaeb+'/CollaborativeEditingReconnectMessage';},_0x4a103a;}()),_0x48cb19['CollaborativeEditingUpdateMessage']=(function(){function _0x312c2e(_0x16bfad){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x16bfad){for(var _0x3a3695=Object['keys'](_0x16bfad),_0x1b155e=0x0;_0x1b155e<_0x3a3695['length'];++_0x1b155e)null!=_0x16bfad[_0x3a3695[_0x1b155e]]&&(this[_0x3a3695[_0x1b155e]]=_0x16bfad[_0x3a3695[_0x1b155e]]);}}return _0x312c2e['prototype']['id']='',_0x312c2e['prototype']['baseVersion']=0x0,_0x312c2e['prototype']['buffers']=_0x3be80d['emptyArray'],_0x312c2e['prototype']['types']=_0x3be80d['emptyArray'],_0x312c2e['prototype']['metadata']=_0x3be80d['emptyArray'],_0x312c2e['prototype']['lastOperationId']='',_0x312c2e['create']=function(_0x2e643d){return new _0x312c2e(_0x2e643d);},_0x312c2e['encode']=function(_0x207396,_0x3dfa6b){if(_0x3dfa6b||(_0x3dfa6b=_0x5a9410['create']()),null!=_0x207396['id']&&Object['hasOwnProperty']['call'](_0x207396,'id')&&_0x3dfa6b['uint32'](0xa)['string'](_0x207396['id']),null!=_0x207396['baseVersion']&&Object['hasOwnProperty']['call'](_0x207396,'baseVersion')&&_0x3dfa6b['uint32'](0x10)['uint32'](_0x207396['baseVersion']),null!=_0x207396['buffers']&&_0x207396['buffers']['length']){for(var _0x7776f8=0x0;_0x7776f8<_0x207396['buffers']['length'];++_0x7776f8)_0x3dfa6b['uint32'](0x1a)['bytes'](_0x207396['buffers'][_0x7776f8]);}if(null!=_0x207396['types']&&_0x207396['types']['length']){for(_0x3dfa6b['uint32'](0x22)['fork'](),_0x7776f8=0x0;_0x7776f8<_0x207396['types']['length'];++_0x7776f8)_0x3dfa6b['uint32'](_0x207396['types'][_0x7776f8]);_0x3dfa6b['ldelim']();}if(null!=_0x207396['metadata']&&_0x207396['metadata']['length']){for(_0x7776f8=0x0;_0x7776f8<_0x207396['metadata']['length'];++_0x7776f8)_0x48cb19['OperationMetadataDescriptor']['encode'](_0x207396['metadata'][_0x7776f8],_0x3dfa6b['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x207396['lastOperationId']&&Object['hasOwnProperty']['call'](_0x207396,'lastOperationId')&&_0x3dfa6b['uint32'](0x3a)['string'](_0x207396['lastOperationId']),_0x3dfa6b;},_0x312c2e['encodeDelimited']=function(_0x39afee,_0x4ce8ad){return this['encode'](_0x39afee,_0x4ce8ad)['ldelim']();},_0x312c2e['decode']=function(_0x371417,_0x448416){_0x371417 instanceof _0x4537d0||(_0x371417=_0x4537d0['create'](_0x371417));for(var _0x2e61a2=void 0x0===_0x448416?_0x371417['len']:_0x371417['pos']+_0x448416,_0x1d2578=new _0x48cb19['CollaborativeEditingUpdateMessage']();_0x371417['pos']<_0x2e61a2;){var _0x3b4cd1=_0x371417['uint32']();switch(_0x3b4cd1>>>0x3){case 0x1:_0x1d2578['id']=_0x371417['string']();break;case 0x2:_0x1d2578['baseVersion']=_0x371417['uint32']();break;case 0x3:_0x1d2578['buffers']&&_0x1d2578['buffers']['length']||(_0x1d2578['buffers']=[]),_0x1d2578['buffers']['push'](_0x371417['bytes']());break;case 0x4:if(_0x1d2578['types']&&_0x1d2578['types']['length']||(_0x1d2578['types']=[]),0x2==(0x7&_0x3b4cd1)){for(var _0x597553=_0x371417['uint32']()+_0x371417['pos'];_0x371417['pos']<_0x597553;)_0x1d2578['types']['push'](_0x371417['uint32']());}else _0x1d2578['types']['push'](_0x371417['uint32']());break;case 0x6:_0x1d2578['metadata']&&_0x1d2578['metadata']['length']||(_0x1d2578['metadata']=[]),_0x1d2578['metadata']['push'](_0x48cb19['OperationMetadataDescriptor']['decode'](_0x371417,_0x371417['uint32']()));break;case 0x7:_0x1d2578['lastOperationId']=_0x371417['string']();break;default:_0x371417['skipType'](0x7&_0x3b4cd1);}}return _0x1d2578;},_0x312c2e['decodeDelimited']=function(_0x7b3b3c){return _0x7b3b3c instanceof _0x4537d0||(_0x7b3b3c=new _0x4537d0(_0x7b3b3c)),this['decode'](_0x7b3b3c,_0x7b3b3c['uint32']());},_0x312c2e['verify']=function(_0x4a349f){if('object'!=typeof _0x4a349f||null===_0x4a349f)return'object\x20expected';if(null!=_0x4a349f['id']&&_0x4a349f['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x4a349f['id']))return'id:\x20string\x20expected';if(null!=_0x4a349f['baseVersion']&&_0x4a349f['hasOwnProperty']('baseVersion')&&!_0x3be80d['isInteger'](_0x4a349f['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x4a349f['buffers']&&_0x4a349f['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x4a349f['buffers']))return'buffers:\x20array\x20expected';for(var _0x2c8716=0x0;_0x2c8716<_0x4a349f['buffers']['length'];++_0x2c8716)if(!(_0x4a349f['buffers'][_0x2c8716]&&'number'==typeof _0x4a349f['buffers'][_0x2c8716]['length']||_0x3be80d['isString'](_0x4a349f['buffers'][_0x2c8716])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4a349f['types']&&_0x4a349f['hasOwnProperty']('types')){if(!Array['isArray'](_0x4a349f['types']))return'types:\x20array\x20expected';for(_0x2c8716=0x0;_0x2c8716<_0x4a349f['types']['length'];++_0x2c8716)if(!_0x3be80d['isInteger'](_0x4a349f['types'][_0x2c8716]))return'types:\x20integer[]\x20expected';}if(null!=_0x4a349f['metadata']&&_0x4a349f['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x4a349f['metadata']))return'metadata:\x20array\x20expected';for(_0x2c8716=0x0;_0x2c8716<_0x4a349f['metadata']['length'];++_0x2c8716){var _0xe95e75=_0x48cb19['OperationMetadataDescriptor']['verify'](_0x4a349f['metadata'][_0x2c8716]);if(_0xe95e75)return'metadata.'+_0xe95e75;}}return null!=_0x4a349f['lastOperationId']&&_0x4a349f['hasOwnProperty']('lastOperationId')&&!_0x3be80d['isString'](_0x4a349f['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x312c2e['fromObject']=function(_0x2ce983){if(_0x2ce983 instanceof _0x48cb19['CollaborativeEditingUpdateMessage'])return _0x2ce983;var _0x430cb6=new _0x48cb19['CollaborativeEditingUpdateMessage']();if(null!=_0x2ce983['id']&&(_0x430cb6['id']=String(_0x2ce983['id'])),null!=_0x2ce983['baseVersion']&&(_0x430cb6['baseVersion']=_0x2ce983['baseVersion']>>>0x0),_0x2ce983['buffers']){if(!Array['isArray'](_0x2ce983['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x430cb6['buffers']=[];for(var _0x2f7fa4=0x0;_0x2f7fa4<_0x2ce983['buffers']['length'];++_0x2f7fa4)'string'==typeof _0x2ce983['buffers'][_0x2f7fa4]?_0x3be80d['base64']['decode'](_0x2ce983['buffers'][_0x2f7fa4],_0x430cb6['buffers'][_0x2f7fa4]=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x2ce983['buffers'][_0x2f7fa4])),0x0):_0x2ce983['buffers'][_0x2f7fa4]['length']>=0x0&&(_0x430cb6['buffers'][_0x2f7fa4]=_0x2ce983['buffers'][_0x2f7fa4]);}if(_0x2ce983['types']){if(!Array['isArray'](_0x2ce983['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x430cb6['types']=[],_0x2f7fa4=0x0;_0x2f7fa4<_0x2ce983['types']['length'];++_0x2f7fa4)_0x430cb6['types'][_0x2f7fa4]=_0x2ce983['types'][_0x2f7fa4]>>>0x0;}if(_0x2ce983['metadata']){if(!Array['isArray'](_0x2ce983['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x430cb6['metadata']=[],_0x2f7fa4=0x0;_0x2f7fa4<_0x2ce983['metadata']['length'];++_0x2f7fa4){if('object'!=typeof _0x2ce983['metadata'][_0x2f7fa4])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x430cb6['metadata'][_0x2f7fa4]=_0x48cb19['OperationMetadataDescriptor']['fromObject'](_0x2ce983['metadata'][_0x2f7fa4]);}}return null!=_0x2ce983['lastOperationId']&&(_0x430cb6['lastOperationId']=String(_0x2ce983['lastOperationId'])),_0x430cb6;},_0x312c2e['toObject']=function(_0x16834e,_0x3cfce5){_0x3cfce5||(_0x3cfce5={});var _0x45b816={};if((_0x3cfce5['arrays']||_0x3cfce5['defaults'])&&(_0x45b816['buffers']=[],_0x45b816['types']=[],_0x45b816['metadata']=[]),_0x3cfce5['defaults']&&(_0x45b816['id']='',_0x45b816['baseVersion']=0x0,_0x45b816['lastOperationId']=''),null!=_0x16834e['id']&&_0x16834e['hasOwnProperty']('id')&&(_0x45b816['id']=_0x16834e['id']),null!=_0x16834e['baseVersion']&&_0x16834e['hasOwnProperty']('baseVersion')&&(_0x45b816['baseVersion']=_0x16834e['baseVersion']),_0x16834e['buffers']&&_0x16834e['buffers']['length']){_0x45b816['buffers']=[];for(var _0x42008b=0x0;_0x42008b<_0x16834e['buffers']['length'];++_0x42008b)_0x45b816['buffers'][_0x42008b]=_0x3cfce5['bytes']===String?_0x3be80d['base64']['encode'](_0x16834e['buffers'][_0x42008b],0x0,_0x16834e['buffers'][_0x42008b]['length']):_0x3cfce5['bytes']===Array?Array['prototype']['slice']['call'](_0x16834e['buffers'][_0x42008b]):_0x16834e['buffers'][_0x42008b];}if(_0x16834e['types']&&_0x16834e['types']['length']){for(_0x45b816['types']=[],_0x42008b=0x0;_0x42008b<_0x16834e['types']['length'];++_0x42008b)_0x45b816['types'][_0x42008b]=_0x16834e['types'][_0x42008b];}if(_0x16834e['metadata']&&_0x16834e['metadata']['length']){for(_0x45b816['metadata']=[],_0x42008b=0x0;_0x42008b<_0x16834e['metadata']['length'];++_0x42008b)_0x45b816['metadata'][_0x42008b]=_0x48cb19['OperationMetadataDescriptor']['toObject'](_0x16834e['metadata'][_0x42008b],_0x3cfce5);}return null!=_0x16834e['lastOperationId']&&_0x16834e['hasOwnProperty']('lastOperationId')&&(_0x45b816['lastOperationId']=_0x16834e['lastOperationId']),_0x45b816;},_0x312c2e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x312c2e['getTypeUrl']=function(_0x312926){return void 0x0===_0x312926&&(_0x312926='type.googleapis.com'),_0x312926+'/CollaborativeEditingUpdateMessage';},_0x312c2e;}()),_0x48cb19['GetDocumentDetailsMessage']=(function(){function _0x16199e(_0x288f13){if(_0x288f13){for(var _0x1ddfe8=Object['keys'](_0x288f13),_0x260c35=0x0;_0x260c35<_0x1ddfe8['length'];++_0x260c35)null!=_0x288f13[_0x1ddfe8[_0x260c35]]&&(this[_0x1ddfe8[_0x260c35]]=_0x288f13[_0x1ddfe8[_0x260c35]]);}}return _0x16199e['prototype']['documentId']='',_0x16199e['prototype']['environmentId']='',_0x16199e['create']=function(_0x296e07){return new _0x16199e(_0x296e07);},_0x16199e['encode']=function(_0x241f37,_0x2d7030){return _0x2d7030||(_0x2d7030=_0x5a9410['create']()),null!=_0x241f37['documentId']&&Object['hasOwnProperty']['call'](_0x241f37,'documentId')&&_0x2d7030['uint32'](0xa)['string'](_0x241f37['documentId']),null!=_0x241f37['environmentId']&&Object['hasOwnProperty']['call'](_0x241f37,'environmentId')&&_0x2d7030['uint32'](0x12)['string'](_0x241f37['environmentId']),_0x2d7030;},_0x16199e['encodeDelimited']=function(_0x7b1cd,_0x329882){return this['encode'](_0x7b1cd,_0x329882)['ldelim']();},_0x16199e['decode']=function(_0x38039a,_0x1c6650){_0x38039a instanceof _0x4537d0||(_0x38039a=_0x4537d0['create'](_0x38039a));for(var _0x48e418=void 0x0===_0x1c6650?_0x38039a['len']:_0x38039a['pos']+_0x1c6650,_0x27d402=new _0x48cb19['GetDocumentDetailsMessage']();_0x38039a['pos']<_0x48e418;){var _0xd0ed3f=_0x38039a['uint32']();switch(_0xd0ed3f>>>0x3){case 0x1:_0x27d402['documentId']=_0x38039a['string']();break;case 0x2:_0x27d402['environmentId']=_0x38039a['string']();break;default:_0x38039a['skipType'](0x7&_0xd0ed3f);}}return _0x27d402;},_0x16199e['decodeDelimited']=function(_0x3dbe05){return _0x3dbe05 instanceof _0x4537d0||(_0x3dbe05=new _0x4537d0(_0x3dbe05)),this['decode'](_0x3dbe05,_0x3dbe05['uint32']());},_0x16199e['verify']=function(_0x275367){return'object'!=typeof _0x275367||null===_0x275367?'object\x20expected':null!=_0x275367['documentId']&&_0x275367['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x275367['documentId'])?'documentId:\x20string\x20expected':null!=_0x275367['environmentId']&&_0x275367['hasOwnProperty']('environmentId')&&!_0x3be80d['isString'](_0x275367['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x16199e['fromObject']=function(_0x233669){if(_0x233669 instanceof _0x48cb19['GetDocumentDetailsMessage'])return _0x233669;var _0x4fba99=new _0x48cb19['GetDocumentDetailsMessage']();return null!=_0x233669['documentId']&&(_0x4fba99['documentId']=String(_0x233669['documentId'])),null!=_0x233669['environmentId']&&(_0x4fba99['environmentId']=String(_0x233669['environmentId'])),_0x4fba99;},_0x16199e['toObject']=function(_0x28b27d,_0x5424e7){_0x5424e7||(_0x5424e7={});var _0x3bae83={};return _0x5424e7['defaults']&&(_0x3bae83['documentId']='',_0x3bae83['environmentId']=''),null!=_0x28b27d['documentId']&&_0x28b27d['hasOwnProperty']('documentId')&&(_0x3bae83['documentId']=_0x28b27d['documentId']),null!=_0x28b27d['environmentId']&&_0x28b27d['hasOwnProperty']('environmentId')&&(_0x3bae83['environmentId']=_0x28b27d['environmentId']),_0x3bae83;},_0x16199e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x16199e['getTypeUrl']=function(_0x399ec8){return void 0x0===_0x399ec8&&(_0x399ec8='type.googleapis.com'),_0x399ec8+'/GetDocumentDetailsMessage';},_0x16199e;}()),_0x48cb19['CollaborativeEditingConnectResponse']=(function(){function _0x41983c(_0x2ae384){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x2ae384){for(var _0x1eaa39=Object['keys'](_0x2ae384),_0x3125be=0x0;_0x3125be<_0x1eaa39['length'];++_0x3125be)null!=_0x2ae384[_0x1eaa39[_0x3125be]]&&(this[_0x1eaa39[_0x3125be]]=_0x2ae384[_0x1eaa39[_0x3125be]]);}}return _0x41983c['prototype']['channel']='',_0x41983c['prototype']['offset']=0x0,_0x41983c['prototype']['version']=0x0,_0x41983c['prototype']['buffers']=_0x3be80d['emptyArray'],_0x41983c['prototype']['types']=_0x3be80d['emptyArray'],_0x41983c['prototype']['metadata']=_0x3be80d['emptyArray'],_0x41983c['prototype']['initData']='',_0x41983c['prototype']['isInitialized']=!0x1,_0x41983c['prototype']['sessionId']='',_0x41983c['prototype']['lastOperationId']='',_0x41983c['prototype']['sessionCreatedAt']='',_0x41983c['create']=function(_0x3b735b){return new _0x41983c(_0x3b735b);},_0x41983c['encode']=function(_0x1e7ead,_0x56920b){if(_0x56920b||(_0x56920b=_0x5a9410['create']()),null!=_0x1e7ead['channel']&&Object['hasOwnProperty']['call'](_0x1e7ead,'channel')&&_0x56920b['uint32'](0xa)['string'](_0x1e7ead['channel']),null!=_0x1e7ead['offset']&&Object['hasOwnProperty']['call'](_0x1e7ead,'offset')&&_0x56920b['uint32'](0x10)['uint32'](_0x1e7ead['offset']),null!=_0x1e7ead['version']&&Object['hasOwnProperty']['call'](_0x1e7ead,'version')&&_0x56920b['uint32'](0x18)['uint32'](_0x1e7ead['version']),null!=_0x1e7ead['buffers']&&_0x1e7ead['buffers']['length']){for(var _0x36c7e0=0x0;_0x36c7e0<_0x1e7ead['buffers']['length'];++_0x36c7e0)_0x56920b['uint32'](0x22)['bytes'](_0x1e7ead['buffers'][_0x36c7e0]);}if(null!=_0x1e7ead['types']&&_0x1e7ead['types']['length']){for(_0x56920b['uint32'](0x2a)['fork'](),_0x36c7e0=0x0;_0x36c7e0<_0x1e7ead['types']['length'];++_0x36c7e0)_0x56920b['uint32'](_0x1e7ead['types'][_0x36c7e0]);_0x56920b['ldelim']();}if(null!=_0x1e7ead['metadata']&&_0x1e7ead['metadata']['length']){for(_0x36c7e0=0x0;_0x36c7e0<_0x1e7ead['metadata']['length'];++_0x36c7e0)_0x48cb19['OperationMetadataDescriptor']['encode'](_0x1e7ead['metadata'][_0x36c7e0],_0x56920b['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x1e7ead['initData']&&Object['hasOwnProperty']['call'](_0x1e7ead,'initData')&&_0x56920b['uint32'](0x42)['string'](_0x1e7ead['initData']),null!=_0x1e7ead['isInitialized']&&Object['hasOwnProperty']['call'](_0x1e7ead,'isInitialized')&&_0x56920b['uint32'](0x48)['bool'](_0x1e7ead['isInitialized']),null!=_0x1e7ead['sessionId']&&Object['hasOwnProperty']['call'](_0x1e7ead,'sessionId')&&_0x56920b['uint32'](0x52)['string'](_0x1e7ead['sessionId']),null!=_0x1e7ead['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1e7ead,'lastOperationId')&&_0x56920b['uint32'](0x5a)['string'](_0x1e7ead['lastOperationId']),null!=_0x1e7ead['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x1e7ead,'sessionCreatedAt')&&_0x56920b['uint32'](0x62)['string'](_0x1e7ead['sessionCreatedAt']),_0x56920b;},_0x41983c['encodeDelimited']=function(_0x223104,_0x58e1d5){return this['encode'](_0x223104,_0x58e1d5)['ldelim']();},_0x41983c['decode']=function(_0x482e3b,_0x139f3a){_0x482e3b instanceof _0x4537d0||(_0x482e3b=_0x4537d0['create'](_0x482e3b));for(var _0x4659bc=void 0x0===_0x139f3a?_0x482e3b['len']:_0x482e3b['pos']+_0x139f3a,_0x54695a=new _0x48cb19['CollaborativeEditingConnectResponse']();_0x482e3b['pos']<_0x4659bc;){var _0x1fe0df=_0x482e3b['uint32']();switch(_0x1fe0df>>>0x3){case 0x1:_0x54695a['channel']=_0x482e3b['string']();break;case 0x2:_0x54695a['offset']=_0x482e3b['uint32']();break;case 0x3:_0x54695a['version']=_0x482e3b['uint32']();break;case 0x4:_0x54695a['buffers']&&_0x54695a['buffers']['length']||(_0x54695a['buffers']=[]),_0x54695a['buffers']['push'](_0x482e3b['bytes']());break;case 0x5:if(_0x54695a['types']&&_0x54695a['types']['length']||(_0x54695a['types']=[]),0x2==(0x7&_0x1fe0df)){for(var _0xfe21db=_0x482e3b['uint32']()+_0x482e3b['pos'];_0x482e3b['pos']<_0xfe21db;)_0x54695a['types']['push'](_0x482e3b['uint32']());}else _0x54695a['types']['push'](_0x482e3b['uint32']());break;case 0x7:_0x54695a['metadata']&&_0x54695a['metadata']['length']||(_0x54695a['metadata']=[]),_0x54695a['metadata']['push'](_0x48cb19['OperationMetadataDescriptor']['decode'](_0x482e3b,_0x482e3b['uint32']()));break;case 0x8:_0x54695a['initData']=_0x482e3b['string']();break;case 0x9:_0x54695a['isInitialized']=_0x482e3b['bool']();break;case 0xa:_0x54695a['sessionId']=_0x482e3b['string']();break;case 0xb:_0x54695a['lastOperationId']=_0x482e3b['string']();break;case 0xc:_0x54695a['sessionCreatedAt']=_0x482e3b['string']();break;default:_0x482e3b['skipType'](0x7&_0x1fe0df);}}return _0x54695a;},_0x41983c['decodeDelimited']=function(_0x4f7083){return _0x4f7083 instanceof _0x4537d0||(_0x4f7083=new _0x4537d0(_0x4f7083)),this['decode'](_0x4f7083,_0x4f7083['uint32']());},_0x41983c['verify']=function(_0x480f35){if('object'!=typeof _0x480f35||null===_0x480f35)return'object\x20expected';if(null!=_0x480f35['channel']&&_0x480f35['hasOwnProperty']('channel')&&!_0x3be80d['isString'](_0x480f35['channel']))return'channel:\x20string\x20expected';if(null!=_0x480f35['offset']&&_0x480f35['hasOwnProperty']('offset')&&!_0x3be80d['isInteger'](_0x480f35['offset']))return'offset:\x20integer\x20expected';if(null!=_0x480f35['version']&&_0x480f35['hasOwnProperty']('version')&&!_0x3be80d['isInteger'](_0x480f35['version']))return'version:\x20integer\x20expected';if(null!=_0x480f35['buffers']&&_0x480f35['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x480f35['buffers']))return'buffers:\x20array\x20expected';for(var _0x5f3636=0x0;_0x5f3636<_0x480f35['buffers']['length'];++_0x5f3636)if(!(_0x480f35['buffers'][_0x5f3636]&&'number'==typeof _0x480f35['buffers'][_0x5f3636]['length']||_0x3be80d['isString'](_0x480f35['buffers'][_0x5f3636])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x480f35['types']&&_0x480f35['hasOwnProperty']('types')){if(!Array['isArray'](_0x480f35['types']))return'types:\x20array\x20expected';for(_0x5f3636=0x0;_0x5f3636<_0x480f35['types']['length'];++_0x5f3636)if(!_0x3be80d['isInteger'](_0x480f35['types'][_0x5f3636]))return'types:\x20integer[]\x20expected';}if(null!=_0x480f35['metadata']&&_0x480f35['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x480f35['metadata']))return'metadata:\x20array\x20expected';for(_0x5f3636=0x0;_0x5f3636<_0x480f35['metadata']['length'];++_0x5f3636){var _0x3a71c4=_0x48cb19['OperationMetadataDescriptor']['verify'](_0x480f35['metadata'][_0x5f3636]);if(_0x3a71c4)return'metadata.'+_0x3a71c4;}}return null!=_0x480f35['initData']&&_0x480f35['hasOwnProperty']('initData')&&!_0x3be80d['isString'](_0x480f35['initData'])?'initData:\x20string\x20expected':null!=_0x480f35['isInitialized']&&_0x480f35['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x480f35['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x480f35['sessionId']&&_0x480f35['hasOwnProperty']('sessionId')&&!_0x3be80d['isString'](_0x480f35['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x480f35['lastOperationId']&&_0x480f35['hasOwnProperty']('lastOperationId')&&!_0x3be80d['isString'](_0x480f35['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x480f35['sessionCreatedAt']&&_0x480f35['hasOwnProperty']('sessionCreatedAt')&&!_0x3be80d['isString'](_0x480f35['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x41983c['fromObject']=function(_0x3f1012){if(_0x3f1012 instanceof _0x48cb19['CollaborativeEditingConnectResponse'])return _0x3f1012;var _0x9520bd=new _0x48cb19['CollaborativeEditingConnectResponse']();if(null!=_0x3f1012['channel']&&(_0x9520bd['channel']=String(_0x3f1012['channel'])),null!=_0x3f1012['offset']&&(_0x9520bd['offset']=_0x3f1012['offset']>>>0x0),null!=_0x3f1012['version']&&(_0x9520bd['version']=_0x3f1012['version']>>>0x0),_0x3f1012['buffers']){if(!Array['isArray'](_0x3f1012['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x9520bd['buffers']=[];for(var _0x40e597=0x0;_0x40e597<_0x3f1012['buffers']['length'];++_0x40e597)'string'==typeof _0x3f1012['buffers'][_0x40e597]?_0x3be80d['base64']['decode'](_0x3f1012['buffers'][_0x40e597],_0x9520bd['buffers'][_0x40e597]=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x3f1012['buffers'][_0x40e597])),0x0):_0x3f1012['buffers'][_0x40e597]['length']>=0x0&&(_0x9520bd['buffers'][_0x40e597]=_0x3f1012['buffers'][_0x40e597]);}if(_0x3f1012['types']){if(!Array['isArray'](_0x3f1012['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x9520bd['types']=[],_0x40e597=0x0;_0x40e597<_0x3f1012['types']['length'];++_0x40e597)_0x9520bd['types'][_0x40e597]=_0x3f1012['types'][_0x40e597]>>>0x0;}if(_0x3f1012['metadata']){if(!Array['isArray'](_0x3f1012['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x9520bd['metadata']=[],_0x40e597=0x0;_0x40e597<_0x3f1012['metadata']['length'];++_0x40e597){if('object'!=typeof _0x3f1012['metadata'][_0x40e597])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x9520bd['metadata'][_0x40e597]=_0x48cb19['OperationMetadataDescriptor']['fromObject'](_0x3f1012['metadata'][_0x40e597]);}}return null!=_0x3f1012['initData']&&(_0x9520bd['initData']=String(_0x3f1012['initData'])),null!=_0x3f1012['isInitialized']&&(_0x9520bd['isInitialized']=Boolean(_0x3f1012['isInitialized'])),null!=_0x3f1012['sessionId']&&(_0x9520bd['sessionId']=String(_0x3f1012['sessionId'])),null!=_0x3f1012['lastOperationId']&&(_0x9520bd['lastOperationId']=String(_0x3f1012['lastOperationId'])),null!=_0x3f1012['sessionCreatedAt']&&(_0x9520bd['sessionCreatedAt']=String(_0x3f1012['sessionCreatedAt'])),_0x9520bd;},_0x41983c['toObject']=function(_0x20f4ea,_0x5c7f88){_0x5c7f88||(_0x5c7f88={});var _0x4888bb={};if((_0x5c7f88['arrays']||_0x5c7f88['defaults'])&&(_0x4888bb['buffers']=[],_0x4888bb['types']=[],_0x4888bb['metadata']=[]),_0x5c7f88['defaults']&&(_0x4888bb['channel']='',_0x4888bb['offset']=0x0,_0x4888bb['version']=0x0,_0x4888bb['initData']='',_0x4888bb['isInitialized']=!0x1,_0x4888bb['sessionId']='',_0x4888bb['lastOperationId']='',_0x4888bb['sessionCreatedAt']=''),null!=_0x20f4ea['channel']&&_0x20f4ea['hasOwnProperty']('channel')&&(_0x4888bb['channel']=_0x20f4ea['channel']),null!=_0x20f4ea['offset']&&_0x20f4ea['hasOwnProperty']('offset')&&(_0x4888bb['offset']=_0x20f4ea['offset']),null!=_0x20f4ea['version']&&_0x20f4ea['hasOwnProperty']('version')&&(_0x4888bb['version']=_0x20f4ea['version']),_0x20f4ea['buffers']&&_0x20f4ea['buffers']['length']){_0x4888bb['buffers']=[];for(var _0x4b582d=0x0;_0x4b582d<_0x20f4ea['buffers']['length'];++_0x4b582d)_0x4888bb['buffers'][_0x4b582d]=_0x5c7f88['bytes']===String?_0x3be80d['base64']['encode'](_0x20f4ea['buffers'][_0x4b582d],0x0,_0x20f4ea['buffers'][_0x4b582d]['length']):_0x5c7f88['bytes']===Array?Array['prototype']['slice']['call'](_0x20f4ea['buffers'][_0x4b582d]):_0x20f4ea['buffers'][_0x4b582d];}if(_0x20f4ea['types']&&_0x20f4ea['types']['length']){for(_0x4888bb['types']=[],_0x4b582d=0x0;_0x4b582d<_0x20f4ea['types']['length'];++_0x4b582d)_0x4888bb['types'][_0x4b582d]=_0x20f4ea['types'][_0x4b582d];}if(_0x20f4ea['metadata']&&_0x20f4ea['metadata']['length']){for(_0x4888bb['metadata']=[],_0x4b582d=0x0;_0x4b582d<_0x20f4ea['metadata']['length'];++_0x4b582d)_0x4888bb['metadata'][_0x4b582d]=_0x48cb19['OperationMetadataDescriptor']['toObject'](_0x20f4ea['metadata'][_0x4b582d],_0x5c7f88);}return null!=_0x20f4ea['initData']&&_0x20f4ea['hasOwnProperty']('initData')&&(_0x4888bb['initData']=_0x20f4ea['initData']),null!=_0x20f4ea['isInitialized']&&_0x20f4ea['hasOwnProperty']('isInitialized')&&(_0x4888bb['isInitialized']=_0x20f4ea['isInitialized']),null!=_0x20f4ea['sessionId']&&_0x20f4ea['hasOwnProperty']('sessionId')&&(_0x4888bb['sessionId']=_0x20f4ea['sessionId']),null!=_0x20f4ea['lastOperationId']&&_0x20f4ea['hasOwnProperty']('lastOperationId')&&(_0x4888bb['lastOperationId']=_0x20f4ea['lastOperationId']),null!=_0x20f4ea['sessionCreatedAt']&&_0x20f4ea['hasOwnProperty']('sessionCreatedAt')&&(_0x4888bb['sessionCreatedAt']=_0x20f4ea['sessionCreatedAt']),_0x4888bb;},_0x41983c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x41983c['getTypeUrl']=function(_0x28ca66){return void 0x0===_0x28ca66&&(_0x28ca66='type.googleapis.com'),_0x28ca66+'/CollaborativeEditingConnectResponse';},_0x41983c;}()),_0x48cb19['CollaborativeEditingResponse']=(function(){function _0x73ce03(_0x391a54){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x391a54){for(var _0x3204cb=Object['keys'](_0x391a54),_0x5d2552=0x0;_0x5d2552<_0x3204cb['length'];++_0x5d2552)null!=_0x391a54[_0x3204cb[_0x5d2552]]&&(this[_0x3204cb[_0x5d2552]]=_0x391a54[_0x3204cb[_0x5d2552]]);}}return _0x73ce03['prototype']['version']=0x0,_0x73ce03['prototype']['buffers']=_0x3be80d['emptyArray'],_0x73ce03['prototype']['types']=_0x3be80d['emptyArray'],_0x73ce03['prototype']['metadata']=_0x3be80d['emptyArray'],_0x73ce03['prototype']['lastOperationId']='',_0x73ce03['prototype']['lastOperationAcceptedAt']='',_0x73ce03['create']=function(_0x210dab){return new _0x73ce03(_0x210dab);},_0x73ce03['encode']=function(_0x3607c2,_0x3bd67b){if(_0x3bd67b||(_0x3bd67b=_0x5a9410['create']()),null!=_0x3607c2['version']&&Object['hasOwnProperty']['call'](_0x3607c2,'version')&&_0x3bd67b['uint32'](0x8)['uint32'](_0x3607c2['version']),null!=_0x3607c2['buffers']&&_0x3607c2['buffers']['length']){for(var _0x21ac92=0x0;_0x21ac92<_0x3607c2['buffers']['length'];++_0x21ac92)_0x3bd67b['uint32'](0x12)['bytes'](_0x3607c2['buffers'][_0x21ac92]);}if(null!=_0x3607c2['types']&&_0x3607c2['types']['length']){for(_0x3bd67b['uint32'](0x1a)['fork'](),_0x21ac92=0x0;_0x21ac92<_0x3607c2['types']['length'];++_0x21ac92)_0x3bd67b['uint32'](_0x3607c2['types'][_0x21ac92]);_0x3bd67b['ldelim']();}if(null!=_0x3607c2['metadata']&&_0x3607c2['metadata']['length']){for(_0x21ac92=0x0;_0x21ac92<_0x3607c2['metadata']['length'];++_0x21ac92)_0x48cb19['OperationMetadataDescriptor']['encode'](_0x3607c2['metadata'][_0x21ac92],_0x3bd67b['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x3607c2['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3607c2,'lastOperationId')&&_0x3bd67b['uint32'](0x32)['string'](_0x3607c2['lastOperationId']),null!=_0x3607c2['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x3607c2,'lastOperationAcceptedAt')&&_0x3bd67b['uint32'](0x3a)['string'](_0x3607c2['lastOperationAcceptedAt']),_0x3bd67b;},_0x73ce03['encodeDelimited']=function(_0x4d9f02,_0x55717f){return this['encode'](_0x4d9f02,_0x55717f)['ldelim']();},_0x73ce03['decode']=function(_0x4e20b4,_0x217c35){_0x4e20b4 instanceof _0x4537d0||(_0x4e20b4=_0x4537d0['create'](_0x4e20b4));for(var _0x151a49=void 0x0===_0x217c35?_0x4e20b4['len']:_0x4e20b4['pos']+_0x217c35,_0x407c24=new _0x48cb19['CollaborativeEditingResponse']();_0x4e20b4['pos']<_0x151a49;){var _0x45b21f=_0x4e20b4['uint32']();switch(_0x45b21f>>>0x3){case 0x1:_0x407c24['version']=_0x4e20b4['uint32']();break;case 0x2:_0x407c24['buffers']&&_0x407c24['buffers']['length']||(_0x407c24['buffers']=[]),_0x407c24['buffers']['push'](_0x4e20b4['bytes']());break;case 0x3:if(_0x407c24['types']&&_0x407c24['types']['length']||(_0x407c24['types']=[]),0x2==(0x7&_0x45b21f)){for(var _0x556358=_0x4e20b4['uint32']()+_0x4e20b4['pos'];_0x4e20b4['pos']<_0x556358;)_0x407c24['types']['push'](_0x4e20b4['uint32']());}else _0x407c24['types']['push'](_0x4e20b4['uint32']());break;case 0x5:_0x407c24['metadata']&&_0x407c24['metadata']['length']||(_0x407c24['metadata']=[]),_0x407c24['metadata']['push'](_0x48cb19['OperationMetadataDescriptor']['decode'](_0x4e20b4,_0x4e20b4['uint32']()));break;case 0x6:_0x407c24['lastOperationId']=_0x4e20b4['string']();break;case 0x7:_0x407c24['lastOperationAcceptedAt']=_0x4e20b4['string']();break;default:_0x4e20b4['skipType'](0x7&_0x45b21f);}}return _0x407c24;},_0x73ce03['decodeDelimited']=function(_0x5a3305){return _0x5a3305 instanceof _0x4537d0||(_0x5a3305=new _0x4537d0(_0x5a3305)),this['decode'](_0x5a3305,_0x5a3305['uint32']());},_0x73ce03['verify']=function(_0x116f21){if('object'!=typeof _0x116f21||null===_0x116f21)return'object\x20expected';if(null!=_0x116f21['version']&&_0x116f21['hasOwnProperty']('version')&&!_0x3be80d['isInteger'](_0x116f21['version']))return'version:\x20integer\x20expected';if(null!=_0x116f21['buffers']&&_0x116f21['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x116f21['buffers']))return'buffers:\x20array\x20expected';for(var _0x28a27f=0x0;_0x28a27f<_0x116f21['buffers']['length'];++_0x28a27f)if(!(_0x116f21['buffers'][_0x28a27f]&&'number'==typeof _0x116f21['buffers'][_0x28a27f]['length']||_0x3be80d['isString'](_0x116f21['buffers'][_0x28a27f])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x116f21['types']&&_0x116f21['hasOwnProperty']('types')){if(!Array['isArray'](_0x116f21['types']))return'types:\x20array\x20expected';for(_0x28a27f=0x0;_0x28a27f<_0x116f21['types']['length'];++_0x28a27f)if(!_0x3be80d['isInteger'](_0x116f21['types'][_0x28a27f]))return'types:\x20integer[]\x20expected';}if(null!=_0x116f21['metadata']&&_0x116f21['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x116f21['metadata']))return'metadata:\x20array\x20expected';for(_0x28a27f=0x0;_0x28a27f<_0x116f21['metadata']['length'];++_0x28a27f){var _0x5b5ce3=_0x48cb19['OperationMetadataDescriptor']['verify'](_0x116f21['metadata'][_0x28a27f]);if(_0x5b5ce3)return'metadata.'+_0x5b5ce3;}}return null!=_0x116f21['lastOperationId']&&_0x116f21['hasOwnProperty']('lastOperationId')&&!_0x3be80d['isString'](_0x116f21['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x116f21['lastOperationAcceptedAt']&&_0x116f21['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x3be80d['isString'](_0x116f21['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x73ce03['fromObject']=function(_0x5d6123){if(_0x5d6123 instanceof _0x48cb19['CollaborativeEditingResponse'])return _0x5d6123;var _0x469916=new _0x48cb19['CollaborativeEditingResponse']();if(null!=_0x5d6123['version']&&(_0x469916['version']=_0x5d6123['version']>>>0x0),_0x5d6123['buffers']){if(!Array['isArray'](_0x5d6123['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x469916['buffers']=[];for(var _0x2b6b8b=0x0;_0x2b6b8b<_0x5d6123['buffers']['length'];++_0x2b6b8b)'string'==typeof _0x5d6123['buffers'][_0x2b6b8b]?_0x3be80d['base64']['decode'](_0x5d6123['buffers'][_0x2b6b8b],_0x469916['buffers'][_0x2b6b8b]=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x5d6123['buffers'][_0x2b6b8b])),0x0):_0x5d6123['buffers'][_0x2b6b8b]['length']>=0x0&&(_0x469916['buffers'][_0x2b6b8b]=_0x5d6123['buffers'][_0x2b6b8b]);}if(_0x5d6123['types']){if(!Array['isArray'](_0x5d6123['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x469916['types']=[],_0x2b6b8b=0x0;_0x2b6b8b<_0x5d6123['types']['length'];++_0x2b6b8b)_0x469916['types'][_0x2b6b8b]=_0x5d6123['types'][_0x2b6b8b]>>>0x0;}if(_0x5d6123['metadata']){if(!Array['isArray'](_0x5d6123['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x469916['metadata']=[],_0x2b6b8b=0x0;_0x2b6b8b<_0x5d6123['metadata']['length'];++_0x2b6b8b){if('object'!=typeof _0x5d6123['metadata'][_0x2b6b8b])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x469916['metadata'][_0x2b6b8b]=_0x48cb19['OperationMetadataDescriptor']['fromObject'](_0x5d6123['metadata'][_0x2b6b8b]);}}return null!=_0x5d6123['lastOperationId']&&(_0x469916['lastOperationId']=String(_0x5d6123['lastOperationId'])),null!=_0x5d6123['lastOperationAcceptedAt']&&(_0x469916['lastOperationAcceptedAt']=String(_0x5d6123['lastOperationAcceptedAt'])),_0x469916;},_0x73ce03['toObject']=function(_0x161ba2,_0x207d44){_0x207d44||(_0x207d44={});var _0x590fcf={};if((_0x207d44['arrays']||_0x207d44['defaults'])&&(_0x590fcf['buffers']=[],_0x590fcf['types']=[],_0x590fcf['metadata']=[]),_0x207d44['defaults']&&(_0x590fcf['version']=0x0,_0x590fcf['lastOperationId']='',_0x590fcf['lastOperationAcceptedAt']=''),null!=_0x161ba2['version']&&_0x161ba2['hasOwnProperty']('version')&&(_0x590fcf['version']=_0x161ba2['version']),_0x161ba2['buffers']&&_0x161ba2['buffers']['length']){_0x590fcf['buffers']=[];for(var _0xbd7f22=0x0;_0xbd7f22<_0x161ba2['buffers']['length'];++_0xbd7f22)_0x590fcf['buffers'][_0xbd7f22]=_0x207d44['bytes']===String?_0x3be80d['base64']['encode'](_0x161ba2['buffers'][_0xbd7f22],0x0,_0x161ba2['buffers'][_0xbd7f22]['length']):_0x207d44['bytes']===Array?Array['prototype']['slice']['call'](_0x161ba2['buffers'][_0xbd7f22]):_0x161ba2['buffers'][_0xbd7f22];}if(_0x161ba2['types']&&_0x161ba2['types']['length']){for(_0x590fcf['types']=[],_0xbd7f22=0x0;_0xbd7f22<_0x161ba2['types']['length'];++_0xbd7f22)_0x590fcf['types'][_0xbd7f22]=_0x161ba2['types'][_0xbd7f22];}if(_0x161ba2['metadata']&&_0x161ba2['metadata']['length']){for(_0x590fcf['metadata']=[],_0xbd7f22=0x0;_0xbd7f22<_0x161ba2['metadata']['length'];++_0xbd7f22)_0x590fcf['metadata'][_0xbd7f22]=_0x48cb19['OperationMetadataDescriptor']['toObject'](_0x161ba2['metadata'][_0xbd7f22],_0x207d44);}return null!=_0x161ba2['lastOperationId']&&_0x161ba2['hasOwnProperty']('lastOperationId')&&(_0x590fcf['lastOperationId']=_0x161ba2['lastOperationId']),null!=_0x161ba2['lastOperationAcceptedAt']&&_0x161ba2['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x590fcf['lastOperationAcceptedAt']=_0x161ba2['lastOperationAcceptedAt']),_0x590fcf;},_0x73ce03['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x73ce03['getTypeUrl']=function(_0x27b480){return void 0x0===_0x27b480&&(_0x27b480='type.googleapis.com'),_0x27b480+'/CollaborativeEditingResponse';},_0x73ce03;}()),_0x48cb19['GetDocumentDetailsResponse']=(function(){function _0x21fc6f(_0x18acb6){if(_0x18acb6){for(var _0x520a8c=Object['keys'](_0x18acb6),_0x457f44=0x0;_0x457f44<_0x520a8c['length'];++_0x457f44)null!=_0x18acb6[_0x520a8c[_0x457f44]]&&(this[_0x520a8c[_0x457f44]]=_0x18acb6[_0x520a8c[_0x457f44]]);}}return _0x21fc6f['prototype']['lastDocumentSessionId']='',_0x21fc6f['prototype']['lastDocumentSessionOperationId']='',_0x21fc6f['prototype']['currentDocumentSessionId']='',_0x21fc6f['prototype']['currentDocumentSessionVersion']=0x0,_0x21fc6f['prototype']['currentDocumentSessionOperationId']='',_0x21fc6f['create']=function(_0x2fa5ea){return new _0x21fc6f(_0x2fa5ea);},_0x21fc6f['encode']=function(_0x25fa72,_0x2d3a37){return _0x2d3a37||(_0x2d3a37=_0x5a9410['create']()),null!=_0x25fa72['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25fa72,'lastDocumentSessionId')&&_0x2d3a37['uint32'](0xa)['string'](_0x25fa72['lastDocumentSessionId']),null!=_0x25fa72['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25fa72,'lastDocumentSessionOperationId')&&_0x2d3a37['uint32'](0x12)['string'](_0x25fa72['lastDocumentSessionOperationId']),null!=_0x25fa72['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25fa72,'currentDocumentSessionId')&&_0x2d3a37['uint32'](0x1a)['string'](_0x25fa72['currentDocumentSessionId']),null!=_0x25fa72['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x25fa72,'currentDocumentSessionVersion')&&_0x2d3a37['uint32'](0x20)['uint32'](_0x25fa72['currentDocumentSessionVersion']),null!=_0x25fa72['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25fa72,'currentDocumentSessionOperationId')&&_0x2d3a37['uint32'](0x2a)['string'](_0x25fa72['currentDocumentSessionOperationId']),_0x2d3a37;},_0x21fc6f['encodeDelimited']=function(_0x37357b,_0x49129b){return this['encode'](_0x37357b,_0x49129b)['ldelim']();},_0x21fc6f['decode']=function(_0x5d537e,_0x22cebb){_0x5d537e instanceof _0x4537d0||(_0x5d537e=_0x4537d0['create'](_0x5d537e));for(var _0x4dcac5=void 0x0===_0x22cebb?_0x5d537e['len']:_0x5d537e['pos']+_0x22cebb,_0x11cca1=new _0x48cb19['GetDocumentDetailsResponse']();_0x5d537e['pos']<_0x4dcac5;){var _0x522391=_0x5d537e['uint32']();switch(_0x522391>>>0x3){case 0x1:_0x11cca1['lastDocumentSessionId']=_0x5d537e['string']();break;case 0x2:_0x11cca1['lastDocumentSessionOperationId']=_0x5d537e['string']();break;case 0x3:_0x11cca1['currentDocumentSessionId']=_0x5d537e['string']();break;case 0x4:_0x11cca1['currentDocumentSessionVersion']=_0x5d537e['uint32']();break;case 0x5:_0x11cca1['currentDocumentSessionOperationId']=_0x5d537e['string']();break;default:_0x5d537e['skipType'](0x7&_0x522391);}}return _0x11cca1;},_0x21fc6f['decodeDelimited']=function(_0x2c0015){return _0x2c0015 instanceof _0x4537d0||(_0x2c0015=new _0x4537d0(_0x2c0015)),this['decode'](_0x2c0015,_0x2c0015['uint32']());},_0x21fc6f['verify']=function(_0x4491ba){return'object'!=typeof _0x4491ba||null===_0x4491ba?'object\x20expected':null!=_0x4491ba['lastDocumentSessionId']&&_0x4491ba['hasOwnProperty']('lastDocumentSessionId')&&!_0x3be80d['isString'](_0x4491ba['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x4491ba['lastDocumentSessionOperationId']&&_0x4491ba['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x3be80d['isString'](_0x4491ba['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x4491ba['currentDocumentSessionId']&&_0x4491ba['hasOwnProperty']('currentDocumentSessionId')&&!_0x3be80d['isString'](_0x4491ba['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x4491ba['currentDocumentSessionVersion']&&_0x4491ba['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x3be80d['isInteger'](_0x4491ba['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x4491ba['currentDocumentSessionOperationId']&&_0x4491ba['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x3be80d['isString'](_0x4491ba['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x21fc6f['fromObject']=function(_0x9e3e24){if(_0x9e3e24 instanceof _0x48cb19['GetDocumentDetailsResponse'])return _0x9e3e24;var _0x482e95=new _0x48cb19['GetDocumentDetailsResponse']();return null!=_0x9e3e24['lastDocumentSessionId']&&(_0x482e95['lastDocumentSessionId']=String(_0x9e3e24['lastDocumentSessionId'])),null!=_0x9e3e24['lastDocumentSessionOperationId']&&(_0x482e95['lastDocumentSessionOperationId']=String(_0x9e3e24['lastDocumentSessionOperationId'])),null!=_0x9e3e24['currentDocumentSessionId']&&(_0x482e95['currentDocumentSessionId']=String(_0x9e3e24['currentDocumentSessionId'])),null!=_0x9e3e24['currentDocumentSessionVersion']&&(_0x482e95['currentDocumentSessionVersion']=_0x9e3e24['currentDocumentSessionVersion']>>>0x0),null!=_0x9e3e24['currentDocumentSessionOperationId']&&(_0x482e95['currentDocumentSessionOperationId']=String(_0x9e3e24['currentDocumentSessionOperationId'])),_0x482e95;},_0x21fc6f['toObject']=function(_0x194240,_0x16b806){_0x16b806||(_0x16b806={});var _0x37da05={};return _0x16b806['defaults']&&(_0x37da05['lastDocumentSessionId']='',_0x37da05['lastDocumentSessionOperationId']='',_0x37da05['currentDocumentSessionId']='',_0x37da05['currentDocumentSessionVersion']=0x0,_0x37da05['currentDocumentSessionOperationId']=''),null!=_0x194240['lastDocumentSessionId']&&_0x194240['hasOwnProperty']('lastDocumentSessionId')&&(_0x37da05['lastDocumentSessionId']=_0x194240['lastDocumentSessionId']),null!=_0x194240['lastDocumentSessionOperationId']&&_0x194240['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x37da05['lastDocumentSessionOperationId']=_0x194240['lastDocumentSessionOperationId']),null!=_0x194240['currentDocumentSessionId']&&_0x194240['hasOwnProperty']('currentDocumentSessionId')&&(_0x37da05['currentDocumentSessionId']=_0x194240['currentDocumentSessionId']),null!=_0x194240['currentDocumentSessionVersion']&&_0x194240['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x37da05['currentDocumentSessionVersion']=_0x194240['currentDocumentSessionVersion']),null!=_0x194240['currentDocumentSessionOperationId']&&_0x194240['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x37da05['currentDocumentSessionOperationId']=_0x194240['currentDocumentSessionOperationId']),_0x37da05;},_0x21fc6f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x21fc6f['getTypeUrl']=function(_0x161a16){return void 0x0===_0x161a16&&(_0x161a16='type.googleapis.com'),_0x161a16+'/GetDocumentDetailsResponse';},_0x21fc6f;}()),_0x48cb19['CommentDescriptor']=(function(){function _0x51b28f(_0x3e2180){if(_0x3e2180){for(var _0x1e32d1=Object['keys'](_0x3e2180),_0x93620b=0x0;_0x93620b<_0x1e32d1['length'];++_0x93620b)null!=_0x3e2180[_0x1e32d1[_0x93620b]]&&(this[_0x1e32d1[_0x93620b]]=_0x3e2180[_0x1e32d1[_0x93620b]]);}}return _0x51b28f['prototype']['commentId']='',_0x51b28f['prototype']['commentThreadId']='',_0x51b28f['prototype']['userId']='',_0x51b28f['prototype']['content']='',_0x51b28f['prototype']['documentId']='',_0x51b28f['prototype']['createdAt']='',_0x51b28f['prototype']['attributes']='',_0x51b28f['create']=function(_0xfae1ea){return new _0x51b28f(_0xfae1ea);},_0x51b28f['encode']=function(_0x123e0d,_0x3aadbb){return _0x3aadbb||(_0x3aadbb=_0x5a9410['create']()),null!=_0x123e0d['commentId']&&Object['hasOwnProperty']['call'](_0x123e0d,'commentId')&&_0x3aadbb['uint32'](0xa)['string'](_0x123e0d['commentId']),null!=_0x123e0d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x123e0d,'commentThreadId')&&_0x3aadbb['uint32'](0x12)['string'](_0x123e0d['commentThreadId']),null!=_0x123e0d['userId']&&Object['hasOwnProperty']['call'](_0x123e0d,'userId')&&_0x3aadbb['uint32'](0x1a)['string'](_0x123e0d['userId']),null!=_0x123e0d['content']&&Object['hasOwnProperty']['call'](_0x123e0d,'content')&&_0x3aadbb['uint32'](0x22)['string'](_0x123e0d['content']),null!=_0x123e0d['documentId']&&Object['hasOwnProperty']['call'](_0x123e0d,'documentId')&&_0x3aadbb['uint32'](0x2a)['string'](_0x123e0d['documentId']),null!=_0x123e0d['createdAt']&&Object['hasOwnProperty']['call'](_0x123e0d,'createdAt')&&_0x3aadbb['uint32'](0x32)['string'](_0x123e0d['createdAt']),null!=_0x123e0d['attributes']&&Object['hasOwnProperty']['call'](_0x123e0d,'attributes')&&_0x3aadbb['uint32'](0x3a)['string'](_0x123e0d['attributes']),_0x3aadbb;},_0x51b28f['encodeDelimited']=function(_0x2fb1cf,_0x463548){return this['encode'](_0x2fb1cf,_0x463548)['ldelim']();},_0x51b28f['decode']=function(_0x4f4f38,_0x3d9a89){_0x4f4f38 instanceof _0x4537d0||(_0x4f4f38=_0x4537d0['create'](_0x4f4f38));for(var _0x34caf2=void 0x0===_0x3d9a89?_0x4f4f38['len']:_0x4f4f38['pos']+_0x3d9a89,_0x33891b=new _0x48cb19['CommentDescriptor']();_0x4f4f38['pos']<_0x34caf2;){var _0x513346=_0x4f4f38['uint32']();switch(_0x513346>>>0x3){case 0x1:_0x33891b['commentId']=_0x4f4f38['string']();break;case 0x2:_0x33891b['commentThreadId']=_0x4f4f38['string']();break;case 0x3:_0x33891b['userId']=_0x4f4f38['string']();break;case 0x4:_0x33891b['content']=_0x4f4f38['string']();break;case 0x5:_0x33891b['documentId']=_0x4f4f38['string']();break;case 0x6:_0x33891b['createdAt']=_0x4f4f38['string']();break;case 0x7:_0x33891b['attributes']=_0x4f4f38['string']();break;default:_0x4f4f38['skipType'](0x7&_0x513346);}}return _0x33891b;},_0x51b28f['decodeDelimited']=function(_0x445d04){return _0x445d04 instanceof _0x4537d0||(_0x445d04=new _0x4537d0(_0x445d04)),this['decode'](_0x445d04,_0x445d04['uint32']());},_0x51b28f['verify']=function(_0x9a7b90){return'object'!=typeof _0x9a7b90||null===_0x9a7b90?'object\x20expected':null!=_0x9a7b90['commentId']&&_0x9a7b90['hasOwnProperty']('commentId')&&!_0x3be80d['isString'](_0x9a7b90['commentId'])?'commentId:\x20string\x20expected':null!=_0x9a7b90['commentThreadId']&&_0x9a7b90['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x9a7b90['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x9a7b90['userId']&&_0x9a7b90['hasOwnProperty']('userId')&&!_0x3be80d['isString'](_0x9a7b90['userId'])?'userId:\x20string\x20expected':null!=_0x9a7b90['content']&&_0x9a7b90['hasOwnProperty']('content')&&!_0x3be80d['isString'](_0x9a7b90['content'])?'content:\x20string\x20expected':null!=_0x9a7b90['documentId']&&_0x9a7b90['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x9a7b90['documentId'])?'documentId:\x20string\x20expected':null!=_0x9a7b90['createdAt']&&_0x9a7b90['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x9a7b90['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x9a7b90['attributes']&&_0x9a7b90['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x9a7b90['attributes'])?'attributes:\x20string\x20expected':null;},_0x51b28f['fromObject']=function(_0x59105e){if(_0x59105e instanceof _0x48cb19['CommentDescriptor'])return _0x59105e;var _0x4f651e=new _0x48cb19['CommentDescriptor']();return null!=_0x59105e['commentId']&&(_0x4f651e['commentId']=String(_0x59105e['commentId'])),null!=_0x59105e['commentThreadId']&&(_0x4f651e['commentThreadId']=String(_0x59105e['commentThreadId'])),null!=_0x59105e['userId']&&(_0x4f651e['userId']=String(_0x59105e['userId'])),null!=_0x59105e['content']&&(_0x4f651e['content']=String(_0x59105e['content'])),null!=_0x59105e['documentId']&&(_0x4f651e['documentId']=String(_0x59105e['documentId'])),null!=_0x59105e['createdAt']&&(_0x4f651e['createdAt']=String(_0x59105e['createdAt'])),null!=_0x59105e['attributes']&&(_0x4f651e['attributes']=String(_0x59105e['attributes'])),_0x4f651e;},_0x51b28f['toObject']=function(_0xdba2ba,_0x246795){_0x246795||(_0x246795={});var _0x3b3212={};return _0x246795['defaults']&&(_0x3b3212['commentId']='',_0x3b3212['commentThreadId']='',_0x3b3212['userId']='',_0x3b3212['content']='',_0x3b3212['documentId']='',_0x3b3212['createdAt']='',_0x3b3212['attributes']=''),null!=_0xdba2ba['commentId']&&_0xdba2ba['hasOwnProperty']('commentId')&&(_0x3b3212['commentId']=_0xdba2ba['commentId']),null!=_0xdba2ba['commentThreadId']&&_0xdba2ba['hasOwnProperty']('commentThreadId')&&(_0x3b3212['commentThreadId']=_0xdba2ba['commentThreadId']),null!=_0xdba2ba['userId']&&_0xdba2ba['hasOwnProperty']('userId')&&(_0x3b3212['userId']=_0xdba2ba['userId']),null!=_0xdba2ba['content']&&_0xdba2ba['hasOwnProperty']('content')&&(_0x3b3212['content']=_0xdba2ba['content']),null!=_0xdba2ba['documentId']&&_0xdba2ba['hasOwnProperty']('documentId')&&(_0x3b3212['documentId']=_0xdba2ba['documentId']),null!=_0xdba2ba['createdAt']&&_0xdba2ba['hasOwnProperty']('createdAt')&&(_0x3b3212['createdAt']=_0xdba2ba['createdAt']),null!=_0xdba2ba['attributes']&&_0xdba2ba['hasOwnProperty']('attributes')&&(_0x3b3212['attributes']=_0xdba2ba['attributes']),_0x3b3212;},_0x51b28f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x51b28f['getTypeUrl']=function(_0x5a8023){return void 0x0===_0x5a8023&&(_0x5a8023='type.googleapis.com'),_0x5a8023+'/CommentDescriptor';},_0x51b28f;}()),_0x48cb19['CommentsThreadDescriptor']=(function(){function _0x1244ee(_0x1baa2e){if(this['comments']=[],_0x1baa2e){for(var _0x89072e=Object['keys'](_0x1baa2e),_0x4fc19f=0x0;_0x4fc19f<_0x89072e['length'];++_0x4fc19f)null!=_0x1baa2e[_0x89072e[_0x4fc19f]]&&(this[_0x89072e[_0x4fc19f]]=_0x1baa2e[_0x89072e[_0x4fc19f]]);}}return _0x1244ee['prototype']['commentThreadId']='',_0x1244ee['prototype']['comments']=_0x3be80d['emptyArray'],_0x1244ee['prototype']['resolvedAt']='',_0x1244ee['prototype']['resolvedBy']='',_0x1244ee['prototype']['context']='',_0x1244ee['prototype']['createdAt']='',_0x1244ee['prototype']['deletedAt']='',_0x1244ee['prototype']['attributes']='',_0x1244ee['prototype']['unlinkedAt']='',_0x1244ee['create']=function(_0x4b54d0){return new _0x1244ee(_0x4b54d0);},_0x1244ee['encode']=function(_0x10143c,_0x29aebb){if(_0x29aebb||(_0x29aebb=_0x5a9410['create']()),null!=_0x10143c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x10143c,'commentThreadId')&&_0x29aebb['uint32'](0xa)['string'](_0x10143c['commentThreadId']),null!=_0x10143c['comments']&&_0x10143c['comments']['length']){for(var _0x330b59=0x0;_0x330b59<_0x10143c['comments']['length'];++_0x330b59)_0x48cb19['CommentDescriptor']['encode'](_0x10143c['comments'][_0x330b59],_0x29aebb['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x10143c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x10143c,'resolvedAt')&&_0x29aebb['uint32'](0x1a)['string'](_0x10143c['resolvedAt']),null!=_0x10143c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x10143c,'resolvedBy')&&_0x29aebb['uint32'](0x22)['string'](_0x10143c['resolvedBy']),null!=_0x10143c['context']&&Object['hasOwnProperty']['call'](_0x10143c,'context')&&_0x29aebb['uint32'](0x2a)['string'](_0x10143c['context']),null!=_0x10143c['createdAt']&&Object['hasOwnProperty']['call'](_0x10143c,'createdAt')&&_0x29aebb['uint32'](0x32)['string'](_0x10143c['createdAt']),null!=_0x10143c['deletedAt']&&Object['hasOwnProperty']['call'](_0x10143c,'deletedAt')&&_0x29aebb['uint32'](0x3a)['string'](_0x10143c['deletedAt']),null!=_0x10143c['attributes']&&Object['hasOwnProperty']['call'](_0x10143c,'attributes')&&_0x29aebb['uint32'](0x42)['string'](_0x10143c['attributes']),null!=_0x10143c['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x10143c,'unlinkedAt')&&_0x29aebb['uint32'](0x4a)['string'](_0x10143c['unlinkedAt']),_0x29aebb;},_0x1244ee['encodeDelimited']=function(_0x53734a,_0x32a364){return this['encode'](_0x53734a,_0x32a364)['ldelim']();},_0x1244ee['decode']=function(_0x15661a,_0x1a7985){_0x15661a instanceof _0x4537d0||(_0x15661a=_0x4537d0['create'](_0x15661a));for(var _0x5d7ca9=void 0x0===_0x1a7985?_0x15661a['len']:_0x15661a['pos']+_0x1a7985,_0x2d7001=new _0x48cb19['CommentsThreadDescriptor']();_0x15661a['pos']<_0x5d7ca9;){var _0x382863=_0x15661a['uint32']();switch(_0x382863>>>0x3){case 0x1:_0x2d7001['commentThreadId']=_0x15661a['string']();break;case 0x2:_0x2d7001['comments']&&_0x2d7001['comments']['length']||(_0x2d7001['comments']=[]),_0x2d7001['comments']['push'](_0x48cb19['CommentDescriptor']['decode'](_0x15661a,_0x15661a['uint32']()));break;case 0x3:_0x2d7001['resolvedAt']=_0x15661a['string']();break;case 0x4:_0x2d7001['resolvedBy']=_0x15661a['string']();break;case 0x5:_0x2d7001['context']=_0x15661a['string']();break;case 0x6:_0x2d7001['createdAt']=_0x15661a['string']();break;case 0x7:_0x2d7001['deletedAt']=_0x15661a['string']();break;case 0x8:_0x2d7001['attributes']=_0x15661a['string']();break;case 0x9:_0x2d7001['unlinkedAt']=_0x15661a['string']();break;default:_0x15661a['skipType'](0x7&_0x382863);}}return _0x2d7001;},_0x1244ee['decodeDelimited']=function(_0x80b13e){return _0x80b13e instanceof _0x4537d0||(_0x80b13e=new _0x4537d0(_0x80b13e)),this['decode'](_0x80b13e,_0x80b13e['uint32']());},_0x1244ee['verify']=function(_0x26a4ef){if('object'!=typeof _0x26a4ef||null===_0x26a4ef)return'object\x20expected';if(null!=_0x26a4ef['commentThreadId']&&_0x26a4ef['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x26a4ef['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x26a4ef['comments']&&_0x26a4ef['hasOwnProperty']('comments')){if(!Array['isArray'](_0x26a4ef['comments']))return'comments:\x20array\x20expected';for(var _0x2a3044=0x0;_0x2a3044<_0x26a4ef['comments']['length'];++_0x2a3044){var _0x3e1d94=_0x48cb19['CommentDescriptor']['verify'](_0x26a4ef['comments'][_0x2a3044]);if(_0x3e1d94)return'comments.'+_0x3e1d94;}}return null!=_0x26a4ef['resolvedAt']&&_0x26a4ef['hasOwnProperty']('resolvedAt')&&!_0x3be80d['isString'](_0x26a4ef['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x26a4ef['resolvedBy']&&_0x26a4ef['hasOwnProperty']('resolvedBy')&&!_0x3be80d['isString'](_0x26a4ef['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x26a4ef['context']&&_0x26a4ef['hasOwnProperty']('context')&&!_0x3be80d['isString'](_0x26a4ef['context'])?'context:\x20string\x20expected':null!=_0x26a4ef['createdAt']&&_0x26a4ef['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x26a4ef['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x26a4ef['deletedAt']&&_0x26a4ef['hasOwnProperty']('deletedAt')&&!_0x3be80d['isString'](_0x26a4ef['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x26a4ef['attributes']&&_0x26a4ef['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x26a4ef['attributes'])?'attributes:\x20string\x20expected':null!=_0x26a4ef['unlinkedAt']&&_0x26a4ef['hasOwnProperty']('unlinkedAt')&&!_0x3be80d['isString'](_0x26a4ef['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1244ee['fromObject']=function(_0x1225ca){if(_0x1225ca instanceof _0x48cb19['CommentsThreadDescriptor'])return _0x1225ca;var _0xb0a2b0=new _0x48cb19['CommentsThreadDescriptor']();if(null!=_0x1225ca['commentThreadId']&&(_0xb0a2b0['commentThreadId']=String(_0x1225ca['commentThreadId'])),_0x1225ca['comments']){if(!Array['isArray'](_0x1225ca['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0xb0a2b0['comments']=[];for(var _0x246f2f=0x0;_0x246f2f<_0x1225ca['comments']['length'];++_0x246f2f){if('object'!=typeof _0x1225ca['comments'][_0x246f2f])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0xb0a2b0['comments'][_0x246f2f]=_0x48cb19['CommentDescriptor']['fromObject'](_0x1225ca['comments'][_0x246f2f]);}}return null!=_0x1225ca['resolvedAt']&&(_0xb0a2b0['resolvedAt']=String(_0x1225ca['resolvedAt'])),null!=_0x1225ca['resolvedBy']&&(_0xb0a2b0['resolvedBy']=String(_0x1225ca['resolvedBy'])),null!=_0x1225ca['context']&&(_0xb0a2b0['context']=String(_0x1225ca['context'])),null!=_0x1225ca['createdAt']&&(_0xb0a2b0['createdAt']=String(_0x1225ca['createdAt'])),null!=_0x1225ca['deletedAt']&&(_0xb0a2b0['deletedAt']=String(_0x1225ca['deletedAt'])),null!=_0x1225ca['attributes']&&(_0xb0a2b0['attributes']=String(_0x1225ca['attributes'])),null!=_0x1225ca['unlinkedAt']&&(_0xb0a2b0['unlinkedAt']=String(_0x1225ca['unlinkedAt'])),_0xb0a2b0;},_0x1244ee['toObject']=function(_0x256625,_0x2abd77){_0x2abd77||(_0x2abd77={});var _0x305a72={};if((_0x2abd77['arrays']||_0x2abd77['defaults'])&&(_0x305a72['comments']=[]),_0x2abd77['defaults']&&(_0x305a72['commentThreadId']='',_0x305a72['resolvedAt']='',_0x305a72['resolvedBy']='',_0x305a72['context']='',_0x305a72['createdAt']='',_0x305a72['deletedAt']='',_0x305a72['attributes']='',_0x305a72['unlinkedAt']=''),null!=_0x256625['commentThreadId']&&_0x256625['hasOwnProperty']('commentThreadId')&&(_0x305a72['commentThreadId']=_0x256625['commentThreadId']),_0x256625['comments']&&_0x256625['comments']['length']){_0x305a72['comments']=[];for(var _0x112162=0x0;_0x112162<_0x256625['comments']['length'];++_0x112162)_0x305a72['comments'][_0x112162]=_0x48cb19['CommentDescriptor']['toObject'](_0x256625['comments'][_0x112162],_0x2abd77);}return null!=_0x256625['resolvedAt']&&_0x256625['hasOwnProperty']('resolvedAt')&&(_0x305a72['resolvedAt']=_0x256625['resolvedAt']),null!=_0x256625['resolvedBy']&&_0x256625['hasOwnProperty']('resolvedBy')&&(_0x305a72['resolvedBy']=_0x256625['resolvedBy']),null!=_0x256625['context']&&_0x256625['hasOwnProperty']('context')&&(_0x305a72['context']=_0x256625['context']),null!=_0x256625['createdAt']&&_0x256625['hasOwnProperty']('createdAt')&&(_0x305a72['createdAt']=_0x256625['createdAt']),null!=_0x256625['deletedAt']&&_0x256625['hasOwnProperty']('deletedAt')&&(_0x305a72['deletedAt']=_0x256625['deletedAt']),null!=_0x256625['attributes']&&_0x256625['hasOwnProperty']('attributes')&&(_0x305a72['attributes']=_0x256625['attributes']),null!=_0x256625['unlinkedAt']&&_0x256625['hasOwnProperty']('unlinkedAt')&&(_0x305a72['unlinkedAt']=_0x256625['unlinkedAt']),_0x305a72;},_0x1244ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1244ee['getTypeUrl']=function(_0x19e8ad){return void 0x0===_0x19e8ad&&(_0x19e8ad='type.googleapis.com'),_0x19e8ad+'/CommentsThreadDescriptor';},_0x1244ee;}()),_0x48cb19['CommentThreadAddedCommentDescriptor']=(function(){function _0x104638(_0x7b6f5b){if(_0x7b6f5b){for(var _0x436cae=Object['keys'](_0x7b6f5b),_0x1f0679=0x0;_0x1f0679<_0x436cae['length'];++_0x1f0679)null!=_0x7b6f5b[_0x436cae[_0x1f0679]]&&(this[_0x436cae[_0x1f0679]]=_0x7b6f5b[_0x436cae[_0x1f0679]]);}}return _0x104638['prototype']['commentId']='',_0x104638['prototype']['createdAt']='',_0x104638['create']=function(_0x2229fd){return new _0x104638(_0x2229fd);},_0x104638['encode']=function(_0x430860,_0x47066b){return _0x47066b||(_0x47066b=_0x5a9410['create']()),null!=_0x430860['commentId']&&Object['hasOwnProperty']['call'](_0x430860,'commentId')&&_0x47066b['uint32'](0xa)['string'](_0x430860['commentId']),null!=_0x430860['createdAt']&&Object['hasOwnProperty']['call'](_0x430860,'createdAt')&&_0x47066b['uint32'](0x12)['string'](_0x430860['createdAt']),_0x47066b;},_0x104638['encodeDelimited']=function(_0x3930b5,_0x5be5a2){return this['encode'](_0x3930b5,_0x5be5a2)['ldelim']();},_0x104638['decode']=function(_0x37c53b,_0x2ab764){_0x37c53b instanceof _0x4537d0||(_0x37c53b=_0x4537d0['create'](_0x37c53b));for(var _0x27fa05=void 0x0===_0x2ab764?_0x37c53b['len']:_0x37c53b['pos']+_0x2ab764,_0x52c25d=new _0x48cb19['CommentThreadAddedCommentDescriptor']();_0x37c53b['pos']<_0x27fa05;){var _0x163793=_0x37c53b['uint32']();switch(_0x163793>>>0x3){case 0x1:_0x52c25d['commentId']=_0x37c53b['string']();break;case 0x2:_0x52c25d['createdAt']=_0x37c53b['string']();break;default:_0x37c53b['skipType'](0x7&_0x163793);}}return _0x52c25d;},_0x104638['decodeDelimited']=function(_0x317f18){return _0x317f18 instanceof _0x4537d0||(_0x317f18=new _0x4537d0(_0x317f18)),this['decode'](_0x317f18,_0x317f18['uint32']());},_0x104638['verify']=function(_0x20476d){return'object'!=typeof _0x20476d||null===_0x20476d?'object\x20expected':null!=_0x20476d['commentId']&&_0x20476d['hasOwnProperty']('commentId')&&!_0x3be80d['isString'](_0x20476d['commentId'])?'commentId:\x20string\x20expected':null!=_0x20476d['createdAt']&&_0x20476d['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x20476d['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x104638['fromObject']=function(_0x52ff64){if(_0x52ff64 instanceof _0x48cb19['CommentThreadAddedCommentDescriptor'])return _0x52ff64;var _0x39a25d=new _0x48cb19['CommentThreadAddedCommentDescriptor']();return null!=_0x52ff64['commentId']&&(_0x39a25d['commentId']=String(_0x52ff64['commentId'])),null!=_0x52ff64['createdAt']&&(_0x39a25d['createdAt']=String(_0x52ff64['createdAt'])),_0x39a25d;},_0x104638['toObject']=function(_0x57c095,_0x438b59){_0x438b59||(_0x438b59={});var _0x47b595={};return _0x438b59['defaults']&&(_0x47b595['commentId']='',_0x47b595['createdAt']=''),null!=_0x57c095['commentId']&&_0x57c095['hasOwnProperty']('commentId')&&(_0x47b595['commentId']=_0x57c095['commentId']),null!=_0x57c095['createdAt']&&_0x57c095['hasOwnProperty']('createdAt')&&(_0x47b595['createdAt']=_0x57c095['createdAt']),_0x47b595;},_0x104638['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x104638['getTypeUrl']=function(_0x29afd4){return void 0x0===_0x29afd4&&(_0x29afd4='type.googleapis.com'),_0x29afd4+'/CommentThreadAddedCommentDescriptor';},_0x104638;}()),_0x48cb19['CommentsV2AddCommentMessage']=(function(){function _0x4e1bb5(_0x5f4d8a){if(_0x5f4d8a){for(var _0x38daab=Object['keys'](_0x5f4d8a),_0x524ad5=0x0;_0x524ad5<_0x38daab['length'];++_0x524ad5)null!=_0x5f4d8a[_0x38daab[_0x524ad5]]&&(this[_0x38daab[_0x524ad5]]=_0x5f4d8a[_0x38daab[_0x524ad5]]);}}return _0x4e1bb5['prototype']['commentThreadId']='',_0x4e1bb5['prototype']['content']='',_0x4e1bb5['prototype']['documentId']='',_0x4e1bb5['prototype']['commentId']='',_0x4e1bb5['prototype']['createdAt']='',_0x4e1bb5['prototype']['userId']='',_0x4e1bb5['prototype']['attributes']='',_0x4e1bb5['prototype']['commentThread']=null,_0x4e1bb5['create']=function(_0x28355e){return new _0x4e1bb5(_0x28355e);},_0x4e1bb5['encode']=function(_0x38fca5,_0x17cf7a){return _0x17cf7a||(_0x17cf7a=_0x5a9410['create']()),null!=_0x38fca5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x38fca5,'commentThreadId')&&_0x17cf7a['uint32'](0xa)['string'](_0x38fca5['commentThreadId']),null!=_0x38fca5['content']&&Object['hasOwnProperty']['call'](_0x38fca5,'content')&&_0x17cf7a['uint32'](0x12)['string'](_0x38fca5['content']),null!=_0x38fca5['documentId']&&Object['hasOwnProperty']['call'](_0x38fca5,'documentId')&&_0x17cf7a['uint32'](0x1a)['string'](_0x38fca5['documentId']),null!=_0x38fca5['commentId']&&Object['hasOwnProperty']['call'](_0x38fca5,'commentId')&&_0x17cf7a['uint32'](0x22)['string'](_0x38fca5['commentId']),null!=_0x38fca5['createdAt']&&Object['hasOwnProperty']['call'](_0x38fca5,'createdAt')&&_0x17cf7a['uint32'](0x2a)['string'](_0x38fca5['createdAt']),null!=_0x38fca5['userId']&&Object['hasOwnProperty']['call'](_0x38fca5,'userId')&&_0x17cf7a['uint32'](0x32)['string'](_0x38fca5['userId']),null!=_0x38fca5['attributes']&&Object['hasOwnProperty']['call'](_0x38fca5,'attributes')&&_0x17cf7a['uint32'](0x3a)['string'](_0x38fca5['attributes']),null!=_0x38fca5['commentThread']&&Object['hasOwnProperty']['call'](_0x38fca5,'commentThread')&&_0x48cb19['CommentsThreadDescriptor']['encode'](_0x38fca5['commentThread'],_0x17cf7a['uint32'](0x42)['fork']())['ldelim'](),_0x17cf7a;},_0x4e1bb5['encodeDelimited']=function(_0x3589d6,_0x2ae97c){return this['encode'](_0x3589d6,_0x2ae97c)['ldelim']();},_0x4e1bb5['decode']=function(_0x2d5630,_0x5d7890){_0x2d5630 instanceof _0x4537d0||(_0x2d5630=_0x4537d0['create'](_0x2d5630));for(var _0x549a34=void 0x0===_0x5d7890?_0x2d5630['len']:_0x2d5630['pos']+_0x5d7890,_0x32d7dc=new _0x48cb19['CommentsV2AddCommentMessage']();_0x2d5630['pos']<_0x549a34;){var _0x37509f=_0x2d5630['uint32']();switch(_0x37509f>>>0x3){case 0x1:_0x32d7dc['commentThreadId']=_0x2d5630['string']();break;case 0x2:_0x32d7dc['content']=_0x2d5630['string']();break;case 0x3:_0x32d7dc['documentId']=_0x2d5630['string']();break;case 0x4:_0x32d7dc['commentId']=_0x2d5630['string']();break;case 0x5:_0x32d7dc['createdAt']=_0x2d5630['string']();break;case 0x6:_0x32d7dc['userId']=_0x2d5630['string']();break;case 0x7:_0x32d7dc['attributes']=_0x2d5630['string']();break;case 0x8:_0x32d7dc['commentThread']=_0x48cb19['CommentsThreadDescriptor']['decode'](_0x2d5630,_0x2d5630['uint32']());break;default:_0x2d5630['skipType'](0x7&_0x37509f);}}return _0x32d7dc;},_0x4e1bb5['decodeDelimited']=function(_0x117a6c){return _0x117a6c instanceof _0x4537d0||(_0x117a6c=new _0x4537d0(_0x117a6c)),this['decode'](_0x117a6c,_0x117a6c['uint32']());},_0x4e1bb5['verify']=function(_0x61202d){if('object'!=typeof _0x61202d||null===_0x61202d)return'object\x20expected';if(null!=_0x61202d['commentThreadId']&&_0x61202d['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x61202d['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x61202d['content']&&_0x61202d['hasOwnProperty']('content')&&!_0x3be80d['isString'](_0x61202d['content']))return'content:\x20string\x20expected';if(null!=_0x61202d['documentId']&&_0x61202d['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x61202d['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x61202d['commentId']&&_0x61202d['hasOwnProperty']('commentId')&&!_0x3be80d['isString'](_0x61202d['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x61202d['createdAt']&&_0x61202d['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x61202d['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x61202d['userId']&&_0x61202d['hasOwnProperty']('userId')&&!_0x3be80d['isString'](_0x61202d['userId']))return'userId:\x20string\x20expected';if(null!=_0x61202d['attributes']&&_0x61202d['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x61202d['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x61202d['commentThread']&&_0x61202d['hasOwnProperty']('commentThread')){var _0x2aab96=_0x48cb19['CommentsThreadDescriptor']['verify'](_0x61202d['commentThread']);if(_0x2aab96)return'commentThread.'+_0x2aab96;}return null;},_0x4e1bb5['fromObject']=function(_0x11eb73){if(_0x11eb73 instanceof _0x48cb19['CommentsV2AddCommentMessage'])return _0x11eb73;var _0x31740c=new _0x48cb19['CommentsV2AddCommentMessage']();if(null!=_0x11eb73['commentThreadId']&&(_0x31740c['commentThreadId']=String(_0x11eb73['commentThreadId'])),null!=_0x11eb73['content']&&(_0x31740c['content']=String(_0x11eb73['content'])),null!=_0x11eb73['documentId']&&(_0x31740c['documentId']=String(_0x11eb73['documentId'])),null!=_0x11eb73['commentId']&&(_0x31740c['commentId']=String(_0x11eb73['commentId'])),null!=_0x11eb73['createdAt']&&(_0x31740c['createdAt']=String(_0x11eb73['createdAt'])),null!=_0x11eb73['userId']&&(_0x31740c['userId']=String(_0x11eb73['userId'])),null!=_0x11eb73['attributes']&&(_0x31740c['attributes']=String(_0x11eb73['attributes'])),null!=_0x11eb73['commentThread']){if('object'!=typeof _0x11eb73['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x31740c['commentThread']=_0x48cb19['CommentsThreadDescriptor']['fromObject'](_0x11eb73['commentThread']);}return _0x31740c;},_0x4e1bb5['toObject']=function(_0x335a06,_0x5df6cd){_0x5df6cd||(_0x5df6cd={});var _0x489824={};return _0x5df6cd['defaults']&&(_0x489824['commentThreadId']='',_0x489824['content']='',_0x489824['documentId']='',_0x489824['commentId']='',_0x489824['createdAt']='',_0x489824['userId']='',_0x489824['attributes']='',_0x489824['commentThread']=null),null!=_0x335a06['commentThreadId']&&_0x335a06['hasOwnProperty']('commentThreadId')&&(_0x489824['commentThreadId']=_0x335a06['commentThreadId']),null!=_0x335a06['content']&&_0x335a06['hasOwnProperty']('content')&&(_0x489824['content']=_0x335a06['content']),null!=_0x335a06['documentId']&&_0x335a06['hasOwnProperty']('documentId')&&(_0x489824['documentId']=_0x335a06['documentId']),null!=_0x335a06['commentId']&&_0x335a06['hasOwnProperty']('commentId')&&(_0x489824['commentId']=_0x335a06['commentId']),null!=_0x335a06['createdAt']&&_0x335a06['hasOwnProperty']('createdAt')&&(_0x489824['createdAt']=_0x335a06['createdAt']),null!=_0x335a06['userId']&&_0x335a06['hasOwnProperty']('userId')&&(_0x489824['userId']=_0x335a06['userId']),null!=_0x335a06['attributes']&&_0x335a06['hasOwnProperty']('attributes')&&(_0x489824['attributes']=_0x335a06['attributes']),null!=_0x335a06['commentThread']&&_0x335a06['hasOwnProperty']('commentThread')&&(_0x489824['commentThread']=_0x48cb19['CommentsThreadDescriptor']['toObject'](_0x335a06['commentThread'],_0x5df6cd)),_0x489824;},_0x4e1bb5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x4e1bb5['getTypeUrl']=function(_0x4e5b10){return void 0x0===_0x4e5b10&&(_0x4e5b10='type.googleapis.com'),_0x4e5b10+'/CommentsV2AddCommentMessage';},_0x4e1bb5;}()),_0x48cb19['CommentsV2AddCommentThreadMessage']=(function(){function _0x32d8d8(_0xf51817){if(this['comments']=[],_0xf51817){for(var _0x40ee87=Object['keys'](_0xf51817),_0x12ef1a=0x0;_0x12ef1a<_0x40ee87['length'];++_0x12ef1a)null!=_0xf51817[_0x40ee87[_0x12ef1a]]&&(this[_0x40ee87[_0x12ef1a]]=_0xf51817[_0x40ee87[_0x12ef1a]]);}}return _0x32d8d8['prototype']['documentId']='',_0x32d8d8['prototype']['commentThreadId']='',_0x32d8d8['prototype']['context']='',_0x32d8d8['prototype']['createdAt']='',_0x32d8d8['prototype']['resolvedAt']='',_0x32d8d8['prototype']['resolvedBy']='',_0x32d8d8['prototype']['attributes']='',_0x32d8d8['prototype']['deletedAt']='',_0x32d8d8['prototype']['comments']=_0x3be80d['emptyArray'],_0x32d8d8['create']=function(_0x708762){return new _0x32d8d8(_0x708762);},_0x32d8d8['encode']=function(_0x3b8307,_0x5de50d){if(_0x5de50d||(_0x5de50d=_0x5a9410['create']()),null!=_0x3b8307['documentId']&&Object['hasOwnProperty']['call'](_0x3b8307,'documentId')&&_0x5de50d['uint32'](0xa)['string'](_0x3b8307['documentId']),null!=_0x3b8307['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3b8307,'commentThreadId')&&_0x5de50d['uint32'](0x12)['string'](_0x3b8307['commentThreadId']),null!=_0x3b8307['context']&&Object['hasOwnProperty']['call'](_0x3b8307,'context')&&_0x5de50d['uint32'](0x1a)['string'](_0x3b8307['context']),null!=_0x3b8307['createdAt']&&Object['hasOwnProperty']['call'](_0x3b8307,'createdAt')&&_0x5de50d['uint32'](0x22)['string'](_0x3b8307['createdAt']),null!=_0x3b8307['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3b8307,'resolvedAt')&&_0x5de50d['uint32'](0x2a)['string'](_0x3b8307['resolvedAt']),null!=_0x3b8307['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3b8307,'resolvedBy')&&_0x5de50d['uint32'](0x32)['string'](_0x3b8307['resolvedBy']),null!=_0x3b8307['attributes']&&Object['hasOwnProperty']['call'](_0x3b8307,'attributes')&&_0x5de50d['uint32'](0x3a)['string'](_0x3b8307['attributes']),null!=_0x3b8307['deletedAt']&&Object['hasOwnProperty']['call'](_0x3b8307,'deletedAt')&&_0x5de50d['uint32'](0x42)['string'](_0x3b8307['deletedAt']),null!=_0x3b8307['comments']&&_0x3b8307['comments']['length']){for(var _0xe55ee3=0x0;_0xe55ee3<_0x3b8307['comments']['length'];++_0xe55ee3)_0x48cb19['CommentDescriptor']['encode'](_0x3b8307['comments'][_0xe55ee3],_0x5de50d['uint32'](0x4a)['fork']())['ldelim']();}return _0x5de50d;},_0x32d8d8['encodeDelimited']=function(_0x11926f,_0xc30243){return this['encode'](_0x11926f,_0xc30243)['ldelim']();},_0x32d8d8['decode']=function(_0x4c8bfa,_0x767a43){_0x4c8bfa instanceof _0x4537d0||(_0x4c8bfa=_0x4537d0['create'](_0x4c8bfa));for(var _0x3be18d=void 0x0===_0x767a43?_0x4c8bfa['len']:_0x4c8bfa['pos']+_0x767a43,_0x5e1861=new _0x48cb19['CommentsV2AddCommentThreadMessage']();_0x4c8bfa['pos']<_0x3be18d;){var _0x1d1fee=_0x4c8bfa['uint32']();switch(_0x1d1fee>>>0x3){case 0x1:_0x5e1861['documentId']=_0x4c8bfa['string']();break;case 0x2:_0x5e1861['commentThreadId']=_0x4c8bfa['string']();break;case 0x3:_0x5e1861['context']=_0x4c8bfa['string']();break;case 0x4:_0x5e1861['createdAt']=_0x4c8bfa['string']();break;case 0x5:_0x5e1861['resolvedAt']=_0x4c8bfa['string']();break;case 0x6:_0x5e1861['resolvedBy']=_0x4c8bfa['string']();break;case 0x7:_0x5e1861['attributes']=_0x4c8bfa['string']();break;case 0x8:_0x5e1861['deletedAt']=_0x4c8bfa['string']();break;case 0x9:_0x5e1861['comments']&&_0x5e1861['comments']['length']||(_0x5e1861['comments']=[]),_0x5e1861['comments']['push'](_0x48cb19['CommentDescriptor']['decode'](_0x4c8bfa,_0x4c8bfa['uint32']()));break;default:_0x4c8bfa['skipType'](0x7&_0x1d1fee);}}return _0x5e1861;},_0x32d8d8['decodeDelimited']=function(_0x5bedd7){return _0x5bedd7 instanceof _0x4537d0||(_0x5bedd7=new _0x4537d0(_0x5bedd7)),this['decode'](_0x5bedd7,_0x5bedd7['uint32']());},_0x32d8d8['verify']=function(_0x4d482b){if('object'!=typeof _0x4d482b||null===_0x4d482b)return'object\x20expected';if(null!=_0x4d482b['documentId']&&_0x4d482b['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x4d482b['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4d482b['commentThreadId']&&_0x4d482b['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x4d482b['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4d482b['context']&&_0x4d482b['hasOwnProperty']('context')&&!_0x3be80d['isString'](_0x4d482b['context']))return'context:\x20string\x20expected';if(null!=_0x4d482b['createdAt']&&_0x4d482b['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x4d482b['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4d482b['resolvedAt']&&_0x4d482b['hasOwnProperty']('resolvedAt')&&!_0x3be80d['isString'](_0x4d482b['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x4d482b['resolvedBy']&&_0x4d482b['hasOwnProperty']('resolvedBy')&&!_0x3be80d['isString'](_0x4d482b['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x4d482b['attributes']&&_0x4d482b['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x4d482b['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4d482b['deletedAt']&&_0x4d482b['hasOwnProperty']('deletedAt')&&!_0x3be80d['isString'](_0x4d482b['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x4d482b['comments']&&_0x4d482b['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4d482b['comments']))return'comments:\x20array\x20expected';for(var _0x3762ca=0x0;_0x3762ca<_0x4d482b['comments']['length'];++_0x3762ca){var _0x43691c=_0x48cb19['CommentDescriptor']['verify'](_0x4d482b['comments'][_0x3762ca]);if(_0x43691c)return'comments.'+_0x43691c;}}return null;},_0x32d8d8['fromObject']=function(_0x453a87){if(_0x453a87 instanceof _0x48cb19['CommentsV2AddCommentThreadMessage'])return _0x453a87;var _0x12a5d6=new _0x48cb19['CommentsV2AddCommentThreadMessage']();if(null!=_0x453a87['documentId']&&(_0x12a5d6['documentId']=String(_0x453a87['documentId'])),null!=_0x453a87['commentThreadId']&&(_0x12a5d6['commentThreadId']=String(_0x453a87['commentThreadId'])),null!=_0x453a87['context']&&(_0x12a5d6['context']=String(_0x453a87['context'])),null!=_0x453a87['createdAt']&&(_0x12a5d6['createdAt']=String(_0x453a87['createdAt'])),null!=_0x453a87['resolvedAt']&&(_0x12a5d6['resolvedAt']=String(_0x453a87['resolvedAt'])),null!=_0x453a87['resolvedBy']&&(_0x12a5d6['resolvedBy']=String(_0x453a87['resolvedBy'])),null!=_0x453a87['attributes']&&(_0x12a5d6['attributes']=String(_0x453a87['attributes'])),null!=_0x453a87['deletedAt']&&(_0x12a5d6['deletedAt']=String(_0x453a87['deletedAt'])),_0x453a87['comments']){if(!Array['isArray'](_0x453a87['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x12a5d6['comments']=[];for(var _0x52fcb1=0x0;_0x52fcb1<_0x453a87['comments']['length'];++_0x52fcb1){if('object'!=typeof _0x453a87['comments'][_0x52fcb1])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x12a5d6['comments'][_0x52fcb1]=_0x48cb19['CommentDescriptor']['fromObject'](_0x453a87['comments'][_0x52fcb1]);}}return _0x12a5d6;},_0x32d8d8['toObject']=function(_0x3c9788,_0x9eae06){_0x9eae06||(_0x9eae06={});var _0x4674b6={};if((_0x9eae06['arrays']||_0x9eae06['defaults'])&&(_0x4674b6['comments']=[]),_0x9eae06['defaults']&&(_0x4674b6['documentId']='',_0x4674b6['commentThreadId']='',_0x4674b6['context']='',_0x4674b6['createdAt']='',_0x4674b6['resolvedAt']='',_0x4674b6['resolvedBy']='',_0x4674b6['attributes']='',_0x4674b6['deletedAt']=''),null!=_0x3c9788['documentId']&&_0x3c9788['hasOwnProperty']('documentId')&&(_0x4674b6['documentId']=_0x3c9788['documentId']),null!=_0x3c9788['commentThreadId']&&_0x3c9788['hasOwnProperty']('commentThreadId')&&(_0x4674b6['commentThreadId']=_0x3c9788['commentThreadId']),null!=_0x3c9788['context']&&_0x3c9788['hasOwnProperty']('context')&&(_0x4674b6['context']=_0x3c9788['context']),null!=_0x3c9788['createdAt']&&_0x3c9788['hasOwnProperty']('createdAt')&&(_0x4674b6['createdAt']=_0x3c9788['createdAt']),null!=_0x3c9788['resolvedAt']&&_0x3c9788['hasOwnProperty']('resolvedAt')&&(_0x4674b6['resolvedAt']=_0x3c9788['resolvedAt']),null!=_0x3c9788['resolvedBy']&&_0x3c9788['hasOwnProperty']('resolvedBy')&&(_0x4674b6['resolvedBy']=_0x3c9788['resolvedBy']),null!=_0x3c9788['attributes']&&_0x3c9788['hasOwnProperty']('attributes')&&(_0x4674b6['attributes']=_0x3c9788['attributes']),null!=_0x3c9788['deletedAt']&&_0x3c9788['hasOwnProperty']('deletedAt')&&(_0x4674b6['deletedAt']=_0x3c9788['deletedAt']),_0x3c9788['comments']&&_0x3c9788['comments']['length']){_0x4674b6['comments']=[];for(var _0x7a9497=0x0;_0x7a9497<_0x3c9788['comments']['length'];++_0x7a9497)_0x4674b6['comments'][_0x7a9497]=_0x48cb19['CommentDescriptor']['toObject'](_0x3c9788['comments'][_0x7a9497],_0x9eae06);}return _0x4674b6;},_0x32d8d8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x32d8d8['getTypeUrl']=function(_0x5f1a2c){return void 0x0===_0x5f1a2c&&(_0x5f1a2c='type.googleapis.com'),_0x5f1a2c+'/CommentsV2AddCommentThreadMessage';},_0x32d8d8;}()),_0x48cb19['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x3262e0(_0x2f58c4){if(_0x2f58c4){for(var _0x457b48=Object['keys'](_0x2f58c4),_0x163466=0x0;_0x163466<_0x457b48['length'];++_0x163466)null!=_0x2f58c4[_0x457b48[_0x163466]]&&(this[_0x457b48[_0x163466]]=_0x2f58c4[_0x457b48[_0x163466]]);}}return _0x3262e0['prototype']['commentThreadId']='',_0x3262e0['prototype']['documentId']='',_0x3262e0['create']=function(_0x4df05f){return new _0x3262e0(_0x4df05f);},_0x3262e0['encode']=function(_0x33d4e8,_0x88ac9c){return _0x88ac9c||(_0x88ac9c=_0x5a9410['create']()),null!=_0x33d4e8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x33d4e8,'commentThreadId')&&_0x88ac9c['uint32'](0xa)['string'](_0x33d4e8['commentThreadId']),null!=_0x33d4e8['documentId']&&Object['hasOwnProperty']['call'](_0x33d4e8,'documentId')&&_0x88ac9c['uint32'](0x12)['string'](_0x33d4e8['documentId']),_0x88ac9c;},_0x3262e0['encodeDelimited']=function(_0x200439,_0x1c8d44){return this['encode'](_0x200439,_0x1c8d44)['ldelim']();},_0x3262e0['decode']=function(_0xfe56af,_0x3f5fd7){_0xfe56af instanceof _0x4537d0||(_0xfe56af=_0x4537d0['create'](_0xfe56af));for(var _0x384ac8=void 0x0===_0x3f5fd7?_0xfe56af['len']:_0xfe56af['pos']+_0x3f5fd7,_0x27e7e3=new _0x48cb19['CommentsV2ReopenCommentThreadMessage']();_0xfe56af['pos']<_0x384ac8;){var _0x5ad8da=_0xfe56af['uint32']();switch(_0x5ad8da>>>0x3){case 0x1:_0x27e7e3['commentThreadId']=_0xfe56af['string']();break;case 0x2:_0x27e7e3['documentId']=_0xfe56af['string']();break;default:_0xfe56af['skipType'](0x7&_0x5ad8da);}}return _0x27e7e3;},_0x3262e0['decodeDelimited']=function(_0x514797){return _0x514797 instanceof _0x4537d0||(_0x514797=new _0x4537d0(_0x514797)),this['decode'](_0x514797,_0x514797['uint32']());},_0x3262e0['verify']=function(_0x17b877){return'object'!=typeof _0x17b877||null===_0x17b877?'object\x20expected':null!=_0x17b877['commentThreadId']&&_0x17b877['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x17b877['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x17b877['documentId']&&_0x17b877['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x17b877['documentId'])?'documentId:\x20string\x20expected':null;},_0x3262e0['fromObject']=function(_0x608318){if(_0x608318 instanceof _0x48cb19['CommentsV2ReopenCommentThreadMessage'])return _0x608318;var _0x8519a9=new _0x48cb19['CommentsV2ReopenCommentThreadMessage']();return null!=_0x608318['commentThreadId']&&(_0x8519a9['commentThreadId']=String(_0x608318['commentThreadId'])),null!=_0x608318['documentId']&&(_0x8519a9['documentId']=String(_0x608318['documentId'])),_0x8519a9;},_0x3262e0['toObject']=function(_0xe4ce44,_0xfe2464){_0xfe2464||(_0xfe2464={});var _0x6c0792={};return _0xfe2464['defaults']&&(_0x6c0792['commentThreadId']='',_0x6c0792['documentId']=''),null!=_0xe4ce44['commentThreadId']&&_0xe4ce44['hasOwnProperty']('commentThreadId')&&(_0x6c0792['commentThreadId']=_0xe4ce44['commentThreadId']),null!=_0xe4ce44['documentId']&&_0xe4ce44['hasOwnProperty']('documentId')&&(_0x6c0792['documentId']=_0xe4ce44['documentId']),_0x6c0792;},_0x3262e0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3262e0['getTypeUrl']=function(_0x5663b1){return void 0x0===_0x5663b1&&(_0x5663b1='type.googleapis.com'),_0x5663b1+'/CommentsV2ReopenCommentThreadMessage';},_0x3262e0;}()),_0x48cb19['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x1cd33c(_0x4f914c){if(_0x4f914c){for(var _0x2442c7=Object['keys'](_0x4f914c),_0x189eca=0x0;_0x189eca<_0x2442c7['length'];++_0x189eca)null!=_0x4f914c[_0x2442c7[_0x189eca]]&&(this[_0x2442c7[_0x189eca]]=_0x4f914c[_0x2442c7[_0x189eca]]);}}return _0x1cd33c['prototype']['commentThreadId']='',_0x1cd33c['prototype']['documentId']='',_0x1cd33c['prototype']['resolvedBy']='',_0x1cd33c['prototype']['resolvedAt']='',_0x1cd33c['create']=function(_0x3e1034){return new _0x1cd33c(_0x3e1034);},_0x1cd33c['encode']=function(_0x1709c9,_0x3999de){return _0x3999de||(_0x3999de=_0x5a9410['create']()),null!=_0x1709c9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1709c9,'commentThreadId')&&_0x3999de['uint32'](0xa)['string'](_0x1709c9['commentThreadId']),null!=_0x1709c9['documentId']&&Object['hasOwnProperty']['call'](_0x1709c9,'documentId')&&_0x3999de['uint32'](0x12)['string'](_0x1709c9['documentId']),null!=_0x1709c9['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1709c9,'resolvedBy')&&_0x3999de['uint32'](0x1a)['string'](_0x1709c9['resolvedBy']),null!=_0x1709c9['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1709c9,'resolvedAt')&&_0x3999de['uint32'](0x22)['string'](_0x1709c9['resolvedAt']),_0x3999de;},_0x1cd33c['encodeDelimited']=function(_0x360b3c,_0x3deded){return this['encode'](_0x360b3c,_0x3deded)['ldelim']();},_0x1cd33c['decode']=function(_0x5ddce5,_0x1ab13a){_0x5ddce5 instanceof _0x4537d0||(_0x5ddce5=_0x4537d0['create'](_0x5ddce5));for(var _0x38339d=void 0x0===_0x1ab13a?_0x5ddce5['len']:_0x5ddce5['pos']+_0x1ab13a,_0x1c295f=new _0x48cb19['CommentsV2ResolveCommentThreadMessage']();_0x5ddce5['pos']<_0x38339d;){var _0x3e9ff5=_0x5ddce5['uint32']();switch(_0x3e9ff5>>>0x3){case 0x1:_0x1c295f['commentThreadId']=_0x5ddce5['string']();break;case 0x2:_0x1c295f['documentId']=_0x5ddce5['string']();break;case 0x3:_0x1c295f['resolvedBy']=_0x5ddce5['string']();break;case 0x4:_0x1c295f['resolvedAt']=_0x5ddce5['string']();break;default:_0x5ddce5['skipType'](0x7&_0x3e9ff5);}}return _0x1c295f;},_0x1cd33c['decodeDelimited']=function(_0x510241){return _0x510241 instanceof _0x4537d0||(_0x510241=new _0x4537d0(_0x510241)),this['decode'](_0x510241,_0x510241['uint32']());},_0x1cd33c['verify']=function(_0x1ec3b6){return'object'!=typeof _0x1ec3b6||null===_0x1ec3b6?'object\x20expected':null!=_0x1ec3b6['commentThreadId']&&_0x1ec3b6['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x1ec3b6['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1ec3b6['documentId']&&_0x1ec3b6['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x1ec3b6['documentId'])?'documentId:\x20string\x20expected':null!=_0x1ec3b6['resolvedBy']&&_0x1ec3b6['hasOwnProperty']('resolvedBy')&&!_0x3be80d['isString'](_0x1ec3b6['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x1ec3b6['resolvedAt']&&_0x1ec3b6['hasOwnProperty']('resolvedAt')&&!_0x3be80d['isString'](_0x1ec3b6['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x1cd33c['fromObject']=function(_0x524114){if(_0x524114 instanceof _0x48cb19['CommentsV2ResolveCommentThreadMessage'])return _0x524114;var _0x5b68c0=new _0x48cb19['CommentsV2ResolveCommentThreadMessage']();return null!=_0x524114['commentThreadId']&&(_0x5b68c0['commentThreadId']=String(_0x524114['commentThreadId'])),null!=_0x524114['documentId']&&(_0x5b68c0['documentId']=String(_0x524114['documentId'])),null!=_0x524114['resolvedBy']&&(_0x5b68c0['resolvedBy']=String(_0x524114['resolvedBy'])),null!=_0x524114['resolvedAt']&&(_0x5b68c0['resolvedAt']=String(_0x524114['resolvedAt'])),_0x5b68c0;},_0x1cd33c['toObject']=function(_0x2e918d,_0x18f55c){_0x18f55c||(_0x18f55c={});var _0x231c7e={};return _0x18f55c['defaults']&&(_0x231c7e['commentThreadId']='',_0x231c7e['documentId']='',_0x231c7e['resolvedBy']='',_0x231c7e['resolvedAt']=''),null!=_0x2e918d['commentThreadId']&&_0x2e918d['hasOwnProperty']('commentThreadId')&&(_0x231c7e['commentThreadId']=_0x2e918d['commentThreadId']),null!=_0x2e918d['documentId']&&_0x2e918d['hasOwnProperty']('documentId')&&(_0x231c7e['documentId']=_0x2e918d['documentId']),null!=_0x2e918d['resolvedBy']&&_0x2e918d['hasOwnProperty']('resolvedBy')&&(_0x231c7e['resolvedBy']=_0x2e918d['resolvedBy']),null!=_0x2e918d['resolvedAt']&&_0x2e918d['hasOwnProperty']('resolvedAt')&&(_0x231c7e['resolvedAt']=_0x2e918d['resolvedAt']),_0x231c7e;},_0x1cd33c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1cd33c['getTypeUrl']=function(_0x4032e7){return void 0x0===_0x4032e7&&(_0x4032e7='type.googleapis.com'),_0x4032e7+'/CommentsV2ResolveCommentThreadMessage';},_0x1cd33c;}()),_0x48cb19['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x365a38(_0x20b4cb){if(_0x20b4cb){for(var _0x4d95d0=Object['keys'](_0x20b4cb),_0x537abe=0x0;_0x537abe<_0x4d95d0['length'];++_0x537abe)null!=_0x20b4cb[_0x4d95d0[_0x537abe]]&&(this[_0x4d95d0[_0x537abe]]=_0x20b4cb[_0x4d95d0[_0x537abe]]);}}return _0x365a38['prototype']['commentThreadId']='',_0x365a38['prototype']['documentId']='',_0x365a38['prototype']['context']='',_0x365a38['prototype']['attributes']='',_0x365a38['prototype']['unlinkedAt']='',_0x365a38['create']=function(_0x15a1fc){return new _0x365a38(_0x15a1fc);},_0x365a38['encode']=function(_0x1e9044,_0x5b4654){return _0x5b4654||(_0x5b4654=_0x5a9410['create']()),null!=_0x1e9044['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e9044,'commentThreadId')&&_0x5b4654['uint32'](0xa)['string'](_0x1e9044['commentThreadId']),null!=_0x1e9044['documentId']&&Object['hasOwnProperty']['call'](_0x1e9044,'documentId')&&_0x5b4654['uint32'](0x12)['string'](_0x1e9044['documentId']),null!=_0x1e9044['context']&&Object['hasOwnProperty']['call'](_0x1e9044,'context')&&_0x5b4654['uint32'](0x1a)['string'](_0x1e9044['context']),null!=_0x1e9044['attributes']&&Object['hasOwnProperty']['call'](_0x1e9044,'attributes')&&_0x5b4654['uint32'](0x22)['string'](_0x1e9044['attributes']),null!=_0x1e9044['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1e9044,'unlinkedAt')&&_0x5b4654['uint32'](0x2a)['string'](_0x1e9044['unlinkedAt']),_0x5b4654;},_0x365a38['encodeDelimited']=function(_0x5d4a96,_0x1190f8){return this['encode'](_0x5d4a96,_0x1190f8)['ldelim']();},_0x365a38['decode']=function(_0x2e8575,_0x3d8a4f){_0x2e8575 instanceof _0x4537d0||(_0x2e8575=_0x4537d0['create'](_0x2e8575));for(var _0x7199a8=void 0x0===_0x3d8a4f?_0x2e8575['len']:_0x2e8575['pos']+_0x3d8a4f,_0x558d7d=new _0x48cb19['CommentsV2UpdateCommentThreadMessage']();_0x2e8575['pos']<_0x7199a8;){var _0x4dfeff=_0x2e8575['uint32']();switch(_0x4dfeff>>>0x3){case 0x1:_0x558d7d['commentThreadId']=_0x2e8575['string']();break;case 0x2:_0x558d7d['documentId']=_0x2e8575['string']();break;case 0x3:_0x558d7d['context']=_0x2e8575['string']();break;case 0x4:_0x558d7d['attributes']=_0x2e8575['string']();break;case 0x5:_0x558d7d['unlinkedAt']=_0x2e8575['string']();break;default:_0x2e8575['skipType'](0x7&_0x4dfeff);}}return _0x558d7d;},_0x365a38['decodeDelimited']=function(_0x380659){return _0x380659 instanceof _0x4537d0||(_0x380659=new _0x4537d0(_0x380659)),this['decode'](_0x380659,_0x380659['uint32']());},_0x365a38['verify']=function(_0x5e587f){return'object'!=typeof _0x5e587f||null===_0x5e587f?'object\x20expected':null!=_0x5e587f['commentThreadId']&&_0x5e587f['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x5e587f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5e587f['documentId']&&_0x5e587f['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x5e587f['documentId'])?'documentId:\x20string\x20expected':null!=_0x5e587f['context']&&_0x5e587f['hasOwnProperty']('context')&&!_0x3be80d['isString'](_0x5e587f['context'])?'context:\x20string\x20expected':null!=_0x5e587f['attributes']&&_0x5e587f['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x5e587f['attributes'])?'attributes:\x20string\x20expected':null!=_0x5e587f['unlinkedAt']&&_0x5e587f['hasOwnProperty']('unlinkedAt')&&!_0x3be80d['isString'](_0x5e587f['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x365a38['fromObject']=function(_0x1efc9c){if(_0x1efc9c instanceof _0x48cb19['CommentsV2UpdateCommentThreadMessage'])return _0x1efc9c;var _0x218fc4=new _0x48cb19['CommentsV2UpdateCommentThreadMessage']();return null!=_0x1efc9c['commentThreadId']&&(_0x218fc4['commentThreadId']=String(_0x1efc9c['commentThreadId'])),null!=_0x1efc9c['documentId']&&(_0x218fc4['documentId']=String(_0x1efc9c['documentId'])),null!=_0x1efc9c['context']&&(_0x218fc4['context']=String(_0x1efc9c['context'])),null!=_0x1efc9c['attributes']&&(_0x218fc4['attributes']=String(_0x1efc9c['attributes'])),null!=_0x1efc9c['unlinkedAt']&&(_0x218fc4['unlinkedAt']=String(_0x1efc9c['unlinkedAt'])),_0x218fc4;},_0x365a38['toObject']=function(_0x5401bd,_0x6d0806){_0x6d0806||(_0x6d0806={});var _0x57d36d={};return _0x6d0806['defaults']&&(_0x57d36d['commentThreadId']='',_0x57d36d['documentId']='',_0x57d36d['context']='',_0x57d36d['attributes']='',_0x57d36d['unlinkedAt']=''),null!=_0x5401bd['commentThreadId']&&_0x5401bd['hasOwnProperty']('commentThreadId')&&(_0x57d36d['commentThreadId']=_0x5401bd['commentThreadId']),null!=_0x5401bd['documentId']&&_0x5401bd['hasOwnProperty']('documentId')&&(_0x57d36d['documentId']=_0x5401bd['documentId']),null!=_0x5401bd['context']&&_0x5401bd['hasOwnProperty']('context')&&(_0x57d36d['context']=_0x5401bd['context']),null!=_0x5401bd['attributes']&&_0x5401bd['hasOwnProperty']('attributes')&&(_0x57d36d['attributes']=_0x5401bd['attributes']),null!=_0x5401bd['unlinkedAt']&&_0x5401bd['hasOwnProperty']('unlinkedAt')&&(_0x57d36d['unlinkedAt']=_0x5401bd['unlinkedAt']),_0x57d36d;},_0x365a38['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x365a38['getTypeUrl']=function(_0x3aa10c){return void 0x0===_0x3aa10c&&(_0x3aa10c='type.googleapis.com'),_0x3aa10c+'/CommentsV2UpdateCommentThreadMessage';},_0x365a38;}()),_0x48cb19['CommentsV2ConnectMessage']=(function(){function _0x1e402f(_0x3a1f6f){if(_0x3a1f6f){for(var _0x12b685=Object['keys'](_0x3a1f6f),_0x5b5dd4=0x0;_0x5b5dd4<_0x12b685['length'];++_0x5b5dd4)null!=_0x3a1f6f[_0x12b685[_0x5b5dd4]]&&(this[_0x12b685[_0x5b5dd4]]=_0x3a1f6f[_0x12b685[_0x5b5dd4]]);}}return _0x1e402f['prototype']['documentId']='',_0x1e402f['create']=function(_0x14744c){return new _0x1e402f(_0x14744c);},_0x1e402f['encode']=function(_0x4aa42b,_0x564d46){return _0x564d46||(_0x564d46=_0x5a9410['create']()),null!=_0x4aa42b['documentId']&&Object['hasOwnProperty']['call'](_0x4aa42b,'documentId')&&_0x564d46['uint32'](0xa)['string'](_0x4aa42b['documentId']),_0x564d46;},_0x1e402f['encodeDelimited']=function(_0x3b015d,_0x430bff){return this['encode'](_0x3b015d,_0x430bff)['ldelim']();},_0x1e402f['decode']=function(_0x136183,_0x1e036f){_0x136183 instanceof _0x4537d0||(_0x136183=_0x4537d0['create'](_0x136183));for(var _0x3705fd=void 0x0===_0x1e036f?_0x136183['len']:_0x136183['pos']+_0x1e036f,_0x4c4938=new _0x48cb19['CommentsV2ConnectMessage']();_0x136183['pos']<_0x3705fd;){var _0x30c205=_0x136183['uint32']();_0x30c205>>>0x3==0x1?_0x4c4938['documentId']=_0x136183['string']():_0x136183['skipType'](0x7&_0x30c205);}return _0x4c4938;},_0x1e402f['decodeDelimited']=function(_0x1eb2c6){return _0x1eb2c6 instanceof _0x4537d0||(_0x1eb2c6=new _0x4537d0(_0x1eb2c6)),this['decode'](_0x1eb2c6,_0x1eb2c6['uint32']());},_0x1e402f['verify']=function(_0x37ed84){return'object'!=typeof _0x37ed84||null===_0x37ed84?'object\x20expected':null!=_0x37ed84['documentId']&&_0x37ed84['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x37ed84['documentId'])?'documentId:\x20string\x20expected':null;},_0x1e402f['fromObject']=function(_0x20fbc6){if(_0x20fbc6 instanceof _0x48cb19['CommentsV2ConnectMessage'])return _0x20fbc6;var _0x2f9f7f=new _0x48cb19['CommentsV2ConnectMessage']();return null!=_0x20fbc6['documentId']&&(_0x2f9f7f['documentId']=String(_0x20fbc6['documentId'])),_0x2f9f7f;},_0x1e402f['toObject']=function(_0x4d096c,_0x37d5a7){_0x37d5a7||(_0x37d5a7={});var _0x1d09ba={};return _0x37d5a7['defaults']&&(_0x1d09ba['documentId']=''),null!=_0x4d096c['documentId']&&_0x4d096c['hasOwnProperty']('documentId')&&(_0x1d09ba['documentId']=_0x4d096c['documentId']),_0x1d09ba;},_0x1e402f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1e402f['getTypeUrl']=function(_0x528750){return void 0x0===_0x528750&&(_0x528750='type.googleapis.com'),_0x528750+'/CommentsV2ConnectMessage';},_0x1e402f;}()),_0x48cb19['CommentsV2GetCommentThreadMessage']=(function(){function _0x2f5ddb(_0x5dd6a4){if(_0x5dd6a4){for(var _0x37d1d5=Object['keys'](_0x5dd6a4),_0x6c3b52=0x0;_0x6c3b52<_0x37d1d5['length'];++_0x6c3b52)null!=_0x5dd6a4[_0x37d1d5[_0x6c3b52]]&&(this[_0x37d1d5[_0x6c3b52]]=_0x5dd6a4[_0x37d1d5[_0x6c3b52]]);}}return _0x2f5ddb['prototype']['commentThreadId']='',_0x2f5ddb['prototype']['documentId']='',_0x2f5ddb['create']=function(_0x364883){return new _0x2f5ddb(_0x364883);},_0x2f5ddb['encode']=function(_0x5c9f71,_0xdc1cdf){return _0xdc1cdf||(_0xdc1cdf=_0x5a9410['create']()),null!=_0x5c9f71['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5c9f71,'commentThreadId')&&_0xdc1cdf['uint32'](0xa)['string'](_0x5c9f71['commentThreadId']),null!=_0x5c9f71['documentId']&&Object['hasOwnProperty']['call'](_0x5c9f71,'documentId')&&_0xdc1cdf['uint32'](0x12)['string'](_0x5c9f71['documentId']),_0xdc1cdf;},_0x2f5ddb['encodeDelimited']=function(_0x355bb1,_0x55c935){return this['encode'](_0x355bb1,_0x55c935)['ldelim']();},_0x2f5ddb['decode']=function(_0x5e4f69,_0x1c43b9){_0x5e4f69 instanceof _0x4537d0||(_0x5e4f69=_0x4537d0['create'](_0x5e4f69));for(var _0x4a4a0e=void 0x0===_0x1c43b9?_0x5e4f69['len']:_0x5e4f69['pos']+_0x1c43b9,_0x4c1727=new _0x48cb19['CommentsV2GetCommentThreadMessage']();_0x5e4f69['pos']<_0x4a4a0e;){var _0x1f73b1=_0x5e4f69['uint32']();switch(_0x1f73b1>>>0x3){case 0x1:_0x4c1727['commentThreadId']=_0x5e4f69['string']();break;case 0x2:_0x4c1727['documentId']=_0x5e4f69['string']();break;default:_0x5e4f69['skipType'](0x7&_0x1f73b1);}}return _0x4c1727;},_0x2f5ddb['decodeDelimited']=function(_0x44ae3f){return _0x44ae3f instanceof _0x4537d0||(_0x44ae3f=new _0x4537d0(_0x44ae3f)),this['decode'](_0x44ae3f,_0x44ae3f['uint32']());},_0x2f5ddb['verify']=function(_0x63ac4a){return'object'!=typeof _0x63ac4a||null===_0x63ac4a?'object\x20expected':null!=_0x63ac4a['commentThreadId']&&_0x63ac4a['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x63ac4a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x63ac4a['documentId']&&_0x63ac4a['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x63ac4a['documentId'])?'documentId:\x20string\x20expected':null;},_0x2f5ddb['fromObject']=function(_0x38b5d0){if(_0x38b5d0 instanceof _0x48cb19['CommentsV2GetCommentThreadMessage'])return _0x38b5d0;var _0x2e33d0=new _0x48cb19['CommentsV2GetCommentThreadMessage']();return null!=_0x38b5d0['commentThreadId']&&(_0x2e33d0['commentThreadId']=String(_0x38b5d0['commentThreadId'])),null!=_0x38b5d0['documentId']&&(_0x2e33d0['documentId']=String(_0x38b5d0['documentId'])),_0x2e33d0;},_0x2f5ddb['toObject']=function(_0x2836fa,_0x44eebc){_0x44eebc||(_0x44eebc={});var _0x1ac532={};return _0x44eebc['defaults']&&(_0x1ac532['commentThreadId']='',_0x1ac532['documentId']=''),null!=_0x2836fa['commentThreadId']&&_0x2836fa['hasOwnProperty']('commentThreadId')&&(_0x1ac532['commentThreadId']=_0x2836fa['commentThreadId']),null!=_0x2836fa['documentId']&&_0x2836fa['hasOwnProperty']('documentId')&&(_0x1ac532['documentId']=_0x2836fa['documentId']),_0x1ac532;},_0x2f5ddb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2f5ddb['getTypeUrl']=function(_0x21a46a){return void 0x0===_0x21a46a&&(_0x21a46a='type.googleapis.com'),_0x21a46a+'/CommentsV2GetCommentThreadMessage';},_0x2f5ddb;}()),_0x48cb19['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x265aea(_0x6f5524){if(_0x6f5524){for(var _0x23f7e3=Object['keys'](_0x6f5524),_0x382270=0x0;_0x382270<_0x23f7e3['length'];++_0x382270)null!=_0x6f5524[_0x23f7e3[_0x382270]]&&(this[_0x23f7e3[_0x382270]]=_0x6f5524[_0x23f7e3[_0x382270]]);}}return _0x265aea['prototype']['documentId']='',_0x265aea['create']=function(_0x44fa6c){return new _0x265aea(_0x44fa6c);},_0x265aea['encode']=function(_0x2555c5,_0x5c3d8e){return _0x5c3d8e||(_0x5c3d8e=_0x5a9410['create']()),null!=_0x2555c5['documentId']&&Object['hasOwnProperty']['call'](_0x2555c5,'documentId')&&_0x5c3d8e['uint32'](0xa)['string'](_0x2555c5['documentId']),_0x5c3d8e;},_0x265aea['encodeDelimited']=function(_0x323b94,_0x24b196){return this['encode'](_0x323b94,_0x24b196)['ldelim']();},_0x265aea['decode']=function(_0x23e239,_0x382046){_0x23e239 instanceof _0x4537d0||(_0x23e239=_0x4537d0['create'](_0x23e239));for(var _0x22cfc0=void 0x0===_0x382046?_0x23e239['len']:_0x23e239['pos']+_0x382046,_0x5e581e=new _0x48cb19['CommentsV2GetDocumentThreadsMessage']();_0x23e239['pos']<_0x22cfc0;){var _0x57a80e=_0x23e239['uint32']();_0x57a80e>>>0x3==0x1?_0x5e581e['documentId']=_0x23e239['string']():_0x23e239['skipType'](0x7&_0x57a80e);}return _0x5e581e;},_0x265aea['decodeDelimited']=function(_0x27b431){return _0x27b431 instanceof _0x4537d0||(_0x27b431=new _0x4537d0(_0x27b431)),this['decode'](_0x27b431,_0x27b431['uint32']());},_0x265aea['verify']=function(_0x5a57f8){return'object'!=typeof _0x5a57f8||null===_0x5a57f8?'object\x20expected':null!=_0x5a57f8['documentId']&&_0x5a57f8['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x5a57f8['documentId'])?'documentId:\x20string\x20expected':null;},_0x265aea['fromObject']=function(_0x4e9297){if(_0x4e9297 instanceof _0x48cb19['CommentsV2GetDocumentThreadsMessage'])return _0x4e9297;var _0x2fa7d9=new _0x48cb19['CommentsV2GetDocumentThreadsMessage']();return null!=_0x4e9297['documentId']&&(_0x2fa7d9['documentId']=String(_0x4e9297['documentId'])),_0x2fa7d9;},_0x265aea['toObject']=function(_0xccddbe,_0x1bf7f0){_0x1bf7f0||(_0x1bf7f0={});var _0x5f876f={};return _0x1bf7f0['defaults']&&(_0x5f876f['documentId']=''),null!=_0xccddbe['documentId']&&_0xccddbe['hasOwnProperty']('documentId')&&(_0x5f876f['documentId']=_0xccddbe['documentId']),_0x5f876f;},_0x265aea['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x265aea['getTypeUrl']=function(_0x1e9844){return void 0x0===_0x1e9844&&(_0x1e9844='type.googleapis.com'),_0x1e9844+'/CommentsV2GetDocumentThreadsMessage';},_0x265aea;}()),_0x48cb19['CommentsV2RemoveCommentMessage']=(function(){function _0x451a2e(_0x19befa){if(_0x19befa){for(var _0x1d4c89=Object['keys'](_0x19befa),_0x16046b=0x0;_0x16046b<_0x1d4c89['length'];++_0x16046b)null!=_0x19befa[_0x1d4c89[_0x16046b]]&&(this[_0x1d4c89[_0x16046b]]=_0x19befa[_0x1d4c89[_0x16046b]]);}}return _0x451a2e['prototype']['commentThreadId']='',_0x451a2e['prototype']['commentId']='',_0x451a2e['prototype']['documentId']='',_0x451a2e['create']=function(_0x408802){return new _0x451a2e(_0x408802);},_0x451a2e['encode']=function(_0x4b1a0d,_0x31a5c9){return _0x31a5c9||(_0x31a5c9=_0x5a9410['create']()),null!=_0x4b1a0d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4b1a0d,'commentThreadId')&&_0x31a5c9['uint32'](0xa)['string'](_0x4b1a0d['commentThreadId']),null!=_0x4b1a0d['commentId']&&Object['hasOwnProperty']['call'](_0x4b1a0d,'commentId')&&_0x31a5c9['uint32'](0x12)['string'](_0x4b1a0d['commentId']),null!=_0x4b1a0d['documentId']&&Object['hasOwnProperty']['call'](_0x4b1a0d,'documentId')&&_0x31a5c9['uint32'](0x1a)['string'](_0x4b1a0d['documentId']),_0x31a5c9;},_0x451a2e['encodeDelimited']=function(_0x119719,_0x532f0d){return this['encode'](_0x119719,_0x532f0d)['ldelim']();},_0x451a2e['decode']=function(_0x54160e,_0x471fe9){_0x54160e instanceof _0x4537d0||(_0x54160e=_0x4537d0['create'](_0x54160e));for(var _0x31224a=void 0x0===_0x471fe9?_0x54160e['len']:_0x54160e['pos']+_0x471fe9,_0x43b97e=new _0x48cb19['CommentsV2RemoveCommentMessage']();_0x54160e['pos']<_0x31224a;){var _0x5aee50=_0x54160e['uint32']();switch(_0x5aee50>>>0x3){case 0x1:_0x43b97e['commentThreadId']=_0x54160e['string']();break;case 0x2:_0x43b97e['commentId']=_0x54160e['string']();break;case 0x3:_0x43b97e['documentId']=_0x54160e['string']();break;default:_0x54160e['skipType'](0x7&_0x5aee50);}}return _0x43b97e;},_0x451a2e['decodeDelimited']=function(_0x1e9510){return _0x1e9510 instanceof _0x4537d0||(_0x1e9510=new _0x4537d0(_0x1e9510)),this['decode'](_0x1e9510,_0x1e9510['uint32']());},_0x451a2e['verify']=function(_0x52bf9f){return'object'!=typeof _0x52bf9f||null===_0x52bf9f?'object\x20expected':null!=_0x52bf9f['commentThreadId']&&_0x52bf9f['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x52bf9f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x52bf9f['commentId']&&_0x52bf9f['hasOwnProperty']('commentId')&&!_0x3be80d['isString'](_0x52bf9f['commentId'])?'commentId:\x20string\x20expected':null!=_0x52bf9f['documentId']&&_0x52bf9f['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x52bf9f['documentId'])?'documentId:\x20string\x20expected':null;},_0x451a2e['fromObject']=function(_0x15db25){if(_0x15db25 instanceof _0x48cb19['CommentsV2RemoveCommentMessage'])return _0x15db25;var _0x4cf1aa=new _0x48cb19['CommentsV2RemoveCommentMessage']();return null!=_0x15db25['commentThreadId']&&(_0x4cf1aa['commentThreadId']=String(_0x15db25['commentThreadId'])),null!=_0x15db25['commentId']&&(_0x4cf1aa['commentId']=String(_0x15db25['commentId'])),null!=_0x15db25['documentId']&&(_0x4cf1aa['documentId']=String(_0x15db25['documentId'])),_0x4cf1aa;},_0x451a2e['toObject']=function(_0x10981c,_0x22b941){_0x22b941||(_0x22b941={});var _0x137d04={};return _0x22b941['defaults']&&(_0x137d04['commentThreadId']='',_0x137d04['commentId']='',_0x137d04['documentId']=''),null!=_0x10981c['commentThreadId']&&_0x10981c['hasOwnProperty']('commentThreadId')&&(_0x137d04['commentThreadId']=_0x10981c['commentThreadId']),null!=_0x10981c['commentId']&&_0x10981c['hasOwnProperty']('commentId')&&(_0x137d04['commentId']=_0x10981c['commentId']),null!=_0x10981c['documentId']&&_0x10981c['hasOwnProperty']('documentId')&&(_0x137d04['documentId']=_0x10981c['documentId']),_0x137d04;},_0x451a2e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x451a2e['getTypeUrl']=function(_0x564dc5){return void 0x0===_0x564dc5&&(_0x564dc5='type.googleapis.com'),_0x564dc5+'/CommentsV2RemoveCommentMessage';},_0x451a2e;}()),_0x48cb19['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x5933b4(_0x519a29){if(_0x519a29){for(var _0x4afdae=Object['keys'](_0x519a29),_0x4e1118=0x0;_0x4e1118<_0x4afdae['length'];++_0x4e1118)null!=_0x519a29[_0x4afdae[_0x4e1118]]&&(this[_0x4afdae[_0x4e1118]]=_0x519a29[_0x4afdae[_0x4e1118]]);}}return _0x5933b4['prototype']['commentThreadId']='',_0x5933b4['prototype']['documentId']='',_0x5933b4['create']=function(_0x18a0c6){return new _0x5933b4(_0x18a0c6);},_0x5933b4['encode']=function(_0x58c72d,_0x486baa){return _0x486baa||(_0x486baa=_0x5a9410['create']()),null!=_0x58c72d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x58c72d,'commentThreadId')&&_0x486baa['uint32'](0xa)['string'](_0x58c72d['commentThreadId']),null!=_0x58c72d['documentId']&&Object['hasOwnProperty']['call'](_0x58c72d,'documentId')&&_0x486baa['uint32'](0x12)['string'](_0x58c72d['documentId']),_0x486baa;},_0x5933b4['encodeDelimited']=function(_0x3456e6,_0x29bc60){return this['encode'](_0x3456e6,_0x29bc60)['ldelim']();},_0x5933b4['decode']=function(_0x2d9d41,_0x3cf32d){_0x2d9d41 instanceof _0x4537d0||(_0x2d9d41=_0x4537d0['create'](_0x2d9d41));for(var _0x39d51d=void 0x0===_0x3cf32d?_0x2d9d41['len']:_0x2d9d41['pos']+_0x3cf32d,_0x22aeca=new _0x48cb19['CommentsV2RemoveCommentThreadMessage']();_0x2d9d41['pos']<_0x39d51d;){var _0x1a35f3=_0x2d9d41['uint32']();switch(_0x1a35f3>>>0x3){case 0x1:_0x22aeca['commentThreadId']=_0x2d9d41['string']();break;case 0x2:_0x22aeca['documentId']=_0x2d9d41['string']();break;default:_0x2d9d41['skipType'](0x7&_0x1a35f3);}}return _0x22aeca;},_0x5933b4['decodeDelimited']=function(_0x46d52f){return _0x46d52f instanceof _0x4537d0||(_0x46d52f=new _0x4537d0(_0x46d52f)),this['decode'](_0x46d52f,_0x46d52f['uint32']());},_0x5933b4['verify']=function(_0x6c00ec){return'object'!=typeof _0x6c00ec||null===_0x6c00ec?'object\x20expected':null!=_0x6c00ec['commentThreadId']&&_0x6c00ec['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x6c00ec['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x6c00ec['documentId']&&_0x6c00ec['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x6c00ec['documentId'])?'documentId:\x20string\x20expected':null;},_0x5933b4['fromObject']=function(_0x2798c1){if(_0x2798c1 instanceof _0x48cb19['CommentsV2RemoveCommentThreadMessage'])return _0x2798c1;var _0x36477f=new _0x48cb19['CommentsV2RemoveCommentThreadMessage']();return null!=_0x2798c1['commentThreadId']&&(_0x36477f['commentThreadId']=String(_0x2798c1['commentThreadId'])),null!=_0x2798c1['documentId']&&(_0x36477f['documentId']=String(_0x2798c1['documentId'])),_0x36477f;},_0x5933b4['toObject']=function(_0x4f3351,_0x3cee67){_0x3cee67||(_0x3cee67={});var _0x5d87a5={};return _0x3cee67['defaults']&&(_0x5d87a5['commentThreadId']='',_0x5d87a5['documentId']=''),null!=_0x4f3351['commentThreadId']&&_0x4f3351['hasOwnProperty']('commentThreadId')&&(_0x5d87a5['commentThreadId']=_0x4f3351['commentThreadId']),null!=_0x4f3351['documentId']&&_0x4f3351['hasOwnProperty']('documentId')&&(_0x5d87a5['documentId']=_0x4f3351['documentId']),_0x5d87a5;},_0x5933b4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x5933b4['getTypeUrl']=function(_0x4e4f6c){return void 0x0===_0x4e4f6c&&(_0x4e4f6c='type.googleapis.com'),_0x4e4f6c+'/CommentsV2RemoveCommentThreadMessage';},_0x5933b4;}()),_0x48cb19['CommentsV2UpdateCommentMessage']=(function(){function _0xa66c1b(_0xe622c9){if(_0xe622c9){for(var _0x42732f=Object['keys'](_0xe622c9),_0x1a2878=0x0;_0x1a2878<_0x42732f['length'];++_0x1a2878)null!=_0xe622c9[_0x42732f[_0x1a2878]]&&(this[_0x42732f[_0x1a2878]]=_0xe622c9[_0x42732f[_0x1a2878]]);}}return _0xa66c1b['prototype']['commentThreadId']='',_0xa66c1b['prototype']['commentId']='',_0xa66c1b['prototype']['content']='',_0xa66c1b['prototype']['documentId']='',_0xa66c1b['prototype']['attributes']='',_0xa66c1b['prototype']['isAttributesUpdated']=!0x1,_0xa66c1b['prototype']['commentThread']=null,_0xa66c1b['create']=function(_0x1743f8){return new _0xa66c1b(_0x1743f8);},_0xa66c1b['encode']=function(_0x532278,_0x1382ce){return _0x1382ce||(_0x1382ce=_0x5a9410['create']()),null!=_0x532278['commentThreadId']&&Object['hasOwnProperty']['call'](_0x532278,'commentThreadId')&&_0x1382ce['uint32'](0xa)['string'](_0x532278['commentThreadId']),null!=_0x532278['commentId']&&Object['hasOwnProperty']['call'](_0x532278,'commentId')&&_0x1382ce['uint32'](0x12)['string'](_0x532278['commentId']),null!=_0x532278['content']&&Object['hasOwnProperty']['call'](_0x532278,'content')&&_0x1382ce['uint32'](0x1a)['string'](_0x532278['content']),null!=_0x532278['documentId']&&Object['hasOwnProperty']['call'](_0x532278,'documentId')&&_0x1382ce['uint32'](0x22)['string'](_0x532278['documentId']),null!=_0x532278['attributes']&&Object['hasOwnProperty']['call'](_0x532278,'attributes')&&_0x1382ce['uint32'](0x2a)['string'](_0x532278['attributes']),null!=_0x532278['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x532278,'isAttributesUpdated')&&_0x1382ce['uint32'](0x30)['bool'](_0x532278['isAttributesUpdated']),null!=_0x532278['commentThread']&&Object['hasOwnProperty']['call'](_0x532278,'commentThread')&&_0x48cb19['CommentsThreadDescriptor']['encode'](_0x532278['commentThread'],_0x1382ce['uint32'](0x3a)['fork']())['ldelim'](),_0x1382ce;},_0xa66c1b['encodeDelimited']=function(_0x277bd1,_0xc97197){return this['encode'](_0x277bd1,_0xc97197)['ldelim']();},_0xa66c1b['decode']=function(_0x47e1f1,_0x12b2b4){_0x47e1f1 instanceof _0x4537d0||(_0x47e1f1=_0x4537d0['create'](_0x47e1f1));for(var _0x4e6f95=void 0x0===_0x12b2b4?_0x47e1f1['len']:_0x47e1f1['pos']+_0x12b2b4,_0x4f6de7=new _0x48cb19['CommentsV2UpdateCommentMessage']();_0x47e1f1['pos']<_0x4e6f95;){var _0x53a79a=_0x47e1f1['uint32']();switch(_0x53a79a>>>0x3){case 0x1:_0x4f6de7['commentThreadId']=_0x47e1f1['string']();break;case 0x2:_0x4f6de7['commentId']=_0x47e1f1['string']();break;case 0x3:_0x4f6de7['content']=_0x47e1f1['string']();break;case 0x4:_0x4f6de7['documentId']=_0x47e1f1['string']();break;case 0x5:_0x4f6de7['attributes']=_0x47e1f1['string']();break;case 0x6:_0x4f6de7['isAttributesUpdated']=_0x47e1f1['bool']();break;case 0x7:_0x4f6de7['commentThread']=_0x48cb19['CommentsThreadDescriptor']['decode'](_0x47e1f1,_0x47e1f1['uint32']());break;default:_0x47e1f1['skipType'](0x7&_0x53a79a);}}return _0x4f6de7;},_0xa66c1b['decodeDelimited']=function(_0x3dec61){return _0x3dec61 instanceof _0x4537d0||(_0x3dec61=new _0x4537d0(_0x3dec61)),this['decode'](_0x3dec61,_0x3dec61['uint32']());},_0xa66c1b['verify']=function(_0x5b8f53){if('object'!=typeof _0x5b8f53||null===_0x5b8f53)return'object\x20expected';if(null!=_0x5b8f53['commentThreadId']&&_0x5b8f53['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x5b8f53['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5b8f53['commentId']&&_0x5b8f53['hasOwnProperty']('commentId')&&!_0x3be80d['isString'](_0x5b8f53['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x5b8f53['content']&&_0x5b8f53['hasOwnProperty']('content')&&!_0x3be80d['isString'](_0x5b8f53['content']))return'content:\x20string\x20expected';if(null!=_0x5b8f53['documentId']&&_0x5b8f53['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x5b8f53['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5b8f53['attributes']&&_0x5b8f53['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x5b8f53['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x5b8f53['isAttributesUpdated']&&_0x5b8f53['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x5b8f53['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x5b8f53['commentThread']&&_0x5b8f53['hasOwnProperty']('commentThread')){var _0x5062c8=_0x48cb19['CommentsThreadDescriptor']['verify'](_0x5b8f53['commentThread']);if(_0x5062c8)return'commentThread.'+_0x5062c8;}return null;},_0xa66c1b['fromObject']=function(_0x2b714d){if(_0x2b714d instanceof _0x48cb19['CommentsV2UpdateCommentMessage'])return _0x2b714d;var _0x3efede=new _0x48cb19['CommentsV2UpdateCommentMessage']();if(null!=_0x2b714d['commentThreadId']&&(_0x3efede['commentThreadId']=String(_0x2b714d['commentThreadId'])),null!=_0x2b714d['commentId']&&(_0x3efede['commentId']=String(_0x2b714d['commentId'])),null!=_0x2b714d['content']&&(_0x3efede['content']=String(_0x2b714d['content'])),null!=_0x2b714d['documentId']&&(_0x3efede['documentId']=String(_0x2b714d['documentId'])),null!=_0x2b714d['attributes']&&(_0x3efede['attributes']=String(_0x2b714d['attributes'])),null!=_0x2b714d['isAttributesUpdated']&&(_0x3efede['isAttributesUpdated']=Boolean(_0x2b714d['isAttributesUpdated'])),null!=_0x2b714d['commentThread']){if('object'!=typeof _0x2b714d['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x3efede['commentThread']=_0x48cb19['CommentsThreadDescriptor']['fromObject'](_0x2b714d['commentThread']);}return _0x3efede;},_0xa66c1b['toObject']=function(_0x2b6128,_0x584ffd){_0x584ffd||(_0x584ffd={});var _0x4e7102={};return _0x584ffd['defaults']&&(_0x4e7102['commentThreadId']='',_0x4e7102['commentId']='',_0x4e7102['content']='',_0x4e7102['documentId']='',_0x4e7102['attributes']='',_0x4e7102['isAttributesUpdated']=!0x1,_0x4e7102['commentThread']=null),null!=_0x2b6128['commentThreadId']&&_0x2b6128['hasOwnProperty']('commentThreadId')&&(_0x4e7102['commentThreadId']=_0x2b6128['commentThreadId']),null!=_0x2b6128['commentId']&&_0x2b6128['hasOwnProperty']('commentId')&&(_0x4e7102['commentId']=_0x2b6128['commentId']),null!=_0x2b6128['content']&&_0x2b6128['hasOwnProperty']('content')&&(_0x4e7102['content']=_0x2b6128['content']),null!=_0x2b6128['documentId']&&_0x2b6128['hasOwnProperty']('documentId')&&(_0x4e7102['documentId']=_0x2b6128['documentId']),null!=_0x2b6128['attributes']&&_0x2b6128['hasOwnProperty']('attributes')&&(_0x4e7102['attributes']=_0x2b6128['attributes']),null!=_0x2b6128['isAttributesUpdated']&&_0x2b6128['hasOwnProperty']('isAttributesUpdated')&&(_0x4e7102['isAttributesUpdated']=_0x2b6128['isAttributesUpdated']),null!=_0x2b6128['commentThread']&&_0x2b6128['hasOwnProperty']('commentThread')&&(_0x4e7102['commentThread']=_0x48cb19['CommentsThreadDescriptor']['toObject'](_0x2b6128['commentThread'],_0x584ffd)),_0x4e7102;},_0xa66c1b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0xa66c1b['getTypeUrl']=function(_0xdf94ab){return void 0x0===_0xdf94ab&&(_0xdf94ab='type.googleapis.com'),_0xdf94ab+'/CommentsV2UpdateCommentMessage';},_0xa66c1b;}()),_0x48cb19['CommentsV2AddCommentResponse']=(function(){function _0x574ade(_0x2cfb30){if(_0x2cfb30){for(var _0x41c65f=Object['keys'](_0x2cfb30),_0xca697f=0x0;_0xca697f<_0x41c65f['length'];++_0xca697f)null!=_0x2cfb30[_0x41c65f[_0xca697f]]&&(this[_0x41c65f[_0xca697f]]=_0x2cfb30[_0x41c65f[_0xca697f]]);}}return _0x574ade['prototype']['commentThreadId']='',_0x574ade['prototype']['commentId']='',_0x574ade['prototype']['createdAt']='',_0x574ade['create']=function(_0x5c2293){return new _0x574ade(_0x5c2293);},_0x574ade['encode']=function(_0x26a3fd,_0x3807be){return _0x3807be||(_0x3807be=_0x5a9410['create']()),null!=_0x26a3fd['commentThreadId']&&Object['hasOwnProperty']['call'](_0x26a3fd,'commentThreadId')&&_0x3807be['uint32'](0xa)['string'](_0x26a3fd['commentThreadId']),null!=_0x26a3fd['commentId']&&Object['hasOwnProperty']['call'](_0x26a3fd,'commentId')&&_0x3807be['uint32'](0x12)['string'](_0x26a3fd['commentId']),null!=_0x26a3fd['createdAt']&&Object['hasOwnProperty']['call'](_0x26a3fd,'createdAt')&&_0x3807be['uint32'](0x1a)['string'](_0x26a3fd['createdAt']),_0x3807be;},_0x574ade['encodeDelimited']=function(_0x884cbc,_0x560e21){return this['encode'](_0x884cbc,_0x560e21)['ldelim']();},_0x574ade['decode']=function(_0x2e1794,_0x1ffb66){_0x2e1794 instanceof _0x4537d0||(_0x2e1794=_0x4537d0['create'](_0x2e1794));for(var _0x5f0186=void 0x0===_0x1ffb66?_0x2e1794['len']:_0x2e1794['pos']+_0x1ffb66,_0x407b5a=new _0x48cb19['CommentsV2AddCommentResponse']();_0x2e1794['pos']<_0x5f0186;){var _0x388ced=_0x2e1794['uint32']();switch(_0x388ced>>>0x3){case 0x1:_0x407b5a['commentThreadId']=_0x2e1794['string']();break;case 0x2:_0x407b5a['commentId']=_0x2e1794['string']();break;case 0x3:_0x407b5a['createdAt']=_0x2e1794['string']();break;default:_0x2e1794['skipType'](0x7&_0x388ced);}}return _0x407b5a;},_0x574ade['decodeDelimited']=function(_0x175df8){return _0x175df8 instanceof _0x4537d0||(_0x175df8=new _0x4537d0(_0x175df8)),this['decode'](_0x175df8,_0x175df8['uint32']());},_0x574ade['verify']=function(_0x2b7d89){return'object'!=typeof _0x2b7d89||null===_0x2b7d89?'object\x20expected':null!=_0x2b7d89['commentThreadId']&&_0x2b7d89['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x2b7d89['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2b7d89['commentId']&&_0x2b7d89['hasOwnProperty']('commentId')&&!_0x3be80d['isString'](_0x2b7d89['commentId'])?'commentId:\x20string\x20expected':null!=_0x2b7d89['createdAt']&&_0x2b7d89['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x2b7d89['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x574ade['fromObject']=function(_0xc7a84a){if(_0xc7a84a instanceof _0x48cb19['CommentsV2AddCommentResponse'])return _0xc7a84a;var _0x403c88=new _0x48cb19['CommentsV2AddCommentResponse']();return null!=_0xc7a84a['commentThreadId']&&(_0x403c88['commentThreadId']=String(_0xc7a84a['commentThreadId'])),null!=_0xc7a84a['commentId']&&(_0x403c88['commentId']=String(_0xc7a84a['commentId'])),null!=_0xc7a84a['createdAt']&&(_0x403c88['createdAt']=String(_0xc7a84a['createdAt'])),_0x403c88;},_0x574ade['toObject']=function(_0x543ad7,_0x481645){_0x481645||(_0x481645={});var _0x4df809={};return _0x481645['defaults']&&(_0x4df809['commentThreadId']='',_0x4df809['commentId']='',_0x4df809['createdAt']=''),null!=_0x543ad7['commentThreadId']&&_0x543ad7['hasOwnProperty']('commentThreadId')&&(_0x4df809['commentThreadId']=_0x543ad7['commentThreadId']),null!=_0x543ad7['commentId']&&_0x543ad7['hasOwnProperty']('commentId')&&(_0x4df809['commentId']=_0x543ad7['commentId']),null!=_0x543ad7['createdAt']&&_0x543ad7['hasOwnProperty']('createdAt')&&(_0x4df809['createdAt']=_0x543ad7['createdAt']),_0x4df809;},_0x574ade['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x574ade['getTypeUrl']=function(_0x14e410){return void 0x0===_0x14e410&&(_0x14e410='type.googleapis.com'),_0x14e410+'/CommentsV2AddCommentResponse';},_0x574ade;}()),_0x48cb19['CommentsV2AddCommentThreadResponse']=(function(){function _0x3e9d78(_0x4bc275){if(this['comments']=[],_0x4bc275){for(var _0x5dde64=Object['keys'](_0x4bc275),_0xa0e872=0x0;_0xa0e872<_0x5dde64['length'];++_0xa0e872)null!=_0x4bc275[_0x5dde64[_0xa0e872]]&&(this[_0x5dde64[_0xa0e872]]=_0x4bc275[_0x5dde64[_0xa0e872]]);}}return _0x3e9d78['prototype']['commentThreadId']='',_0x3e9d78['prototype']['createdAt']='',_0x3e9d78['prototype']['comments']=_0x3be80d['emptyArray'],_0x3e9d78['create']=function(_0x23007c){return new _0x3e9d78(_0x23007c);},_0x3e9d78['encode']=function(_0x3dff24,_0x1e4549){if(_0x1e4549||(_0x1e4549=_0x5a9410['create']()),null!=_0x3dff24['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3dff24,'commentThreadId')&&_0x1e4549['uint32'](0xa)['string'](_0x3dff24['commentThreadId']),null!=_0x3dff24['createdAt']&&Object['hasOwnProperty']['call'](_0x3dff24,'createdAt')&&_0x1e4549['uint32'](0x12)['string'](_0x3dff24['createdAt']),null!=_0x3dff24['comments']&&_0x3dff24['comments']['length']){for(var _0x9e4a8a=0x0;_0x9e4a8a<_0x3dff24['comments']['length'];++_0x9e4a8a)_0x48cb19['CommentThreadAddedCommentDescriptor']['encode'](_0x3dff24['comments'][_0x9e4a8a],_0x1e4549['uint32'](0x1a)['fork']())['ldelim']();}return _0x1e4549;},_0x3e9d78['encodeDelimited']=function(_0x33dda4,_0x48f2f1){return this['encode'](_0x33dda4,_0x48f2f1)['ldelim']();},_0x3e9d78['decode']=function(_0x225bb8,_0x895edd){_0x225bb8 instanceof _0x4537d0||(_0x225bb8=_0x4537d0['create'](_0x225bb8));for(var _0x2d30e1=void 0x0===_0x895edd?_0x225bb8['len']:_0x225bb8['pos']+_0x895edd,_0x1abb8d=new _0x48cb19['CommentsV2AddCommentThreadResponse']();_0x225bb8['pos']<_0x2d30e1;){var _0x1fc11c=_0x225bb8['uint32']();switch(_0x1fc11c>>>0x3){case 0x1:_0x1abb8d['commentThreadId']=_0x225bb8['string']();break;case 0x2:_0x1abb8d['createdAt']=_0x225bb8['string']();break;case 0x3:_0x1abb8d['comments']&&_0x1abb8d['comments']['length']||(_0x1abb8d['comments']=[]),_0x1abb8d['comments']['push'](_0x48cb19['CommentThreadAddedCommentDescriptor']['decode'](_0x225bb8,_0x225bb8['uint32']()));break;default:_0x225bb8['skipType'](0x7&_0x1fc11c);}}return _0x1abb8d;},_0x3e9d78['decodeDelimited']=function(_0xc60521){return _0xc60521 instanceof _0x4537d0||(_0xc60521=new _0x4537d0(_0xc60521)),this['decode'](_0xc60521,_0xc60521['uint32']());},_0x3e9d78['verify']=function(_0x58fc9f){if('object'!=typeof _0x58fc9f||null===_0x58fc9f)return'object\x20expected';if(null!=_0x58fc9f['commentThreadId']&&_0x58fc9f['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x58fc9f['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x58fc9f['createdAt']&&_0x58fc9f['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x58fc9f['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x58fc9f['comments']&&_0x58fc9f['hasOwnProperty']('comments')){if(!Array['isArray'](_0x58fc9f['comments']))return'comments:\x20array\x20expected';for(var _0x2a461f=0x0;_0x2a461f<_0x58fc9f['comments']['length'];++_0x2a461f){var _0x5f58dd=_0x48cb19['CommentThreadAddedCommentDescriptor']['verify'](_0x58fc9f['comments'][_0x2a461f]);if(_0x5f58dd)return'comments.'+_0x5f58dd;}}return null;},_0x3e9d78['fromObject']=function(_0x22f615){if(_0x22f615 instanceof _0x48cb19['CommentsV2AddCommentThreadResponse'])return _0x22f615;var _0x7d9a07=new _0x48cb19['CommentsV2AddCommentThreadResponse']();if(null!=_0x22f615['commentThreadId']&&(_0x7d9a07['commentThreadId']=String(_0x22f615['commentThreadId'])),null!=_0x22f615['createdAt']&&(_0x7d9a07['createdAt']=String(_0x22f615['createdAt'])),_0x22f615['comments']){if(!Array['isArray'](_0x22f615['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x7d9a07['comments']=[];for(var _0x2603f5=0x0;_0x2603f5<_0x22f615['comments']['length'];++_0x2603f5){if('object'!=typeof _0x22f615['comments'][_0x2603f5])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x7d9a07['comments'][_0x2603f5]=_0x48cb19['CommentThreadAddedCommentDescriptor']['fromObject'](_0x22f615['comments'][_0x2603f5]);}}return _0x7d9a07;},_0x3e9d78['toObject']=function(_0x43e606,_0x589f77){_0x589f77||(_0x589f77={});var _0x4e878f={};if((_0x589f77['arrays']||_0x589f77['defaults'])&&(_0x4e878f['comments']=[]),_0x589f77['defaults']&&(_0x4e878f['commentThreadId']='',_0x4e878f['createdAt']=''),null!=_0x43e606['commentThreadId']&&_0x43e606['hasOwnProperty']('commentThreadId')&&(_0x4e878f['commentThreadId']=_0x43e606['commentThreadId']),null!=_0x43e606['createdAt']&&_0x43e606['hasOwnProperty']('createdAt')&&(_0x4e878f['createdAt']=_0x43e606['createdAt']),_0x43e606['comments']&&_0x43e606['comments']['length']){_0x4e878f['comments']=[];for(var _0x28c0e7=0x0;_0x28c0e7<_0x43e606['comments']['length'];++_0x28c0e7)_0x4e878f['comments'][_0x28c0e7]=_0x48cb19['CommentThreadAddedCommentDescriptor']['toObject'](_0x43e606['comments'][_0x28c0e7],_0x589f77);}return _0x4e878f;},_0x3e9d78['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3e9d78['getTypeUrl']=function(_0x2955be){return void 0x0===_0x2955be&&(_0x2955be='type.googleapis.com'),_0x2955be+'/CommentsV2AddCommentThreadResponse';},_0x3e9d78;}()),_0x48cb19['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x4006df(_0x248f6a){if(_0x248f6a){for(var _0x3467ff=Object['keys'](_0x248f6a),_0x348be7=0x0;_0x348be7<_0x3467ff['length'];++_0x348be7)null!=_0x248f6a[_0x3467ff[_0x348be7]]&&(this[_0x3467ff[_0x348be7]]=_0x248f6a[_0x3467ff[_0x348be7]]);}}return _0x4006df['prototype']['commentThreadId']='',_0x4006df['prototype']['documentId']='',_0x4006df['prototype']['resolvedAt']='',_0x4006df['prototype']['resolvedBy']='',_0x4006df['create']=function(_0x3b9f05){return new _0x4006df(_0x3b9f05);},_0x4006df['encode']=function(_0x3a29cb,_0x6ba7ad){return _0x6ba7ad||(_0x6ba7ad=_0x5a9410['create']()),null!=_0x3a29cb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3a29cb,'commentThreadId')&&_0x6ba7ad['uint32'](0xa)['string'](_0x3a29cb['commentThreadId']),null!=_0x3a29cb['documentId']&&Object['hasOwnProperty']['call'](_0x3a29cb,'documentId')&&_0x6ba7ad['uint32'](0x12)['string'](_0x3a29cb['documentId']),null!=_0x3a29cb['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3a29cb,'resolvedAt')&&_0x6ba7ad['uint32'](0x1a)['string'](_0x3a29cb['resolvedAt']),null!=_0x3a29cb['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3a29cb,'resolvedBy')&&_0x6ba7ad['uint32'](0x22)['string'](_0x3a29cb['resolvedBy']),_0x6ba7ad;},_0x4006df['encodeDelimited']=function(_0x58c5bd,_0x4f2ab6){return this['encode'](_0x58c5bd,_0x4f2ab6)['ldelim']();},_0x4006df['decode']=function(_0x4c9ee9,_0x1e9668){_0x4c9ee9 instanceof _0x4537d0||(_0x4c9ee9=_0x4537d0['create'](_0x4c9ee9));for(var _0x4d1e30=void 0x0===_0x1e9668?_0x4c9ee9['len']:_0x4c9ee9['pos']+_0x1e9668,_0x46a9e4=new _0x48cb19['CommentsV2ResolveCommentThreadResponse']();_0x4c9ee9['pos']<_0x4d1e30;){var _0x18246d=_0x4c9ee9['uint32']();switch(_0x18246d>>>0x3){case 0x1:_0x46a9e4['commentThreadId']=_0x4c9ee9['string']();break;case 0x2:_0x46a9e4['documentId']=_0x4c9ee9['string']();break;case 0x3:_0x46a9e4['resolvedAt']=_0x4c9ee9['string']();break;case 0x4:_0x46a9e4['resolvedBy']=_0x4c9ee9['string']();break;default:_0x4c9ee9['skipType'](0x7&_0x18246d);}}return _0x46a9e4;},_0x4006df['decodeDelimited']=function(_0x25a126){return _0x25a126 instanceof _0x4537d0||(_0x25a126=new _0x4537d0(_0x25a126)),this['decode'](_0x25a126,_0x25a126['uint32']());},_0x4006df['verify']=function(_0x2d029a){return'object'!=typeof _0x2d029a||null===_0x2d029a?'object\x20expected':null!=_0x2d029a['commentThreadId']&&_0x2d029a['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x2d029a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2d029a['documentId']&&_0x2d029a['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x2d029a['documentId'])?'documentId:\x20string\x20expected':null!=_0x2d029a['resolvedAt']&&_0x2d029a['hasOwnProperty']('resolvedAt')&&!_0x3be80d['isString'](_0x2d029a['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x2d029a['resolvedBy']&&_0x2d029a['hasOwnProperty']('resolvedBy')&&!_0x3be80d['isString'](_0x2d029a['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x4006df['fromObject']=function(_0x717fbb){if(_0x717fbb instanceof _0x48cb19['CommentsV2ResolveCommentThreadResponse'])return _0x717fbb;var _0x20fd4b=new _0x48cb19['CommentsV2ResolveCommentThreadResponse']();return null!=_0x717fbb['commentThreadId']&&(_0x20fd4b['commentThreadId']=String(_0x717fbb['commentThreadId'])),null!=_0x717fbb['documentId']&&(_0x20fd4b['documentId']=String(_0x717fbb['documentId'])),null!=_0x717fbb['resolvedAt']&&(_0x20fd4b['resolvedAt']=String(_0x717fbb['resolvedAt'])),null!=_0x717fbb['resolvedBy']&&(_0x20fd4b['resolvedBy']=String(_0x717fbb['resolvedBy'])),_0x20fd4b;},_0x4006df['toObject']=function(_0xb73a6b,_0x2db670){_0x2db670||(_0x2db670={});var _0x2a71d2={};return _0x2db670['defaults']&&(_0x2a71d2['commentThreadId']='',_0x2a71d2['documentId']='',_0x2a71d2['resolvedAt']='',_0x2a71d2['resolvedBy']=''),null!=_0xb73a6b['commentThreadId']&&_0xb73a6b['hasOwnProperty']('commentThreadId')&&(_0x2a71d2['commentThreadId']=_0xb73a6b['commentThreadId']),null!=_0xb73a6b['documentId']&&_0xb73a6b['hasOwnProperty']('documentId')&&(_0x2a71d2['documentId']=_0xb73a6b['documentId']),null!=_0xb73a6b['resolvedAt']&&_0xb73a6b['hasOwnProperty']('resolvedAt')&&(_0x2a71d2['resolvedAt']=_0xb73a6b['resolvedAt']),null!=_0xb73a6b['resolvedBy']&&_0xb73a6b['hasOwnProperty']('resolvedBy')&&(_0x2a71d2['resolvedBy']=_0xb73a6b['resolvedBy']),_0x2a71d2;},_0x4006df['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x4006df['getTypeUrl']=function(_0x581545){return void 0x0===_0x581545&&(_0x581545='type.googleapis.com'),_0x581545+'/CommentsV2ResolveCommentThreadResponse';},_0x4006df;}()),_0x48cb19['CommentsV2ConnectResponse']=(function(){function _0x4fbb8e(_0xc48835){if(this['threads']=[],this['threadsV2']=[],_0xc48835){for(var _0x2937a2=Object['keys'](_0xc48835),_0x56d1af=0x0;_0x56d1af<_0x2937a2['length'];++_0x56d1af)null!=_0xc48835[_0x2937a2[_0x56d1af]]&&(this[_0x2937a2[_0x56d1af]]=_0xc48835[_0x2937a2[_0x56d1af]]);}}return _0x4fbb8e['prototype']['channel']='',_0x4fbb8e['prototype']['threads']=_0x3be80d['emptyArray'],_0x4fbb8e['prototype']['threadsV2']=_0x3be80d['emptyArray'],_0x4fbb8e['create']=function(_0x4aee0c){return new _0x4fbb8e(_0x4aee0c);},_0x4fbb8e['encode']=function(_0x49e950,_0x8e034a){if(_0x8e034a||(_0x8e034a=_0x5a9410['create']()),null!=_0x49e950['channel']&&Object['hasOwnProperty']['call'](_0x49e950,'channel')&&_0x8e034a['uint32'](0xa)['string'](_0x49e950['channel']),null!=_0x49e950['threads']&&_0x49e950['threads']['length']){for(var _0x1d8b43=0x0;_0x1d8b43<_0x49e950['threads']['length'];++_0x1d8b43)_0x8e034a['uint32'](0x12)['string'](_0x49e950['threads'][_0x1d8b43]);}if(null!=_0x49e950['threadsV2']&&_0x49e950['threadsV2']['length']){for(_0x1d8b43=0x0;_0x1d8b43<_0x49e950['threadsV2']['length'];++_0x1d8b43)_0x48cb19['CommentsThreadDescriptor']['encode'](_0x49e950['threadsV2'][_0x1d8b43],_0x8e034a['uint32'](0x1a)['fork']())['ldelim']();}return _0x8e034a;},_0x4fbb8e['encodeDelimited']=function(_0x2dc314,_0x20bd05){return this['encode'](_0x2dc314,_0x20bd05)['ldelim']();},_0x4fbb8e['decode']=function(_0x3fbc52,_0x5ef624){_0x3fbc52 instanceof _0x4537d0||(_0x3fbc52=_0x4537d0['create'](_0x3fbc52));for(var _0x316e55=void 0x0===_0x5ef624?_0x3fbc52['len']:_0x3fbc52['pos']+_0x5ef624,_0x1caf8a=new _0x48cb19['CommentsV2ConnectResponse']();_0x3fbc52['pos']<_0x316e55;){var _0x4b046a=_0x3fbc52['uint32']();switch(_0x4b046a>>>0x3){case 0x1:_0x1caf8a['channel']=_0x3fbc52['string']();break;case 0x2:_0x1caf8a['threads']&&_0x1caf8a['threads']['length']||(_0x1caf8a['threads']=[]),_0x1caf8a['threads']['push'](_0x3fbc52['string']());break;case 0x3:_0x1caf8a['threadsV2']&&_0x1caf8a['threadsV2']['length']||(_0x1caf8a['threadsV2']=[]),_0x1caf8a['threadsV2']['push'](_0x48cb19['CommentsThreadDescriptor']['decode'](_0x3fbc52,_0x3fbc52['uint32']()));break;default:_0x3fbc52['skipType'](0x7&_0x4b046a);}}return _0x1caf8a;},_0x4fbb8e['decodeDelimited']=function(_0x39bc64){return _0x39bc64 instanceof _0x4537d0||(_0x39bc64=new _0x4537d0(_0x39bc64)),this['decode'](_0x39bc64,_0x39bc64['uint32']());},_0x4fbb8e['verify']=function(_0x1b0444){if('object'!=typeof _0x1b0444||null===_0x1b0444)return'object\x20expected';if(null!=_0x1b0444['channel']&&_0x1b0444['hasOwnProperty']('channel')&&!_0x3be80d['isString'](_0x1b0444['channel']))return'channel:\x20string\x20expected';if(null!=_0x1b0444['threads']&&_0x1b0444['hasOwnProperty']('threads')){if(!Array['isArray'](_0x1b0444['threads']))return'threads:\x20array\x20expected';for(var _0xae8354=0x0;_0xae8354<_0x1b0444['threads']['length'];++_0xae8354)if(!_0x3be80d['isString'](_0x1b0444['threads'][_0xae8354]))return'threads:\x20string[]\x20expected';}if(null!=_0x1b0444['threadsV2']&&_0x1b0444['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x1b0444['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0xae8354=0x0;_0xae8354<_0x1b0444['threadsV2']['length'];++_0xae8354){var _0x3fd716=_0x48cb19['CommentsThreadDescriptor']['verify'](_0x1b0444['threadsV2'][_0xae8354]);if(_0x3fd716)return'threadsV2.'+_0x3fd716;}}return null;},_0x4fbb8e['fromObject']=function(_0x3d486f){if(_0x3d486f instanceof _0x48cb19['CommentsV2ConnectResponse'])return _0x3d486f;var _0x907a2=new _0x48cb19['CommentsV2ConnectResponse']();if(null!=_0x3d486f['channel']&&(_0x907a2['channel']=String(_0x3d486f['channel'])),_0x3d486f['threads']){if(!Array['isArray'](_0x3d486f['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x907a2['threads']=[];for(var _0x3c7cfa=0x0;_0x3c7cfa<_0x3d486f['threads']['length'];++_0x3c7cfa)_0x907a2['threads'][_0x3c7cfa]=String(_0x3d486f['threads'][_0x3c7cfa]);}if(_0x3d486f['threadsV2']){if(!Array['isArray'](_0x3d486f['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x907a2['threadsV2']=[],_0x3c7cfa=0x0;_0x3c7cfa<_0x3d486f['threadsV2']['length'];++_0x3c7cfa){if('object'!=typeof _0x3d486f['threadsV2'][_0x3c7cfa])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x907a2['threadsV2'][_0x3c7cfa]=_0x48cb19['CommentsThreadDescriptor']['fromObject'](_0x3d486f['threadsV2'][_0x3c7cfa]);}}return _0x907a2;},_0x4fbb8e['toObject']=function(_0x3f7b71,_0x1d3016){_0x1d3016||(_0x1d3016={});var _0x20b5c3={};if((_0x1d3016['arrays']||_0x1d3016['defaults'])&&(_0x20b5c3['threads']=[],_0x20b5c3['threadsV2']=[]),_0x1d3016['defaults']&&(_0x20b5c3['channel']=''),null!=_0x3f7b71['channel']&&_0x3f7b71['hasOwnProperty']('channel')&&(_0x20b5c3['channel']=_0x3f7b71['channel']),_0x3f7b71['threads']&&_0x3f7b71['threads']['length']){_0x20b5c3['threads']=[];for(var _0x34a73d=0x0;_0x34a73d<_0x3f7b71['threads']['length'];++_0x34a73d)_0x20b5c3['threads'][_0x34a73d]=_0x3f7b71['threads'][_0x34a73d];}if(_0x3f7b71['threadsV2']&&_0x3f7b71['threadsV2']['length']){for(_0x20b5c3['threadsV2']=[],_0x34a73d=0x0;_0x34a73d<_0x3f7b71['threadsV2']['length'];++_0x34a73d)_0x20b5c3['threadsV2'][_0x34a73d]=_0x48cb19['CommentsThreadDescriptor']['toObject'](_0x3f7b71['threadsV2'][_0x34a73d],_0x1d3016);}return _0x20b5c3;},_0x4fbb8e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x4fbb8e['getTypeUrl']=function(_0x4ec5c6){return void 0x0===_0x4ec5c6&&(_0x4ec5c6='type.googleapis.com'),_0x4ec5c6+'/CommentsV2ConnectResponse';},_0x4fbb8e;}()),_0x48cb19['CommentsV2GetCommentThreadResponse']=(function(){function _0x360ba2(_0x423448){if(this['comments']=[],this['commentsV2']=[],_0x423448){for(var _0x3b3bc0=Object['keys'](_0x423448),_0x21445c=0x0;_0x21445c<_0x3b3bc0['length'];++_0x21445c)null!=_0x423448[_0x3b3bc0[_0x21445c]]&&(this[_0x3b3bc0[_0x21445c]]=_0x423448[_0x3b3bc0[_0x21445c]]);}}return _0x360ba2['prototype']['commentThreadId']='',_0x360ba2['prototype']['comments']=_0x3be80d['emptyArray'],_0x360ba2['prototype']['commentsV2']=_0x3be80d['emptyArray'],_0x360ba2['prototype']['resolvedAt']='',_0x360ba2['prototype']['resolvedBy']='',_0x360ba2['prototype']['context']='',_0x360ba2['prototype']['createdAt']='',_0x360ba2['prototype']['deletedAt']='',_0x360ba2['prototype']['attributes']='',_0x360ba2['prototype']['unlinkedAt']='',_0x360ba2['create']=function(_0xd220b0){return new _0x360ba2(_0xd220b0);},_0x360ba2['encode']=function(_0x48f444,_0x28745f){if(_0x28745f||(_0x28745f=_0x5a9410['create']()),null!=_0x48f444['commentThreadId']&&Object['hasOwnProperty']['call'](_0x48f444,'commentThreadId')&&_0x28745f['uint32'](0xa)['string'](_0x48f444['commentThreadId']),null!=_0x48f444['comments']&&_0x48f444['comments']['length']){for(var _0x7d57ff=0x0;_0x7d57ff<_0x48f444['comments']['length'];++_0x7d57ff)_0x28745f['uint32'](0x12)['string'](_0x48f444['comments'][_0x7d57ff]);}if(null!=_0x48f444['commentsV2']&&_0x48f444['commentsV2']['length']){for(_0x7d57ff=0x0;_0x7d57ff<_0x48f444['commentsV2']['length'];++_0x7d57ff)_0x48cb19['CommentDescriptor']['encode'](_0x48f444['commentsV2'][_0x7d57ff],_0x28745f['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x48f444['resolvedAt']&&Object['hasOwnProperty']['call'](_0x48f444,'resolvedAt')&&_0x28745f['uint32'](0x22)['string'](_0x48f444['resolvedAt']),null!=_0x48f444['resolvedBy']&&Object['hasOwnProperty']['call'](_0x48f444,'resolvedBy')&&_0x28745f['uint32'](0x2a)['string'](_0x48f444['resolvedBy']),null!=_0x48f444['context']&&Object['hasOwnProperty']['call'](_0x48f444,'context')&&_0x28745f['uint32'](0x32)['string'](_0x48f444['context']),null!=_0x48f444['createdAt']&&Object['hasOwnProperty']['call'](_0x48f444,'createdAt')&&_0x28745f['uint32'](0x3a)['string'](_0x48f444['createdAt']),null!=_0x48f444['deletedAt']&&Object['hasOwnProperty']['call'](_0x48f444,'deletedAt')&&_0x28745f['uint32'](0x42)['string'](_0x48f444['deletedAt']),null!=_0x48f444['attributes']&&Object['hasOwnProperty']['call'](_0x48f444,'attributes')&&_0x28745f['uint32'](0x4a)['string'](_0x48f444['attributes']),null!=_0x48f444['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x48f444,'unlinkedAt')&&_0x28745f['uint32'](0x52)['string'](_0x48f444['unlinkedAt']),_0x28745f;},_0x360ba2['encodeDelimited']=function(_0x197b08,_0x38cbc7){return this['encode'](_0x197b08,_0x38cbc7)['ldelim']();},_0x360ba2['decode']=function(_0x1ae13c,_0x597dbd){_0x1ae13c instanceof _0x4537d0||(_0x1ae13c=_0x4537d0['create'](_0x1ae13c));for(var _0x5335dc=void 0x0===_0x597dbd?_0x1ae13c['len']:_0x1ae13c['pos']+_0x597dbd,_0x4f4967=new _0x48cb19['CommentsV2GetCommentThreadResponse']();_0x1ae13c['pos']<_0x5335dc;){var _0xd7a051=_0x1ae13c['uint32']();switch(_0xd7a051>>>0x3){case 0x1:_0x4f4967['commentThreadId']=_0x1ae13c['string']();break;case 0x2:_0x4f4967['comments']&&_0x4f4967['comments']['length']||(_0x4f4967['comments']=[]),_0x4f4967['comments']['push'](_0x1ae13c['string']());break;case 0x3:_0x4f4967['commentsV2']&&_0x4f4967['commentsV2']['length']||(_0x4f4967['commentsV2']=[]),_0x4f4967['commentsV2']['push'](_0x48cb19['CommentDescriptor']['decode'](_0x1ae13c,_0x1ae13c['uint32']()));break;case 0x4:_0x4f4967['resolvedAt']=_0x1ae13c['string']();break;case 0x5:_0x4f4967['resolvedBy']=_0x1ae13c['string']();break;case 0x6:_0x4f4967['context']=_0x1ae13c['string']();break;case 0x7:_0x4f4967['createdAt']=_0x1ae13c['string']();break;case 0x8:_0x4f4967['deletedAt']=_0x1ae13c['string']();break;case 0x9:_0x4f4967['attributes']=_0x1ae13c['string']();break;case 0xa:_0x4f4967['unlinkedAt']=_0x1ae13c['string']();break;default:_0x1ae13c['skipType'](0x7&_0xd7a051);}}return _0x4f4967;},_0x360ba2['decodeDelimited']=function(_0x286606){return _0x286606 instanceof _0x4537d0||(_0x286606=new _0x4537d0(_0x286606)),this['decode'](_0x286606,_0x286606['uint32']());},_0x360ba2['verify']=function(_0x20d2b0){if('object'!=typeof _0x20d2b0||null===_0x20d2b0)return'object\x20expected';if(null!=_0x20d2b0['commentThreadId']&&_0x20d2b0['hasOwnProperty']('commentThreadId')&&!_0x3be80d['isString'](_0x20d2b0['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x20d2b0['comments']&&_0x20d2b0['hasOwnProperty']('comments')){if(!Array['isArray'](_0x20d2b0['comments']))return'comments:\x20array\x20expected';for(var _0x177736=0x0;_0x177736<_0x20d2b0['comments']['length'];++_0x177736)if(!_0x3be80d['isString'](_0x20d2b0['comments'][_0x177736]))return'comments:\x20string[]\x20expected';}if(null!=_0x20d2b0['commentsV2']&&_0x20d2b0['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x20d2b0['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x177736=0x0;_0x177736<_0x20d2b0['commentsV2']['length'];++_0x177736){var _0x597d4d=_0x48cb19['CommentDescriptor']['verify'](_0x20d2b0['commentsV2'][_0x177736]);if(_0x597d4d)return'commentsV2.'+_0x597d4d;}}return null!=_0x20d2b0['resolvedAt']&&_0x20d2b0['hasOwnProperty']('resolvedAt')&&!_0x3be80d['isString'](_0x20d2b0['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x20d2b0['resolvedBy']&&_0x20d2b0['hasOwnProperty']('resolvedBy')&&!_0x3be80d['isString'](_0x20d2b0['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x20d2b0['context']&&_0x20d2b0['hasOwnProperty']('context')&&!_0x3be80d['isString'](_0x20d2b0['context'])?'context:\x20string\x20expected':null!=_0x20d2b0['createdAt']&&_0x20d2b0['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x20d2b0['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x20d2b0['deletedAt']&&_0x20d2b0['hasOwnProperty']('deletedAt')&&!_0x3be80d['isString'](_0x20d2b0['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x20d2b0['attributes']&&_0x20d2b0['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x20d2b0['attributes'])?'attributes:\x20string\x20expected':null!=_0x20d2b0['unlinkedAt']&&_0x20d2b0['hasOwnProperty']('unlinkedAt')&&!_0x3be80d['isString'](_0x20d2b0['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x360ba2['fromObject']=function(_0x11aff1){if(_0x11aff1 instanceof _0x48cb19['CommentsV2GetCommentThreadResponse'])return _0x11aff1;var _0x470056=new _0x48cb19['CommentsV2GetCommentThreadResponse']();if(null!=_0x11aff1['commentThreadId']&&(_0x470056['commentThreadId']=String(_0x11aff1['commentThreadId'])),_0x11aff1['comments']){if(!Array['isArray'](_0x11aff1['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x470056['comments']=[];for(var _0x5e0c81=0x0;_0x5e0c81<_0x11aff1['comments']['length'];++_0x5e0c81)_0x470056['comments'][_0x5e0c81]=String(_0x11aff1['comments'][_0x5e0c81]);}if(_0x11aff1['commentsV2']){if(!Array['isArray'](_0x11aff1['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x470056['commentsV2']=[],_0x5e0c81=0x0;_0x5e0c81<_0x11aff1['commentsV2']['length'];++_0x5e0c81){if('object'!=typeof _0x11aff1['commentsV2'][_0x5e0c81])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x470056['commentsV2'][_0x5e0c81]=_0x48cb19['CommentDescriptor']['fromObject'](_0x11aff1['commentsV2'][_0x5e0c81]);}}return null!=_0x11aff1['resolvedAt']&&(_0x470056['resolvedAt']=String(_0x11aff1['resolvedAt'])),null!=_0x11aff1['resolvedBy']&&(_0x470056['resolvedBy']=String(_0x11aff1['resolvedBy'])),null!=_0x11aff1['context']&&(_0x470056['context']=String(_0x11aff1['context'])),null!=_0x11aff1['createdAt']&&(_0x470056['createdAt']=String(_0x11aff1['createdAt'])),null!=_0x11aff1['deletedAt']&&(_0x470056['deletedAt']=String(_0x11aff1['deletedAt'])),null!=_0x11aff1['attributes']&&(_0x470056['attributes']=String(_0x11aff1['attributes'])),null!=_0x11aff1['unlinkedAt']&&(_0x470056['unlinkedAt']=String(_0x11aff1['unlinkedAt'])),_0x470056;},_0x360ba2['toObject']=function(_0x4258a5,_0x26e213){_0x26e213||(_0x26e213={});var _0x5d13b9={};if((_0x26e213['arrays']||_0x26e213['defaults'])&&(_0x5d13b9['comments']=[],_0x5d13b9['commentsV2']=[]),_0x26e213['defaults']&&(_0x5d13b9['commentThreadId']='',_0x5d13b9['resolvedAt']='',_0x5d13b9['resolvedBy']='',_0x5d13b9['context']='',_0x5d13b9['createdAt']='',_0x5d13b9['deletedAt']='',_0x5d13b9['attributes']='',_0x5d13b9['unlinkedAt']=''),null!=_0x4258a5['commentThreadId']&&_0x4258a5['hasOwnProperty']('commentThreadId')&&(_0x5d13b9['commentThreadId']=_0x4258a5['commentThreadId']),_0x4258a5['comments']&&_0x4258a5['comments']['length']){_0x5d13b9['comments']=[];for(var _0x274152=0x0;_0x274152<_0x4258a5['comments']['length'];++_0x274152)_0x5d13b9['comments'][_0x274152]=_0x4258a5['comments'][_0x274152];}if(_0x4258a5['commentsV2']&&_0x4258a5['commentsV2']['length']){for(_0x5d13b9['commentsV2']=[],_0x274152=0x0;_0x274152<_0x4258a5['commentsV2']['length'];++_0x274152)_0x5d13b9['commentsV2'][_0x274152]=_0x48cb19['CommentDescriptor']['toObject'](_0x4258a5['commentsV2'][_0x274152],_0x26e213);}return null!=_0x4258a5['resolvedAt']&&_0x4258a5['hasOwnProperty']('resolvedAt')&&(_0x5d13b9['resolvedAt']=_0x4258a5['resolvedAt']),null!=_0x4258a5['resolvedBy']&&_0x4258a5['hasOwnProperty']('resolvedBy')&&(_0x5d13b9['resolvedBy']=_0x4258a5['resolvedBy']),null!=_0x4258a5['context']&&_0x4258a5['hasOwnProperty']('context')&&(_0x5d13b9['context']=_0x4258a5['context']),null!=_0x4258a5['createdAt']&&_0x4258a5['hasOwnProperty']('createdAt')&&(_0x5d13b9['createdAt']=_0x4258a5['createdAt']),null!=_0x4258a5['deletedAt']&&_0x4258a5['hasOwnProperty']('deletedAt')&&(_0x5d13b9['deletedAt']=_0x4258a5['deletedAt']),null!=_0x4258a5['attributes']&&_0x4258a5['hasOwnProperty']('attributes')&&(_0x5d13b9['attributes']=_0x4258a5['attributes']),null!=_0x4258a5['unlinkedAt']&&_0x4258a5['hasOwnProperty']('unlinkedAt')&&(_0x5d13b9['unlinkedAt']=_0x4258a5['unlinkedAt']),_0x5d13b9;},_0x360ba2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x360ba2['getTypeUrl']=function(_0x3f367b){return void 0x0===_0x3f367b&&(_0x3f367b='type.googleapis.com'),_0x3f367b+'/CommentsV2GetCommentThreadResponse';},_0x360ba2;}()),_0x48cb19['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x2edde8(_0x4be62b){if(this['threads']=[],this['threadsV2']=[],_0x4be62b){for(var _0x176bdc=Object['keys'](_0x4be62b),_0x32d32e=0x0;_0x32d32e<_0x176bdc['length'];++_0x32d32e)null!=_0x4be62b[_0x176bdc[_0x32d32e]]&&(this[_0x176bdc[_0x32d32e]]=_0x4be62b[_0x176bdc[_0x32d32e]]);}}return _0x2edde8['prototype']['threads']=_0x3be80d['emptyArray'],_0x2edde8['prototype']['threadsV2']=_0x3be80d['emptyArray'],_0x2edde8['create']=function(_0x32d732){return new _0x2edde8(_0x32d732);},_0x2edde8['encode']=function(_0x38e085,_0x3a4f7a){if(_0x3a4f7a||(_0x3a4f7a=_0x5a9410['create']()),null!=_0x38e085['threads']&&_0x38e085['threads']['length']){for(var _0x4b09aa=0x0;_0x4b09aa<_0x38e085['threads']['length'];++_0x4b09aa)_0x3a4f7a['uint32'](0xa)['string'](_0x38e085['threads'][_0x4b09aa]);}if(null!=_0x38e085['threadsV2']&&_0x38e085['threadsV2']['length']){for(_0x4b09aa=0x0;_0x4b09aa<_0x38e085['threadsV2']['length'];++_0x4b09aa)_0x48cb19['CommentsThreadDescriptor']['encode'](_0x38e085['threadsV2'][_0x4b09aa],_0x3a4f7a['uint32'](0x12)['fork']())['ldelim']();}return _0x3a4f7a;},_0x2edde8['encodeDelimited']=function(_0x289fdd,_0x2de9f8){return this['encode'](_0x289fdd,_0x2de9f8)['ldelim']();},_0x2edde8['decode']=function(_0x577379,_0x11768b){_0x577379 instanceof _0x4537d0||(_0x577379=_0x4537d0['create'](_0x577379));for(var _0x5481cd=void 0x0===_0x11768b?_0x577379['len']:_0x577379['pos']+_0x11768b,_0x222aff=new _0x48cb19['CommentsV2GetDocumentThreadsResponse']();_0x577379['pos']<_0x5481cd;){var _0x38bcc1=_0x577379['uint32']();switch(_0x38bcc1>>>0x3){case 0x1:_0x222aff['threads']&&_0x222aff['threads']['length']||(_0x222aff['threads']=[]),_0x222aff['threads']['push'](_0x577379['string']());break;case 0x2:_0x222aff['threadsV2']&&_0x222aff['threadsV2']['length']||(_0x222aff['threadsV2']=[]),_0x222aff['threadsV2']['push'](_0x48cb19['CommentsThreadDescriptor']['decode'](_0x577379,_0x577379['uint32']()));break;default:_0x577379['skipType'](0x7&_0x38bcc1);}}return _0x222aff;},_0x2edde8['decodeDelimited']=function(_0x4db737){return _0x4db737 instanceof _0x4537d0||(_0x4db737=new _0x4537d0(_0x4db737)),this['decode'](_0x4db737,_0x4db737['uint32']());},_0x2edde8['verify']=function(_0x4e3e62){if('object'!=typeof _0x4e3e62||null===_0x4e3e62)return'object\x20expected';if(null!=_0x4e3e62['threads']&&_0x4e3e62['hasOwnProperty']('threads')){if(!Array['isArray'](_0x4e3e62['threads']))return'threads:\x20array\x20expected';for(var _0x243348=0x0;_0x243348<_0x4e3e62['threads']['length'];++_0x243348)if(!_0x3be80d['isString'](_0x4e3e62['threads'][_0x243348]))return'threads:\x20string[]\x20expected';}if(null!=_0x4e3e62['threadsV2']&&_0x4e3e62['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x4e3e62['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x243348=0x0;_0x243348<_0x4e3e62['threadsV2']['length'];++_0x243348){var _0xbed5de=_0x48cb19['CommentsThreadDescriptor']['verify'](_0x4e3e62['threadsV2'][_0x243348]);if(_0xbed5de)return'threadsV2.'+_0xbed5de;}}return null;},_0x2edde8['fromObject']=function(_0x496e6e){if(_0x496e6e instanceof _0x48cb19['CommentsV2GetDocumentThreadsResponse'])return _0x496e6e;var _0x236016=new _0x48cb19['CommentsV2GetDocumentThreadsResponse']();if(_0x496e6e['threads']){if(!Array['isArray'](_0x496e6e['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x236016['threads']=[];for(var _0x242c94=0x0;_0x242c94<_0x496e6e['threads']['length'];++_0x242c94)_0x236016['threads'][_0x242c94]=String(_0x496e6e['threads'][_0x242c94]);}if(_0x496e6e['threadsV2']){if(!Array['isArray'](_0x496e6e['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x236016['threadsV2']=[],_0x242c94=0x0;_0x242c94<_0x496e6e['threadsV2']['length'];++_0x242c94){if('object'!=typeof _0x496e6e['threadsV2'][_0x242c94])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x236016['threadsV2'][_0x242c94]=_0x48cb19['CommentsThreadDescriptor']['fromObject'](_0x496e6e['threadsV2'][_0x242c94]);}}return _0x236016;},_0x2edde8['toObject']=function(_0x686eae,_0x4fd49b){_0x4fd49b||(_0x4fd49b={});var _0x22e216={};if((_0x4fd49b['arrays']||_0x4fd49b['defaults'])&&(_0x22e216['threads']=[],_0x22e216['threadsV2']=[]),_0x686eae['threads']&&_0x686eae['threads']['length']){_0x22e216['threads']=[];for(var _0x555cf6=0x0;_0x555cf6<_0x686eae['threads']['length'];++_0x555cf6)_0x22e216['threads'][_0x555cf6]=_0x686eae['threads'][_0x555cf6];}if(_0x686eae['threadsV2']&&_0x686eae['threadsV2']['length']){for(_0x22e216['threadsV2']=[],_0x555cf6=0x0;_0x555cf6<_0x686eae['threadsV2']['length'];++_0x555cf6)_0x22e216['threadsV2'][_0x555cf6]=_0x48cb19['CommentsThreadDescriptor']['toObject'](_0x686eae['threadsV2'][_0x555cf6],_0x4fd49b);}return _0x22e216;},_0x2edde8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2edde8['getTypeUrl']=function(_0x39b332){return void 0x0===_0x39b332&&(_0x39b332='type.googleapis.com'),_0x39b332+'/CommentsV2GetDocumentThreadsResponse';},_0x2edde8;}()),_0x48cb19['KeyValueDescriptor']=(function(){function _0x33e866(_0x3eafc0){if(_0x3eafc0){for(var _0x1a4456=Object['keys'](_0x3eafc0),_0x3b3cb1=0x0;_0x3b3cb1<_0x1a4456['length'];++_0x3b3cb1)null!=_0x3eafc0[_0x1a4456[_0x3b3cb1]]&&(this[_0x1a4456[_0x3b3cb1]]=_0x3eafc0[_0x1a4456[_0x3b3cb1]]);}}return _0x33e866['prototype']['key']='',_0x33e866['prototype']['value']='',_0x33e866['create']=function(_0x3e83eb){return new _0x33e866(_0x3e83eb);},_0x33e866['encode']=function(_0x5a20d7,_0x2c220d){return _0x2c220d||(_0x2c220d=_0x5a9410['create']()),null!=_0x5a20d7['key']&&Object['hasOwnProperty']['call'](_0x5a20d7,'key')&&_0x2c220d['uint32'](0xa)['string'](_0x5a20d7['key']),null!=_0x5a20d7['value']&&Object['hasOwnProperty']['call'](_0x5a20d7,'value')&&_0x2c220d['uint32'](0x12)['string'](_0x5a20d7['value']),_0x2c220d;},_0x33e866['encodeDelimited']=function(_0x2b4d5b,_0x54d2f5){return this['encode'](_0x2b4d5b,_0x54d2f5)['ldelim']();},_0x33e866['decode']=function(_0x4cf6dd,_0x1cf3d1){_0x4cf6dd instanceof _0x4537d0||(_0x4cf6dd=_0x4537d0['create'](_0x4cf6dd));for(var _0x6effb4=void 0x0===_0x1cf3d1?_0x4cf6dd['len']:_0x4cf6dd['pos']+_0x1cf3d1,_0x31a36e=new _0x48cb19['KeyValueDescriptor']();_0x4cf6dd['pos']<_0x6effb4;){var _0x19f7c7=_0x4cf6dd['uint32']();switch(_0x19f7c7>>>0x3){case 0x1:_0x31a36e['key']=_0x4cf6dd['string']();break;case 0x2:_0x31a36e['value']=_0x4cf6dd['string']();break;default:_0x4cf6dd['skipType'](0x7&_0x19f7c7);}}return _0x31a36e;},_0x33e866['decodeDelimited']=function(_0x17e04b){return _0x17e04b instanceof _0x4537d0||(_0x17e04b=new _0x4537d0(_0x17e04b)),this['decode'](_0x17e04b,_0x17e04b['uint32']());},_0x33e866['verify']=function(_0x23334d){return'object'!=typeof _0x23334d||null===_0x23334d?'object\x20expected':null!=_0x23334d['key']&&_0x23334d['hasOwnProperty']('key')&&!_0x3be80d['isString'](_0x23334d['key'])?'key:\x20string\x20expected':null!=_0x23334d['value']&&_0x23334d['hasOwnProperty']('value')&&!_0x3be80d['isString'](_0x23334d['value'])?'value:\x20string\x20expected':null;},_0x33e866['fromObject']=function(_0x532ee7){if(_0x532ee7 instanceof _0x48cb19['KeyValueDescriptor'])return _0x532ee7;var _0x4f7f59=new _0x48cb19['KeyValueDescriptor']();return null!=_0x532ee7['key']&&(_0x4f7f59['key']=String(_0x532ee7['key'])),null!=_0x532ee7['value']&&(_0x4f7f59['value']=String(_0x532ee7['value'])),_0x4f7f59;},_0x33e866['toObject']=function(_0xc43568,_0x1c17d0){_0x1c17d0||(_0x1c17d0={});var _0x4b7363={};return _0x1c17d0['defaults']&&(_0x4b7363['key']='',_0x4b7363['value']=''),null!=_0xc43568['key']&&_0xc43568['hasOwnProperty']('key')&&(_0x4b7363['key']=_0xc43568['key']),null!=_0xc43568['value']&&_0xc43568['hasOwnProperty']('value')&&(_0x4b7363['value']=_0xc43568['value']),_0x4b7363;},_0x33e866['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x33e866['getTypeUrl']=function(_0x32db13){return void 0x0===_0x32db13&&(_0x32db13='type.googleapis.com'),_0x32db13+'/KeyValueDescriptor';},_0x33e866;}()),_0x48cb19['IsEditorBundleUploadedMessage']=(function(){function _0xdf891(_0x55a239){if(_0x55a239){for(var _0x3a93be=Object['keys'](_0x55a239),_0x5dfecc=0x0;_0x5dfecc<_0x3a93be['length'];++_0x5dfecc)null!=_0x55a239[_0x3a93be[_0x5dfecc]]&&(this[_0x3a93be[_0x5dfecc]]=_0x55a239[_0x3a93be[_0x5dfecc]]);}}return _0xdf891['prototype']['bundleVersion']='',_0xdf891['create']=function(_0x11debd){return new _0xdf891(_0x11debd);},_0xdf891['encode']=function(_0x3361b6,_0x385d2c){return _0x385d2c||(_0x385d2c=_0x5a9410['create']()),null!=_0x3361b6['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3361b6,'bundleVersion')&&_0x385d2c['uint32'](0xa)['string'](_0x3361b6['bundleVersion']),_0x385d2c;},_0xdf891['encodeDelimited']=function(_0x3c4b9f,_0xb1c477){return this['encode'](_0x3c4b9f,_0xb1c477)['ldelim']();},_0xdf891['decode']=function(_0x2d3c38,_0x4a45c4){_0x2d3c38 instanceof _0x4537d0||(_0x2d3c38=_0x4537d0['create'](_0x2d3c38));for(var _0x11403b=void 0x0===_0x4a45c4?_0x2d3c38['len']:_0x2d3c38['pos']+_0x4a45c4,_0x483f92=new _0x48cb19['IsEditorBundleUploadedMessage']();_0x2d3c38['pos']<_0x11403b;){var _0xdc0757=_0x2d3c38['uint32']();_0xdc0757>>>0x3==0x1?_0x483f92['bundleVersion']=_0x2d3c38['string']():_0x2d3c38['skipType'](0x7&_0xdc0757);}return _0x483f92;},_0xdf891['decodeDelimited']=function(_0x3d5c35){return _0x3d5c35 instanceof _0x4537d0||(_0x3d5c35=new _0x4537d0(_0x3d5c35)),this['decode'](_0x3d5c35,_0x3d5c35['uint32']());},_0xdf891['verify']=function(_0x31c9a6){return'object'!=typeof _0x31c9a6||null===_0x31c9a6?'object\x20expected':null!=_0x31c9a6['bundleVersion']&&_0x31c9a6['hasOwnProperty']('bundleVersion')&&!_0x3be80d['isString'](_0x31c9a6['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0xdf891['fromObject']=function(_0x1390f3){if(_0x1390f3 instanceof _0x48cb19['IsEditorBundleUploadedMessage'])return _0x1390f3;var _0x50b039=new _0x48cb19['IsEditorBundleUploadedMessage']();return null!=_0x1390f3['bundleVersion']&&(_0x50b039['bundleVersion']=String(_0x1390f3['bundleVersion'])),_0x50b039;},_0xdf891['toObject']=function(_0x11dbc4,_0x13d6fe){_0x13d6fe||(_0x13d6fe={});var _0x15e7a4={};return _0x13d6fe['defaults']&&(_0x15e7a4['bundleVersion']=''),null!=_0x11dbc4['bundleVersion']&&_0x11dbc4['hasOwnProperty']('bundleVersion')&&(_0x15e7a4['bundleVersion']=_0x11dbc4['bundleVersion']),_0x15e7a4;},_0xdf891['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0xdf891['getTypeUrl']=function(_0x5dfc3b){return void 0x0===_0x5dfc3b&&(_0x5dfc3b='type.googleapis.com'),_0x5dfc3b+'/IsEditorBundleUploadedMessage';},_0xdf891;}()),_0x48cb19['IsEditorBundleUploadedResponse']=(function(){function _0x2a8aad(_0x408a3a){if(_0x408a3a){for(var _0x50cc4e=Object['keys'](_0x408a3a),_0x51808e=0x0;_0x51808e<_0x50cc4e['length'];++_0x51808e)null!=_0x408a3a[_0x50cc4e[_0x51808e]]&&(this[_0x50cc4e[_0x51808e]]=_0x408a3a[_0x50cc4e[_0x51808e]]);}}return _0x2a8aad['prototype']['isUploaded']=!0x1,_0x2a8aad['create']=function(_0x3e23ce){return new _0x2a8aad(_0x3e23ce);},_0x2a8aad['encode']=function(_0x1e6dc5,_0x41b0e4){return _0x41b0e4||(_0x41b0e4=_0x5a9410['create']()),null!=_0x1e6dc5['isUploaded']&&Object['hasOwnProperty']['call'](_0x1e6dc5,'isUploaded')&&_0x41b0e4['uint32'](0x8)['bool'](_0x1e6dc5['isUploaded']),_0x41b0e4;},_0x2a8aad['encodeDelimited']=function(_0x1622ab,_0x438723){return this['encode'](_0x1622ab,_0x438723)['ldelim']();},_0x2a8aad['decode']=function(_0x4273e6,_0x3965e1){_0x4273e6 instanceof _0x4537d0||(_0x4273e6=_0x4537d0['create'](_0x4273e6));for(var _0x5a7d17=void 0x0===_0x3965e1?_0x4273e6['len']:_0x4273e6['pos']+_0x3965e1,_0xd5db04=new _0x48cb19['IsEditorBundleUploadedResponse']();_0x4273e6['pos']<_0x5a7d17;){var _0x292b41=_0x4273e6['uint32']();_0x292b41>>>0x3==0x1?_0xd5db04['isUploaded']=_0x4273e6['bool']():_0x4273e6['skipType'](0x7&_0x292b41);}return _0xd5db04;},_0x2a8aad['decodeDelimited']=function(_0x1cd163){return _0x1cd163 instanceof _0x4537d0||(_0x1cd163=new _0x4537d0(_0x1cd163)),this['decode'](_0x1cd163,_0x1cd163['uint32']());},_0x2a8aad['verify']=function(_0x59808f){return'object'!=typeof _0x59808f||null===_0x59808f?'object\x20expected':null!=_0x59808f['isUploaded']&&_0x59808f['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x59808f['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x2a8aad['fromObject']=function(_0x5b0af8){if(_0x5b0af8 instanceof _0x48cb19['IsEditorBundleUploadedResponse'])return _0x5b0af8;var _0x40247d=new _0x48cb19['IsEditorBundleUploadedResponse']();return null!=_0x5b0af8['isUploaded']&&(_0x40247d['isUploaded']=Boolean(_0x5b0af8['isUploaded'])),_0x40247d;},_0x2a8aad['toObject']=function(_0x5bc118,_0x371556){_0x371556||(_0x371556={});var _0x4c5c2e={};return _0x371556['defaults']&&(_0x4c5c2e['isUploaded']=!0x1),null!=_0x5bc118['isUploaded']&&_0x5bc118['hasOwnProperty']('isUploaded')&&(_0x4c5c2e['isUploaded']=_0x5bc118['isUploaded']),_0x4c5c2e;},_0x2a8aad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2a8aad['getTypeUrl']=function(_0x5d9242){return void 0x0===_0x5d9242&&(_0x5d9242='type.googleapis.com'),_0x5d9242+'/IsEditorBundleUploadedResponse';},_0x2a8aad;}()),_0x48cb19['RevisionDescriptor']=(function(){function _0x1286ad(_0x3639d8){if(_0x3639d8){for(var _0x59cd2b=Object['keys'](_0x3639d8),_0x2cebfd=0x0;_0x2cebfd<_0x59cd2b['length'];++_0x2cebfd)null!=_0x3639d8[_0x59cd2b[_0x2cebfd]]&&(this[_0x59cd2b[_0x2cebfd]]=_0x3639d8[_0x59cd2b[_0x2cebfd]]);}}return _0x1286ad['prototype']['revisionId']='',_0x1286ad['prototype']['name']='',_0x1286ad['prototype']['creatorId']='',_0x1286ad['prototype']['authorsIds']='',_0x1286ad['prototype']['diffData']='',_0x1286ad['prototype']['createdAt']='',_0x1286ad['prototype']['attributes']='',_0x1286ad['prototype']['toVersion']=0x0,_0x1286ad['prototype']['fromVersion']=0x0,_0x1286ad['prototype']['isEmptyCurrent']=!0x1,_0x1286ad['create']=function(_0x2e14e2){return new _0x1286ad(_0x2e14e2);},_0x1286ad['encode']=function(_0x70d0e1,_0x10f939){return _0x10f939||(_0x10f939=_0x5a9410['create']()),null!=_0x70d0e1['revisionId']&&Object['hasOwnProperty']['call'](_0x70d0e1,'revisionId')&&_0x10f939['uint32'](0xa)['string'](_0x70d0e1['revisionId']),null!=_0x70d0e1['name']&&Object['hasOwnProperty']['call'](_0x70d0e1,'name')&&_0x10f939['uint32'](0x12)['string'](_0x70d0e1['name']),null!=_0x70d0e1['creatorId']&&Object['hasOwnProperty']['call'](_0x70d0e1,'creatorId')&&_0x10f939['uint32'](0x1a)['string'](_0x70d0e1['creatorId']),null!=_0x70d0e1['authorsIds']&&Object['hasOwnProperty']['call'](_0x70d0e1,'authorsIds')&&_0x10f939['uint32'](0x22)['string'](_0x70d0e1['authorsIds']),null!=_0x70d0e1['diffData']&&Object['hasOwnProperty']['call'](_0x70d0e1,'diffData')&&_0x10f939['uint32'](0x2a)['string'](_0x70d0e1['diffData']),null!=_0x70d0e1['createdAt']&&Object['hasOwnProperty']['call'](_0x70d0e1,'createdAt')&&_0x10f939['uint32'](0x32)['string'](_0x70d0e1['createdAt']),null!=_0x70d0e1['attributes']&&Object['hasOwnProperty']['call'](_0x70d0e1,'attributes')&&_0x10f939['uint32'](0x3a)['string'](_0x70d0e1['attributes']),null!=_0x70d0e1['toVersion']&&Object['hasOwnProperty']['call'](_0x70d0e1,'toVersion')&&_0x10f939['uint32'](0x40)['uint32'](_0x70d0e1['toVersion']),null!=_0x70d0e1['fromVersion']&&Object['hasOwnProperty']['call'](_0x70d0e1,'fromVersion')&&_0x10f939['uint32'](0x48)['uint32'](_0x70d0e1['fromVersion']),null!=_0x70d0e1['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x70d0e1,'isEmptyCurrent')&&_0x10f939['uint32'](0x50)['bool'](_0x70d0e1['isEmptyCurrent']),_0x10f939;},_0x1286ad['encodeDelimited']=function(_0x5c4fca,_0x368771){return this['encode'](_0x5c4fca,_0x368771)['ldelim']();},_0x1286ad['decode']=function(_0x3735f5,_0x3ac43a){_0x3735f5 instanceof _0x4537d0||(_0x3735f5=_0x4537d0['create'](_0x3735f5));for(var _0x4dda24=void 0x0===_0x3ac43a?_0x3735f5['len']:_0x3735f5['pos']+_0x3ac43a,_0x1354e2=new _0x48cb19['RevisionDescriptor']();_0x3735f5['pos']<_0x4dda24;){var _0x37d86c=_0x3735f5['uint32']();switch(_0x37d86c>>>0x3){case 0x1:_0x1354e2['revisionId']=_0x3735f5['string']();break;case 0x2:_0x1354e2['name']=_0x3735f5['string']();break;case 0x3:_0x1354e2['creatorId']=_0x3735f5['string']();break;case 0x4:_0x1354e2['authorsIds']=_0x3735f5['string']();break;case 0x5:_0x1354e2['diffData']=_0x3735f5['string']();break;case 0x6:_0x1354e2['createdAt']=_0x3735f5['string']();break;case 0x7:_0x1354e2['attributes']=_0x3735f5['string']();break;case 0x8:_0x1354e2['toVersion']=_0x3735f5['uint32']();break;case 0x9:_0x1354e2['fromVersion']=_0x3735f5['uint32']();break;case 0xa:_0x1354e2['isEmptyCurrent']=_0x3735f5['bool']();break;default:_0x3735f5['skipType'](0x7&_0x37d86c);}}return _0x1354e2;},_0x1286ad['decodeDelimited']=function(_0x1c74cd){return _0x1c74cd instanceof _0x4537d0||(_0x1c74cd=new _0x4537d0(_0x1c74cd)),this['decode'](_0x1c74cd,_0x1c74cd['uint32']());},_0x1286ad['verify']=function(_0x474de9){return'object'!=typeof _0x474de9||null===_0x474de9?'object\x20expected':null!=_0x474de9['revisionId']&&_0x474de9['hasOwnProperty']('revisionId')&&!_0x3be80d['isString'](_0x474de9['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x474de9['name']&&_0x474de9['hasOwnProperty']('name')&&!_0x3be80d['isString'](_0x474de9['name'])?'name:\x20string\x20expected':null!=_0x474de9['creatorId']&&_0x474de9['hasOwnProperty']('creatorId')&&!_0x3be80d['isString'](_0x474de9['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x474de9['authorsIds']&&_0x474de9['hasOwnProperty']('authorsIds')&&!_0x3be80d['isString'](_0x474de9['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x474de9['diffData']&&_0x474de9['hasOwnProperty']('diffData')&&!_0x3be80d['isString'](_0x474de9['diffData'])?'diffData:\x20string\x20expected':null!=_0x474de9['createdAt']&&_0x474de9['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x474de9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x474de9['attributes']&&_0x474de9['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x474de9['attributes'])?'attributes:\x20string\x20expected':null!=_0x474de9['toVersion']&&_0x474de9['hasOwnProperty']('toVersion')&&!_0x3be80d['isInteger'](_0x474de9['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x474de9['fromVersion']&&_0x474de9['hasOwnProperty']('fromVersion')&&!_0x3be80d['isInteger'](_0x474de9['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x474de9['isEmptyCurrent']&&_0x474de9['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x474de9['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x1286ad['fromObject']=function(_0x2a19c7){if(_0x2a19c7 instanceof _0x48cb19['RevisionDescriptor'])return _0x2a19c7;var _0x59e5b4=new _0x48cb19['RevisionDescriptor']();return null!=_0x2a19c7['revisionId']&&(_0x59e5b4['revisionId']=String(_0x2a19c7['revisionId'])),null!=_0x2a19c7['name']&&(_0x59e5b4['name']=String(_0x2a19c7['name'])),null!=_0x2a19c7['creatorId']&&(_0x59e5b4['creatorId']=String(_0x2a19c7['creatorId'])),null!=_0x2a19c7['authorsIds']&&(_0x59e5b4['authorsIds']=String(_0x2a19c7['authorsIds'])),null!=_0x2a19c7['diffData']&&(_0x59e5b4['diffData']=String(_0x2a19c7['diffData'])),null!=_0x2a19c7['createdAt']&&(_0x59e5b4['createdAt']=String(_0x2a19c7['createdAt'])),null!=_0x2a19c7['attributes']&&(_0x59e5b4['attributes']=String(_0x2a19c7['attributes'])),null!=_0x2a19c7['toVersion']&&(_0x59e5b4['toVersion']=_0x2a19c7['toVersion']>>>0x0),null!=_0x2a19c7['fromVersion']&&(_0x59e5b4['fromVersion']=_0x2a19c7['fromVersion']>>>0x0),null!=_0x2a19c7['isEmptyCurrent']&&(_0x59e5b4['isEmptyCurrent']=Boolean(_0x2a19c7['isEmptyCurrent'])),_0x59e5b4;},_0x1286ad['toObject']=function(_0x4d5364,_0x171b9e){_0x171b9e||(_0x171b9e={});var _0x9a2911={};return _0x171b9e['defaults']&&(_0x9a2911['revisionId']='',_0x9a2911['name']='',_0x9a2911['creatorId']='',_0x9a2911['authorsIds']='',_0x9a2911['diffData']='',_0x9a2911['createdAt']='',_0x9a2911['attributes']='',_0x9a2911['toVersion']=0x0,_0x9a2911['fromVersion']=0x0,_0x9a2911['isEmptyCurrent']=!0x1),null!=_0x4d5364['revisionId']&&_0x4d5364['hasOwnProperty']('revisionId')&&(_0x9a2911['revisionId']=_0x4d5364['revisionId']),null!=_0x4d5364['name']&&_0x4d5364['hasOwnProperty']('name')&&(_0x9a2911['name']=_0x4d5364['name']),null!=_0x4d5364['creatorId']&&_0x4d5364['hasOwnProperty']('creatorId')&&(_0x9a2911['creatorId']=_0x4d5364['creatorId']),null!=_0x4d5364['authorsIds']&&_0x4d5364['hasOwnProperty']('authorsIds')&&(_0x9a2911['authorsIds']=_0x4d5364['authorsIds']),null!=_0x4d5364['diffData']&&_0x4d5364['hasOwnProperty']('diffData')&&(_0x9a2911['diffData']=_0x4d5364['diffData']),null!=_0x4d5364['createdAt']&&_0x4d5364['hasOwnProperty']('createdAt')&&(_0x9a2911['createdAt']=_0x4d5364['createdAt']),null!=_0x4d5364['attributes']&&_0x4d5364['hasOwnProperty']('attributes')&&(_0x9a2911['attributes']=_0x4d5364['attributes']),null!=_0x4d5364['toVersion']&&_0x4d5364['hasOwnProperty']('toVersion')&&(_0x9a2911['toVersion']=_0x4d5364['toVersion']),null!=_0x4d5364['fromVersion']&&_0x4d5364['hasOwnProperty']('fromVersion')&&(_0x9a2911['fromVersion']=_0x4d5364['fromVersion']),null!=_0x4d5364['isEmptyCurrent']&&_0x4d5364['hasOwnProperty']('isEmptyCurrent')&&(_0x9a2911['isEmptyCurrent']=_0x4d5364['isEmptyCurrent']),_0x9a2911;},_0x1286ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1286ad['getTypeUrl']=function(_0x105d5f){return void 0x0===_0x105d5f&&(_0x105d5f='type.googleapis.com'),_0x105d5f+'/RevisionDescriptor';},_0x1286ad;}()),_0x48cb19['RevisionHistoryConnectMessage']=(function(){function _0x43b145(_0x3cbe56){if(_0x3cbe56){for(var _0x108b25=Object['keys'](_0x3cbe56),_0x3a623a=0x0;_0x3a623a<_0x108b25['length'];++_0x3a623a)null!=_0x3cbe56[_0x108b25[_0x3a623a]]&&(this[_0x108b25[_0x3a623a]]=_0x3cbe56[_0x108b25[_0x3a623a]]);}}return _0x43b145['prototype']['documentId']='',_0x43b145['create']=function(_0x363894){return new _0x43b145(_0x363894);},_0x43b145['encode']=function(_0x89e70e,_0x10053e){return _0x10053e||(_0x10053e=_0x5a9410['create']()),null!=_0x89e70e['documentId']&&Object['hasOwnProperty']['call'](_0x89e70e,'documentId')&&_0x10053e['uint32'](0xa)['string'](_0x89e70e['documentId']),_0x10053e;},_0x43b145['encodeDelimited']=function(_0x461d51,_0x2b5e92){return this['encode'](_0x461d51,_0x2b5e92)['ldelim']();},_0x43b145['decode']=function(_0x7bd8fb,_0x1bdc73){_0x7bd8fb instanceof _0x4537d0||(_0x7bd8fb=_0x4537d0['create'](_0x7bd8fb));for(var _0x513ae1=void 0x0===_0x1bdc73?_0x7bd8fb['len']:_0x7bd8fb['pos']+_0x1bdc73,_0x283e4a=new _0x48cb19['RevisionHistoryConnectMessage']();_0x7bd8fb['pos']<_0x513ae1;){var _0x229bdf=_0x7bd8fb['uint32']();_0x229bdf>>>0x3==0x1?_0x283e4a['documentId']=_0x7bd8fb['string']():_0x7bd8fb['skipType'](0x7&_0x229bdf);}return _0x283e4a;},_0x43b145['decodeDelimited']=function(_0x4f7182){return _0x4f7182 instanceof _0x4537d0||(_0x4f7182=new _0x4537d0(_0x4f7182)),this['decode'](_0x4f7182,_0x4f7182['uint32']());},_0x43b145['verify']=function(_0x465db2){return'object'!=typeof _0x465db2||null===_0x465db2?'object\x20expected':null!=_0x465db2['documentId']&&_0x465db2['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x465db2['documentId'])?'documentId:\x20string\x20expected':null;},_0x43b145['fromObject']=function(_0x50c070){if(_0x50c070 instanceof _0x48cb19['RevisionHistoryConnectMessage'])return _0x50c070;var _0x42d9ef=new _0x48cb19['RevisionHistoryConnectMessage']();return null!=_0x50c070['documentId']&&(_0x42d9ef['documentId']=String(_0x50c070['documentId'])),_0x42d9ef;},_0x43b145['toObject']=function(_0x1008f8,_0x4053ea){_0x4053ea||(_0x4053ea={});var _0x54aa58={};return _0x4053ea['defaults']&&(_0x54aa58['documentId']=''),null!=_0x1008f8['documentId']&&_0x1008f8['hasOwnProperty']('documentId')&&(_0x54aa58['documentId']=_0x1008f8['documentId']),_0x54aa58;},_0x43b145['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x43b145['getTypeUrl']=function(_0x3e6d16){return void 0x0===_0x3e6d16&&(_0x3e6d16='type.googleapis.com'),_0x3e6d16+'/RevisionHistoryConnectMessage';},_0x43b145;}()),_0x48cb19['RevisionHistoryGetRevisionMessage']=(function(){function _0x3e6c6f(_0x37a3fb){if(_0x37a3fb){for(var _0x587d40=Object['keys'](_0x37a3fb),_0x228852=0x0;_0x228852<_0x587d40['length'];++_0x228852)null!=_0x37a3fb[_0x587d40[_0x228852]]&&(this[_0x587d40[_0x228852]]=_0x37a3fb[_0x587d40[_0x228852]]);}}return _0x3e6c6f['prototype']['documentId']='',_0x3e6c6f['prototype']['revisionId']='',_0x3e6c6f['create']=function(_0x80b9f8){return new _0x3e6c6f(_0x80b9f8);},_0x3e6c6f['encode']=function(_0x34656e,_0x24e18c){return _0x24e18c||(_0x24e18c=_0x5a9410['create']()),null!=_0x34656e['documentId']&&Object['hasOwnProperty']['call'](_0x34656e,'documentId')&&_0x24e18c['uint32'](0xa)['string'](_0x34656e['documentId']),null!=_0x34656e['revisionId']&&Object['hasOwnProperty']['call'](_0x34656e,'revisionId')&&_0x24e18c['uint32'](0x12)['string'](_0x34656e['revisionId']),_0x24e18c;},_0x3e6c6f['encodeDelimited']=function(_0x47de09,_0x35efb5){return this['encode'](_0x47de09,_0x35efb5)['ldelim']();},_0x3e6c6f['decode']=function(_0x490d16,_0x2bbd42){_0x490d16 instanceof _0x4537d0||(_0x490d16=_0x4537d0['create'](_0x490d16));for(var _0x46224f=void 0x0===_0x2bbd42?_0x490d16['len']:_0x490d16['pos']+_0x2bbd42,_0x4f34fd=new _0x48cb19['RevisionHistoryGetRevisionMessage']();_0x490d16['pos']<_0x46224f;){var _0x389ef4=_0x490d16['uint32']();switch(_0x389ef4>>>0x3){case 0x1:_0x4f34fd['documentId']=_0x490d16['string']();break;case 0x2:_0x4f34fd['revisionId']=_0x490d16['string']();break;default:_0x490d16['skipType'](0x7&_0x389ef4);}}return _0x4f34fd;},_0x3e6c6f['decodeDelimited']=function(_0x5b6a46){return _0x5b6a46 instanceof _0x4537d0||(_0x5b6a46=new _0x4537d0(_0x5b6a46)),this['decode'](_0x5b6a46,_0x5b6a46['uint32']());},_0x3e6c6f['verify']=function(_0x2755dc){return'object'!=typeof _0x2755dc||null===_0x2755dc?'object\x20expected':null!=_0x2755dc['documentId']&&_0x2755dc['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x2755dc['documentId'])?'documentId:\x20string\x20expected':null!=_0x2755dc['revisionId']&&_0x2755dc['hasOwnProperty']('revisionId')&&!_0x3be80d['isString'](_0x2755dc['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x3e6c6f['fromObject']=function(_0x4cc679){if(_0x4cc679 instanceof _0x48cb19['RevisionHistoryGetRevisionMessage'])return _0x4cc679;var _0xde79b=new _0x48cb19['RevisionHistoryGetRevisionMessage']();return null!=_0x4cc679['documentId']&&(_0xde79b['documentId']=String(_0x4cc679['documentId'])),null!=_0x4cc679['revisionId']&&(_0xde79b['revisionId']=String(_0x4cc679['revisionId'])),_0xde79b;},_0x3e6c6f['toObject']=function(_0x508392,_0x3b0c04){_0x3b0c04||(_0x3b0c04={});var _0x482ded={};return _0x3b0c04['defaults']&&(_0x482ded['documentId']='',_0x482ded['revisionId']=''),null!=_0x508392['documentId']&&_0x508392['hasOwnProperty']('documentId')&&(_0x482ded['documentId']=_0x508392['documentId']),null!=_0x508392['revisionId']&&_0x508392['hasOwnProperty']('revisionId')&&(_0x482ded['revisionId']=_0x508392['revisionId']),_0x482ded;},_0x3e6c6f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3e6c6f['getTypeUrl']=function(_0x5df092){return void 0x0===_0x5df092&&(_0x5df092='type.googleapis.com'),_0x5df092+'/RevisionHistoryGetRevisionMessage';},_0x3e6c6f;}()),_0x48cb19['RevisionHistoryReconnectMessage']=(function(){function _0x2e63bd(_0x5b52e2){if(_0x5b52e2){for(var _0x58e504=Object['keys'](_0x5b52e2),_0xba0afc=0x0;_0xba0afc<_0x58e504['length'];++_0xba0afc)null!=_0x5b52e2[_0x58e504[_0xba0afc]]&&(this[_0x58e504[_0xba0afc]]=_0x5b52e2[_0x58e504[_0xba0afc]]);}}return _0x2e63bd['prototype']['documentId']='',_0x2e63bd['prototype']['requestId']=0x0,_0x2e63bd['create']=function(_0x504bf4){return new _0x2e63bd(_0x504bf4);},_0x2e63bd['encode']=function(_0x463bc9,_0x363a36){return _0x363a36||(_0x363a36=_0x5a9410['create']()),null!=_0x463bc9['documentId']&&Object['hasOwnProperty']['call'](_0x463bc9,'documentId')&&_0x363a36['uint32'](0xa)['string'](_0x463bc9['documentId']),null!=_0x463bc9['requestId']&&Object['hasOwnProperty']['call'](_0x463bc9,'requestId')&&_0x363a36['uint32'](0x10)['uint32'](_0x463bc9['requestId']),_0x363a36;},_0x2e63bd['encodeDelimited']=function(_0x557817,_0x30a844){return this['encode'](_0x557817,_0x30a844)['ldelim']();},_0x2e63bd['decode']=function(_0x63a24f,_0x3d6d49){_0x63a24f instanceof _0x4537d0||(_0x63a24f=_0x4537d0['create'](_0x63a24f));for(var _0x55e8d1=void 0x0===_0x3d6d49?_0x63a24f['len']:_0x63a24f['pos']+_0x3d6d49,_0x5231ec=new _0x48cb19['RevisionHistoryReconnectMessage']();_0x63a24f['pos']<_0x55e8d1;){var _0x5cca16=_0x63a24f['uint32']();switch(_0x5cca16>>>0x3){case 0x1:_0x5231ec['documentId']=_0x63a24f['string']();break;case 0x2:_0x5231ec['requestId']=_0x63a24f['uint32']();break;default:_0x63a24f['skipType'](0x7&_0x5cca16);}}return _0x5231ec;},_0x2e63bd['decodeDelimited']=function(_0x52f9fe){return _0x52f9fe instanceof _0x4537d0||(_0x52f9fe=new _0x4537d0(_0x52f9fe)),this['decode'](_0x52f9fe,_0x52f9fe['uint32']());},_0x2e63bd['verify']=function(_0xed0601){return'object'!=typeof _0xed0601||null===_0xed0601?'object\x20expected':null!=_0xed0601['documentId']&&_0xed0601['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0xed0601['documentId'])?'documentId:\x20string\x20expected':null!=_0xed0601['requestId']&&_0xed0601['hasOwnProperty']('requestId')&&!_0x3be80d['isInteger'](_0xed0601['requestId'])?'requestId:\x20integer\x20expected':null;},_0x2e63bd['fromObject']=function(_0x8a93a2){if(_0x8a93a2 instanceof _0x48cb19['RevisionHistoryReconnectMessage'])return _0x8a93a2;var _0x2ff289=new _0x48cb19['RevisionHistoryReconnectMessage']();return null!=_0x8a93a2['documentId']&&(_0x2ff289['documentId']=String(_0x8a93a2['documentId'])),null!=_0x8a93a2['requestId']&&(_0x2ff289['requestId']=_0x8a93a2['requestId']>>>0x0),_0x2ff289;},_0x2e63bd['toObject']=function(_0x49fa2c,_0x385439){_0x385439||(_0x385439={});var _0x3d82bf={};return _0x385439['defaults']&&(_0x3d82bf['documentId']='',_0x3d82bf['requestId']=0x0),null!=_0x49fa2c['documentId']&&_0x49fa2c['hasOwnProperty']('documentId')&&(_0x3d82bf['documentId']=_0x49fa2c['documentId']),null!=_0x49fa2c['requestId']&&_0x49fa2c['hasOwnProperty']('requestId')&&(_0x3d82bf['requestId']=_0x49fa2c['requestId']),_0x3d82bf;},_0x2e63bd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2e63bd['getTypeUrl']=function(_0x7900e2){return void 0x0===_0x7900e2&&(_0x7900e2='type.googleapis.com'),_0x7900e2+'/RevisionHistoryReconnectMessage';},_0x2e63bd;}()),_0x48cb19['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x2ea55c(_0x14282d){if(this['revisions']=[],_0x14282d){for(var _0x1aac7a=Object['keys'](_0x14282d),_0x46d1d3=0x0;_0x46d1d3<_0x1aac7a['length'];++_0x46d1d3)null!=_0x14282d[_0x1aac7a[_0x46d1d3]]&&(this[_0x1aac7a[_0x46d1d3]]=_0x14282d[_0x1aac7a[_0x46d1d3]]);}}return _0x2ea55c['prototype']['documentId']='',_0x2ea55c['prototype']['requestId']=0x0,_0x2ea55c['prototype']['revisions']=_0x3be80d['emptyArray'],_0x2ea55c['create']=function(_0x59be20){return new _0x2ea55c(_0x59be20);},_0x2ea55c['encode']=function(_0x12172c,_0xea0a80){if(_0xea0a80||(_0xea0a80=_0x5a9410['create']()),null!=_0x12172c['documentId']&&Object['hasOwnProperty']['call'](_0x12172c,'documentId')&&_0xea0a80['uint32'](0xa)['string'](_0x12172c['documentId']),null!=_0x12172c['requestId']&&Object['hasOwnProperty']['call'](_0x12172c,'requestId')&&_0xea0a80['uint32'](0x10)['uint32'](_0x12172c['requestId']),null!=_0x12172c['revisions']&&_0x12172c['revisions']['length']){for(var _0x266266=0x0;_0x266266<_0x12172c['revisions']['length'];++_0x266266)_0x48cb19['RevisionDescriptor']['encode'](_0x12172c['revisions'][_0x266266],_0xea0a80['uint32'](0x1a)['fork']())['ldelim']();}return _0xea0a80;},_0x2ea55c['encodeDelimited']=function(_0x1d30aa,_0x471575){return this['encode'](_0x1d30aa,_0x471575)['ldelim']();},_0x2ea55c['decode']=function(_0x299ebb,_0x40f189){_0x299ebb instanceof _0x4537d0||(_0x299ebb=_0x4537d0['create'](_0x299ebb));for(var _0x21b6fd=void 0x0===_0x40f189?_0x299ebb['len']:_0x299ebb['pos']+_0x40f189,_0x741ec4=new _0x48cb19['RevisionHistoryUpdateRevisionsMessage']();_0x299ebb['pos']<_0x21b6fd;){var _0x5d360a=_0x299ebb['uint32']();switch(_0x5d360a>>>0x3){case 0x1:_0x741ec4['documentId']=_0x299ebb['string']();break;case 0x2:_0x741ec4['requestId']=_0x299ebb['uint32']();break;case 0x3:_0x741ec4['revisions']&&_0x741ec4['revisions']['length']||(_0x741ec4['revisions']=[]),_0x741ec4['revisions']['push'](_0x48cb19['RevisionDescriptor']['decode'](_0x299ebb,_0x299ebb['uint32']()));break;default:_0x299ebb['skipType'](0x7&_0x5d360a);}}return _0x741ec4;},_0x2ea55c['decodeDelimited']=function(_0x7b664f){return _0x7b664f instanceof _0x4537d0||(_0x7b664f=new _0x4537d0(_0x7b664f)),this['decode'](_0x7b664f,_0x7b664f['uint32']());},_0x2ea55c['verify']=function(_0xe87c15){if('object'!=typeof _0xe87c15||null===_0xe87c15)return'object\x20expected';if(null!=_0xe87c15['documentId']&&_0xe87c15['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0xe87c15['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xe87c15['requestId']&&_0xe87c15['hasOwnProperty']('requestId')&&!_0x3be80d['isInteger'](_0xe87c15['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0xe87c15['revisions']&&_0xe87c15['hasOwnProperty']('revisions')){if(!Array['isArray'](_0xe87c15['revisions']))return'revisions:\x20array\x20expected';for(var _0x1d7ba1=0x0;_0x1d7ba1<_0xe87c15['revisions']['length'];++_0x1d7ba1){var _0x35768f=_0x48cb19['RevisionDescriptor']['verify'](_0xe87c15['revisions'][_0x1d7ba1]);if(_0x35768f)return'revisions.'+_0x35768f;}}return null;},_0x2ea55c['fromObject']=function(_0x4b54c5){if(_0x4b54c5 instanceof _0x48cb19['RevisionHistoryUpdateRevisionsMessage'])return _0x4b54c5;var _0x3133e5=new _0x48cb19['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x4b54c5['documentId']&&(_0x3133e5['documentId']=String(_0x4b54c5['documentId'])),null!=_0x4b54c5['requestId']&&(_0x3133e5['requestId']=_0x4b54c5['requestId']>>>0x0),_0x4b54c5['revisions']){if(!Array['isArray'](_0x4b54c5['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x3133e5['revisions']=[];for(var _0x58f349=0x0;_0x58f349<_0x4b54c5['revisions']['length'];++_0x58f349){if('object'!=typeof _0x4b54c5['revisions'][_0x58f349])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x3133e5['revisions'][_0x58f349]=_0x48cb19['RevisionDescriptor']['fromObject'](_0x4b54c5['revisions'][_0x58f349]);}}return _0x3133e5;},_0x2ea55c['toObject']=function(_0x2dffbb,_0x2273e1){_0x2273e1||(_0x2273e1={});var _0x17314d={};if((_0x2273e1['arrays']||_0x2273e1['defaults'])&&(_0x17314d['revisions']=[]),_0x2273e1['defaults']&&(_0x17314d['documentId']='',_0x17314d['requestId']=0x0),null!=_0x2dffbb['documentId']&&_0x2dffbb['hasOwnProperty']('documentId')&&(_0x17314d['documentId']=_0x2dffbb['documentId']),null!=_0x2dffbb['requestId']&&_0x2dffbb['hasOwnProperty']('requestId')&&(_0x17314d['requestId']=_0x2dffbb['requestId']),_0x2dffbb['revisions']&&_0x2dffbb['revisions']['length']){_0x17314d['revisions']=[];for(var _0x1df446=0x0;_0x1df446<_0x2dffbb['revisions']['length'];++_0x1df446)_0x17314d['revisions'][_0x1df446]=_0x48cb19['RevisionDescriptor']['toObject'](_0x2dffbb['revisions'][_0x1df446],_0x2273e1);}return _0x17314d;},_0x2ea55c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2ea55c['getTypeUrl']=function(_0x129141){return void 0x0===_0x129141&&(_0x129141='type.googleapis.com'),_0x129141+'/RevisionHistoryUpdateRevisionsMessage';},_0x2ea55c;}()),_0x48cb19['RevisionHistoryConnectResponse']=(function(){function _0x37b6a5(_0xb52b3){if(this['revisions']=[],_0xb52b3){for(var _0x502220=Object['keys'](_0xb52b3),_0x1c00b5=0x0;_0x1c00b5<_0x502220['length'];++_0x1c00b5)null!=_0xb52b3[_0x502220[_0x1c00b5]]&&(this[_0x502220[_0x1c00b5]]=_0xb52b3[_0x502220[_0x1c00b5]]);}}return _0x37b6a5['prototype']['channel']='',_0x37b6a5['prototype']['requestId']=0x0,_0x37b6a5['prototype']['revisions']=_0x3be80d['emptyArray'],_0x37b6a5['create']=function(_0x39bf2a){return new _0x37b6a5(_0x39bf2a);},_0x37b6a5['encode']=function(_0x430697,_0x121eb9){if(_0x121eb9||(_0x121eb9=_0x5a9410['create']()),null!=_0x430697['channel']&&Object['hasOwnProperty']['call'](_0x430697,'channel')&&_0x121eb9['uint32'](0xa)['string'](_0x430697['channel']),null!=_0x430697['requestId']&&Object['hasOwnProperty']['call'](_0x430697,'requestId')&&_0x121eb9['uint32'](0x10)['uint32'](_0x430697['requestId']),null!=_0x430697['revisions']&&_0x430697['revisions']['length']){for(var _0x172274=0x0;_0x172274<_0x430697['revisions']['length'];++_0x172274)_0x48cb19['RevisionDescriptor']['encode'](_0x430697['revisions'][_0x172274],_0x121eb9['uint32'](0x1a)['fork']())['ldelim']();}return _0x121eb9;},_0x37b6a5['encodeDelimited']=function(_0x148648,_0x710089){return this['encode'](_0x148648,_0x710089)['ldelim']();},_0x37b6a5['decode']=function(_0x2ddd01,_0x40a2f2){_0x2ddd01 instanceof _0x4537d0||(_0x2ddd01=_0x4537d0['create'](_0x2ddd01));for(var _0x506bd0=void 0x0===_0x40a2f2?_0x2ddd01['len']:_0x2ddd01['pos']+_0x40a2f2,_0x779ff8=new _0x48cb19['RevisionHistoryConnectResponse']();_0x2ddd01['pos']<_0x506bd0;){var _0xf31111=_0x2ddd01['uint32']();switch(_0xf31111>>>0x3){case 0x1:_0x779ff8['channel']=_0x2ddd01['string']();break;case 0x2:_0x779ff8['requestId']=_0x2ddd01['uint32']();break;case 0x3:_0x779ff8['revisions']&&_0x779ff8['revisions']['length']||(_0x779ff8['revisions']=[]),_0x779ff8['revisions']['push'](_0x48cb19['RevisionDescriptor']['decode'](_0x2ddd01,_0x2ddd01['uint32']()));break;default:_0x2ddd01['skipType'](0x7&_0xf31111);}}return _0x779ff8;},_0x37b6a5['decodeDelimited']=function(_0x35b9de){return _0x35b9de instanceof _0x4537d0||(_0x35b9de=new _0x4537d0(_0x35b9de)),this['decode'](_0x35b9de,_0x35b9de['uint32']());},_0x37b6a5['verify']=function(_0x343287){if('object'!=typeof _0x343287||null===_0x343287)return'object\x20expected';if(null!=_0x343287['channel']&&_0x343287['hasOwnProperty']('channel')&&!_0x3be80d['isString'](_0x343287['channel']))return'channel:\x20string\x20expected';if(null!=_0x343287['requestId']&&_0x343287['hasOwnProperty']('requestId')&&!_0x3be80d['isInteger'](_0x343287['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x343287['revisions']&&_0x343287['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x343287['revisions']))return'revisions:\x20array\x20expected';for(var _0x1d5de9=0x0;_0x1d5de9<_0x343287['revisions']['length'];++_0x1d5de9){var _0x3fa3cf=_0x48cb19['RevisionDescriptor']['verify'](_0x343287['revisions'][_0x1d5de9]);if(_0x3fa3cf)return'revisions.'+_0x3fa3cf;}}return null;},_0x37b6a5['fromObject']=function(_0x590c27){if(_0x590c27 instanceof _0x48cb19['RevisionHistoryConnectResponse'])return _0x590c27;var _0x4322db=new _0x48cb19['RevisionHistoryConnectResponse']();if(null!=_0x590c27['channel']&&(_0x4322db['channel']=String(_0x590c27['channel'])),null!=_0x590c27['requestId']&&(_0x4322db['requestId']=_0x590c27['requestId']>>>0x0),_0x590c27['revisions']){if(!Array['isArray'](_0x590c27['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x4322db['revisions']=[];for(var _0x92183c=0x0;_0x92183c<_0x590c27['revisions']['length'];++_0x92183c){if('object'!=typeof _0x590c27['revisions'][_0x92183c])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x4322db['revisions'][_0x92183c]=_0x48cb19['RevisionDescriptor']['fromObject'](_0x590c27['revisions'][_0x92183c]);}}return _0x4322db;},_0x37b6a5['toObject']=function(_0x1c3d02,_0xd2f322){_0xd2f322||(_0xd2f322={});var _0xd9f79e={};if((_0xd2f322['arrays']||_0xd2f322['defaults'])&&(_0xd9f79e['revisions']=[]),_0xd2f322['defaults']&&(_0xd9f79e['channel']='',_0xd9f79e['requestId']=0x0),null!=_0x1c3d02['channel']&&_0x1c3d02['hasOwnProperty']('channel')&&(_0xd9f79e['channel']=_0x1c3d02['channel']),null!=_0x1c3d02['requestId']&&_0x1c3d02['hasOwnProperty']('requestId')&&(_0xd9f79e['requestId']=_0x1c3d02['requestId']),_0x1c3d02['revisions']&&_0x1c3d02['revisions']['length']){_0xd9f79e['revisions']=[];for(var _0x4a4f2e=0x0;_0x4a4f2e<_0x1c3d02['revisions']['length'];++_0x4a4f2e)_0xd9f79e['revisions'][_0x4a4f2e]=_0x48cb19['RevisionDescriptor']['toObject'](_0x1c3d02['revisions'][_0x4a4f2e],_0xd2f322);}return _0xd9f79e;},_0x37b6a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x37b6a5['getTypeUrl']=function(_0x470d39){return void 0x0===_0x470d39&&(_0x470d39='type.googleapis.com'),_0x470d39+'/RevisionHistoryConnectResponse';},_0x37b6a5;}()),_0x48cb19['RevisionHistoryGetRevisionResponse']=(function(){function _0x422934(_0x33416c){if(_0x33416c){for(var _0x8acc31=Object['keys'](_0x33416c),_0x1e3532=0x0;_0x1e3532<_0x8acc31['length'];++_0x1e3532)null!=_0x33416c[_0x8acc31[_0x1e3532]]&&(this[_0x8acc31[_0x1e3532]]=_0x33416c[_0x8acc31[_0x1e3532]]);}}return _0x422934['prototype']['revisionId']='',_0x422934['prototype']['name']='',_0x422934['prototype']['creatorId']='',_0x422934['prototype']['authorsIds']='',_0x422934['prototype']['diffData']='',_0x422934['prototype']['createdAt']='',_0x422934['prototype']['attributes']='',_0x422934['prototype']['toVersion']=0x0,_0x422934['prototype']['fromVersion']=0x0,_0x422934['prototype']['isEmptyCurrent']=!0x1,_0x422934['create']=function(_0x27ab61){return new _0x422934(_0x27ab61);},_0x422934['encode']=function(_0x461de8,_0x24c6ab){return _0x24c6ab||(_0x24c6ab=_0x5a9410['create']()),null!=_0x461de8['revisionId']&&Object['hasOwnProperty']['call'](_0x461de8,'revisionId')&&_0x24c6ab['uint32'](0xa)['string'](_0x461de8['revisionId']),null!=_0x461de8['name']&&Object['hasOwnProperty']['call'](_0x461de8,'name')&&_0x24c6ab['uint32'](0x12)['string'](_0x461de8['name']),null!=_0x461de8['creatorId']&&Object['hasOwnProperty']['call'](_0x461de8,'creatorId')&&_0x24c6ab['uint32'](0x1a)['string'](_0x461de8['creatorId']),null!=_0x461de8['authorsIds']&&Object['hasOwnProperty']['call'](_0x461de8,'authorsIds')&&_0x24c6ab['uint32'](0x22)['string'](_0x461de8['authorsIds']),null!=_0x461de8['diffData']&&Object['hasOwnProperty']['call'](_0x461de8,'diffData')&&_0x24c6ab['uint32'](0x2a)['string'](_0x461de8['diffData']),null!=_0x461de8['createdAt']&&Object['hasOwnProperty']['call'](_0x461de8,'createdAt')&&_0x24c6ab['uint32'](0x32)['string'](_0x461de8['createdAt']),null!=_0x461de8['attributes']&&Object['hasOwnProperty']['call'](_0x461de8,'attributes')&&_0x24c6ab['uint32'](0x3a)['string'](_0x461de8['attributes']),null!=_0x461de8['toVersion']&&Object['hasOwnProperty']['call'](_0x461de8,'toVersion')&&_0x24c6ab['uint32'](0x40)['uint32'](_0x461de8['toVersion']),null!=_0x461de8['fromVersion']&&Object['hasOwnProperty']['call'](_0x461de8,'fromVersion')&&_0x24c6ab['uint32'](0x48)['uint32'](_0x461de8['fromVersion']),null!=_0x461de8['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x461de8,'isEmptyCurrent')&&_0x24c6ab['uint32'](0x50)['bool'](_0x461de8['isEmptyCurrent']),_0x24c6ab;},_0x422934['encodeDelimited']=function(_0x1760da,_0x5fbb78){return this['encode'](_0x1760da,_0x5fbb78)['ldelim']();},_0x422934['decode']=function(_0x2a0908,_0x3e8983){_0x2a0908 instanceof _0x4537d0||(_0x2a0908=_0x4537d0['create'](_0x2a0908));for(var _0x2e8ac8=void 0x0===_0x3e8983?_0x2a0908['len']:_0x2a0908['pos']+_0x3e8983,_0x1d3b75=new _0x48cb19['RevisionHistoryGetRevisionResponse']();_0x2a0908['pos']<_0x2e8ac8;){var _0x1e450c=_0x2a0908['uint32']();switch(_0x1e450c>>>0x3){case 0x1:_0x1d3b75['revisionId']=_0x2a0908['string']();break;case 0x2:_0x1d3b75['name']=_0x2a0908['string']();break;case 0x3:_0x1d3b75['creatorId']=_0x2a0908['string']();break;case 0x4:_0x1d3b75['authorsIds']=_0x2a0908['string']();break;case 0x5:_0x1d3b75['diffData']=_0x2a0908['string']();break;case 0x6:_0x1d3b75['createdAt']=_0x2a0908['string']();break;case 0x7:_0x1d3b75['attributes']=_0x2a0908['string']();break;case 0x8:_0x1d3b75['toVersion']=_0x2a0908['uint32']();break;case 0x9:_0x1d3b75['fromVersion']=_0x2a0908['uint32']();break;case 0xa:_0x1d3b75['isEmptyCurrent']=_0x2a0908['bool']();break;default:_0x2a0908['skipType'](0x7&_0x1e450c);}}return _0x1d3b75;},_0x422934['decodeDelimited']=function(_0x12c1c8){return _0x12c1c8 instanceof _0x4537d0||(_0x12c1c8=new _0x4537d0(_0x12c1c8)),this['decode'](_0x12c1c8,_0x12c1c8['uint32']());},_0x422934['verify']=function(_0x18b42c){return'object'!=typeof _0x18b42c||null===_0x18b42c?'object\x20expected':null!=_0x18b42c['revisionId']&&_0x18b42c['hasOwnProperty']('revisionId')&&!_0x3be80d['isString'](_0x18b42c['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x18b42c['name']&&_0x18b42c['hasOwnProperty']('name')&&!_0x3be80d['isString'](_0x18b42c['name'])?'name:\x20string\x20expected':null!=_0x18b42c['creatorId']&&_0x18b42c['hasOwnProperty']('creatorId')&&!_0x3be80d['isString'](_0x18b42c['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x18b42c['authorsIds']&&_0x18b42c['hasOwnProperty']('authorsIds')&&!_0x3be80d['isString'](_0x18b42c['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x18b42c['diffData']&&_0x18b42c['hasOwnProperty']('diffData')&&!_0x3be80d['isString'](_0x18b42c['diffData'])?'diffData:\x20string\x20expected':null!=_0x18b42c['createdAt']&&_0x18b42c['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x18b42c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x18b42c['attributes']&&_0x18b42c['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x18b42c['attributes'])?'attributes:\x20string\x20expected':null!=_0x18b42c['toVersion']&&_0x18b42c['hasOwnProperty']('toVersion')&&!_0x3be80d['isInteger'](_0x18b42c['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x18b42c['fromVersion']&&_0x18b42c['hasOwnProperty']('fromVersion')&&!_0x3be80d['isInteger'](_0x18b42c['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x18b42c['isEmptyCurrent']&&_0x18b42c['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x18b42c['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x422934['fromObject']=function(_0x3ce1dd){if(_0x3ce1dd instanceof _0x48cb19['RevisionHistoryGetRevisionResponse'])return _0x3ce1dd;var _0x14c2a8=new _0x48cb19['RevisionHistoryGetRevisionResponse']();return null!=_0x3ce1dd['revisionId']&&(_0x14c2a8['revisionId']=String(_0x3ce1dd['revisionId'])),null!=_0x3ce1dd['name']&&(_0x14c2a8['name']=String(_0x3ce1dd['name'])),null!=_0x3ce1dd['creatorId']&&(_0x14c2a8['creatorId']=String(_0x3ce1dd['creatorId'])),null!=_0x3ce1dd['authorsIds']&&(_0x14c2a8['authorsIds']=String(_0x3ce1dd['authorsIds'])),null!=_0x3ce1dd['diffData']&&(_0x14c2a8['diffData']=String(_0x3ce1dd['diffData'])),null!=_0x3ce1dd['createdAt']&&(_0x14c2a8['createdAt']=String(_0x3ce1dd['createdAt'])),null!=_0x3ce1dd['attributes']&&(_0x14c2a8['attributes']=String(_0x3ce1dd['attributes'])),null!=_0x3ce1dd['toVersion']&&(_0x14c2a8['toVersion']=_0x3ce1dd['toVersion']>>>0x0),null!=_0x3ce1dd['fromVersion']&&(_0x14c2a8['fromVersion']=_0x3ce1dd['fromVersion']>>>0x0),null!=_0x3ce1dd['isEmptyCurrent']&&(_0x14c2a8['isEmptyCurrent']=Boolean(_0x3ce1dd['isEmptyCurrent'])),_0x14c2a8;},_0x422934['toObject']=function(_0x415a11,_0x1f1230){_0x1f1230||(_0x1f1230={});var _0x552f2c={};return _0x1f1230['defaults']&&(_0x552f2c['revisionId']='',_0x552f2c['name']='',_0x552f2c['creatorId']='',_0x552f2c['authorsIds']='',_0x552f2c['diffData']='',_0x552f2c['createdAt']='',_0x552f2c['attributes']='',_0x552f2c['toVersion']=0x0,_0x552f2c['fromVersion']=0x0,_0x552f2c['isEmptyCurrent']=!0x1),null!=_0x415a11['revisionId']&&_0x415a11['hasOwnProperty']('revisionId')&&(_0x552f2c['revisionId']=_0x415a11['revisionId']),null!=_0x415a11['name']&&_0x415a11['hasOwnProperty']('name')&&(_0x552f2c['name']=_0x415a11['name']),null!=_0x415a11['creatorId']&&_0x415a11['hasOwnProperty']('creatorId')&&(_0x552f2c['creatorId']=_0x415a11['creatorId']),null!=_0x415a11['authorsIds']&&_0x415a11['hasOwnProperty']('authorsIds')&&(_0x552f2c['authorsIds']=_0x415a11['authorsIds']),null!=_0x415a11['diffData']&&_0x415a11['hasOwnProperty']('diffData')&&(_0x552f2c['diffData']=_0x415a11['diffData']),null!=_0x415a11['createdAt']&&_0x415a11['hasOwnProperty']('createdAt')&&(_0x552f2c['createdAt']=_0x415a11['createdAt']),null!=_0x415a11['attributes']&&_0x415a11['hasOwnProperty']('attributes')&&(_0x552f2c['attributes']=_0x415a11['attributes']),null!=_0x415a11['toVersion']&&_0x415a11['hasOwnProperty']('toVersion')&&(_0x552f2c['toVersion']=_0x415a11['toVersion']),null!=_0x415a11['fromVersion']&&_0x415a11['hasOwnProperty']('fromVersion')&&(_0x552f2c['fromVersion']=_0x415a11['fromVersion']),null!=_0x415a11['isEmptyCurrent']&&_0x415a11['hasOwnProperty']('isEmptyCurrent')&&(_0x552f2c['isEmptyCurrent']=_0x415a11['isEmptyCurrent']),_0x552f2c;},_0x422934['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x422934['getTypeUrl']=function(_0x46c8d8){return void 0x0===_0x46c8d8&&(_0x46c8d8='type.googleapis.com'),_0x46c8d8+'/RevisionHistoryGetRevisionResponse';},_0x422934;}()),_0x48cb19['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x1dd336(_0x28a1ff){if(_0x28a1ff){for(var _0x4b3c18=Object['keys'](_0x28a1ff),_0x1135a4=0x0;_0x1135a4<_0x4b3c18['length'];++_0x1135a4)null!=_0x28a1ff[_0x4b3c18[_0x1135a4]]&&(this[_0x4b3c18[_0x1135a4]]=_0x28a1ff[_0x4b3c18[_0x1135a4]]);}}return _0x1dd336['prototype']['requestId']=0x0,_0x1dd336['create']=function(_0x20b6a9){return new _0x1dd336(_0x20b6a9);},_0x1dd336['encode']=function(_0x1122fb,_0x318ae1){return _0x318ae1||(_0x318ae1=_0x5a9410['create']()),null!=_0x1122fb['requestId']&&Object['hasOwnProperty']['call'](_0x1122fb,'requestId')&&_0x318ae1['uint32'](0x8)['uint32'](_0x1122fb['requestId']),_0x318ae1;},_0x1dd336['encodeDelimited']=function(_0x37046c,_0x2182a1){return this['encode'](_0x37046c,_0x2182a1)['ldelim']();},_0x1dd336['decode']=function(_0x5ce92b,_0x55e7e9){_0x5ce92b instanceof _0x4537d0||(_0x5ce92b=_0x4537d0['create'](_0x5ce92b));for(var _0x17f32c=void 0x0===_0x55e7e9?_0x5ce92b['len']:_0x5ce92b['pos']+_0x55e7e9,_0x7a38e9=new _0x48cb19['RevisionHistoryUpdateRevisionsResponse']();_0x5ce92b['pos']<_0x17f32c;){var _0x398041=_0x5ce92b['uint32']();_0x398041>>>0x3==0x1?_0x7a38e9['requestId']=_0x5ce92b['uint32']():_0x5ce92b['skipType'](0x7&_0x398041);}return _0x7a38e9;},_0x1dd336['decodeDelimited']=function(_0x4b4c85){return _0x4b4c85 instanceof _0x4537d0||(_0x4b4c85=new _0x4537d0(_0x4b4c85)),this['decode'](_0x4b4c85,_0x4b4c85['uint32']());},_0x1dd336['verify']=function(_0x3c551d){return'object'!=typeof _0x3c551d||null===_0x3c551d?'object\x20expected':null!=_0x3c551d['requestId']&&_0x3c551d['hasOwnProperty']('requestId')&&!_0x3be80d['isInteger'](_0x3c551d['requestId'])?'requestId:\x20integer\x20expected':null;},_0x1dd336['fromObject']=function(_0x25d4b2){if(_0x25d4b2 instanceof _0x48cb19['RevisionHistoryUpdateRevisionsResponse'])return _0x25d4b2;var _0x594566=new _0x48cb19['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x25d4b2['requestId']&&(_0x594566['requestId']=_0x25d4b2['requestId']>>>0x0),_0x594566;},_0x1dd336['toObject']=function(_0x5c6de6,_0x3d950e){_0x3d950e||(_0x3d950e={});var _0x3f8c8b={};return _0x3d950e['defaults']&&(_0x3f8c8b['requestId']=0x0),null!=_0x5c6de6['requestId']&&_0x5c6de6['hasOwnProperty']('requestId')&&(_0x3f8c8b['requestId']=_0x5c6de6['requestId']),_0x3f8c8b;},_0x1dd336['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1dd336['getTypeUrl']=function(_0x25bef1){return void 0x0===_0x25bef1&&(_0x25bef1='type.googleapis.com'),_0x25bef1+'/RevisionHistoryUpdateRevisionsResponse';},_0x1dd336;}()),_0x48cb19['SessionsSocketDescriptor']=(function(){function _0x1ef8d0(_0x46e78a){if(this['permissions']=[],_0x46e78a){for(var _0x2f7fed=Object['keys'](_0x46e78a),_0xe0e2a1=0x0;_0xe0e2a1<_0x2f7fed['length'];++_0xe0e2a1)null!=_0x46e78a[_0x2f7fed[_0xe0e2a1]]&&(this[_0x2f7fed[_0xe0e2a1]]=_0x46e78a[_0x2f7fed[_0xe0e2a1]]);}}return _0x1ef8d0['prototype']['session']='',_0x1ef8d0['prototype']['user']='',_0x1ef8d0['prototype']['role']='',_0x1ef8d0['prototype']['permissions']=_0x3be80d['emptyArray'],_0x1ef8d0['create']=function(_0x146b35){return new _0x1ef8d0(_0x146b35);},_0x1ef8d0['encode']=function(_0x4ecd72,_0x575db8){if(_0x575db8||(_0x575db8=_0x5a9410['create']()),null!=_0x4ecd72['session']&&Object['hasOwnProperty']['call'](_0x4ecd72,'session')&&_0x575db8['uint32'](0xa)['string'](_0x4ecd72['session']),null!=_0x4ecd72['user']&&Object['hasOwnProperty']['call'](_0x4ecd72,'user')&&_0x575db8['uint32'](0x12)['string'](_0x4ecd72['user']),null!=_0x4ecd72['role']&&Object['hasOwnProperty']['call'](_0x4ecd72,'role')&&_0x575db8['uint32'](0x1a)['string'](_0x4ecd72['role']),null!=_0x4ecd72['permissions']&&_0x4ecd72['permissions']['length']){for(var _0x36dfaa=0x0;_0x36dfaa<_0x4ecd72['permissions']['length'];++_0x36dfaa)_0x575db8['uint32'](0x22)['string'](_0x4ecd72['permissions'][_0x36dfaa]);}return _0x575db8;},_0x1ef8d0['encodeDelimited']=function(_0x487f1e,_0x3c4d8b){return this['encode'](_0x487f1e,_0x3c4d8b)['ldelim']();},_0x1ef8d0['decode']=function(_0x25c702,_0xab983c){_0x25c702 instanceof _0x4537d0||(_0x25c702=_0x4537d0['create'](_0x25c702));for(var _0x5f3001=void 0x0===_0xab983c?_0x25c702['len']:_0x25c702['pos']+_0xab983c,_0x1d6c34=new _0x48cb19['SessionsSocketDescriptor']();_0x25c702['pos']<_0x5f3001;){var _0x1d584c=_0x25c702['uint32']();switch(_0x1d584c>>>0x3){case 0x1:_0x1d6c34['session']=_0x25c702['string']();break;case 0x2:_0x1d6c34['user']=_0x25c702['string']();break;case 0x3:_0x1d6c34['role']=_0x25c702['string']();break;case 0x4:_0x1d6c34['permissions']&&_0x1d6c34['permissions']['length']||(_0x1d6c34['permissions']=[]),_0x1d6c34['permissions']['push'](_0x25c702['string']());break;default:_0x25c702['skipType'](0x7&_0x1d584c);}}return _0x1d6c34;},_0x1ef8d0['decodeDelimited']=function(_0x2074c7){return _0x2074c7 instanceof _0x4537d0||(_0x2074c7=new _0x4537d0(_0x2074c7)),this['decode'](_0x2074c7,_0x2074c7['uint32']());},_0x1ef8d0['verify']=function(_0x3ada89){if('object'!=typeof _0x3ada89||null===_0x3ada89)return'object\x20expected';if(null!=_0x3ada89['session']&&_0x3ada89['hasOwnProperty']('session')&&!_0x3be80d['isString'](_0x3ada89['session']))return'session:\x20string\x20expected';if(null!=_0x3ada89['user']&&_0x3ada89['hasOwnProperty']('user')&&!_0x3be80d['isString'](_0x3ada89['user']))return'user:\x20string\x20expected';if(null!=_0x3ada89['role']&&_0x3ada89['hasOwnProperty']('role')&&!_0x3be80d['isString'](_0x3ada89['role']))return'role:\x20string\x20expected';if(null!=_0x3ada89['permissions']&&_0x3ada89['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x3ada89['permissions']))return'permissions:\x20array\x20expected';for(var _0x17c732=0x0;_0x17c732<_0x3ada89['permissions']['length'];++_0x17c732)if(!_0x3be80d['isString'](_0x3ada89['permissions'][_0x17c732]))return'permissions:\x20string[]\x20expected';}return null;},_0x1ef8d0['fromObject']=function(_0x1ec618){if(_0x1ec618 instanceof _0x48cb19['SessionsSocketDescriptor'])return _0x1ec618;var _0x71b929=new _0x48cb19['SessionsSocketDescriptor']();if(null!=_0x1ec618['session']&&(_0x71b929['session']=String(_0x1ec618['session'])),null!=_0x1ec618['user']&&(_0x71b929['user']=String(_0x1ec618['user'])),null!=_0x1ec618['role']&&(_0x71b929['role']=String(_0x1ec618['role'])),_0x1ec618['permissions']){if(!Array['isArray'](_0x1ec618['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x71b929['permissions']=[];for(var _0x2aac14=0x0;_0x2aac14<_0x1ec618['permissions']['length'];++_0x2aac14)_0x71b929['permissions'][_0x2aac14]=String(_0x1ec618['permissions'][_0x2aac14]);}return _0x71b929;},_0x1ef8d0['toObject']=function(_0x496077,_0x4efa75){_0x4efa75||(_0x4efa75={});var _0xc299={};if((_0x4efa75['arrays']||_0x4efa75['defaults'])&&(_0xc299['permissions']=[]),_0x4efa75['defaults']&&(_0xc299['session']='',_0xc299['user']='',_0xc299['role']=''),null!=_0x496077['session']&&_0x496077['hasOwnProperty']('session')&&(_0xc299['session']=_0x496077['session']),null!=_0x496077['user']&&_0x496077['hasOwnProperty']('user')&&(_0xc299['user']=_0x496077['user']),null!=_0x496077['role']&&_0x496077['hasOwnProperty']('role')&&(_0xc299['role']=_0x496077['role']),_0x496077['permissions']&&_0x496077['permissions']['length']){_0xc299['permissions']=[];for(var _0x3f67aa=0x0;_0x3f67aa<_0x496077['permissions']['length'];++_0x3f67aa)_0xc299['permissions'][_0x3f67aa]=_0x496077['permissions'][_0x3f67aa];}return _0xc299;},_0x1ef8d0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1ef8d0['getTypeUrl']=function(_0x49759b){return void 0x0===_0x49759b&&(_0x49759b='type.googleapis.com'),_0x49759b+'/SessionsSocketDescriptor';},_0x1ef8d0;}()),_0x48cb19['SessionsConnectMessage']=(function(){function _0x52bdec(_0x207eb3){if(_0x207eb3){for(var _0x133ecb=Object['keys'](_0x207eb3),_0x3b4a19=0x0;_0x3b4a19<_0x133ecb['length'];++_0x3b4a19)null!=_0x207eb3[_0x133ecb[_0x3b4a19]]&&(this[_0x133ecb[_0x3b4a19]]=_0x207eb3[_0x133ecb[_0x3b4a19]]);}}return _0x52bdec['prototype']['id']='',_0x52bdec['prototype']['sessionType']=0x0,_0x52bdec['create']=function(_0x161e1c){return new _0x52bdec(_0x161e1c);},_0x52bdec['encode']=function(_0x215a0d,_0x5e126c){return _0x5e126c||(_0x5e126c=_0x5a9410['create']()),null!=_0x215a0d['id']&&Object['hasOwnProperty']['call'](_0x215a0d,'id')&&_0x5e126c['uint32'](0xa)['string'](_0x215a0d['id']),null!=_0x215a0d['sessionType']&&Object['hasOwnProperty']['call'](_0x215a0d,'sessionType')&&_0x5e126c['uint32'](0x10)['uint32'](_0x215a0d['sessionType']),_0x5e126c;},_0x52bdec['encodeDelimited']=function(_0x18d234,_0x315d07){return this['encode'](_0x18d234,_0x315d07)['ldelim']();},_0x52bdec['decode']=function(_0x57de49,_0x4f5876){_0x57de49 instanceof _0x4537d0||(_0x57de49=_0x4537d0['create'](_0x57de49));for(var _0x227796=void 0x0===_0x4f5876?_0x57de49['len']:_0x57de49['pos']+_0x4f5876,_0x142488=new _0x48cb19['SessionsConnectMessage']();_0x57de49['pos']<_0x227796;){var _0x1dbc95=_0x57de49['uint32']();switch(_0x1dbc95>>>0x3){case 0x1:_0x142488['id']=_0x57de49['string']();break;case 0x2:_0x142488['sessionType']=_0x57de49['uint32']();break;default:_0x57de49['skipType'](0x7&_0x1dbc95);}}return _0x142488;},_0x52bdec['decodeDelimited']=function(_0x4c1028){return _0x4c1028 instanceof _0x4537d0||(_0x4c1028=new _0x4537d0(_0x4c1028)),this['decode'](_0x4c1028,_0x4c1028['uint32']());},_0x52bdec['verify']=function(_0x62e5e5){return'object'!=typeof _0x62e5e5||null===_0x62e5e5?'object\x20expected':null!=_0x62e5e5['id']&&_0x62e5e5['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x62e5e5['id'])?'id:\x20string\x20expected':null!=_0x62e5e5['sessionType']&&_0x62e5e5['hasOwnProperty']('sessionType')&&!_0x3be80d['isInteger'](_0x62e5e5['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x52bdec['fromObject']=function(_0x42bda1){if(_0x42bda1 instanceof _0x48cb19['SessionsConnectMessage'])return _0x42bda1;var _0x3ecc4d=new _0x48cb19['SessionsConnectMessage']();return null!=_0x42bda1['id']&&(_0x3ecc4d['id']=String(_0x42bda1['id'])),null!=_0x42bda1['sessionType']&&(_0x3ecc4d['sessionType']=_0x42bda1['sessionType']>>>0x0),_0x3ecc4d;},_0x52bdec['toObject']=function(_0x51c18b,_0x3eee46){_0x3eee46||(_0x3eee46={});var _0x54f7f5={};return _0x3eee46['defaults']&&(_0x54f7f5['id']='',_0x54f7f5['sessionType']=0x0),null!=_0x51c18b['id']&&_0x51c18b['hasOwnProperty']('id')&&(_0x54f7f5['id']=_0x51c18b['id']),null!=_0x51c18b['sessionType']&&_0x51c18b['hasOwnProperty']('sessionType')&&(_0x54f7f5['sessionType']=_0x51c18b['sessionType']),_0x54f7f5;},_0x52bdec['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x52bdec['getTypeUrl']=function(_0x1b176a){return void 0x0===_0x1b176a&&(_0x1b176a='type.googleapis.com'),_0x1b176a+'/SessionsConnectMessage';},_0x52bdec;}()),_0x48cb19['SocketConnectMessage']=(function(){function _0x144ccf(_0x1a537d){if(this['permissions']=[],_0x1a537d){for(var _0x7da4f9=Object['keys'](_0x1a537d),_0x512831=0x0;_0x512831<_0x7da4f9['length'];++_0x512831)null!=_0x1a537d[_0x7da4f9[_0x512831]]&&(this[_0x7da4f9[_0x512831]]=_0x1a537d[_0x7da4f9[_0x512831]]);}}return _0x144ccf['prototype']['id']='',_0x144ccf['prototype']['userId']='',_0x144ccf['prototype']['role']='',_0x144ccf['prototype']['permissions']=_0x3be80d['emptyArray'],_0x144ccf['create']=function(_0x1ddb01){return new _0x144ccf(_0x1ddb01);},_0x144ccf['encode']=function(_0x451a17,_0x32cdb6){if(_0x32cdb6||(_0x32cdb6=_0x5a9410['create']()),null!=_0x451a17['id']&&Object['hasOwnProperty']['call'](_0x451a17,'id')&&_0x32cdb6['uint32'](0xa)['string'](_0x451a17['id']),null!=_0x451a17['userId']&&Object['hasOwnProperty']['call'](_0x451a17,'userId')&&_0x32cdb6['uint32'](0x12)['string'](_0x451a17['userId']),null!=_0x451a17['role']&&Object['hasOwnProperty']['call'](_0x451a17,'role')&&_0x32cdb6['uint32'](0x1a)['string'](_0x451a17['role']),null!=_0x451a17['permissions']&&_0x451a17['permissions']['length']){for(var _0x3c736c=0x0;_0x3c736c<_0x451a17['permissions']['length'];++_0x3c736c)_0x32cdb6['uint32'](0x22)['string'](_0x451a17['permissions'][_0x3c736c]);}return _0x32cdb6;},_0x144ccf['encodeDelimited']=function(_0x2b542b,_0x391ff9){return this['encode'](_0x2b542b,_0x391ff9)['ldelim']();},_0x144ccf['decode']=function(_0x2ab2b0,_0x436f1a){_0x2ab2b0 instanceof _0x4537d0||(_0x2ab2b0=_0x4537d0['create'](_0x2ab2b0));for(var _0xef24f0=void 0x0===_0x436f1a?_0x2ab2b0['len']:_0x2ab2b0['pos']+_0x436f1a,_0x2b2599=new _0x48cb19['SocketConnectMessage']();_0x2ab2b0['pos']<_0xef24f0;){var _0x3bcc12=_0x2ab2b0['uint32']();switch(_0x3bcc12>>>0x3){case 0x1:_0x2b2599['id']=_0x2ab2b0['string']();break;case 0x2:_0x2b2599['userId']=_0x2ab2b0['string']();break;case 0x3:_0x2b2599['role']=_0x2ab2b0['string']();break;case 0x4:_0x2b2599['permissions']&&_0x2b2599['permissions']['length']||(_0x2b2599['permissions']=[]),_0x2b2599['permissions']['push'](_0x2ab2b0['string']());break;default:_0x2ab2b0['skipType'](0x7&_0x3bcc12);}}return _0x2b2599;},_0x144ccf['decodeDelimited']=function(_0x4b1e1d){return _0x4b1e1d instanceof _0x4537d0||(_0x4b1e1d=new _0x4537d0(_0x4b1e1d)),this['decode'](_0x4b1e1d,_0x4b1e1d['uint32']());},_0x144ccf['verify']=function(_0x276577){if('object'!=typeof _0x276577||null===_0x276577)return'object\x20expected';if(null!=_0x276577['id']&&_0x276577['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x276577['id']))return'id:\x20string\x20expected';if(null!=_0x276577['userId']&&_0x276577['hasOwnProperty']('userId')&&!_0x3be80d['isString'](_0x276577['userId']))return'userId:\x20string\x20expected';if(null!=_0x276577['role']&&_0x276577['hasOwnProperty']('role')&&!_0x3be80d['isString'](_0x276577['role']))return'role:\x20string\x20expected';if(null!=_0x276577['permissions']&&_0x276577['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x276577['permissions']))return'permissions:\x20array\x20expected';for(var _0xeaa407=0x0;_0xeaa407<_0x276577['permissions']['length'];++_0xeaa407)if(!_0x3be80d['isString'](_0x276577['permissions'][_0xeaa407]))return'permissions:\x20string[]\x20expected';}return null;},_0x144ccf['fromObject']=function(_0x419c3b){if(_0x419c3b instanceof _0x48cb19['SocketConnectMessage'])return _0x419c3b;var _0x289a1=new _0x48cb19['SocketConnectMessage']();if(null!=_0x419c3b['id']&&(_0x289a1['id']=String(_0x419c3b['id'])),null!=_0x419c3b['userId']&&(_0x289a1['userId']=String(_0x419c3b['userId'])),null!=_0x419c3b['role']&&(_0x289a1['role']=String(_0x419c3b['role'])),_0x419c3b['permissions']){if(!Array['isArray'](_0x419c3b['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x289a1['permissions']=[];for(var _0x4f31c3=0x0;_0x4f31c3<_0x419c3b['permissions']['length'];++_0x4f31c3)_0x289a1['permissions'][_0x4f31c3]=String(_0x419c3b['permissions'][_0x4f31c3]);}return _0x289a1;},_0x144ccf['toObject']=function(_0x1de8d3,_0x5a326d){_0x5a326d||(_0x5a326d={});var _0x46a79b={};if((_0x5a326d['arrays']||_0x5a326d['defaults'])&&(_0x46a79b['permissions']=[]),_0x5a326d['defaults']&&(_0x46a79b['id']='',_0x46a79b['userId']='',_0x46a79b['role']=''),null!=_0x1de8d3['id']&&_0x1de8d3['hasOwnProperty']('id')&&(_0x46a79b['id']=_0x1de8d3['id']),null!=_0x1de8d3['userId']&&_0x1de8d3['hasOwnProperty']('userId')&&(_0x46a79b['userId']=_0x1de8d3['userId']),null!=_0x1de8d3['role']&&_0x1de8d3['hasOwnProperty']('role')&&(_0x46a79b['role']=_0x1de8d3['role']),_0x1de8d3['permissions']&&_0x1de8d3['permissions']['length']){_0x46a79b['permissions']=[];for(var _0x3a1799=0x0;_0x3a1799<_0x1de8d3['permissions']['length'];++_0x3a1799)_0x46a79b['permissions'][_0x3a1799]=_0x1de8d3['permissions'][_0x3a1799];}return _0x46a79b;},_0x144ccf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x144ccf['getTypeUrl']=function(_0x5627b8){return void 0x0===_0x5627b8&&(_0x5627b8='type.googleapis.com'),_0x5627b8+'/SocketConnectMessage';},_0x144ccf;}()),_0x48cb19['SocketDisconnectMessage']=(function(){function _0x49bc27(_0x565dd0){if(_0x565dd0){for(var _0x4c4aa5=Object['keys'](_0x565dd0),_0x315210=0x0;_0x315210<_0x4c4aa5['length'];++_0x315210)null!=_0x565dd0[_0x4c4aa5[_0x315210]]&&(this[_0x4c4aa5[_0x315210]]=_0x565dd0[_0x4c4aa5[_0x315210]]);}}return _0x49bc27['prototype']['id']='',_0x49bc27['create']=function(_0x457da7){return new _0x49bc27(_0x457da7);},_0x49bc27['encode']=function(_0x1bb87e,_0x105c21){return _0x105c21||(_0x105c21=_0x5a9410['create']()),null!=_0x1bb87e['id']&&Object['hasOwnProperty']['call'](_0x1bb87e,'id')&&_0x105c21['uint32'](0xa)['string'](_0x1bb87e['id']),_0x105c21;},_0x49bc27['encodeDelimited']=function(_0x162e6f,_0xe3b1c7){return this['encode'](_0x162e6f,_0xe3b1c7)['ldelim']();},_0x49bc27['decode']=function(_0x3ca72e,_0x5d55d2){_0x3ca72e instanceof _0x4537d0||(_0x3ca72e=_0x4537d0['create'](_0x3ca72e));for(var _0x44d12f=void 0x0===_0x5d55d2?_0x3ca72e['len']:_0x3ca72e['pos']+_0x5d55d2,_0x4de805=new _0x48cb19['SocketDisconnectMessage']();_0x3ca72e['pos']<_0x44d12f;){var _0x53a9e0=_0x3ca72e['uint32']();_0x53a9e0>>>0x3==0x1?_0x4de805['id']=_0x3ca72e['string']():_0x3ca72e['skipType'](0x7&_0x53a9e0);}return _0x4de805;},_0x49bc27['decodeDelimited']=function(_0x2b817f){return _0x2b817f instanceof _0x4537d0||(_0x2b817f=new _0x4537d0(_0x2b817f)),this['decode'](_0x2b817f,_0x2b817f['uint32']());},_0x49bc27['verify']=function(_0x10c79f){return'object'!=typeof _0x10c79f||null===_0x10c79f?'object\x20expected':null!=_0x10c79f['id']&&_0x10c79f['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x10c79f['id'])?'id:\x20string\x20expected':null;},_0x49bc27['fromObject']=function(_0x70841b){if(_0x70841b instanceof _0x48cb19['SocketDisconnectMessage'])return _0x70841b;var _0x593b7f=new _0x48cb19['SocketDisconnectMessage']();return null!=_0x70841b['id']&&(_0x593b7f['id']=String(_0x70841b['id'])),_0x593b7f;},_0x49bc27['toObject']=function(_0x476a67,_0x3ecb2b){_0x3ecb2b||(_0x3ecb2b={});var _0x3d45bf={};return _0x3ecb2b['defaults']&&(_0x3d45bf['id']=''),null!=_0x476a67['id']&&_0x476a67['hasOwnProperty']('id')&&(_0x3d45bf['id']=_0x476a67['id']),_0x3d45bf;},_0x49bc27['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x49bc27['getTypeUrl']=function(_0x3f3295){return void 0x0===_0x3f3295&&(_0x3f3295='type.googleapis.com'),_0x3f3295+'/SocketDisconnectMessage';},_0x49bc27;}()),_0x48cb19['SessionsConnectResponse']=(function(){function _0x1ca338(_0x1bb85c){if(this['sockets']=[],_0x1bb85c){for(var _0x38e4e3=Object['keys'](_0x1bb85c),_0x4c78ea=0x0;_0x4c78ea<_0x38e4e3['length'];++_0x4c78ea)null!=_0x1bb85c[_0x38e4e3[_0x4c78ea]]&&(this[_0x38e4e3[_0x4c78ea]]=_0x1bb85c[_0x38e4e3[_0x4c78ea]]);}}return _0x1ca338['prototype']['channel']='',_0x1ca338['prototype']['sockets']=_0x3be80d['emptyArray'],_0x1ca338['create']=function(_0x2f388f){return new _0x1ca338(_0x2f388f);},_0x1ca338['encode']=function(_0x4bf042,_0x14d632){if(_0x14d632||(_0x14d632=_0x5a9410['create']()),null!=_0x4bf042['channel']&&Object['hasOwnProperty']['call'](_0x4bf042,'channel')&&_0x14d632['uint32'](0xa)['string'](_0x4bf042['channel']),null!=_0x4bf042['sockets']&&_0x4bf042['sockets']['length']){for(var _0x5a3806=0x0;_0x5a3806<_0x4bf042['sockets']['length'];++_0x5a3806)_0x48cb19['SessionsSocketDescriptor']['encode'](_0x4bf042['sockets'][_0x5a3806],_0x14d632['uint32'](0x12)['fork']())['ldelim']();}return _0x14d632;},_0x1ca338['encodeDelimited']=function(_0x4edddf,_0x263cec){return this['encode'](_0x4edddf,_0x263cec)['ldelim']();},_0x1ca338['decode']=function(_0x3f1ca3,_0xbb9adc){_0x3f1ca3 instanceof _0x4537d0||(_0x3f1ca3=_0x4537d0['create'](_0x3f1ca3));for(var _0x12c7c0=void 0x0===_0xbb9adc?_0x3f1ca3['len']:_0x3f1ca3['pos']+_0xbb9adc,_0x50da25=new _0x48cb19['SessionsConnectResponse']();_0x3f1ca3['pos']<_0x12c7c0;){var _0x50c276=_0x3f1ca3['uint32']();switch(_0x50c276>>>0x3){case 0x1:_0x50da25['channel']=_0x3f1ca3['string']();break;case 0x2:_0x50da25['sockets']&&_0x50da25['sockets']['length']||(_0x50da25['sockets']=[]),_0x50da25['sockets']['push'](_0x48cb19['SessionsSocketDescriptor']['decode'](_0x3f1ca3,_0x3f1ca3['uint32']()));break;default:_0x3f1ca3['skipType'](0x7&_0x50c276);}}return _0x50da25;},_0x1ca338['decodeDelimited']=function(_0x2ea420){return _0x2ea420 instanceof _0x4537d0||(_0x2ea420=new _0x4537d0(_0x2ea420)),this['decode'](_0x2ea420,_0x2ea420['uint32']());},_0x1ca338['verify']=function(_0xe2ebc5){if('object'!=typeof _0xe2ebc5||null===_0xe2ebc5)return'object\x20expected';if(null!=_0xe2ebc5['channel']&&_0xe2ebc5['hasOwnProperty']('channel')&&!_0x3be80d['isString'](_0xe2ebc5['channel']))return'channel:\x20string\x20expected';if(null!=_0xe2ebc5['sockets']&&_0xe2ebc5['hasOwnProperty']('sockets')){if(!Array['isArray'](_0xe2ebc5['sockets']))return'sockets:\x20array\x20expected';for(var _0x3a6234=0x0;_0x3a6234<_0xe2ebc5['sockets']['length'];++_0x3a6234){var _0x216574=_0x48cb19['SessionsSocketDescriptor']['verify'](_0xe2ebc5['sockets'][_0x3a6234]);if(_0x216574)return'sockets.'+_0x216574;}}return null;},_0x1ca338['fromObject']=function(_0x211622){if(_0x211622 instanceof _0x48cb19['SessionsConnectResponse'])return _0x211622;var _0x19360e=new _0x48cb19['SessionsConnectResponse']();if(null!=_0x211622['channel']&&(_0x19360e['channel']=String(_0x211622['channel'])),_0x211622['sockets']){if(!Array['isArray'](_0x211622['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x19360e['sockets']=[];for(var _0x4234e1=0x0;_0x4234e1<_0x211622['sockets']['length'];++_0x4234e1){if('object'!=typeof _0x211622['sockets'][_0x4234e1])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x19360e['sockets'][_0x4234e1]=_0x48cb19['SessionsSocketDescriptor']['fromObject'](_0x211622['sockets'][_0x4234e1]);}}return _0x19360e;},_0x1ca338['toObject']=function(_0x36ff4f,_0x2acda6){_0x2acda6||(_0x2acda6={});var _0x9a569={};if((_0x2acda6['arrays']||_0x2acda6['defaults'])&&(_0x9a569['sockets']=[]),_0x2acda6['defaults']&&(_0x9a569['channel']=''),null!=_0x36ff4f['channel']&&_0x36ff4f['hasOwnProperty']('channel')&&(_0x9a569['channel']=_0x36ff4f['channel']),_0x36ff4f['sockets']&&_0x36ff4f['sockets']['length']){_0x9a569['sockets']=[];for(var _0xda3af=0x0;_0xda3af<_0x36ff4f['sockets']['length'];++_0xda3af)_0x9a569['sockets'][_0xda3af]=_0x48cb19['SessionsSocketDescriptor']['toObject'](_0x36ff4f['sockets'][_0xda3af],_0x2acda6);}return _0x9a569;},_0x1ca338['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1ca338['getTypeUrl']=function(_0x4081e2){return void 0x0===_0x4081e2&&(_0x4081e2='type.googleapis.com'),_0x4081e2+'/SessionsConnectResponse';},_0x1ca338;}()),_0x48cb19['SuggestionDescriptor']=(function(){function _0x552f60(_0x47888d){if(_0x47888d){for(var _0x293986=Object['keys'](_0x47888d),_0xac64cd=0x0;_0xac64cd<_0x293986['length'];++_0xac64cd)null!=_0x47888d[_0x293986[_0xac64cd]]&&(this[_0x293986[_0xac64cd]]=_0x47888d[_0x293986[_0xac64cd]]);}}return _0x552f60['prototype']['id']='',_0x552f60['prototype']['authorId']='',_0x552f60['prototype']['type']='',_0x552f60['prototype']['createdAt']='',_0x552f60['prototype']['data']='',_0x552f60['prototype']['hasComments']=!0x1,_0x552f60['prototype']['state']='',_0x552f60['prototype']['attributes']='',_0x552f60['create']=function(_0x59f58e){return new _0x552f60(_0x59f58e);},_0x552f60['encode']=function(_0x30a211,_0x31e963){return _0x31e963||(_0x31e963=_0x5a9410['create']()),null!=_0x30a211['id']&&Object['hasOwnProperty']['call'](_0x30a211,'id')&&_0x31e963['uint32'](0xa)['string'](_0x30a211['id']),null!=_0x30a211['authorId']&&Object['hasOwnProperty']['call'](_0x30a211,'authorId')&&_0x31e963['uint32'](0x12)['string'](_0x30a211['authorId']),null!=_0x30a211['type']&&Object['hasOwnProperty']['call'](_0x30a211,'type')&&_0x31e963['uint32'](0x1a)['string'](_0x30a211['type']),null!=_0x30a211['createdAt']&&Object['hasOwnProperty']['call'](_0x30a211,'createdAt')&&_0x31e963['uint32'](0x22)['string'](_0x30a211['createdAt']),null!=_0x30a211['data']&&Object['hasOwnProperty']['call'](_0x30a211,'data')&&_0x31e963['uint32'](0x2a)['string'](_0x30a211['data']),null!=_0x30a211['hasComments']&&Object['hasOwnProperty']['call'](_0x30a211,'hasComments')&&_0x31e963['uint32'](0x30)['bool'](_0x30a211['hasComments']),null!=_0x30a211['state']&&Object['hasOwnProperty']['call'](_0x30a211,'state')&&_0x31e963['uint32'](0x3a)['string'](_0x30a211['state']),null!=_0x30a211['attributes']&&Object['hasOwnProperty']['call'](_0x30a211,'attributes')&&_0x31e963['uint32'](0x42)['string'](_0x30a211['attributes']),_0x31e963;},_0x552f60['encodeDelimited']=function(_0x29e04d,_0xabfda9){return this['encode'](_0x29e04d,_0xabfda9)['ldelim']();},_0x552f60['decode']=function(_0x130981,_0x3b5c60){_0x130981 instanceof _0x4537d0||(_0x130981=_0x4537d0['create'](_0x130981));for(var _0x41e6d9=void 0x0===_0x3b5c60?_0x130981['len']:_0x130981['pos']+_0x3b5c60,_0x620de1=new _0x48cb19['SuggestionDescriptor']();_0x130981['pos']<_0x41e6d9;){var _0x51098b=_0x130981['uint32']();switch(_0x51098b>>>0x3){case 0x1:_0x620de1['id']=_0x130981['string']();break;case 0x2:_0x620de1['authorId']=_0x130981['string']();break;case 0x3:_0x620de1['type']=_0x130981['string']();break;case 0x4:_0x620de1['createdAt']=_0x130981['string']();break;case 0x5:_0x620de1['data']=_0x130981['string']();break;case 0x6:_0x620de1['hasComments']=_0x130981['bool']();break;case 0x7:_0x620de1['state']=_0x130981['string']();break;case 0x8:_0x620de1['attributes']=_0x130981['string']();break;default:_0x130981['skipType'](0x7&_0x51098b);}}return _0x620de1;},_0x552f60['decodeDelimited']=function(_0x26bee1){return _0x26bee1 instanceof _0x4537d0||(_0x26bee1=new _0x4537d0(_0x26bee1)),this['decode'](_0x26bee1,_0x26bee1['uint32']());},_0x552f60['verify']=function(_0x4a16bf){return'object'!=typeof _0x4a16bf||null===_0x4a16bf?'object\x20expected':null!=_0x4a16bf['id']&&_0x4a16bf['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x4a16bf['id'])?'id:\x20string\x20expected':null!=_0x4a16bf['authorId']&&_0x4a16bf['hasOwnProperty']('authorId')&&!_0x3be80d['isString'](_0x4a16bf['authorId'])?'authorId:\x20string\x20expected':null!=_0x4a16bf['type']&&_0x4a16bf['hasOwnProperty']('type')&&!_0x3be80d['isString'](_0x4a16bf['type'])?'type:\x20string\x20expected':null!=_0x4a16bf['createdAt']&&_0x4a16bf['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x4a16bf['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4a16bf['data']&&_0x4a16bf['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x4a16bf['data'])?'data:\x20string\x20expected':null!=_0x4a16bf['hasComments']&&_0x4a16bf['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4a16bf['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4a16bf['state']&&_0x4a16bf['hasOwnProperty']('state')&&!_0x3be80d['isString'](_0x4a16bf['state'])?'state:\x20string\x20expected':null!=_0x4a16bf['attributes']&&_0x4a16bf['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x4a16bf['attributes'])?'attributes:\x20string\x20expected':null;},_0x552f60['fromObject']=function(_0x162f28){if(_0x162f28 instanceof _0x48cb19['SuggestionDescriptor'])return _0x162f28;var _0x20def5=new _0x48cb19['SuggestionDescriptor']();return null!=_0x162f28['id']&&(_0x20def5['id']=String(_0x162f28['id'])),null!=_0x162f28['authorId']&&(_0x20def5['authorId']=String(_0x162f28['authorId'])),null!=_0x162f28['type']&&(_0x20def5['type']=String(_0x162f28['type'])),null!=_0x162f28['createdAt']&&(_0x20def5['createdAt']=String(_0x162f28['createdAt'])),null!=_0x162f28['data']&&(_0x20def5['data']=String(_0x162f28['data'])),null!=_0x162f28['hasComments']&&(_0x20def5['hasComments']=Boolean(_0x162f28['hasComments'])),null!=_0x162f28['state']&&(_0x20def5['state']=String(_0x162f28['state'])),null!=_0x162f28['attributes']&&(_0x20def5['attributes']=String(_0x162f28['attributes'])),_0x20def5;},_0x552f60['toObject']=function(_0x379f5e,_0x3b8541){_0x3b8541||(_0x3b8541={});var _0x2a1620={};return _0x3b8541['defaults']&&(_0x2a1620['id']='',_0x2a1620['authorId']='',_0x2a1620['type']='',_0x2a1620['createdAt']='',_0x2a1620['data']='',_0x2a1620['hasComments']=!0x1,_0x2a1620['state']='',_0x2a1620['attributes']=''),null!=_0x379f5e['id']&&_0x379f5e['hasOwnProperty']('id')&&(_0x2a1620['id']=_0x379f5e['id']),null!=_0x379f5e['authorId']&&_0x379f5e['hasOwnProperty']('authorId')&&(_0x2a1620['authorId']=_0x379f5e['authorId']),null!=_0x379f5e['type']&&_0x379f5e['hasOwnProperty']('type')&&(_0x2a1620['type']=_0x379f5e['type']),null!=_0x379f5e['createdAt']&&_0x379f5e['hasOwnProperty']('createdAt')&&(_0x2a1620['createdAt']=_0x379f5e['createdAt']),null!=_0x379f5e['data']&&_0x379f5e['hasOwnProperty']('data')&&(_0x2a1620['data']=_0x379f5e['data']),null!=_0x379f5e['hasComments']&&_0x379f5e['hasOwnProperty']('hasComments')&&(_0x2a1620['hasComments']=_0x379f5e['hasComments']),null!=_0x379f5e['state']&&_0x379f5e['hasOwnProperty']('state')&&(_0x2a1620['state']=_0x379f5e['state']),null!=_0x379f5e['attributes']&&_0x379f5e['hasOwnProperty']('attributes')&&(_0x2a1620['attributes']=_0x379f5e['attributes']),_0x2a1620;},_0x552f60['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x552f60['getTypeUrl']=function(_0x2e2694){return void 0x0===_0x2e2694&&(_0x2e2694='type.googleapis.com'),_0x2e2694+'/SuggestionDescriptor';},_0x552f60;}()),_0x48cb19['TrackChangesAddSuggestionMessage']=(function(){function _0x3aff4d(_0x8ba88d){if(_0x8ba88d){for(var _0x581897=Object['keys'](_0x8ba88d),_0x6bf592=0x0;_0x6bf592<_0x581897['length'];++_0x6bf592)null!=_0x8ba88d[_0x581897[_0x6bf592]]&&(this[_0x581897[_0x6bf592]]=_0x8ba88d[_0x581897[_0x6bf592]]);}}return _0x3aff4d['prototype']['id']='',_0x3aff4d['prototype']['documentId']='',_0x3aff4d['prototype']['type']='',_0x3aff4d['prototype']['data']='',_0x3aff4d['prototype']['originalSuggestionId']='',_0x3aff4d['prototype']['attributes']='',_0x3aff4d['create']=function(_0x11b17d){return new _0x3aff4d(_0x11b17d);},_0x3aff4d['encode']=function(_0x27b5e9,_0x13da81){return _0x13da81||(_0x13da81=_0x5a9410['create']()),null!=_0x27b5e9['id']&&Object['hasOwnProperty']['call'](_0x27b5e9,'id')&&_0x13da81['uint32'](0xa)['string'](_0x27b5e9['id']),null!=_0x27b5e9['documentId']&&Object['hasOwnProperty']['call'](_0x27b5e9,'documentId')&&_0x13da81['uint32'](0x12)['string'](_0x27b5e9['documentId']),null!=_0x27b5e9['type']&&Object['hasOwnProperty']['call'](_0x27b5e9,'type')&&_0x13da81['uint32'](0x1a)['string'](_0x27b5e9['type']),null!=_0x27b5e9['data']&&Object['hasOwnProperty']['call'](_0x27b5e9,'data')&&_0x13da81['uint32'](0x22)['string'](_0x27b5e9['data']),null!=_0x27b5e9['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x27b5e9,'originalSuggestionId')&&_0x13da81['uint32'](0x2a)['string'](_0x27b5e9['originalSuggestionId']),null!=_0x27b5e9['attributes']&&Object['hasOwnProperty']['call'](_0x27b5e9,'attributes')&&_0x13da81['uint32'](0x32)['string'](_0x27b5e9['attributes']),_0x13da81;},_0x3aff4d['encodeDelimited']=function(_0x192fd3,_0x578b59){return this['encode'](_0x192fd3,_0x578b59)['ldelim']();},_0x3aff4d['decode']=function(_0x597af7,_0x3bafed){_0x597af7 instanceof _0x4537d0||(_0x597af7=_0x4537d0['create'](_0x597af7));for(var _0x5ca650=void 0x0===_0x3bafed?_0x597af7['len']:_0x597af7['pos']+_0x3bafed,_0x371f85=new _0x48cb19['TrackChangesAddSuggestionMessage']();_0x597af7['pos']<_0x5ca650;){var _0x14cd90=_0x597af7['uint32']();switch(_0x14cd90>>>0x3){case 0x1:_0x371f85['id']=_0x597af7['string']();break;case 0x2:_0x371f85['documentId']=_0x597af7['string']();break;case 0x3:_0x371f85['type']=_0x597af7['string']();break;case 0x4:_0x371f85['data']=_0x597af7['string']();break;case 0x5:_0x371f85['originalSuggestionId']=_0x597af7['string']();break;case 0x6:_0x371f85['attributes']=_0x597af7['string']();break;default:_0x597af7['skipType'](0x7&_0x14cd90);}}return _0x371f85;},_0x3aff4d['decodeDelimited']=function(_0x584115){return _0x584115 instanceof _0x4537d0||(_0x584115=new _0x4537d0(_0x584115)),this['decode'](_0x584115,_0x584115['uint32']());},_0x3aff4d['verify']=function(_0x5116b8){return'object'!=typeof _0x5116b8||null===_0x5116b8?'object\x20expected':null!=_0x5116b8['id']&&_0x5116b8['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x5116b8['id'])?'id:\x20string\x20expected':null!=_0x5116b8['documentId']&&_0x5116b8['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x5116b8['documentId'])?'documentId:\x20string\x20expected':null!=_0x5116b8['type']&&_0x5116b8['hasOwnProperty']('type')&&!_0x3be80d['isString'](_0x5116b8['type'])?'type:\x20string\x20expected':null!=_0x5116b8['data']&&_0x5116b8['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x5116b8['data'])?'data:\x20string\x20expected':null!=_0x5116b8['originalSuggestionId']&&_0x5116b8['hasOwnProperty']('originalSuggestionId')&&!_0x3be80d['isString'](_0x5116b8['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x5116b8['attributes']&&_0x5116b8['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x5116b8['attributes'])?'attributes:\x20string\x20expected':null;},_0x3aff4d['fromObject']=function(_0x5b3dff){if(_0x5b3dff instanceof _0x48cb19['TrackChangesAddSuggestionMessage'])return _0x5b3dff;var _0x852fd1=new _0x48cb19['TrackChangesAddSuggestionMessage']();return null!=_0x5b3dff['id']&&(_0x852fd1['id']=String(_0x5b3dff['id'])),null!=_0x5b3dff['documentId']&&(_0x852fd1['documentId']=String(_0x5b3dff['documentId'])),null!=_0x5b3dff['type']&&(_0x852fd1['type']=String(_0x5b3dff['type'])),null!=_0x5b3dff['data']&&(_0x852fd1['data']=String(_0x5b3dff['data'])),null!=_0x5b3dff['originalSuggestionId']&&(_0x852fd1['originalSuggestionId']=String(_0x5b3dff['originalSuggestionId'])),null!=_0x5b3dff['attributes']&&(_0x852fd1['attributes']=String(_0x5b3dff['attributes'])),_0x852fd1;},_0x3aff4d['toObject']=function(_0x595fcb,_0x579cb2){_0x579cb2||(_0x579cb2={});var _0x2691a3={};return _0x579cb2['defaults']&&(_0x2691a3['id']='',_0x2691a3['documentId']='',_0x2691a3['type']='',_0x2691a3['data']='',_0x2691a3['originalSuggestionId']='',_0x2691a3['attributes']=''),null!=_0x595fcb['id']&&_0x595fcb['hasOwnProperty']('id')&&(_0x2691a3['id']=_0x595fcb['id']),null!=_0x595fcb['documentId']&&_0x595fcb['hasOwnProperty']('documentId')&&(_0x2691a3['documentId']=_0x595fcb['documentId']),null!=_0x595fcb['type']&&_0x595fcb['hasOwnProperty']('type')&&(_0x2691a3['type']=_0x595fcb['type']),null!=_0x595fcb['data']&&_0x595fcb['hasOwnProperty']('data')&&(_0x2691a3['data']=_0x595fcb['data']),null!=_0x595fcb['originalSuggestionId']&&_0x595fcb['hasOwnProperty']('originalSuggestionId')&&(_0x2691a3['originalSuggestionId']=_0x595fcb['originalSuggestionId']),null!=_0x595fcb['attributes']&&_0x595fcb['hasOwnProperty']('attributes')&&(_0x2691a3['attributes']=_0x595fcb['attributes']),_0x2691a3;},_0x3aff4d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3aff4d['getTypeUrl']=function(_0x10ad26){return void 0x0===_0x10ad26&&(_0x10ad26='type.googleapis.com'),_0x10ad26+'/TrackChangesAddSuggestionMessage';},_0x3aff4d;}()),_0x48cb19['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x51ea5a(_0x56a2f1){if(this['ids']=[],_0x56a2f1){for(var _0x777063=Object['keys'](_0x56a2f1),_0x319cae=0x0;_0x319cae<_0x777063['length'];++_0x319cae)null!=_0x56a2f1[_0x777063[_0x319cae]]&&(this[_0x777063[_0x319cae]]=_0x56a2f1[_0x777063[_0x319cae]]);}}return _0x51ea5a['prototype']['ids']=_0x3be80d['emptyArray'],_0x51ea5a['prototype']['documentId']='',_0x51ea5a['prototype']['state']='',_0x51ea5a['create']=function(_0x4d0ad0){return new _0x51ea5a(_0x4d0ad0);},_0x51ea5a['encode']=function(_0x2546ef,_0x5f2d6c){if(_0x5f2d6c||(_0x5f2d6c=_0x5a9410['create']()),null!=_0x2546ef['ids']&&_0x2546ef['ids']['length']){for(var _0x4383fe=0x0;_0x4383fe<_0x2546ef['ids']['length'];++_0x4383fe)_0x5f2d6c['uint32'](0xa)['string'](_0x2546ef['ids'][_0x4383fe]);}return null!=_0x2546ef['documentId']&&Object['hasOwnProperty']['call'](_0x2546ef,'documentId')&&_0x5f2d6c['uint32'](0x12)['string'](_0x2546ef['documentId']),null!=_0x2546ef['state']&&Object['hasOwnProperty']['call'](_0x2546ef,'state')&&_0x5f2d6c['uint32'](0x1a)['string'](_0x2546ef['state']),_0x5f2d6c;},_0x51ea5a['encodeDelimited']=function(_0x288d36,_0x2e1be0){return this['encode'](_0x288d36,_0x2e1be0)['ldelim']();},_0x51ea5a['decode']=function(_0x1604b6,_0x10c1d3){_0x1604b6 instanceof _0x4537d0||(_0x1604b6=_0x4537d0['create'](_0x1604b6));for(var _0x328126=void 0x0===_0x10c1d3?_0x1604b6['len']:_0x1604b6['pos']+_0x10c1d3,_0x922770=new _0x48cb19['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x1604b6['pos']<_0x328126;){var _0x2e6735=_0x1604b6['uint32']();switch(_0x2e6735>>>0x3){case 0x1:_0x922770['ids']&&_0x922770['ids']['length']||(_0x922770['ids']=[]),_0x922770['ids']['push'](_0x1604b6['string']());break;case 0x2:_0x922770['documentId']=_0x1604b6['string']();break;case 0x3:_0x922770['state']=_0x1604b6['string']();break;default:_0x1604b6['skipType'](0x7&_0x2e6735);}}return _0x922770;},_0x51ea5a['decodeDelimited']=function(_0x42ff1b){return _0x42ff1b instanceof _0x4537d0||(_0x42ff1b=new _0x4537d0(_0x42ff1b)),this['decode'](_0x42ff1b,_0x42ff1b['uint32']());},_0x51ea5a['verify']=function(_0xbe9c7c){if('object'!=typeof _0xbe9c7c||null===_0xbe9c7c)return'object\x20expected';if(null!=_0xbe9c7c['ids']&&_0xbe9c7c['hasOwnProperty']('ids')){if(!Array['isArray'](_0xbe9c7c['ids']))return'ids:\x20array\x20expected';for(var _0x5ac42e=0x0;_0x5ac42e<_0xbe9c7c['ids']['length'];++_0x5ac42e)if(!_0x3be80d['isString'](_0xbe9c7c['ids'][_0x5ac42e]))return'ids:\x20string[]\x20expected';}return null!=_0xbe9c7c['documentId']&&_0xbe9c7c['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0xbe9c7c['documentId'])?'documentId:\x20string\x20expected':null!=_0xbe9c7c['state']&&_0xbe9c7c['hasOwnProperty']('state')&&!_0x3be80d['isString'](_0xbe9c7c['state'])?'state:\x20string\x20expected':null;},_0x51ea5a['fromObject']=function(_0x28bf98){if(_0x28bf98 instanceof _0x48cb19['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x28bf98;var _0x2d5844=new _0x48cb19['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x28bf98['ids']){if(!Array['isArray'](_0x28bf98['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x2d5844['ids']=[];for(var _0x50e9b0=0x0;_0x50e9b0<_0x28bf98['ids']['length'];++_0x50e9b0)_0x2d5844['ids'][_0x50e9b0]=String(_0x28bf98['ids'][_0x50e9b0]);}return null!=_0x28bf98['documentId']&&(_0x2d5844['documentId']=String(_0x28bf98['documentId'])),null!=_0x28bf98['state']&&(_0x2d5844['state']=String(_0x28bf98['state'])),_0x2d5844;},_0x51ea5a['toObject']=function(_0x3cc054,_0x205d4e){_0x205d4e||(_0x205d4e={});var _0x225fc4={};if((_0x205d4e['arrays']||_0x205d4e['defaults'])&&(_0x225fc4['ids']=[]),_0x205d4e['defaults']&&(_0x225fc4['documentId']='',_0x225fc4['state']=''),_0x3cc054['ids']&&_0x3cc054['ids']['length']){_0x225fc4['ids']=[];for(var _0xe92a0f=0x0;_0xe92a0f<_0x3cc054['ids']['length'];++_0xe92a0f)_0x225fc4['ids'][_0xe92a0f]=_0x3cc054['ids'][_0xe92a0f];}return null!=_0x3cc054['documentId']&&_0x3cc054['hasOwnProperty']('documentId')&&(_0x225fc4['documentId']=_0x3cc054['documentId']),null!=_0x3cc054['state']&&_0x3cc054['hasOwnProperty']('state')&&(_0x225fc4['state']=_0x3cc054['state']),_0x225fc4;},_0x51ea5a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x51ea5a['getTypeUrl']=function(_0x418c24){return void 0x0===_0x418c24&&(_0x418c24='type.googleapis.com'),_0x418c24+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x51ea5a;}()),_0x48cb19['TrackChangesConnectMessage']=(function(){function _0x2a7113(_0x4f107a){if(_0x4f107a){for(var _0x21d437=Object['keys'](_0x4f107a),_0x2b4c2f=0x0;_0x2b4c2f<_0x21d437['length'];++_0x2b4c2f)null!=_0x4f107a[_0x21d437[_0x2b4c2f]]&&(this[_0x21d437[_0x2b4c2f]]=_0x4f107a[_0x21d437[_0x2b4c2f]]);}}return _0x2a7113['prototype']['documentId']='',_0x2a7113['create']=function(_0x42adcb){return new _0x2a7113(_0x42adcb);},_0x2a7113['encode']=function(_0x53653a,_0x24a3b2){return _0x24a3b2||(_0x24a3b2=_0x5a9410['create']()),null!=_0x53653a['documentId']&&Object['hasOwnProperty']['call'](_0x53653a,'documentId')&&_0x24a3b2['uint32'](0xa)['string'](_0x53653a['documentId']),_0x24a3b2;},_0x2a7113['encodeDelimited']=function(_0x45b949,_0x292e4a){return this['encode'](_0x45b949,_0x292e4a)['ldelim']();},_0x2a7113['decode']=function(_0xf8a4dc,_0x15b023){_0xf8a4dc instanceof _0x4537d0||(_0xf8a4dc=_0x4537d0['create'](_0xf8a4dc));for(var _0x4911b9=void 0x0===_0x15b023?_0xf8a4dc['len']:_0xf8a4dc['pos']+_0x15b023,_0x24993a=new _0x48cb19['TrackChangesConnectMessage']();_0xf8a4dc['pos']<_0x4911b9;){var _0x5c4a4a=_0xf8a4dc['uint32']();_0x5c4a4a>>>0x3==0x1?_0x24993a['documentId']=_0xf8a4dc['string']():_0xf8a4dc['skipType'](0x7&_0x5c4a4a);}return _0x24993a;},_0x2a7113['decodeDelimited']=function(_0x3a8620){return _0x3a8620 instanceof _0x4537d0||(_0x3a8620=new _0x4537d0(_0x3a8620)),this['decode'](_0x3a8620,_0x3a8620['uint32']());},_0x2a7113['verify']=function(_0x519280){return'object'!=typeof _0x519280||null===_0x519280?'object\x20expected':null!=_0x519280['documentId']&&_0x519280['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x519280['documentId'])?'documentId:\x20string\x20expected':null;},_0x2a7113['fromObject']=function(_0x488da7){if(_0x488da7 instanceof _0x48cb19['TrackChangesConnectMessage'])return _0x488da7;var _0x4740b6=new _0x48cb19['TrackChangesConnectMessage']();return null!=_0x488da7['documentId']&&(_0x4740b6['documentId']=String(_0x488da7['documentId'])),_0x4740b6;},_0x2a7113['toObject']=function(_0x40ae35,_0x19e43b){_0x19e43b||(_0x19e43b={});var _0x199638={};return _0x19e43b['defaults']&&(_0x199638['documentId']=''),null!=_0x40ae35['documentId']&&_0x40ae35['hasOwnProperty']('documentId')&&(_0x199638['documentId']=_0x40ae35['documentId']),_0x199638;},_0x2a7113['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2a7113['getTypeUrl']=function(_0x5a9699){return void 0x0===_0x5a9699&&(_0x5a9699='type.googleapis.com'),_0x5a9699+'/TrackChangesConnectMessage';},_0x2a7113;}()),_0x48cb19['TrackChangesGetAllSuggestionMessage']=(function(){function _0x1c2219(_0x560869){if(_0x560869){for(var _0x32c16e=Object['keys'](_0x560869),_0x43b8d1=0x0;_0x43b8d1<_0x32c16e['length'];++_0x43b8d1)null!=_0x560869[_0x32c16e[_0x43b8d1]]&&(this[_0x32c16e[_0x43b8d1]]=_0x560869[_0x32c16e[_0x43b8d1]]);}}return _0x1c2219['prototype']['documentId']='',_0x1c2219['create']=function(_0x4d5d13){return new _0x1c2219(_0x4d5d13);},_0x1c2219['encode']=function(_0x4fae5b,_0x1bdd39){return _0x1bdd39||(_0x1bdd39=_0x5a9410['create']()),null!=_0x4fae5b['documentId']&&Object['hasOwnProperty']['call'](_0x4fae5b,'documentId')&&_0x1bdd39['uint32'](0xa)['string'](_0x4fae5b['documentId']),_0x1bdd39;},_0x1c2219['encodeDelimited']=function(_0x35ae50,_0x6758f9){return this['encode'](_0x35ae50,_0x6758f9)['ldelim']();},_0x1c2219['decode']=function(_0x172a78,_0x4590f0){_0x172a78 instanceof _0x4537d0||(_0x172a78=_0x4537d0['create'](_0x172a78));for(var _0x2dca3e=void 0x0===_0x4590f0?_0x172a78['len']:_0x172a78['pos']+_0x4590f0,_0xec2339=new _0x48cb19['TrackChangesGetAllSuggestionMessage']();_0x172a78['pos']<_0x2dca3e;){var _0x27d1c2=_0x172a78['uint32']();_0x27d1c2>>>0x3==0x1?_0xec2339['documentId']=_0x172a78['string']():_0x172a78['skipType'](0x7&_0x27d1c2);}return _0xec2339;},_0x1c2219['decodeDelimited']=function(_0x978a19){return _0x978a19 instanceof _0x4537d0||(_0x978a19=new _0x4537d0(_0x978a19)),this['decode'](_0x978a19,_0x978a19['uint32']());},_0x1c2219['verify']=function(_0x3e297a){return'object'!=typeof _0x3e297a||null===_0x3e297a?'object\x20expected':null!=_0x3e297a['documentId']&&_0x3e297a['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x3e297a['documentId'])?'documentId:\x20string\x20expected':null;},_0x1c2219['fromObject']=function(_0x54a0dd){if(_0x54a0dd instanceof _0x48cb19['TrackChangesGetAllSuggestionMessage'])return _0x54a0dd;var _0x218c8a=new _0x48cb19['TrackChangesGetAllSuggestionMessage']();return null!=_0x54a0dd['documentId']&&(_0x218c8a['documentId']=String(_0x54a0dd['documentId'])),_0x218c8a;},_0x1c2219['toObject']=function(_0x4e7b00,_0x477891){_0x477891||(_0x477891={});var _0x4c5b74={};return _0x477891['defaults']&&(_0x4c5b74['documentId']=''),null!=_0x4e7b00['documentId']&&_0x4e7b00['hasOwnProperty']('documentId')&&(_0x4c5b74['documentId']=_0x4e7b00['documentId']),_0x4c5b74;},_0x1c2219['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1c2219['getTypeUrl']=function(_0x1e8989){return void 0x0===_0x1e8989&&(_0x1e8989='type.googleapis.com'),_0x1e8989+'/TrackChangesGetAllSuggestionMessage';},_0x1c2219;}()),_0x48cb19['TrackChangesGetSuggestionMessage']=(function(){function _0x2cc59c(_0x1f4d3f){if(_0x1f4d3f){for(var _0x19d7c7=Object['keys'](_0x1f4d3f),_0x4546e9=0x0;_0x4546e9<_0x19d7c7['length'];++_0x4546e9)null!=_0x1f4d3f[_0x19d7c7[_0x4546e9]]&&(this[_0x19d7c7[_0x4546e9]]=_0x1f4d3f[_0x19d7c7[_0x4546e9]]);}}return _0x2cc59c['prototype']['id']='',_0x2cc59c['prototype']['documentId']='',_0x2cc59c['create']=function(_0x2508f0){return new _0x2cc59c(_0x2508f0);},_0x2cc59c['encode']=function(_0x3c8fe2,_0x190c0b){return _0x190c0b||(_0x190c0b=_0x5a9410['create']()),null!=_0x3c8fe2['id']&&Object['hasOwnProperty']['call'](_0x3c8fe2,'id')&&_0x190c0b['uint32'](0xa)['string'](_0x3c8fe2['id']),null!=_0x3c8fe2['documentId']&&Object['hasOwnProperty']['call'](_0x3c8fe2,'documentId')&&_0x190c0b['uint32'](0x12)['string'](_0x3c8fe2['documentId']),_0x190c0b;},_0x2cc59c['encodeDelimited']=function(_0x29d5b7,_0x3c688f){return this['encode'](_0x29d5b7,_0x3c688f)['ldelim']();},_0x2cc59c['decode']=function(_0x2614d4,_0x4dee30){_0x2614d4 instanceof _0x4537d0||(_0x2614d4=_0x4537d0['create'](_0x2614d4));for(var _0x5f4c12=void 0x0===_0x4dee30?_0x2614d4['len']:_0x2614d4['pos']+_0x4dee30,_0x19402b=new _0x48cb19['TrackChangesGetSuggestionMessage']();_0x2614d4['pos']<_0x5f4c12;){var _0x5d8e99=_0x2614d4['uint32']();switch(_0x5d8e99>>>0x3){case 0x1:_0x19402b['id']=_0x2614d4['string']();break;case 0x2:_0x19402b['documentId']=_0x2614d4['string']();break;default:_0x2614d4['skipType'](0x7&_0x5d8e99);}}return _0x19402b;},_0x2cc59c['decodeDelimited']=function(_0x1e4b22){return _0x1e4b22 instanceof _0x4537d0||(_0x1e4b22=new _0x4537d0(_0x1e4b22)),this['decode'](_0x1e4b22,_0x1e4b22['uint32']());},_0x2cc59c['verify']=function(_0x3a9aaf){return'object'!=typeof _0x3a9aaf||null===_0x3a9aaf?'object\x20expected':null!=_0x3a9aaf['id']&&_0x3a9aaf['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x3a9aaf['id'])?'id:\x20string\x20expected':null!=_0x3a9aaf['documentId']&&_0x3a9aaf['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x3a9aaf['documentId'])?'documentId:\x20string\x20expected':null;},_0x2cc59c['fromObject']=function(_0xa9eb9d){if(_0xa9eb9d instanceof _0x48cb19['TrackChangesGetSuggestionMessage'])return _0xa9eb9d;var _0x1969e9=new _0x48cb19['TrackChangesGetSuggestionMessage']();return null!=_0xa9eb9d['id']&&(_0x1969e9['id']=String(_0xa9eb9d['id'])),null!=_0xa9eb9d['documentId']&&(_0x1969e9['documentId']=String(_0xa9eb9d['documentId'])),_0x1969e9;},_0x2cc59c['toObject']=function(_0x31ca0b,_0xe94fe1){_0xe94fe1||(_0xe94fe1={});var _0x44fe4a={};return _0xe94fe1['defaults']&&(_0x44fe4a['id']='',_0x44fe4a['documentId']=''),null!=_0x31ca0b['id']&&_0x31ca0b['hasOwnProperty']('id')&&(_0x44fe4a['id']=_0x31ca0b['id']),null!=_0x31ca0b['documentId']&&_0x31ca0b['hasOwnProperty']('documentId')&&(_0x44fe4a['documentId']=_0x31ca0b['documentId']),_0x44fe4a;},_0x2cc59c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2cc59c['getTypeUrl']=function(_0x229bc7){return void 0x0===_0x229bc7&&(_0x229bc7='type.googleapis.com'),_0x229bc7+'/TrackChangesGetSuggestionMessage';},_0x2cc59c;}()),_0x48cb19['TrackChangesUpdateSuggestionMessage']=(function(){function _0x2bd401(_0x33f005){if(_0x33f005){for(var _0x2a9ffe=Object['keys'](_0x33f005),_0x1a502b=0x0;_0x1a502b<_0x2a9ffe['length'];++_0x1a502b)null!=_0x33f005[_0x2a9ffe[_0x1a502b]]&&(this[_0x2a9ffe[_0x1a502b]]=_0x33f005[_0x2a9ffe[_0x1a502b]]);}}return _0x2bd401['prototype']['id']='',_0x2bd401['prototype']['documentId']='',_0x2bd401['prototype']['hasComments']=!0x1,_0x2bd401['prototype']['isHasCommentsModified']=!0x1,_0x2bd401['prototype']['state']='',_0x2bd401['prototype']['attributes']='',_0x2bd401['create']=function(_0x2b27a1){return new _0x2bd401(_0x2b27a1);},_0x2bd401['encode']=function(_0x38929d,_0x2f1367){return _0x2f1367||(_0x2f1367=_0x5a9410['create']()),null!=_0x38929d['id']&&Object['hasOwnProperty']['call'](_0x38929d,'id')&&_0x2f1367['uint32'](0xa)['string'](_0x38929d['id']),null!=_0x38929d['documentId']&&Object['hasOwnProperty']['call'](_0x38929d,'documentId')&&_0x2f1367['uint32'](0x12)['string'](_0x38929d['documentId']),null!=_0x38929d['hasComments']&&Object['hasOwnProperty']['call'](_0x38929d,'hasComments')&&_0x2f1367['uint32'](0x18)['bool'](_0x38929d['hasComments']),null!=_0x38929d['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x38929d,'isHasCommentsModified')&&_0x2f1367['uint32'](0x20)['bool'](_0x38929d['isHasCommentsModified']),null!=_0x38929d['state']&&Object['hasOwnProperty']['call'](_0x38929d,'state')&&_0x2f1367['uint32'](0x2a)['string'](_0x38929d['state']),null!=_0x38929d['attributes']&&Object['hasOwnProperty']['call'](_0x38929d,'attributes')&&_0x2f1367['uint32'](0x32)['string'](_0x38929d['attributes']),_0x2f1367;},_0x2bd401['encodeDelimited']=function(_0x3a3f6f,_0x4f193c){return this['encode'](_0x3a3f6f,_0x4f193c)['ldelim']();},_0x2bd401['decode']=function(_0x5390f7,_0x5c770e){_0x5390f7 instanceof _0x4537d0||(_0x5390f7=_0x4537d0['create'](_0x5390f7));for(var _0x4945ee=void 0x0===_0x5c770e?_0x5390f7['len']:_0x5390f7['pos']+_0x5c770e,_0x1ea732=new _0x48cb19['TrackChangesUpdateSuggestionMessage']();_0x5390f7['pos']<_0x4945ee;){var _0x4cf003=_0x5390f7['uint32']();switch(_0x4cf003>>>0x3){case 0x1:_0x1ea732['id']=_0x5390f7['string']();break;case 0x2:_0x1ea732['documentId']=_0x5390f7['string']();break;case 0x3:_0x1ea732['hasComments']=_0x5390f7['bool']();break;case 0x4:_0x1ea732['isHasCommentsModified']=_0x5390f7['bool']();break;case 0x5:_0x1ea732['state']=_0x5390f7['string']();break;case 0x6:_0x1ea732['attributes']=_0x5390f7['string']();break;default:_0x5390f7['skipType'](0x7&_0x4cf003);}}return _0x1ea732;},_0x2bd401['decodeDelimited']=function(_0x327740){return _0x327740 instanceof _0x4537d0||(_0x327740=new _0x4537d0(_0x327740)),this['decode'](_0x327740,_0x327740['uint32']());},_0x2bd401['verify']=function(_0x19e497){return'object'!=typeof _0x19e497||null===_0x19e497?'object\x20expected':null!=_0x19e497['id']&&_0x19e497['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x19e497['id'])?'id:\x20string\x20expected':null!=_0x19e497['documentId']&&_0x19e497['hasOwnProperty']('documentId')&&!_0x3be80d['isString'](_0x19e497['documentId'])?'documentId:\x20string\x20expected':null!=_0x19e497['hasComments']&&_0x19e497['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x19e497['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x19e497['isHasCommentsModified']&&_0x19e497['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x19e497['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x19e497['state']&&_0x19e497['hasOwnProperty']('state')&&!_0x3be80d['isString'](_0x19e497['state'])?'state:\x20string\x20expected':null!=_0x19e497['attributes']&&_0x19e497['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x19e497['attributes'])?'attributes:\x20string\x20expected':null;},_0x2bd401['fromObject']=function(_0x4c6a65){if(_0x4c6a65 instanceof _0x48cb19['TrackChangesUpdateSuggestionMessage'])return _0x4c6a65;var _0x17598a=new _0x48cb19['TrackChangesUpdateSuggestionMessage']();return null!=_0x4c6a65['id']&&(_0x17598a['id']=String(_0x4c6a65['id'])),null!=_0x4c6a65['documentId']&&(_0x17598a['documentId']=String(_0x4c6a65['documentId'])),null!=_0x4c6a65['hasComments']&&(_0x17598a['hasComments']=Boolean(_0x4c6a65['hasComments'])),null!=_0x4c6a65['isHasCommentsModified']&&(_0x17598a['isHasCommentsModified']=Boolean(_0x4c6a65['isHasCommentsModified'])),null!=_0x4c6a65['state']&&(_0x17598a['state']=String(_0x4c6a65['state'])),null!=_0x4c6a65['attributes']&&(_0x17598a['attributes']=String(_0x4c6a65['attributes'])),_0x17598a;},_0x2bd401['toObject']=function(_0x25e0dd,_0x2db962){_0x2db962||(_0x2db962={});var _0x3383b4={};return _0x2db962['defaults']&&(_0x3383b4['id']='',_0x3383b4['documentId']='',_0x3383b4['hasComments']=!0x1,_0x3383b4['isHasCommentsModified']=!0x1,_0x3383b4['state']='',_0x3383b4['attributes']=''),null!=_0x25e0dd['id']&&_0x25e0dd['hasOwnProperty']('id')&&(_0x3383b4['id']=_0x25e0dd['id']),null!=_0x25e0dd['documentId']&&_0x25e0dd['hasOwnProperty']('documentId')&&(_0x3383b4['documentId']=_0x25e0dd['documentId']),null!=_0x25e0dd['hasComments']&&_0x25e0dd['hasOwnProperty']('hasComments')&&(_0x3383b4['hasComments']=_0x25e0dd['hasComments']),null!=_0x25e0dd['isHasCommentsModified']&&_0x25e0dd['hasOwnProperty']('isHasCommentsModified')&&(_0x3383b4['isHasCommentsModified']=_0x25e0dd['isHasCommentsModified']),null!=_0x25e0dd['state']&&_0x25e0dd['hasOwnProperty']('state')&&(_0x3383b4['state']=_0x25e0dd['state']),null!=_0x25e0dd['attributes']&&_0x25e0dd['hasOwnProperty']('attributes')&&(_0x3383b4['attributes']=_0x25e0dd['attributes']),_0x3383b4;},_0x2bd401['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2bd401['getTypeUrl']=function(_0x222ce6){return void 0x0===_0x222ce6&&(_0x222ce6='type.googleapis.com'),_0x222ce6+'/TrackChangesUpdateSuggestionMessage';},_0x2bd401;}()),_0x48cb19['TrackChangesAddSuggestionResponse']=(function(){function _0x259f3b(_0x5404f9){if(_0x5404f9){for(var _0x5b4e8b=Object['keys'](_0x5404f9),_0x59689d=0x0;_0x59689d<_0x5b4e8b['length'];++_0x59689d)null!=_0x5404f9[_0x5b4e8b[_0x59689d]]&&(this[_0x5b4e8b[_0x59689d]]=_0x5404f9[_0x5b4e8b[_0x59689d]]);}}return _0x259f3b['prototype']['id']='',_0x259f3b['prototype']['authorId']='',_0x259f3b['prototype']['type']='',_0x259f3b['prototype']['createdAt']='',_0x259f3b['prototype']['data']='',_0x259f3b['prototype']['hasComments']=!0x1,_0x259f3b['prototype']['state']='',_0x259f3b['prototype']['attributes']='',_0x259f3b['create']=function(_0x2cd380){return new _0x259f3b(_0x2cd380);},_0x259f3b['encode']=function(_0x1db8d1,_0x5bb5ca){return _0x5bb5ca||(_0x5bb5ca=_0x5a9410['create']()),null!=_0x1db8d1['id']&&Object['hasOwnProperty']['call'](_0x1db8d1,'id')&&_0x5bb5ca['uint32'](0xa)['string'](_0x1db8d1['id']),null!=_0x1db8d1['authorId']&&Object['hasOwnProperty']['call'](_0x1db8d1,'authorId')&&_0x5bb5ca['uint32'](0x12)['string'](_0x1db8d1['authorId']),null!=_0x1db8d1['type']&&Object['hasOwnProperty']['call'](_0x1db8d1,'type')&&_0x5bb5ca['uint32'](0x1a)['string'](_0x1db8d1['type']),null!=_0x1db8d1['createdAt']&&Object['hasOwnProperty']['call'](_0x1db8d1,'createdAt')&&_0x5bb5ca['uint32'](0x22)['string'](_0x1db8d1['createdAt']),null!=_0x1db8d1['data']&&Object['hasOwnProperty']['call'](_0x1db8d1,'data')&&_0x5bb5ca['uint32'](0x2a)['string'](_0x1db8d1['data']),null!=_0x1db8d1['hasComments']&&Object['hasOwnProperty']['call'](_0x1db8d1,'hasComments')&&_0x5bb5ca['uint32'](0x30)['bool'](_0x1db8d1['hasComments']),null!=_0x1db8d1['state']&&Object['hasOwnProperty']['call'](_0x1db8d1,'state')&&_0x5bb5ca['uint32'](0x3a)['string'](_0x1db8d1['state']),null!=_0x1db8d1['attributes']&&Object['hasOwnProperty']['call'](_0x1db8d1,'attributes')&&_0x5bb5ca['uint32'](0x42)['string'](_0x1db8d1['attributes']),_0x5bb5ca;},_0x259f3b['encodeDelimited']=function(_0x48bd64,_0x2ec434){return this['encode'](_0x48bd64,_0x2ec434)['ldelim']();},_0x259f3b['decode']=function(_0x3057e3,_0x2f3975){_0x3057e3 instanceof _0x4537d0||(_0x3057e3=_0x4537d0['create'](_0x3057e3));for(var _0x17dc04=void 0x0===_0x2f3975?_0x3057e3['len']:_0x3057e3['pos']+_0x2f3975,_0x531640=new _0x48cb19['TrackChangesAddSuggestionResponse']();_0x3057e3['pos']<_0x17dc04;){var _0x4aa195=_0x3057e3['uint32']();switch(_0x4aa195>>>0x3){case 0x1:_0x531640['id']=_0x3057e3['string']();break;case 0x2:_0x531640['authorId']=_0x3057e3['string']();break;case 0x3:_0x531640['type']=_0x3057e3['string']();break;case 0x4:_0x531640['createdAt']=_0x3057e3['string']();break;case 0x5:_0x531640['data']=_0x3057e3['string']();break;case 0x6:_0x531640['hasComments']=_0x3057e3['bool']();break;case 0x7:_0x531640['state']=_0x3057e3['string']();break;case 0x8:_0x531640['attributes']=_0x3057e3['string']();break;default:_0x3057e3['skipType'](0x7&_0x4aa195);}}return _0x531640;},_0x259f3b['decodeDelimited']=function(_0x56ed48){return _0x56ed48 instanceof _0x4537d0||(_0x56ed48=new _0x4537d0(_0x56ed48)),this['decode'](_0x56ed48,_0x56ed48['uint32']());},_0x259f3b['verify']=function(_0x51949b){return'object'!=typeof _0x51949b||null===_0x51949b?'object\x20expected':null!=_0x51949b['id']&&_0x51949b['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x51949b['id'])?'id:\x20string\x20expected':null!=_0x51949b['authorId']&&_0x51949b['hasOwnProperty']('authorId')&&!_0x3be80d['isString'](_0x51949b['authorId'])?'authorId:\x20string\x20expected':null!=_0x51949b['type']&&_0x51949b['hasOwnProperty']('type')&&!_0x3be80d['isString'](_0x51949b['type'])?'type:\x20string\x20expected':null!=_0x51949b['createdAt']&&_0x51949b['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x51949b['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x51949b['data']&&_0x51949b['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x51949b['data'])?'data:\x20string\x20expected':null!=_0x51949b['hasComments']&&_0x51949b['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x51949b['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x51949b['state']&&_0x51949b['hasOwnProperty']('state')&&!_0x3be80d['isString'](_0x51949b['state'])?'state:\x20string\x20expected':null!=_0x51949b['attributes']&&_0x51949b['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x51949b['attributes'])?'attributes:\x20string\x20expected':null;},_0x259f3b['fromObject']=function(_0x306c69){if(_0x306c69 instanceof _0x48cb19['TrackChangesAddSuggestionResponse'])return _0x306c69;var _0xd19d5a=new _0x48cb19['TrackChangesAddSuggestionResponse']();return null!=_0x306c69['id']&&(_0xd19d5a['id']=String(_0x306c69['id'])),null!=_0x306c69['authorId']&&(_0xd19d5a['authorId']=String(_0x306c69['authorId'])),null!=_0x306c69['type']&&(_0xd19d5a['type']=String(_0x306c69['type'])),null!=_0x306c69['createdAt']&&(_0xd19d5a['createdAt']=String(_0x306c69['createdAt'])),null!=_0x306c69['data']&&(_0xd19d5a['data']=String(_0x306c69['data'])),null!=_0x306c69['hasComments']&&(_0xd19d5a['hasComments']=Boolean(_0x306c69['hasComments'])),null!=_0x306c69['state']&&(_0xd19d5a['state']=String(_0x306c69['state'])),null!=_0x306c69['attributes']&&(_0xd19d5a['attributes']=String(_0x306c69['attributes'])),_0xd19d5a;},_0x259f3b['toObject']=function(_0x1ce83a,_0x2d36c4){_0x2d36c4||(_0x2d36c4={});var _0x508d89={};return _0x2d36c4['defaults']&&(_0x508d89['id']='',_0x508d89['authorId']='',_0x508d89['type']='',_0x508d89['createdAt']='',_0x508d89['data']='',_0x508d89['hasComments']=!0x1,_0x508d89['state']='',_0x508d89['attributes']=''),null!=_0x1ce83a['id']&&_0x1ce83a['hasOwnProperty']('id')&&(_0x508d89['id']=_0x1ce83a['id']),null!=_0x1ce83a['authorId']&&_0x1ce83a['hasOwnProperty']('authorId')&&(_0x508d89['authorId']=_0x1ce83a['authorId']),null!=_0x1ce83a['type']&&_0x1ce83a['hasOwnProperty']('type')&&(_0x508d89['type']=_0x1ce83a['type']),null!=_0x1ce83a['createdAt']&&_0x1ce83a['hasOwnProperty']('createdAt')&&(_0x508d89['createdAt']=_0x1ce83a['createdAt']),null!=_0x1ce83a['data']&&_0x1ce83a['hasOwnProperty']('data')&&(_0x508d89['data']=_0x1ce83a['data']),null!=_0x1ce83a['hasComments']&&_0x1ce83a['hasOwnProperty']('hasComments')&&(_0x508d89['hasComments']=_0x1ce83a['hasComments']),null!=_0x1ce83a['state']&&_0x1ce83a['hasOwnProperty']('state')&&(_0x508d89['state']=_0x1ce83a['state']),null!=_0x1ce83a['attributes']&&_0x1ce83a['hasOwnProperty']('attributes')&&(_0x508d89['attributes']=_0x1ce83a['attributes']),_0x508d89;},_0x259f3b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x259f3b['getTypeUrl']=function(_0x421021){return void 0x0===_0x421021&&(_0x421021='type.googleapis.com'),_0x421021+'/TrackChangesAddSuggestionResponse';},_0x259f3b;}()),_0x48cb19['TrackChangesConnectResponse']=(function(){function _0x23ecc2(_0x431917){if(this['suggestions']=[],this['suggestionsV2']=[],_0x431917){for(var _0x16a72f=Object['keys'](_0x431917),_0x481392=0x0;_0x481392<_0x16a72f['length'];++_0x481392)null!=_0x431917[_0x16a72f[_0x481392]]&&(this[_0x16a72f[_0x481392]]=_0x431917[_0x16a72f[_0x481392]]);}}return _0x23ecc2['prototype']['channel']='',_0x23ecc2['prototype']['suggestions']=_0x3be80d['emptyArray'],_0x23ecc2['prototype']['suggestionsV2']=_0x3be80d['emptyArray'],_0x23ecc2['create']=function(_0x5a1fc5){return new _0x23ecc2(_0x5a1fc5);},_0x23ecc2['encode']=function(_0x31f4e9,_0x36a0b0){if(_0x36a0b0||(_0x36a0b0=_0x5a9410['create']()),null!=_0x31f4e9['channel']&&Object['hasOwnProperty']['call'](_0x31f4e9,'channel')&&_0x36a0b0['uint32'](0xa)['string'](_0x31f4e9['channel']),null!=_0x31f4e9['suggestions']&&_0x31f4e9['suggestions']['length']){for(var _0x5303b0=0x0;_0x5303b0<_0x31f4e9['suggestions']['length'];++_0x5303b0)_0x36a0b0['uint32'](0x12)['string'](_0x31f4e9['suggestions'][_0x5303b0]);}if(null!=_0x31f4e9['suggestionsV2']&&_0x31f4e9['suggestionsV2']['length']){for(_0x5303b0=0x0;_0x5303b0<_0x31f4e9['suggestionsV2']['length'];++_0x5303b0)_0x48cb19['SuggestionDescriptor']['encode'](_0x31f4e9['suggestionsV2'][_0x5303b0],_0x36a0b0['uint32'](0x1a)['fork']())['ldelim']();}return _0x36a0b0;},_0x23ecc2['encodeDelimited']=function(_0x52585a,_0x32797e){return this['encode'](_0x52585a,_0x32797e)['ldelim']();},_0x23ecc2['decode']=function(_0x43baad,_0x3ba017){_0x43baad instanceof _0x4537d0||(_0x43baad=_0x4537d0['create'](_0x43baad));for(var _0x57adca=void 0x0===_0x3ba017?_0x43baad['len']:_0x43baad['pos']+_0x3ba017,_0xb2f3eb=new _0x48cb19['TrackChangesConnectResponse']();_0x43baad['pos']<_0x57adca;){var _0x537994=_0x43baad['uint32']();switch(_0x537994>>>0x3){case 0x1:_0xb2f3eb['channel']=_0x43baad['string']();break;case 0x2:_0xb2f3eb['suggestions']&&_0xb2f3eb['suggestions']['length']||(_0xb2f3eb['suggestions']=[]),_0xb2f3eb['suggestions']['push'](_0x43baad['string']());break;case 0x3:_0xb2f3eb['suggestionsV2']&&_0xb2f3eb['suggestionsV2']['length']||(_0xb2f3eb['suggestionsV2']=[]),_0xb2f3eb['suggestionsV2']['push'](_0x48cb19['SuggestionDescriptor']['decode'](_0x43baad,_0x43baad['uint32']()));break;default:_0x43baad['skipType'](0x7&_0x537994);}}return _0xb2f3eb;},_0x23ecc2['decodeDelimited']=function(_0x32e327){return _0x32e327 instanceof _0x4537d0||(_0x32e327=new _0x4537d0(_0x32e327)),this['decode'](_0x32e327,_0x32e327['uint32']());},_0x23ecc2['verify']=function(_0x5d2cff){if('object'!=typeof _0x5d2cff||null===_0x5d2cff)return'object\x20expected';if(null!=_0x5d2cff['channel']&&_0x5d2cff['hasOwnProperty']('channel')&&!_0x3be80d['isString'](_0x5d2cff['channel']))return'channel:\x20string\x20expected';if(null!=_0x5d2cff['suggestions']&&_0x5d2cff['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x5d2cff['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1b6e92=0x0;_0x1b6e92<_0x5d2cff['suggestions']['length'];++_0x1b6e92)if(!_0x3be80d['isString'](_0x5d2cff['suggestions'][_0x1b6e92]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x5d2cff['suggestionsV2']&&_0x5d2cff['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x5d2cff['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1b6e92=0x0;_0x1b6e92<_0x5d2cff['suggestionsV2']['length'];++_0x1b6e92){var _0x28399f=_0x48cb19['SuggestionDescriptor']['verify'](_0x5d2cff['suggestionsV2'][_0x1b6e92]);if(_0x28399f)return'suggestionsV2.'+_0x28399f;}}return null;},_0x23ecc2['fromObject']=function(_0x27f280){if(_0x27f280 instanceof _0x48cb19['TrackChangesConnectResponse'])return _0x27f280;var _0x40256f=new _0x48cb19['TrackChangesConnectResponse']();if(null!=_0x27f280['channel']&&(_0x40256f['channel']=String(_0x27f280['channel'])),_0x27f280['suggestions']){if(!Array['isArray'](_0x27f280['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x40256f['suggestions']=[];for(var _0x213ec9=0x0;_0x213ec9<_0x27f280['suggestions']['length'];++_0x213ec9)_0x40256f['suggestions'][_0x213ec9]=String(_0x27f280['suggestions'][_0x213ec9]);}if(_0x27f280['suggestionsV2']){if(!Array['isArray'](_0x27f280['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x40256f['suggestionsV2']=[],_0x213ec9=0x0;_0x213ec9<_0x27f280['suggestionsV2']['length'];++_0x213ec9){if('object'!=typeof _0x27f280['suggestionsV2'][_0x213ec9])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x40256f['suggestionsV2'][_0x213ec9]=_0x48cb19['SuggestionDescriptor']['fromObject'](_0x27f280['suggestionsV2'][_0x213ec9]);}}return _0x40256f;},_0x23ecc2['toObject']=function(_0x4f5bff,_0x1da4a7){_0x1da4a7||(_0x1da4a7={});var _0x44247d={};if((_0x1da4a7['arrays']||_0x1da4a7['defaults'])&&(_0x44247d['suggestions']=[],_0x44247d['suggestionsV2']=[]),_0x1da4a7['defaults']&&(_0x44247d['channel']=''),null!=_0x4f5bff['channel']&&_0x4f5bff['hasOwnProperty']('channel')&&(_0x44247d['channel']=_0x4f5bff['channel']),_0x4f5bff['suggestions']&&_0x4f5bff['suggestions']['length']){_0x44247d['suggestions']=[];for(var _0x2d002c=0x0;_0x2d002c<_0x4f5bff['suggestions']['length'];++_0x2d002c)_0x44247d['suggestions'][_0x2d002c]=_0x4f5bff['suggestions'][_0x2d002c];}if(_0x4f5bff['suggestionsV2']&&_0x4f5bff['suggestionsV2']['length']){for(_0x44247d['suggestionsV2']=[],_0x2d002c=0x0;_0x2d002c<_0x4f5bff['suggestionsV2']['length'];++_0x2d002c)_0x44247d['suggestionsV2'][_0x2d002c]=_0x48cb19['SuggestionDescriptor']['toObject'](_0x4f5bff['suggestionsV2'][_0x2d002c],_0x1da4a7);}return _0x44247d;},_0x23ecc2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x23ecc2['getTypeUrl']=function(_0x5bb8bb){return void 0x0===_0x5bb8bb&&(_0x5bb8bb='type.googleapis.com'),_0x5bb8bb+'/TrackChangesConnectResponse';},_0x23ecc2;}()),_0x48cb19['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x2f0098(_0x3d2150){if(this['suggestions']=[],this['suggestionsV2']=[],_0x3d2150){for(var _0x2e658a=Object['keys'](_0x3d2150),_0x2a58df=0x0;_0x2a58df<_0x2e658a['length'];++_0x2a58df)null!=_0x3d2150[_0x2e658a[_0x2a58df]]&&(this[_0x2e658a[_0x2a58df]]=_0x3d2150[_0x2e658a[_0x2a58df]]);}}return _0x2f0098['prototype']['suggestions']=_0x3be80d['emptyArray'],_0x2f0098['prototype']['suggestionsV2']=_0x3be80d['emptyArray'],_0x2f0098['create']=function(_0x15b49f){return new _0x2f0098(_0x15b49f);},_0x2f0098['encode']=function(_0x3458d7,_0x22faef){if(_0x22faef||(_0x22faef=_0x5a9410['create']()),null!=_0x3458d7['suggestions']&&_0x3458d7['suggestions']['length']){for(var _0x441033=0x0;_0x441033<_0x3458d7['suggestions']['length'];++_0x441033)_0x22faef['uint32'](0xa)['string'](_0x3458d7['suggestions'][_0x441033]);}if(null!=_0x3458d7['suggestionsV2']&&_0x3458d7['suggestionsV2']['length']){for(_0x441033=0x0;_0x441033<_0x3458d7['suggestionsV2']['length'];++_0x441033)_0x48cb19['SuggestionDescriptor']['encode'](_0x3458d7['suggestionsV2'][_0x441033],_0x22faef['uint32'](0x12)['fork']())['ldelim']();}return _0x22faef;},_0x2f0098['encodeDelimited']=function(_0x48072f,_0x5b1322){return this['encode'](_0x48072f,_0x5b1322)['ldelim']();},_0x2f0098['decode']=function(_0x402bbc,_0x4a1c9c){_0x402bbc instanceof _0x4537d0||(_0x402bbc=_0x4537d0['create'](_0x402bbc));for(var _0x2cbb1d=void 0x0===_0x4a1c9c?_0x402bbc['len']:_0x402bbc['pos']+_0x4a1c9c,_0xf261c4=new _0x48cb19['TrackChangesGetAllSuggestionsResponse']();_0x402bbc['pos']<_0x2cbb1d;){var _0x32ee48=_0x402bbc['uint32']();switch(_0x32ee48>>>0x3){case 0x1:_0xf261c4['suggestions']&&_0xf261c4['suggestions']['length']||(_0xf261c4['suggestions']=[]),_0xf261c4['suggestions']['push'](_0x402bbc['string']());break;case 0x2:_0xf261c4['suggestionsV2']&&_0xf261c4['suggestionsV2']['length']||(_0xf261c4['suggestionsV2']=[]),_0xf261c4['suggestionsV2']['push'](_0x48cb19['SuggestionDescriptor']['decode'](_0x402bbc,_0x402bbc['uint32']()));break;default:_0x402bbc['skipType'](0x7&_0x32ee48);}}return _0xf261c4;},_0x2f0098['decodeDelimited']=function(_0x37a168){return _0x37a168 instanceof _0x4537d0||(_0x37a168=new _0x4537d0(_0x37a168)),this['decode'](_0x37a168,_0x37a168['uint32']());},_0x2f0098['verify']=function(_0x321e41){if('object'!=typeof _0x321e41||null===_0x321e41)return'object\x20expected';if(null!=_0x321e41['suggestions']&&_0x321e41['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x321e41['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x3fa5d0=0x0;_0x3fa5d0<_0x321e41['suggestions']['length'];++_0x3fa5d0)if(!_0x3be80d['isString'](_0x321e41['suggestions'][_0x3fa5d0]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x321e41['suggestionsV2']&&_0x321e41['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x321e41['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x3fa5d0=0x0;_0x3fa5d0<_0x321e41['suggestionsV2']['length'];++_0x3fa5d0){var _0x44e391=_0x48cb19['SuggestionDescriptor']['verify'](_0x321e41['suggestionsV2'][_0x3fa5d0]);if(_0x44e391)return'suggestionsV2.'+_0x44e391;}}return null;},_0x2f0098['fromObject']=function(_0x339fc6){if(_0x339fc6 instanceof _0x48cb19['TrackChangesGetAllSuggestionsResponse'])return _0x339fc6;var _0x2cd1d4=new _0x48cb19['TrackChangesGetAllSuggestionsResponse']();if(_0x339fc6['suggestions']){if(!Array['isArray'](_0x339fc6['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x2cd1d4['suggestions']=[];for(var _0x1d1212=0x0;_0x1d1212<_0x339fc6['suggestions']['length'];++_0x1d1212)_0x2cd1d4['suggestions'][_0x1d1212]=String(_0x339fc6['suggestions'][_0x1d1212]);}if(_0x339fc6['suggestionsV2']){if(!Array['isArray'](_0x339fc6['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x2cd1d4['suggestionsV2']=[],_0x1d1212=0x0;_0x1d1212<_0x339fc6['suggestionsV2']['length'];++_0x1d1212){if('object'!=typeof _0x339fc6['suggestionsV2'][_0x1d1212])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x2cd1d4['suggestionsV2'][_0x1d1212]=_0x48cb19['SuggestionDescriptor']['fromObject'](_0x339fc6['suggestionsV2'][_0x1d1212]);}}return _0x2cd1d4;},_0x2f0098['toObject']=function(_0x3e5f6c,_0x3bd885){_0x3bd885||(_0x3bd885={});var _0x44d81d={};if((_0x3bd885['arrays']||_0x3bd885['defaults'])&&(_0x44d81d['suggestions']=[],_0x44d81d['suggestionsV2']=[]),_0x3e5f6c['suggestions']&&_0x3e5f6c['suggestions']['length']){_0x44d81d['suggestions']=[];for(var _0x3a15e1=0x0;_0x3a15e1<_0x3e5f6c['suggestions']['length'];++_0x3a15e1)_0x44d81d['suggestions'][_0x3a15e1]=_0x3e5f6c['suggestions'][_0x3a15e1];}if(_0x3e5f6c['suggestionsV2']&&_0x3e5f6c['suggestionsV2']['length']){for(_0x44d81d['suggestionsV2']=[],_0x3a15e1=0x0;_0x3a15e1<_0x3e5f6c['suggestionsV2']['length'];++_0x3a15e1)_0x44d81d['suggestionsV2'][_0x3a15e1]=_0x48cb19['SuggestionDescriptor']['toObject'](_0x3e5f6c['suggestionsV2'][_0x3a15e1],_0x3bd885);}return _0x44d81d;},_0x2f0098['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2f0098['getTypeUrl']=function(_0xfae00d){return void 0x0===_0xfae00d&&(_0xfae00d='type.googleapis.com'),_0xfae00d+'/TrackChangesGetAllSuggestionsResponse';},_0x2f0098;}()),_0x48cb19['TrackChangesGetSuggestionResponse']=(function(){function _0x57f9ad(_0x3435ce){if(_0x3435ce){for(var _0x1926a9=Object['keys'](_0x3435ce),_0x3b6e3f=0x0;_0x3b6e3f<_0x1926a9['length'];++_0x3b6e3f)null!=_0x3435ce[_0x1926a9[_0x3b6e3f]]&&(this[_0x1926a9[_0x3b6e3f]]=_0x3435ce[_0x1926a9[_0x3b6e3f]]);}}return _0x57f9ad['prototype']['id']='',_0x57f9ad['prototype']['authorId']='',_0x57f9ad['prototype']['type']='',_0x57f9ad['prototype']['createdAt']='',_0x57f9ad['prototype']['data']='',_0x57f9ad['prototype']['hasComments']=!0x1,_0x57f9ad['prototype']['state']='',_0x57f9ad['prototype']['attributes']='',_0x57f9ad['create']=function(_0x52c496){return new _0x57f9ad(_0x52c496);},_0x57f9ad['encode']=function(_0x3abee8,_0x4bab14){return _0x4bab14||(_0x4bab14=_0x5a9410['create']()),null!=_0x3abee8['id']&&Object['hasOwnProperty']['call'](_0x3abee8,'id')&&_0x4bab14['uint32'](0xa)['string'](_0x3abee8['id']),null!=_0x3abee8['authorId']&&Object['hasOwnProperty']['call'](_0x3abee8,'authorId')&&_0x4bab14['uint32'](0x12)['string'](_0x3abee8['authorId']),null!=_0x3abee8['type']&&Object['hasOwnProperty']['call'](_0x3abee8,'type')&&_0x4bab14['uint32'](0x1a)['string'](_0x3abee8['type']),null!=_0x3abee8['createdAt']&&Object['hasOwnProperty']['call'](_0x3abee8,'createdAt')&&_0x4bab14['uint32'](0x22)['string'](_0x3abee8['createdAt']),null!=_0x3abee8['data']&&Object['hasOwnProperty']['call'](_0x3abee8,'data')&&_0x4bab14['uint32'](0x2a)['string'](_0x3abee8['data']),null!=_0x3abee8['hasComments']&&Object['hasOwnProperty']['call'](_0x3abee8,'hasComments')&&_0x4bab14['uint32'](0x30)['bool'](_0x3abee8['hasComments']),null!=_0x3abee8['state']&&Object['hasOwnProperty']['call'](_0x3abee8,'state')&&_0x4bab14['uint32'](0x3a)['string'](_0x3abee8['state']),null!=_0x3abee8['attributes']&&Object['hasOwnProperty']['call'](_0x3abee8,'attributes')&&_0x4bab14['uint32'](0x42)['string'](_0x3abee8['attributes']),_0x4bab14;},_0x57f9ad['encodeDelimited']=function(_0x348fc8,_0x2de7ad){return this['encode'](_0x348fc8,_0x2de7ad)['ldelim']();},_0x57f9ad['decode']=function(_0x2dd30b,_0x3c6e72){_0x2dd30b instanceof _0x4537d0||(_0x2dd30b=_0x4537d0['create'](_0x2dd30b));for(var _0x296028=void 0x0===_0x3c6e72?_0x2dd30b['len']:_0x2dd30b['pos']+_0x3c6e72,_0x5aa9cf=new _0x48cb19['TrackChangesGetSuggestionResponse']();_0x2dd30b['pos']<_0x296028;){var _0x2dbeeb=_0x2dd30b['uint32']();switch(_0x2dbeeb>>>0x3){case 0x1:_0x5aa9cf['id']=_0x2dd30b['string']();break;case 0x2:_0x5aa9cf['authorId']=_0x2dd30b['string']();break;case 0x3:_0x5aa9cf['type']=_0x2dd30b['string']();break;case 0x4:_0x5aa9cf['createdAt']=_0x2dd30b['string']();break;case 0x5:_0x5aa9cf['data']=_0x2dd30b['string']();break;case 0x6:_0x5aa9cf['hasComments']=_0x2dd30b['bool']();break;case 0x7:_0x5aa9cf['state']=_0x2dd30b['string']();break;case 0x8:_0x5aa9cf['attributes']=_0x2dd30b['string']();break;default:_0x2dd30b['skipType'](0x7&_0x2dbeeb);}}return _0x5aa9cf;},_0x57f9ad['decodeDelimited']=function(_0x7c91b2){return _0x7c91b2 instanceof _0x4537d0||(_0x7c91b2=new _0x4537d0(_0x7c91b2)),this['decode'](_0x7c91b2,_0x7c91b2['uint32']());},_0x57f9ad['verify']=function(_0x5775ba){return'object'!=typeof _0x5775ba||null===_0x5775ba?'object\x20expected':null!=_0x5775ba['id']&&_0x5775ba['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x5775ba['id'])?'id:\x20string\x20expected':null!=_0x5775ba['authorId']&&_0x5775ba['hasOwnProperty']('authorId')&&!_0x3be80d['isString'](_0x5775ba['authorId'])?'authorId:\x20string\x20expected':null!=_0x5775ba['type']&&_0x5775ba['hasOwnProperty']('type')&&!_0x3be80d['isString'](_0x5775ba['type'])?'type:\x20string\x20expected':null!=_0x5775ba['createdAt']&&_0x5775ba['hasOwnProperty']('createdAt')&&!_0x3be80d['isString'](_0x5775ba['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5775ba['data']&&_0x5775ba['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x5775ba['data'])?'data:\x20string\x20expected':null!=_0x5775ba['hasComments']&&_0x5775ba['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x5775ba['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5775ba['state']&&_0x5775ba['hasOwnProperty']('state')&&!_0x3be80d['isString'](_0x5775ba['state'])?'state:\x20string\x20expected':null!=_0x5775ba['attributes']&&_0x5775ba['hasOwnProperty']('attributes')&&!_0x3be80d['isString'](_0x5775ba['attributes'])?'attributes:\x20string\x20expected':null;},_0x57f9ad['fromObject']=function(_0x53099f){if(_0x53099f instanceof _0x48cb19['TrackChangesGetSuggestionResponse'])return _0x53099f;var _0x30ba9a=new _0x48cb19['TrackChangesGetSuggestionResponse']();return null!=_0x53099f['id']&&(_0x30ba9a['id']=String(_0x53099f['id'])),null!=_0x53099f['authorId']&&(_0x30ba9a['authorId']=String(_0x53099f['authorId'])),null!=_0x53099f['type']&&(_0x30ba9a['type']=String(_0x53099f['type'])),null!=_0x53099f['createdAt']&&(_0x30ba9a['createdAt']=String(_0x53099f['createdAt'])),null!=_0x53099f['data']&&(_0x30ba9a['data']=String(_0x53099f['data'])),null!=_0x53099f['hasComments']&&(_0x30ba9a['hasComments']=Boolean(_0x53099f['hasComments'])),null!=_0x53099f['state']&&(_0x30ba9a['state']=String(_0x53099f['state'])),null!=_0x53099f['attributes']&&(_0x30ba9a['attributes']=String(_0x53099f['attributes'])),_0x30ba9a;},_0x57f9ad['toObject']=function(_0x21890b,_0x342486){_0x342486||(_0x342486={});var _0x452a36={};return _0x342486['defaults']&&(_0x452a36['id']='',_0x452a36['authorId']='',_0x452a36['type']='',_0x452a36['createdAt']='',_0x452a36['data']='',_0x452a36['hasComments']=!0x1,_0x452a36['state']='',_0x452a36['attributes']=''),null!=_0x21890b['id']&&_0x21890b['hasOwnProperty']('id')&&(_0x452a36['id']=_0x21890b['id']),null!=_0x21890b['authorId']&&_0x21890b['hasOwnProperty']('authorId')&&(_0x452a36['authorId']=_0x21890b['authorId']),null!=_0x21890b['type']&&_0x21890b['hasOwnProperty']('type')&&(_0x452a36['type']=_0x21890b['type']),null!=_0x21890b['createdAt']&&_0x21890b['hasOwnProperty']('createdAt')&&(_0x452a36['createdAt']=_0x21890b['createdAt']),null!=_0x21890b['data']&&_0x21890b['hasOwnProperty']('data')&&(_0x452a36['data']=_0x21890b['data']),null!=_0x21890b['hasComments']&&_0x21890b['hasOwnProperty']('hasComments')&&(_0x452a36['hasComments']=_0x21890b['hasComments']),null!=_0x21890b['state']&&_0x21890b['hasOwnProperty']('state')&&(_0x452a36['state']=_0x21890b['state']),null!=_0x21890b['attributes']&&_0x21890b['hasOwnProperty']('attributes')&&(_0x452a36['attributes']=_0x21890b['attributes']),_0x452a36;},_0x57f9ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x57f9ad['getTypeUrl']=function(_0x12bea7){return void 0x0===_0x12bea7&&(_0x12bea7='type.googleapis.com'),_0x12bea7+'/TrackChangesGetSuggestionResponse';},_0x57f9ad;}()),_0x48cb19['UserDescriptor']=(function(){function _0x42d0a2(_0xce4be6){if(this['attributes']=[],_0xce4be6){for(var _0x40046e=Object['keys'](_0xce4be6),_0x13388c=0x0;_0x13388c<_0x40046e['length'];++_0x13388c)null!=_0xce4be6[_0x40046e[_0x13388c]]&&(this[_0x40046e[_0x13388c]]=_0xce4be6[_0x40046e[_0x13388c]]);}}return _0x42d0a2['prototype']['attributes']=_0x3be80d['emptyArray'],_0x42d0a2['create']=function(_0xb060c2){return new _0x42d0a2(_0xb060c2);},_0x42d0a2['encode']=function(_0x4d0a8e,_0x4a8e23){if(_0x4a8e23||(_0x4a8e23=_0x5a9410['create']()),null!=_0x4d0a8e['attributes']&&_0x4d0a8e['attributes']['length']){for(var _0x38d520=0x0;_0x38d520<_0x4d0a8e['attributes']['length'];++_0x38d520)_0x48cb19['KeyValueDescriptor']['encode'](_0x4d0a8e['attributes'][_0x38d520],_0x4a8e23['uint32'](0xa)['fork']())['ldelim']();}return _0x4a8e23;},_0x42d0a2['encodeDelimited']=function(_0x566296,_0x2e1105){return this['encode'](_0x566296,_0x2e1105)['ldelim']();},_0x42d0a2['decode']=function(_0x25df0d,_0x2bb142){_0x25df0d instanceof _0x4537d0||(_0x25df0d=_0x4537d0['create'](_0x25df0d));for(var _0x4fc14d=void 0x0===_0x2bb142?_0x25df0d['len']:_0x25df0d['pos']+_0x2bb142,_0xbbf511=new _0x48cb19['UserDescriptor']();_0x25df0d['pos']<_0x4fc14d;){var _0x54bb5c=_0x25df0d['uint32']();_0x54bb5c>>>0x3==0x1?(_0xbbf511['attributes']&&_0xbbf511['attributes']['length']||(_0xbbf511['attributes']=[]),_0xbbf511['attributes']['push'](_0x48cb19['KeyValueDescriptor']['decode'](_0x25df0d,_0x25df0d['uint32']()))):_0x25df0d['skipType'](0x7&_0x54bb5c);}return _0xbbf511;},_0x42d0a2['decodeDelimited']=function(_0x576f4c){return _0x576f4c instanceof _0x4537d0||(_0x576f4c=new _0x4537d0(_0x576f4c)),this['decode'](_0x576f4c,_0x576f4c['uint32']());},_0x42d0a2['verify']=function(_0x2664cb){if('object'!=typeof _0x2664cb||null===_0x2664cb)return'object\x20expected';if(null!=_0x2664cb['attributes']&&_0x2664cb['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x2664cb['attributes']))return'attributes:\x20array\x20expected';for(var _0x3285d1=0x0;_0x3285d1<_0x2664cb['attributes']['length'];++_0x3285d1){var _0x270b4d=_0x48cb19['KeyValueDescriptor']['verify'](_0x2664cb['attributes'][_0x3285d1]);if(_0x270b4d)return'attributes.'+_0x270b4d;}}return null;},_0x42d0a2['fromObject']=function(_0x4dae55){if(_0x4dae55 instanceof _0x48cb19['UserDescriptor'])return _0x4dae55;var _0x1b6c20=new _0x48cb19['UserDescriptor']();if(_0x4dae55['attributes']){if(!Array['isArray'](_0x4dae55['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x1b6c20['attributes']=[];for(var _0x2ee470=0x0;_0x2ee470<_0x4dae55['attributes']['length'];++_0x2ee470){if('object'!=typeof _0x4dae55['attributes'][_0x2ee470])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x1b6c20['attributes'][_0x2ee470]=_0x48cb19['KeyValueDescriptor']['fromObject'](_0x4dae55['attributes'][_0x2ee470]);}}return _0x1b6c20;},_0x42d0a2['toObject']=function(_0x4679fa,_0x37c824){_0x37c824||(_0x37c824={});var _0x4fa405={};if((_0x37c824['arrays']||_0x37c824['defaults'])&&(_0x4fa405['attributes']=[]),_0x4679fa['attributes']&&_0x4679fa['attributes']['length']){_0x4fa405['attributes']=[];for(var _0x19a794=0x0;_0x19a794<_0x4679fa['attributes']['length'];++_0x19a794)_0x4fa405['attributes'][_0x19a794]=_0x48cb19['KeyValueDescriptor']['toObject'](_0x4679fa['attributes'][_0x19a794],_0x37c824);}return _0x4fa405;},_0x42d0a2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x42d0a2['getTypeUrl']=function(_0x4ed516){return void 0x0===_0x4ed516&&(_0x4ed516='type.googleapis.com'),_0x4ed516+'/UserDescriptor';},_0x42d0a2;}()),_0x48cb19['GetManyUsersMessage']=(function(){function _0x11c514(_0x5edd1b){if(this['ids']=[],_0x5edd1b){for(var _0xb0c608=Object['keys'](_0x5edd1b),_0x1a56a0=0x0;_0x1a56a0<_0xb0c608['length'];++_0x1a56a0)null!=_0x5edd1b[_0xb0c608[_0x1a56a0]]&&(this[_0xb0c608[_0x1a56a0]]=_0x5edd1b[_0xb0c608[_0x1a56a0]]);}}return _0x11c514['prototype']['ids']=_0x3be80d['emptyArray'],_0x11c514['create']=function(_0x7a8e25){return new _0x11c514(_0x7a8e25);},_0x11c514['encode']=function(_0x7ad3ca,_0x47aaa9){if(_0x47aaa9||(_0x47aaa9=_0x5a9410['create']()),null!=_0x7ad3ca['ids']&&_0x7ad3ca['ids']['length']){for(var _0x55d75c=0x0;_0x55d75c<_0x7ad3ca['ids']['length'];++_0x55d75c)_0x47aaa9['uint32'](0xa)['string'](_0x7ad3ca['ids'][_0x55d75c]);}return _0x47aaa9;},_0x11c514['encodeDelimited']=function(_0x5c3bea,_0x2e8835){return this['encode'](_0x5c3bea,_0x2e8835)['ldelim']();},_0x11c514['decode']=function(_0x257224,_0x1aba02){_0x257224 instanceof _0x4537d0||(_0x257224=_0x4537d0['create'](_0x257224));for(var _0x18b036=void 0x0===_0x1aba02?_0x257224['len']:_0x257224['pos']+_0x1aba02,_0x5a525d=new _0x48cb19['GetManyUsersMessage']();_0x257224['pos']<_0x18b036;){var _0x1bbe74=_0x257224['uint32']();_0x1bbe74>>>0x3==0x1?(_0x5a525d['ids']&&_0x5a525d['ids']['length']||(_0x5a525d['ids']=[]),_0x5a525d['ids']['push'](_0x257224['string']())):_0x257224['skipType'](0x7&_0x1bbe74);}return _0x5a525d;},_0x11c514['decodeDelimited']=function(_0x2dae5e){return _0x2dae5e instanceof _0x4537d0||(_0x2dae5e=new _0x4537d0(_0x2dae5e)),this['decode'](_0x2dae5e,_0x2dae5e['uint32']());},_0x11c514['verify']=function(_0x45a518){if('object'!=typeof _0x45a518||null===_0x45a518)return'object\x20expected';if(null!=_0x45a518['ids']&&_0x45a518['hasOwnProperty']('ids')){if(!Array['isArray'](_0x45a518['ids']))return'ids:\x20array\x20expected';for(var _0x57aa1b=0x0;_0x57aa1b<_0x45a518['ids']['length'];++_0x57aa1b)if(!_0x3be80d['isString'](_0x45a518['ids'][_0x57aa1b]))return'ids:\x20string[]\x20expected';}return null;},_0x11c514['fromObject']=function(_0x21e6a6){if(_0x21e6a6 instanceof _0x48cb19['GetManyUsersMessage'])return _0x21e6a6;var _0x4592e2=new _0x48cb19['GetManyUsersMessage']();if(_0x21e6a6['ids']){if(!Array['isArray'](_0x21e6a6['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x4592e2['ids']=[];for(var _0x16e0c9=0x0;_0x16e0c9<_0x21e6a6['ids']['length'];++_0x16e0c9)_0x4592e2['ids'][_0x16e0c9]=String(_0x21e6a6['ids'][_0x16e0c9]);}return _0x4592e2;},_0x11c514['toObject']=function(_0x18cf12,_0x403b85){_0x403b85||(_0x403b85={});var _0x5080f4={};if((_0x403b85['arrays']||_0x403b85['defaults'])&&(_0x5080f4['ids']=[]),_0x18cf12['ids']&&_0x18cf12['ids']['length']){_0x5080f4['ids']=[];for(var _0x5c6b4c=0x0;_0x5c6b4c<_0x18cf12['ids']['length'];++_0x5c6b4c)_0x5080f4['ids'][_0x5c6b4c]=_0x18cf12['ids'][_0x5c6b4c];}return _0x5080f4;},_0x11c514['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x11c514['getTypeUrl']=function(_0x460cda){return void 0x0===_0x460cda&&(_0x460cda='type.googleapis.com'),_0x460cda+'/GetManyUsersMessage';},_0x11c514;}()),_0x48cb19['GetUserMessage']=(function(){function _0x2b2a86(_0x51929e){if(_0x51929e){for(var _0x1ee4b6=Object['keys'](_0x51929e),_0x5665d5=0x0;_0x5665d5<_0x1ee4b6['length'];++_0x5665d5)null!=_0x51929e[_0x1ee4b6[_0x5665d5]]&&(this[_0x1ee4b6[_0x5665d5]]=_0x51929e[_0x1ee4b6[_0x5665d5]]);}}return _0x2b2a86['prototype']['id']='',_0x2b2a86['create']=function(_0x4d1960){return new _0x2b2a86(_0x4d1960);},_0x2b2a86['encode']=function(_0x26cb38,_0xeae687){return _0xeae687||(_0xeae687=_0x5a9410['create']()),null!=_0x26cb38['id']&&Object['hasOwnProperty']['call'](_0x26cb38,'id')&&_0xeae687['uint32'](0xa)['string'](_0x26cb38['id']),_0xeae687;},_0x2b2a86['encodeDelimited']=function(_0x9d6c18,_0x2c666f){return this['encode'](_0x9d6c18,_0x2c666f)['ldelim']();},_0x2b2a86['decode']=function(_0x25eb9,_0x38967e){_0x25eb9 instanceof _0x4537d0||(_0x25eb9=_0x4537d0['create'](_0x25eb9));for(var _0x5de5bf=void 0x0===_0x38967e?_0x25eb9['len']:_0x25eb9['pos']+_0x38967e,_0xb3fff7=new _0x48cb19['GetUserMessage']();_0x25eb9['pos']<_0x5de5bf;){var _0x58534b=_0x25eb9['uint32']();_0x58534b>>>0x3==0x1?_0xb3fff7['id']=_0x25eb9['string']():_0x25eb9['skipType'](0x7&_0x58534b);}return _0xb3fff7;},_0x2b2a86['decodeDelimited']=function(_0x21fa68){return _0x21fa68 instanceof _0x4537d0||(_0x21fa68=new _0x4537d0(_0x21fa68)),this['decode'](_0x21fa68,_0x21fa68['uint32']());},_0x2b2a86['verify']=function(_0x3a7483){return'object'!=typeof _0x3a7483||null===_0x3a7483?'object\x20expected':null!=_0x3a7483['id']&&_0x3a7483['hasOwnProperty']('id')&&!_0x3be80d['isString'](_0x3a7483['id'])?'id:\x20string\x20expected':null;},_0x2b2a86['fromObject']=function(_0x1538da){if(_0x1538da instanceof _0x48cb19['GetUserMessage'])return _0x1538da;var _0x24256e=new _0x48cb19['GetUserMessage']();return null!=_0x1538da['id']&&(_0x24256e['id']=String(_0x1538da['id'])),_0x24256e;},_0x2b2a86['toObject']=function(_0x2dd353,_0x16e486){_0x16e486||(_0x16e486={});var _0x55ec96={};return _0x16e486['defaults']&&(_0x55ec96['id']=''),null!=_0x2dd353['id']&&_0x2dd353['hasOwnProperty']('id')&&(_0x55ec96['id']=_0x2dd353['id']),_0x55ec96;},_0x2b2a86['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2b2a86['getTypeUrl']=function(_0xf9f9d7){return void 0x0===_0xf9f9d7&&(_0xf9f9d7='type.googleapis.com'),_0xf9f9d7+'/GetUserMessage';},_0x2b2a86;}()),_0x48cb19['GetManyUsersResponse']=(function(){function _0x434e22(_0x299a80){if(this['users']=[],_0x299a80){for(var _0x807cd6=Object['keys'](_0x299a80),_0x2e01b6=0x0;_0x2e01b6<_0x807cd6['length'];++_0x2e01b6)null!=_0x299a80[_0x807cd6[_0x2e01b6]]&&(this[_0x807cd6[_0x2e01b6]]=_0x299a80[_0x807cd6[_0x2e01b6]]);}}return _0x434e22['prototype']['users']=_0x3be80d['emptyArray'],_0x434e22['create']=function(_0x538356){return new _0x434e22(_0x538356);},_0x434e22['encode']=function(_0x317a27,_0x28b01a){if(_0x28b01a||(_0x28b01a=_0x5a9410['create']()),null!=_0x317a27['users']&&_0x317a27['users']['length']){for(var _0x533739=0x0;_0x533739<_0x317a27['users']['length'];++_0x533739)_0x48cb19['UserDescriptor']['encode'](_0x317a27['users'][_0x533739],_0x28b01a['uint32'](0xa)['fork']())['ldelim']();}return _0x28b01a;},_0x434e22['encodeDelimited']=function(_0x1c59d9,_0x5b591c){return this['encode'](_0x1c59d9,_0x5b591c)['ldelim']();},_0x434e22['decode']=function(_0x2cb60d,_0x1e29f9){_0x2cb60d instanceof _0x4537d0||(_0x2cb60d=_0x4537d0['create'](_0x2cb60d));for(var _0x50d471=void 0x0===_0x1e29f9?_0x2cb60d['len']:_0x2cb60d['pos']+_0x1e29f9,_0x4e7a89=new _0x48cb19['GetManyUsersResponse']();_0x2cb60d['pos']<_0x50d471;){var _0x570dcd=_0x2cb60d['uint32']();_0x570dcd>>>0x3==0x1?(_0x4e7a89['users']&&_0x4e7a89['users']['length']||(_0x4e7a89['users']=[]),_0x4e7a89['users']['push'](_0x48cb19['UserDescriptor']['decode'](_0x2cb60d,_0x2cb60d['uint32']()))):_0x2cb60d['skipType'](0x7&_0x570dcd);}return _0x4e7a89;},_0x434e22['decodeDelimited']=function(_0x5c2977){return _0x5c2977 instanceof _0x4537d0||(_0x5c2977=new _0x4537d0(_0x5c2977)),this['decode'](_0x5c2977,_0x5c2977['uint32']());},_0x434e22['verify']=function(_0x14be08){if('object'!=typeof _0x14be08||null===_0x14be08)return'object\x20expected';if(null!=_0x14be08['users']&&_0x14be08['hasOwnProperty']('users')){if(!Array['isArray'](_0x14be08['users']))return'users:\x20array\x20expected';for(var _0x4b2159=0x0;_0x4b2159<_0x14be08['users']['length'];++_0x4b2159){var _0x36bf6a=_0x48cb19['UserDescriptor']['verify'](_0x14be08['users'][_0x4b2159]);if(_0x36bf6a)return'users.'+_0x36bf6a;}}return null;},_0x434e22['fromObject']=function(_0xb0f8b7){if(_0xb0f8b7 instanceof _0x48cb19['GetManyUsersResponse'])return _0xb0f8b7;var _0x2a345e=new _0x48cb19['GetManyUsersResponse']();if(_0xb0f8b7['users']){if(!Array['isArray'](_0xb0f8b7['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x2a345e['users']=[];for(var _0x5ad60f=0x0;_0x5ad60f<_0xb0f8b7['users']['length'];++_0x5ad60f){if('object'!=typeof _0xb0f8b7['users'][_0x5ad60f])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x2a345e['users'][_0x5ad60f]=_0x48cb19['UserDescriptor']['fromObject'](_0xb0f8b7['users'][_0x5ad60f]);}}return _0x2a345e;},_0x434e22['toObject']=function(_0x4c53aa,_0x1fee57){_0x1fee57||(_0x1fee57={});var _0x1311a8={};if((_0x1fee57['arrays']||_0x1fee57['defaults'])&&(_0x1311a8['users']=[]),_0x4c53aa['users']&&_0x4c53aa['users']['length']){_0x1311a8['users']=[];for(var _0x1ab8ec=0x0;_0x1ab8ec<_0x4c53aa['users']['length'];++_0x1ab8ec)_0x1311a8['users'][_0x1ab8ec]=_0x48cb19['UserDescriptor']['toObject'](_0x4c53aa['users'][_0x1ab8ec],_0x1fee57);}return _0x1311a8;},_0x434e22['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x434e22['getTypeUrl']=function(_0x508248){return void 0x0===_0x508248&&(_0x508248='type.googleapis.com'),_0x508248+'/GetManyUsersResponse';},_0x434e22;}()),_0x48cb19['GetUserResponse']=(function(){function _0x144eca(_0x4c7a4d){if(this['attributes']=[],_0x4c7a4d){for(var _0x5bcb8c=Object['keys'](_0x4c7a4d),_0x1c91f1=0x0;_0x1c91f1<_0x5bcb8c['length'];++_0x1c91f1)null!=_0x4c7a4d[_0x5bcb8c[_0x1c91f1]]&&(this[_0x5bcb8c[_0x1c91f1]]=_0x4c7a4d[_0x5bcb8c[_0x1c91f1]]);}}return _0x144eca['prototype']['attributes']=_0x3be80d['emptyArray'],_0x144eca['create']=function(_0x29f9c6){return new _0x144eca(_0x29f9c6);},_0x144eca['encode']=function(_0x4e6d38,_0x2434a9){if(_0x2434a9||(_0x2434a9=_0x5a9410['create']()),null!=_0x4e6d38['attributes']&&_0x4e6d38['attributes']['length']){for(var _0x35a301=0x0;_0x35a301<_0x4e6d38['attributes']['length'];++_0x35a301)_0x48cb19['KeyValueDescriptor']['encode'](_0x4e6d38['attributes'][_0x35a301],_0x2434a9['uint32'](0xa)['fork']())['ldelim']();}return _0x2434a9;},_0x144eca['encodeDelimited']=function(_0xe3c289,_0x18604c){return this['encode'](_0xe3c289,_0x18604c)['ldelim']();},_0x144eca['decode']=function(_0x2f83c8,_0x3b4d18){_0x2f83c8 instanceof _0x4537d0||(_0x2f83c8=_0x4537d0['create'](_0x2f83c8));for(var _0x5ed87e=void 0x0===_0x3b4d18?_0x2f83c8['len']:_0x2f83c8['pos']+_0x3b4d18,_0x206617=new _0x48cb19['GetUserResponse']();_0x2f83c8['pos']<_0x5ed87e;){var _0x5787fd=_0x2f83c8['uint32']();_0x5787fd>>>0x3==0x1?(_0x206617['attributes']&&_0x206617['attributes']['length']||(_0x206617['attributes']=[]),_0x206617['attributes']['push'](_0x48cb19['KeyValueDescriptor']['decode'](_0x2f83c8,_0x2f83c8['uint32']()))):_0x2f83c8['skipType'](0x7&_0x5787fd);}return _0x206617;},_0x144eca['decodeDelimited']=function(_0x28737c){return _0x28737c instanceof _0x4537d0||(_0x28737c=new _0x4537d0(_0x28737c)),this['decode'](_0x28737c,_0x28737c['uint32']());},_0x144eca['verify']=function(_0x45c11b){if('object'!=typeof _0x45c11b||null===_0x45c11b)return'object\x20expected';if(null!=_0x45c11b['attributes']&&_0x45c11b['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x45c11b['attributes']))return'attributes:\x20array\x20expected';for(var _0x32c0a6=0x0;_0x32c0a6<_0x45c11b['attributes']['length'];++_0x32c0a6){var _0xc01443=_0x48cb19['KeyValueDescriptor']['verify'](_0x45c11b['attributes'][_0x32c0a6]);if(_0xc01443)return'attributes.'+_0xc01443;}}return null;},_0x144eca['fromObject']=function(_0x1b7e0b){if(_0x1b7e0b instanceof _0x48cb19['GetUserResponse'])return _0x1b7e0b;var _0x21973f=new _0x48cb19['GetUserResponse']();if(_0x1b7e0b['attributes']){if(!Array['isArray'](_0x1b7e0b['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x21973f['attributes']=[];for(var _0x297dc6=0x0;_0x297dc6<_0x1b7e0b['attributes']['length'];++_0x297dc6){if('object'!=typeof _0x1b7e0b['attributes'][_0x297dc6])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x21973f['attributes'][_0x297dc6]=_0x48cb19['KeyValueDescriptor']['fromObject'](_0x1b7e0b['attributes'][_0x297dc6]);}}return _0x21973f;},_0x144eca['toObject']=function(_0x475c95,_0x37bb0a){_0x37bb0a||(_0x37bb0a={});var _0x5cef4c={};if((_0x37bb0a['arrays']||_0x37bb0a['defaults'])&&(_0x5cef4c['attributes']=[]),_0x475c95['attributes']&&_0x475c95['attributes']['length']){_0x5cef4c['attributes']=[];for(var _0x12eac7=0x0;_0x12eac7<_0x475c95['attributes']['length'];++_0x12eac7)_0x5cef4c['attributes'][_0x12eac7]=_0x48cb19['KeyValueDescriptor']['toObject'](_0x475c95['attributes'][_0x12eac7],_0x37bb0a);}return _0x5cef4c;},_0x144eca['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x144eca['getTypeUrl']=function(_0x5108e4){return void 0x0===_0x5108e4&&(_0x5108e4='type.googleapis.com'),_0x5108e4+'/GetUserResponse';},_0x144eca;}()),_0x48cb19['ChannelMessage']=(function(){function _0x28b098(_0x2f4113){if(_0x2f4113){for(var _0x2e75b7=Object['keys'](_0x2f4113),_0x53721b=0x0;_0x53721b<_0x2e75b7['length'];++_0x53721b)null!=_0x2f4113[_0x2e75b7[_0x53721b]]&&(this[_0x2e75b7[_0x53721b]]=_0x2f4113[_0x2e75b7[_0x53721b]]);}}return _0x28b098['prototype']['type']=0x0,_0x28b098['prototype']['socketId']='',_0x28b098['prototype']['data']=_0x3be80d['newBuffer']([]),_0x28b098['create']=function(_0x525e99){return new _0x28b098(_0x525e99);},_0x28b098['encode']=function(_0x500723,_0x55a394){return _0x55a394||(_0x55a394=_0x5a9410['create']()),null!=_0x500723['type']&&Object['hasOwnProperty']['call'](_0x500723,'type')&&_0x55a394['uint32'](0x8)['uint32'](_0x500723['type']),null!=_0x500723['socketId']&&Object['hasOwnProperty']['call'](_0x500723,'socketId')&&_0x55a394['uint32'](0x12)['string'](_0x500723['socketId']),null!=_0x500723['data']&&Object['hasOwnProperty']['call'](_0x500723,'data')&&_0x55a394['uint32'](0x1a)['bytes'](_0x500723['data']),_0x55a394;},_0x28b098['encodeDelimited']=function(_0x1b69ab,_0x2d2bec){return this['encode'](_0x1b69ab,_0x2d2bec)['ldelim']();},_0x28b098['decode']=function(_0x5e84b7,_0x15314a){_0x5e84b7 instanceof _0x4537d0||(_0x5e84b7=_0x4537d0['create'](_0x5e84b7));for(var _0x1daa2b=void 0x0===_0x15314a?_0x5e84b7['len']:_0x5e84b7['pos']+_0x15314a,_0x333f80=new _0x48cb19['ChannelMessage']();_0x5e84b7['pos']<_0x1daa2b;){var _0x282e20=_0x5e84b7['uint32']();switch(_0x282e20>>>0x3){case 0x1:_0x333f80['type']=_0x5e84b7['uint32']();break;case 0x2:_0x333f80['socketId']=_0x5e84b7['string']();break;case 0x3:_0x333f80['data']=_0x5e84b7['bytes']();break;default:_0x5e84b7['skipType'](0x7&_0x282e20);}}return _0x333f80;},_0x28b098['decodeDelimited']=function(_0x339f13){return _0x339f13 instanceof _0x4537d0||(_0x339f13=new _0x4537d0(_0x339f13)),this['decode'](_0x339f13,_0x339f13['uint32']());},_0x28b098['verify']=function(_0x279dec){return'object'!=typeof _0x279dec||null===_0x279dec?'object\x20expected':null!=_0x279dec['type']&&_0x279dec['hasOwnProperty']('type')&&!_0x3be80d['isInteger'](_0x279dec['type'])?'type:\x20integer\x20expected':null!=_0x279dec['socketId']&&_0x279dec['hasOwnProperty']('socketId')&&!_0x3be80d['isString'](_0x279dec['socketId'])?'socketId:\x20string\x20expected':null!=_0x279dec['data']&&_0x279dec['hasOwnProperty']('data')&&!(_0x279dec['data']&&'number'==typeof _0x279dec['data']['length']||_0x3be80d['isString'](_0x279dec['data']))?'data:\x20buffer\x20expected':null;},_0x28b098['fromObject']=function(_0x10d2ec){if(_0x10d2ec instanceof _0x48cb19['ChannelMessage'])return _0x10d2ec;var _0x1a2201=new _0x48cb19['ChannelMessage']();return null!=_0x10d2ec['type']&&(_0x1a2201['type']=_0x10d2ec['type']>>>0x0),null!=_0x10d2ec['socketId']&&(_0x1a2201['socketId']=String(_0x10d2ec['socketId'])),null!=_0x10d2ec['data']&&('string'==typeof _0x10d2ec['data']?_0x3be80d['base64']['decode'](_0x10d2ec['data'],_0x1a2201['data']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x10d2ec['data'])),0x0):_0x10d2ec['data']['length']>=0x0&&(_0x1a2201['data']=_0x10d2ec['data'])),_0x1a2201;},_0x28b098['toObject']=function(_0x598f90,_0x492c36){_0x492c36||(_0x492c36={});var _0x21715f={};return _0x492c36['defaults']&&(_0x21715f['type']=0x0,_0x21715f['socketId']='',_0x492c36['bytes']===String?_0x21715f['data']='':(_0x21715f['data']=[],_0x492c36['bytes']!==Array&&(_0x21715f['data']=_0x3be80d['newBuffer'](_0x21715f['data'])))),null!=_0x598f90['type']&&_0x598f90['hasOwnProperty']('type')&&(_0x21715f['type']=_0x598f90['type']),null!=_0x598f90['socketId']&&_0x598f90['hasOwnProperty']('socketId')&&(_0x21715f['socketId']=_0x598f90['socketId']),null!=_0x598f90['data']&&_0x598f90['hasOwnProperty']('data')&&(_0x21715f['data']=_0x492c36['bytes']===String?_0x3be80d['base64']['encode'](_0x598f90['data'],0x0,_0x598f90['data']['length']):_0x492c36['bytes']===Array?Array['prototype']['slice']['call'](_0x598f90['data']):_0x598f90['data']),_0x21715f;},_0x28b098['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x28b098['getTypeUrl']=function(_0x59b64d){return void 0x0===_0x59b64d&&(_0x59b64d='type.googleapis.com'),_0x59b64d+'/ChannelMessage';},_0x28b098;}()),_0x48cb19['BytesBytesPacketDataMessage']=(function(){function _0x121e01(_0x1daac7){if(_0x1daac7){for(var _0xf7d147=Object['keys'](_0x1daac7),_0x2474d3=0x0;_0x2474d3<_0xf7d147['length'];++_0x2474d3)null!=_0x1daac7[_0xf7d147[_0x2474d3]]&&(this[_0xf7d147[_0x2474d3]]=_0x1daac7[_0xf7d147[_0x2474d3]]);}}return _0x121e01['prototype']['data']=_0x3be80d['newBuffer']([]),_0x121e01['prototype']['data1']=_0x3be80d['newBuffer']([]),_0x121e01['create']=function(_0x284f6c){return new _0x121e01(_0x284f6c);},_0x121e01['encode']=function(_0x28d008,_0x7af50f){return _0x7af50f||(_0x7af50f=_0x5a9410['create']()),null!=_0x28d008['data']&&Object['hasOwnProperty']['call'](_0x28d008,'data')&&_0x7af50f['uint32'](0xa)['bytes'](_0x28d008['data']),null!=_0x28d008['data1']&&Object['hasOwnProperty']['call'](_0x28d008,'data1')&&_0x7af50f['uint32'](0x12)['bytes'](_0x28d008['data1']),_0x7af50f;},_0x121e01['encodeDelimited']=function(_0xc20907,_0x3adc21){return this['encode'](_0xc20907,_0x3adc21)['ldelim']();},_0x121e01['decode']=function(_0x1e148b,_0x1046bc){_0x1e148b instanceof _0x4537d0||(_0x1e148b=_0x4537d0['create'](_0x1e148b));for(var _0x1ccef7=void 0x0===_0x1046bc?_0x1e148b['len']:_0x1e148b['pos']+_0x1046bc,_0x238df3=new _0x48cb19['BytesBytesPacketDataMessage']();_0x1e148b['pos']<_0x1ccef7;){var _0x1c601b=_0x1e148b['uint32']();switch(_0x1c601b>>>0x3){case 0x1:_0x238df3['data']=_0x1e148b['bytes']();break;case 0x2:_0x238df3['data1']=_0x1e148b['bytes']();break;default:_0x1e148b['skipType'](0x7&_0x1c601b);}}return _0x238df3;},_0x121e01['decodeDelimited']=function(_0x57df8e){return _0x57df8e instanceof _0x4537d0||(_0x57df8e=new _0x4537d0(_0x57df8e)),this['decode'](_0x57df8e,_0x57df8e['uint32']());},_0x121e01['verify']=function(_0x45da8a){return'object'!=typeof _0x45da8a||null===_0x45da8a?'object\x20expected':null!=_0x45da8a['data']&&_0x45da8a['hasOwnProperty']('data')&&!(_0x45da8a['data']&&'number'==typeof _0x45da8a['data']['length']||_0x3be80d['isString'](_0x45da8a['data']))?'data:\x20buffer\x20expected':null!=_0x45da8a['data1']&&_0x45da8a['hasOwnProperty']('data1')&&!(_0x45da8a['data1']&&'number'==typeof _0x45da8a['data1']['length']||_0x3be80d['isString'](_0x45da8a['data1']))?'data1:\x20buffer\x20expected':null;},_0x121e01['fromObject']=function(_0x1a30bb){if(_0x1a30bb instanceof _0x48cb19['BytesBytesPacketDataMessage'])return _0x1a30bb;var _0x1cb75e=new _0x48cb19['BytesBytesPacketDataMessage']();return null!=_0x1a30bb['data']&&('string'==typeof _0x1a30bb['data']?_0x3be80d['base64']['decode'](_0x1a30bb['data'],_0x1cb75e['data']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x1a30bb['data'])),0x0):_0x1a30bb['data']['length']>=0x0&&(_0x1cb75e['data']=_0x1a30bb['data'])),null!=_0x1a30bb['data1']&&('string'==typeof _0x1a30bb['data1']?_0x3be80d['base64']['decode'](_0x1a30bb['data1'],_0x1cb75e['data1']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x1a30bb['data1'])),0x0):_0x1a30bb['data1']['length']>=0x0&&(_0x1cb75e['data1']=_0x1a30bb['data1'])),_0x1cb75e;},_0x121e01['toObject']=function(_0x28f635,_0x1bb26a){_0x1bb26a||(_0x1bb26a={});var _0x7c3e46={};return _0x1bb26a['defaults']&&(_0x1bb26a['bytes']===String?_0x7c3e46['data']='':(_0x7c3e46['data']=[],_0x1bb26a['bytes']!==Array&&(_0x7c3e46['data']=_0x3be80d['newBuffer'](_0x7c3e46['data']))),_0x1bb26a['bytes']===String?_0x7c3e46['data1']='':(_0x7c3e46['data1']=[],_0x1bb26a['bytes']!==Array&&(_0x7c3e46['data1']=_0x3be80d['newBuffer'](_0x7c3e46['data1'])))),null!=_0x28f635['data']&&_0x28f635['hasOwnProperty']('data')&&(_0x7c3e46['data']=_0x1bb26a['bytes']===String?_0x3be80d['base64']['encode'](_0x28f635['data'],0x0,_0x28f635['data']['length']):_0x1bb26a['bytes']===Array?Array['prototype']['slice']['call'](_0x28f635['data']):_0x28f635['data']),null!=_0x28f635['data1']&&_0x28f635['hasOwnProperty']('data1')&&(_0x7c3e46['data1']=_0x1bb26a['bytes']===String?_0x3be80d['base64']['encode'](_0x28f635['data1'],0x0,_0x28f635['data1']['length']):_0x1bb26a['bytes']===Array?Array['prototype']['slice']['call'](_0x28f635['data1']):_0x28f635['data1']),_0x7c3e46;},_0x121e01['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x121e01['getTypeUrl']=function(_0x85675e){return void 0x0===_0x85675e&&(_0x85675e='type.googleapis.com'),_0x85675e+'/BytesBytesPacketDataMessage';},_0x121e01;}()),_0x48cb19['NumberBytesPacketDataMessage']=(function(){function _0x3dd20e(_0xac5ae6){if(_0xac5ae6){for(var _0x4aa858=Object['keys'](_0xac5ae6),_0x3fc2f5=0x0;_0x3fc2f5<_0x4aa858['length'];++_0x3fc2f5)null!=_0xac5ae6[_0x4aa858[_0x3fc2f5]]&&(this[_0x4aa858[_0x3fc2f5]]=_0xac5ae6[_0x4aa858[_0x3fc2f5]]);}}return _0x3dd20e['prototype']['data']=0x0,_0x3dd20e['prototype']['data1']=_0x3be80d['newBuffer']([]),_0x3dd20e['create']=function(_0x21166c){return new _0x3dd20e(_0x21166c);},_0x3dd20e['encode']=function(_0x2fd5ba,_0x5f461a){return _0x5f461a||(_0x5f461a=_0x5a9410['create']()),null!=_0x2fd5ba['data']&&Object['hasOwnProperty']['call'](_0x2fd5ba,'data')&&_0x5f461a['uint32'](0x8)['uint32'](_0x2fd5ba['data']),null!=_0x2fd5ba['data1']&&Object['hasOwnProperty']['call'](_0x2fd5ba,'data1')&&_0x5f461a['uint32'](0x12)['bytes'](_0x2fd5ba['data1']),_0x5f461a;},_0x3dd20e['encodeDelimited']=function(_0x389e97,_0x473a1d){return this['encode'](_0x389e97,_0x473a1d)['ldelim']();},_0x3dd20e['decode']=function(_0x4e84a6,_0x22de0f){_0x4e84a6 instanceof _0x4537d0||(_0x4e84a6=_0x4537d0['create'](_0x4e84a6));for(var _0x37ee35=void 0x0===_0x22de0f?_0x4e84a6['len']:_0x4e84a6['pos']+_0x22de0f,_0x286776=new _0x48cb19['NumberBytesPacketDataMessage']();_0x4e84a6['pos']<_0x37ee35;){var _0x24ae36=_0x4e84a6['uint32']();switch(_0x24ae36>>>0x3){case 0x1:_0x286776['data']=_0x4e84a6['uint32']();break;case 0x2:_0x286776['data1']=_0x4e84a6['bytes']();break;default:_0x4e84a6['skipType'](0x7&_0x24ae36);}}return _0x286776;},_0x3dd20e['decodeDelimited']=function(_0x13861a){return _0x13861a instanceof _0x4537d0||(_0x13861a=new _0x4537d0(_0x13861a)),this['decode'](_0x13861a,_0x13861a['uint32']());},_0x3dd20e['verify']=function(_0x7a2795){return'object'!=typeof _0x7a2795||null===_0x7a2795?'object\x20expected':null!=_0x7a2795['data']&&_0x7a2795['hasOwnProperty']('data')&&!_0x3be80d['isInteger'](_0x7a2795['data'])?'data:\x20integer\x20expected':null!=_0x7a2795['data1']&&_0x7a2795['hasOwnProperty']('data1')&&!(_0x7a2795['data1']&&'number'==typeof _0x7a2795['data1']['length']||_0x3be80d['isString'](_0x7a2795['data1']))?'data1:\x20buffer\x20expected':null;},_0x3dd20e['fromObject']=function(_0x3b71e4){if(_0x3b71e4 instanceof _0x48cb19['NumberBytesPacketDataMessage'])return _0x3b71e4;var _0x515822=new _0x48cb19['NumberBytesPacketDataMessage']();return null!=_0x3b71e4['data']&&(_0x515822['data']=_0x3b71e4['data']>>>0x0),null!=_0x3b71e4['data1']&&('string'==typeof _0x3b71e4['data1']?_0x3be80d['base64']['decode'](_0x3b71e4['data1'],_0x515822['data1']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x3b71e4['data1'])),0x0):_0x3b71e4['data1']['length']>=0x0&&(_0x515822['data1']=_0x3b71e4['data1'])),_0x515822;},_0x3dd20e['toObject']=function(_0x1b1017,_0x5fae2d){_0x5fae2d||(_0x5fae2d={});var _0x59a94e={};return _0x5fae2d['defaults']&&(_0x59a94e['data']=0x0,_0x5fae2d['bytes']===String?_0x59a94e['data1']='':(_0x59a94e['data1']=[],_0x5fae2d['bytes']!==Array&&(_0x59a94e['data1']=_0x3be80d['newBuffer'](_0x59a94e['data1'])))),null!=_0x1b1017['data']&&_0x1b1017['hasOwnProperty']('data')&&(_0x59a94e['data']=_0x1b1017['data']),null!=_0x1b1017['data1']&&_0x1b1017['hasOwnProperty']('data1')&&(_0x59a94e['data1']=_0x5fae2d['bytes']===String?_0x3be80d['base64']['encode'](_0x1b1017['data1'],0x0,_0x1b1017['data1']['length']):_0x5fae2d['bytes']===Array?Array['prototype']['slice']['call'](_0x1b1017['data1']):_0x1b1017['data1']),_0x59a94e;},_0x3dd20e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3dd20e['getTypeUrl']=function(_0x50311f){return void 0x0===_0x50311f&&(_0x50311f='type.googleapis.com'),_0x50311f+'/NumberBytesPacketDataMessage';},_0x3dd20e;}()),_0x48cb19['NumberNumberPacketDataMessage']=(function(){function _0x5e9b10(_0x1732aa){if(_0x1732aa){for(var _0x23ada1=Object['keys'](_0x1732aa),_0x3fadb8=0x0;_0x3fadb8<_0x23ada1['length'];++_0x3fadb8)null!=_0x1732aa[_0x23ada1[_0x3fadb8]]&&(this[_0x23ada1[_0x3fadb8]]=_0x1732aa[_0x23ada1[_0x3fadb8]]);}}return _0x5e9b10['prototype']['data']=0x0,_0x5e9b10['prototype']['data1']=0x0,_0x5e9b10['create']=function(_0x4be2e0){return new _0x5e9b10(_0x4be2e0);},_0x5e9b10['encode']=function(_0x262713,_0x366658){return _0x366658||(_0x366658=_0x5a9410['create']()),null!=_0x262713['data']&&Object['hasOwnProperty']['call'](_0x262713,'data')&&_0x366658['uint32'](0x8)['uint32'](_0x262713['data']),null!=_0x262713['data1']&&Object['hasOwnProperty']['call'](_0x262713,'data1')&&_0x366658['uint32'](0x10)['uint32'](_0x262713['data1']),_0x366658;},_0x5e9b10['encodeDelimited']=function(_0x1e7319,_0x2c1ca4){return this['encode'](_0x1e7319,_0x2c1ca4)['ldelim']();},_0x5e9b10['decode']=function(_0x47fcc7,_0x3b3a14){_0x47fcc7 instanceof _0x4537d0||(_0x47fcc7=_0x4537d0['create'](_0x47fcc7));for(var _0x45a659=void 0x0===_0x3b3a14?_0x47fcc7['len']:_0x47fcc7['pos']+_0x3b3a14,_0x53fcb8=new _0x48cb19['NumberNumberPacketDataMessage']();_0x47fcc7['pos']<_0x45a659;){var _0x5e349b=_0x47fcc7['uint32']();switch(_0x5e349b>>>0x3){case 0x1:_0x53fcb8['data']=_0x47fcc7['uint32']();break;case 0x2:_0x53fcb8['data1']=_0x47fcc7['uint32']();break;default:_0x47fcc7['skipType'](0x7&_0x5e349b);}}return _0x53fcb8;},_0x5e9b10['decodeDelimited']=function(_0xdd0b7b){return _0xdd0b7b instanceof _0x4537d0||(_0xdd0b7b=new _0x4537d0(_0xdd0b7b)),this['decode'](_0xdd0b7b,_0xdd0b7b['uint32']());},_0x5e9b10['verify']=function(_0x33f546){return'object'!=typeof _0x33f546||null===_0x33f546?'object\x20expected':null!=_0x33f546['data']&&_0x33f546['hasOwnProperty']('data')&&!_0x3be80d['isInteger'](_0x33f546['data'])?'data:\x20integer\x20expected':null!=_0x33f546['data1']&&_0x33f546['hasOwnProperty']('data1')&&!_0x3be80d['isInteger'](_0x33f546['data1'])?'data1:\x20integer\x20expected':null;},_0x5e9b10['fromObject']=function(_0x22a6bc){if(_0x22a6bc instanceof _0x48cb19['NumberNumberPacketDataMessage'])return _0x22a6bc;var _0x5b94c0=new _0x48cb19['NumberNumberPacketDataMessage']();return null!=_0x22a6bc['data']&&(_0x5b94c0['data']=_0x22a6bc['data']>>>0x0),null!=_0x22a6bc['data1']&&(_0x5b94c0['data1']=_0x22a6bc['data1']>>>0x0),_0x5b94c0;},_0x5e9b10['toObject']=function(_0x2edb51,_0x5638f3){_0x5638f3||(_0x5638f3={});var _0x51ff95={};return _0x5638f3['defaults']&&(_0x51ff95['data']=0x0,_0x51ff95['data1']=0x0),null!=_0x2edb51['data']&&_0x2edb51['hasOwnProperty']('data')&&(_0x51ff95['data']=_0x2edb51['data']),null!=_0x2edb51['data1']&&_0x2edb51['hasOwnProperty']('data1')&&(_0x51ff95['data1']=_0x2edb51['data1']),_0x51ff95;},_0x5e9b10['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x5e9b10['getTypeUrl']=function(_0x105fed){return void 0x0===_0x105fed&&(_0x105fed='type.googleapis.com'),_0x105fed+'/NumberNumberPacketDataMessage';},_0x5e9b10;}()),_0x48cb19['NumberObjectPacketDataMessage']=(function(){function _0x375dd9(_0x3677eb){if(_0x3677eb){for(var _0x46416d=Object['keys'](_0x3677eb),_0x38dfbc=0x0;_0x38dfbc<_0x46416d['length'];++_0x38dfbc)null!=_0x3677eb[_0x46416d[_0x38dfbc]]&&(this[_0x46416d[_0x38dfbc]]=_0x3677eb[_0x46416d[_0x38dfbc]]);}}return _0x375dd9['prototype']['data']=0x0,_0x375dd9['prototype']['data1']='',_0x375dd9['create']=function(_0x554a17){return new _0x375dd9(_0x554a17);},_0x375dd9['encode']=function(_0x648103,_0x366d6a){return _0x366d6a||(_0x366d6a=_0x5a9410['create']()),null!=_0x648103['data']&&Object['hasOwnProperty']['call'](_0x648103,'data')&&_0x366d6a['uint32'](0x8)['uint32'](_0x648103['data']),null!=_0x648103['data1']&&Object['hasOwnProperty']['call'](_0x648103,'data1')&&_0x366d6a['uint32'](0x12)['string'](_0x648103['data1']),_0x366d6a;},_0x375dd9['encodeDelimited']=function(_0x16608d,_0x8b9c82){return this['encode'](_0x16608d,_0x8b9c82)['ldelim']();},_0x375dd9['decode']=function(_0x4d2e81,_0x3195ea){_0x4d2e81 instanceof _0x4537d0||(_0x4d2e81=_0x4537d0['create'](_0x4d2e81));for(var _0xcca4e=void 0x0===_0x3195ea?_0x4d2e81['len']:_0x4d2e81['pos']+_0x3195ea,_0x40943d=new _0x48cb19['NumberObjectPacketDataMessage']();_0x4d2e81['pos']<_0xcca4e;){var _0x2dbf49=_0x4d2e81['uint32']();switch(_0x2dbf49>>>0x3){case 0x1:_0x40943d['data']=_0x4d2e81['uint32']();break;case 0x2:_0x40943d['data1']=_0x4d2e81['string']();break;default:_0x4d2e81['skipType'](0x7&_0x2dbf49);}}return _0x40943d;},_0x375dd9['decodeDelimited']=function(_0x3b761a){return _0x3b761a instanceof _0x4537d0||(_0x3b761a=new _0x4537d0(_0x3b761a)),this['decode'](_0x3b761a,_0x3b761a['uint32']());},_0x375dd9['verify']=function(_0x2add73){return'object'!=typeof _0x2add73||null===_0x2add73?'object\x20expected':null!=_0x2add73['data']&&_0x2add73['hasOwnProperty']('data')&&!_0x3be80d['isInteger'](_0x2add73['data'])?'data:\x20integer\x20expected':null!=_0x2add73['data1']&&_0x2add73['hasOwnProperty']('data1')&&!_0x3be80d['isString'](_0x2add73['data1'])?'data1:\x20string\x20expected':null;},_0x375dd9['fromObject']=function(_0x1d8871){if(_0x1d8871 instanceof _0x48cb19['NumberObjectPacketDataMessage'])return _0x1d8871;var _0x3c60fa=new _0x48cb19['NumberObjectPacketDataMessage']();return null!=_0x1d8871['data']&&(_0x3c60fa['data']=_0x1d8871['data']>>>0x0),null!=_0x1d8871['data1']&&(_0x3c60fa['data1']=String(_0x1d8871['data1'])),_0x3c60fa;},_0x375dd9['toObject']=function(_0xcbf9ba,_0x51d34d){_0x51d34d||(_0x51d34d={});var _0x1fbaa2={};return _0x51d34d['defaults']&&(_0x1fbaa2['data']=0x0,_0x1fbaa2['data1']=''),null!=_0xcbf9ba['data']&&_0xcbf9ba['hasOwnProperty']('data')&&(_0x1fbaa2['data']=_0xcbf9ba['data']),null!=_0xcbf9ba['data1']&&_0xcbf9ba['hasOwnProperty']('data1')&&(_0x1fbaa2['data1']=_0xcbf9ba['data1']),_0x1fbaa2;},_0x375dd9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x375dd9['getTypeUrl']=function(_0x34b6a7){return void 0x0===_0x34b6a7&&(_0x34b6a7='type.googleapis.com'),_0x34b6a7+'/NumberObjectPacketDataMessage';},_0x375dd9;}()),_0x48cb19['NumberStringPacketDataMessage']=(function(){function _0x53cc39(_0x136e1d){if(_0x136e1d){for(var _0x15e585=Object['keys'](_0x136e1d),_0x49a249=0x0;_0x49a249<_0x15e585['length'];++_0x49a249)null!=_0x136e1d[_0x15e585[_0x49a249]]&&(this[_0x15e585[_0x49a249]]=_0x136e1d[_0x15e585[_0x49a249]]);}}return _0x53cc39['prototype']['data']=0x0,_0x53cc39['prototype']['data1']='',_0x53cc39['create']=function(_0x289d0a){return new _0x53cc39(_0x289d0a);},_0x53cc39['encode']=function(_0x413679,_0x18b0f7){return _0x18b0f7||(_0x18b0f7=_0x5a9410['create']()),null!=_0x413679['data']&&Object['hasOwnProperty']['call'](_0x413679,'data')&&_0x18b0f7['uint32'](0x8)['uint32'](_0x413679['data']),null!=_0x413679['data1']&&Object['hasOwnProperty']['call'](_0x413679,'data1')&&_0x18b0f7['uint32'](0x12)['string'](_0x413679['data1']),_0x18b0f7;},_0x53cc39['encodeDelimited']=function(_0x168beb,_0x9cb8f8){return this['encode'](_0x168beb,_0x9cb8f8)['ldelim']();},_0x53cc39['decode']=function(_0x243bd8,_0x2750d4){_0x243bd8 instanceof _0x4537d0||(_0x243bd8=_0x4537d0['create'](_0x243bd8));for(var _0x111d9c=void 0x0===_0x2750d4?_0x243bd8['len']:_0x243bd8['pos']+_0x2750d4,_0x565e27=new _0x48cb19['NumberStringPacketDataMessage']();_0x243bd8['pos']<_0x111d9c;){var _0x43dd13=_0x243bd8['uint32']();switch(_0x43dd13>>>0x3){case 0x1:_0x565e27['data']=_0x243bd8['uint32']();break;case 0x2:_0x565e27['data1']=_0x243bd8['string']();break;default:_0x243bd8['skipType'](0x7&_0x43dd13);}}return _0x565e27;},_0x53cc39['decodeDelimited']=function(_0x357622){return _0x357622 instanceof _0x4537d0||(_0x357622=new _0x4537d0(_0x357622)),this['decode'](_0x357622,_0x357622['uint32']());},_0x53cc39['verify']=function(_0x34cfa8){return'object'!=typeof _0x34cfa8||null===_0x34cfa8?'object\x20expected':null!=_0x34cfa8['data']&&_0x34cfa8['hasOwnProperty']('data')&&!_0x3be80d['isInteger'](_0x34cfa8['data'])?'data:\x20integer\x20expected':null!=_0x34cfa8['data1']&&_0x34cfa8['hasOwnProperty']('data1')&&!_0x3be80d['isString'](_0x34cfa8['data1'])?'data1:\x20string\x20expected':null;},_0x53cc39['fromObject']=function(_0x5df9c2){if(_0x5df9c2 instanceof _0x48cb19['NumberStringPacketDataMessage'])return _0x5df9c2;var _0x4925aa=new _0x48cb19['NumberStringPacketDataMessage']();return null!=_0x5df9c2['data']&&(_0x4925aa['data']=_0x5df9c2['data']>>>0x0),null!=_0x5df9c2['data1']&&(_0x4925aa['data1']=String(_0x5df9c2['data1'])),_0x4925aa;},_0x53cc39['toObject']=function(_0x2d49a6,_0x401b4c){_0x401b4c||(_0x401b4c={});var _0x5173c0={};return _0x401b4c['defaults']&&(_0x5173c0['data']=0x0,_0x5173c0['data1']=''),null!=_0x2d49a6['data']&&_0x2d49a6['hasOwnProperty']('data')&&(_0x5173c0['data']=_0x2d49a6['data']),null!=_0x2d49a6['data1']&&_0x2d49a6['hasOwnProperty']('data1')&&(_0x5173c0['data1']=_0x2d49a6['data1']),_0x5173c0;},_0x53cc39['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x53cc39['getTypeUrl']=function(_0x569082){return void 0x0===_0x569082&&(_0x569082='type.googleapis.com'),_0x569082+'/NumberStringPacketDataMessage';},_0x53cc39;}()),_0x48cb19['ObjectBufferPacketDataMessage']=(function(){function _0x2888b1(_0x899453){if(_0x899453){for(var _0x322cf2=Object['keys'](_0x899453),_0x2054f8=0x0;_0x2054f8<_0x322cf2['length'];++_0x2054f8)null!=_0x899453[_0x322cf2[_0x2054f8]]&&(this[_0x322cf2[_0x2054f8]]=_0x899453[_0x322cf2[_0x2054f8]]);}}return _0x2888b1['prototype']['data']='',_0x2888b1['prototype']['data1']=_0x3be80d['newBuffer']([]),_0x2888b1['create']=function(_0x233ec7){return new _0x2888b1(_0x233ec7);},_0x2888b1['encode']=function(_0x3c3674,_0x206cb1){return _0x206cb1||(_0x206cb1=_0x5a9410['create']()),null!=_0x3c3674['data']&&Object['hasOwnProperty']['call'](_0x3c3674,'data')&&_0x206cb1['uint32'](0xa)['string'](_0x3c3674['data']),null!=_0x3c3674['data1']&&Object['hasOwnProperty']['call'](_0x3c3674,'data1')&&_0x206cb1['uint32'](0x12)['bytes'](_0x3c3674['data1']),_0x206cb1;},_0x2888b1['encodeDelimited']=function(_0x1c8d2d,_0x5172b8){return this['encode'](_0x1c8d2d,_0x5172b8)['ldelim']();},_0x2888b1['decode']=function(_0x4901ad,_0x3e2fbd){_0x4901ad instanceof _0x4537d0||(_0x4901ad=_0x4537d0['create'](_0x4901ad));for(var _0x1ea67f=void 0x0===_0x3e2fbd?_0x4901ad['len']:_0x4901ad['pos']+_0x3e2fbd,_0x1c04d9=new _0x48cb19['ObjectBufferPacketDataMessage']();_0x4901ad['pos']<_0x1ea67f;){var _0x3043ef=_0x4901ad['uint32']();switch(_0x3043ef>>>0x3){case 0x1:_0x1c04d9['data']=_0x4901ad['string']();break;case 0x2:_0x1c04d9['data1']=_0x4901ad['bytes']();break;default:_0x4901ad['skipType'](0x7&_0x3043ef);}}return _0x1c04d9;},_0x2888b1['decodeDelimited']=function(_0x24ef56){return _0x24ef56 instanceof _0x4537d0||(_0x24ef56=new _0x4537d0(_0x24ef56)),this['decode'](_0x24ef56,_0x24ef56['uint32']());},_0x2888b1['verify']=function(_0x29828c){return'object'!=typeof _0x29828c||null===_0x29828c?'object\x20expected':null!=_0x29828c['data']&&_0x29828c['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x29828c['data'])?'data:\x20string\x20expected':null!=_0x29828c['data1']&&_0x29828c['hasOwnProperty']('data1')&&!(_0x29828c['data1']&&'number'==typeof _0x29828c['data1']['length']||_0x3be80d['isString'](_0x29828c['data1']))?'data1:\x20buffer\x20expected':null;},_0x2888b1['fromObject']=function(_0x4de34a){if(_0x4de34a instanceof _0x48cb19['ObjectBufferPacketDataMessage'])return _0x4de34a;var _0x3c73e6=new _0x48cb19['ObjectBufferPacketDataMessage']();return null!=_0x4de34a['data']&&(_0x3c73e6['data']=String(_0x4de34a['data'])),null!=_0x4de34a['data1']&&('string'==typeof _0x4de34a['data1']?_0x3be80d['base64']['decode'](_0x4de34a['data1'],_0x3c73e6['data1']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x4de34a['data1'])),0x0):_0x4de34a['data1']['length']>=0x0&&(_0x3c73e6['data1']=_0x4de34a['data1'])),_0x3c73e6;},_0x2888b1['toObject']=function(_0x3e14cb,_0x3e189b){_0x3e189b||(_0x3e189b={});var _0x3483d9={};return _0x3e189b['defaults']&&(_0x3483d9['data']='',_0x3e189b['bytes']===String?_0x3483d9['data1']='':(_0x3483d9['data1']=[],_0x3e189b['bytes']!==Array&&(_0x3483d9['data1']=_0x3be80d['newBuffer'](_0x3483d9['data1'])))),null!=_0x3e14cb['data']&&_0x3e14cb['hasOwnProperty']('data')&&(_0x3483d9['data']=_0x3e14cb['data']),null!=_0x3e14cb['data1']&&_0x3e14cb['hasOwnProperty']('data1')&&(_0x3483d9['data1']=_0x3e189b['bytes']===String?_0x3be80d['base64']['encode'](_0x3e14cb['data1'],0x0,_0x3e14cb['data1']['length']):_0x3e189b['bytes']===Array?Array['prototype']['slice']['call'](_0x3e14cb['data1']):_0x3e14cb['data1']),_0x3483d9;},_0x2888b1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2888b1['getTypeUrl']=function(_0x354cd1){return void 0x0===_0x354cd1&&(_0x354cd1='type.googleapis.com'),_0x354cd1+'/ObjectBufferPacketDataMessage';},_0x2888b1;}()),_0x48cb19['ObjectObjectPacketDataMessage']=(function(){function _0x1a9ee5(_0x182d7d){if(_0x182d7d){for(var _0x563c43=Object['keys'](_0x182d7d),_0x355554=0x0;_0x355554<_0x563c43['length'];++_0x355554)null!=_0x182d7d[_0x563c43[_0x355554]]&&(this[_0x563c43[_0x355554]]=_0x182d7d[_0x563c43[_0x355554]]);}}return _0x1a9ee5['prototype']['data']='',_0x1a9ee5['prototype']['data1']='',_0x1a9ee5['create']=function(_0x3f1250){return new _0x1a9ee5(_0x3f1250);},_0x1a9ee5['encode']=function(_0x1e6687,_0x563c06){return _0x563c06||(_0x563c06=_0x5a9410['create']()),null!=_0x1e6687['data']&&Object['hasOwnProperty']['call'](_0x1e6687,'data')&&_0x563c06['uint32'](0xa)['string'](_0x1e6687['data']),null!=_0x1e6687['data1']&&Object['hasOwnProperty']['call'](_0x1e6687,'data1')&&_0x563c06['uint32'](0x12)['string'](_0x1e6687['data1']),_0x563c06;},_0x1a9ee5['encodeDelimited']=function(_0x587049,_0x48a360){return this['encode'](_0x587049,_0x48a360)['ldelim']();},_0x1a9ee5['decode']=function(_0x26d492,_0x4127ca){_0x26d492 instanceof _0x4537d0||(_0x26d492=_0x4537d0['create'](_0x26d492));for(var _0x31ffe4=void 0x0===_0x4127ca?_0x26d492['len']:_0x26d492['pos']+_0x4127ca,_0x16c574=new _0x48cb19['ObjectObjectPacketDataMessage']();_0x26d492['pos']<_0x31ffe4;){var _0x7f6e13=_0x26d492['uint32']();switch(_0x7f6e13>>>0x3){case 0x1:_0x16c574['data']=_0x26d492['string']();break;case 0x2:_0x16c574['data1']=_0x26d492['string']();break;default:_0x26d492['skipType'](0x7&_0x7f6e13);}}return _0x16c574;},_0x1a9ee5['decodeDelimited']=function(_0x48efea){return _0x48efea instanceof _0x4537d0||(_0x48efea=new _0x4537d0(_0x48efea)),this['decode'](_0x48efea,_0x48efea['uint32']());},_0x1a9ee5['verify']=function(_0x71ed3f){return'object'!=typeof _0x71ed3f||null===_0x71ed3f?'object\x20expected':null!=_0x71ed3f['data']&&_0x71ed3f['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x71ed3f['data'])?'data:\x20string\x20expected':null!=_0x71ed3f['data1']&&_0x71ed3f['hasOwnProperty']('data1')&&!_0x3be80d['isString'](_0x71ed3f['data1'])?'data1:\x20string\x20expected':null;},_0x1a9ee5['fromObject']=function(_0x1bcf0a){if(_0x1bcf0a instanceof _0x48cb19['ObjectObjectPacketDataMessage'])return _0x1bcf0a;var _0x2910d9=new _0x48cb19['ObjectObjectPacketDataMessage']();return null!=_0x1bcf0a['data']&&(_0x2910d9['data']=String(_0x1bcf0a['data'])),null!=_0x1bcf0a['data1']&&(_0x2910d9['data1']=String(_0x1bcf0a['data1'])),_0x2910d9;},_0x1a9ee5['toObject']=function(_0x5d13ad,_0x555d65){_0x555d65||(_0x555d65={});var _0x37db8a={};return _0x555d65['defaults']&&(_0x37db8a['data']='',_0x37db8a['data1']=''),null!=_0x5d13ad['data']&&_0x5d13ad['hasOwnProperty']('data')&&(_0x37db8a['data']=_0x5d13ad['data']),null!=_0x5d13ad['data1']&&_0x5d13ad['hasOwnProperty']('data1')&&(_0x37db8a['data1']=_0x5d13ad['data1']),_0x37db8a;},_0x1a9ee5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x1a9ee5['getTypeUrl']=function(_0x30c939){return void 0x0===_0x30c939&&(_0x30c939='type.googleapis.com'),_0x30c939+'/ObjectObjectPacketDataMessage';},_0x1a9ee5;}()),_0x48cb19['PacketMessage']=(function(){function _0x4b6026(_0x167132){if(_0x167132){for(var _0x2e37ce=Object['keys'](_0x167132),_0x4f59fc=0x0;_0x4f59fc<_0x2e37ce['length'];++_0x4f59fc)null!=_0x167132[_0x2e37ce[_0x4f59fc]]&&(this[_0x2e37ce[_0x4f59fc]]=_0x167132[_0x2e37ce[_0x4f59fc]]);}}return _0x4b6026['prototype']['type']=0x0,_0x4b6026['prototype']['id']=0x0,_0x4b6026['prototype']['nsp']='',_0x4b6026['prototype']['data']=_0x3be80d['newBuffer']([]),_0x4b6026['prototype']['options']=_0x3be80d['newBuffer']([]),_0x4b6026['create']=function(_0x52db17){return new _0x4b6026(_0x52db17);},_0x4b6026['encode']=function(_0xb4cd8c,_0x1c0ec1){return _0x1c0ec1||(_0x1c0ec1=_0x5a9410['create']()),null!=_0xb4cd8c['type']&&Object['hasOwnProperty']['call'](_0xb4cd8c,'type')&&_0x1c0ec1['uint32'](0x8)['uint32'](_0xb4cd8c['type']),null!=_0xb4cd8c['id']&&Object['hasOwnProperty']['call'](_0xb4cd8c,'id')&&_0x1c0ec1['uint32'](0x10)['uint32'](_0xb4cd8c['id']),null!=_0xb4cd8c['nsp']&&Object['hasOwnProperty']['call'](_0xb4cd8c,'nsp')&&_0x1c0ec1['uint32'](0x1a)['string'](_0xb4cd8c['nsp']),null!=_0xb4cd8c['data']&&Object['hasOwnProperty']['call'](_0xb4cd8c,'data')&&_0x1c0ec1['uint32'](0x22)['bytes'](_0xb4cd8c['data']),null!=_0xb4cd8c['options']&&Object['hasOwnProperty']['call'](_0xb4cd8c,'options')&&_0x1c0ec1['uint32'](0x2a)['bytes'](_0xb4cd8c['options']),_0x1c0ec1;},_0x4b6026['encodeDelimited']=function(_0x153ffe,_0x230016){return this['encode'](_0x153ffe,_0x230016)['ldelim']();},_0x4b6026['decode']=function(_0x50c6dd,_0x5d4667){_0x50c6dd instanceof _0x4537d0||(_0x50c6dd=_0x4537d0['create'](_0x50c6dd));for(var _0x3b28f4=void 0x0===_0x5d4667?_0x50c6dd['len']:_0x50c6dd['pos']+_0x5d4667,_0x38aa70=new _0x48cb19['PacketMessage']();_0x50c6dd['pos']<_0x3b28f4;){var _0x4222d0=_0x50c6dd['uint32']();switch(_0x4222d0>>>0x3){case 0x1:_0x38aa70['type']=_0x50c6dd['uint32']();break;case 0x2:_0x38aa70['id']=_0x50c6dd['uint32']();break;case 0x3:_0x38aa70['nsp']=_0x50c6dd['string']();break;case 0x4:_0x38aa70['data']=_0x50c6dd['bytes']();break;case 0x5:_0x38aa70['options']=_0x50c6dd['bytes']();break;default:_0x50c6dd['skipType'](0x7&_0x4222d0);}}return _0x38aa70;},_0x4b6026['decodeDelimited']=function(_0x2f1daa){return _0x2f1daa instanceof _0x4537d0||(_0x2f1daa=new _0x4537d0(_0x2f1daa)),this['decode'](_0x2f1daa,_0x2f1daa['uint32']());},_0x4b6026['verify']=function(_0x32816){return'object'!=typeof _0x32816||null===_0x32816?'object\x20expected':null!=_0x32816['type']&&_0x32816['hasOwnProperty']('type')&&!_0x3be80d['isInteger'](_0x32816['type'])?'type:\x20integer\x20expected':null!=_0x32816['id']&&_0x32816['hasOwnProperty']('id')&&!_0x3be80d['isInteger'](_0x32816['id'])?'id:\x20integer\x20expected':null!=_0x32816['nsp']&&_0x32816['hasOwnProperty']('nsp')&&!_0x3be80d['isString'](_0x32816['nsp'])?'nsp:\x20string\x20expected':null!=_0x32816['data']&&_0x32816['hasOwnProperty']('data')&&!(_0x32816['data']&&'number'==typeof _0x32816['data']['length']||_0x3be80d['isString'](_0x32816['data']))?'data:\x20buffer\x20expected':null!=_0x32816['options']&&_0x32816['hasOwnProperty']('options')&&!(_0x32816['options']&&'number'==typeof _0x32816['options']['length']||_0x3be80d['isString'](_0x32816['options']))?'options:\x20buffer\x20expected':null;},_0x4b6026['fromObject']=function(_0x5f4f6b){if(_0x5f4f6b instanceof _0x48cb19['PacketMessage'])return _0x5f4f6b;var _0xff47cb=new _0x48cb19['PacketMessage']();return null!=_0x5f4f6b['type']&&(_0xff47cb['type']=_0x5f4f6b['type']>>>0x0),null!=_0x5f4f6b['id']&&(_0xff47cb['id']=_0x5f4f6b['id']>>>0x0),null!=_0x5f4f6b['nsp']&&(_0xff47cb['nsp']=String(_0x5f4f6b['nsp'])),null!=_0x5f4f6b['data']&&('string'==typeof _0x5f4f6b['data']?_0x3be80d['base64']['decode'](_0x5f4f6b['data'],_0xff47cb['data']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x5f4f6b['data'])),0x0):_0x5f4f6b['data']['length']>=0x0&&(_0xff47cb['data']=_0x5f4f6b['data'])),null!=_0x5f4f6b['options']&&('string'==typeof _0x5f4f6b['options']?_0x3be80d['base64']['decode'](_0x5f4f6b['options'],_0xff47cb['options']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x5f4f6b['options'])),0x0):_0x5f4f6b['options']['length']>=0x0&&(_0xff47cb['options']=_0x5f4f6b['options'])),_0xff47cb;},_0x4b6026['toObject']=function(_0x2ff3ea,_0x20bc73){_0x20bc73||(_0x20bc73={});var _0x4ccc38={};return _0x20bc73['defaults']&&(_0x4ccc38['type']=0x0,_0x4ccc38['id']=0x0,_0x4ccc38['nsp']='',_0x20bc73['bytes']===String?_0x4ccc38['data']='':(_0x4ccc38['data']=[],_0x20bc73['bytes']!==Array&&(_0x4ccc38['data']=_0x3be80d['newBuffer'](_0x4ccc38['data']))),_0x20bc73['bytes']===String?_0x4ccc38['options']='':(_0x4ccc38['options']=[],_0x20bc73['bytes']!==Array&&(_0x4ccc38['options']=_0x3be80d['newBuffer'](_0x4ccc38['options'])))),null!=_0x2ff3ea['type']&&_0x2ff3ea['hasOwnProperty']('type')&&(_0x4ccc38['type']=_0x2ff3ea['type']),null!=_0x2ff3ea['id']&&_0x2ff3ea['hasOwnProperty']('id')&&(_0x4ccc38['id']=_0x2ff3ea['id']),null!=_0x2ff3ea['nsp']&&_0x2ff3ea['hasOwnProperty']('nsp')&&(_0x4ccc38['nsp']=_0x2ff3ea['nsp']),null!=_0x2ff3ea['data']&&_0x2ff3ea['hasOwnProperty']('data')&&(_0x4ccc38['data']=_0x20bc73['bytes']===String?_0x3be80d['base64']['encode'](_0x2ff3ea['data'],0x0,_0x2ff3ea['data']['length']):_0x20bc73['bytes']===Array?Array['prototype']['slice']['call'](_0x2ff3ea['data']):_0x2ff3ea['data']),null!=_0x2ff3ea['options']&&_0x2ff3ea['hasOwnProperty']('options')&&(_0x4ccc38['options']=_0x20bc73['bytes']===String?_0x3be80d['base64']['encode'](_0x2ff3ea['options'],0x0,_0x2ff3ea['options']['length']):_0x20bc73['bytes']===Array?Array['prototype']['slice']['call'](_0x2ff3ea['options']):_0x2ff3ea['options']),_0x4ccc38;},_0x4b6026['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x4b6026['getTypeUrl']=function(_0x774d70){return void 0x0===_0x774d70&&(_0x774d70='type.googleapis.com'),_0x774d70+'/PacketMessage';},_0x4b6026;}()),_0x48cb19['PacketOptionsMessage']=(function(){function _0x3e19ef(_0x2597d0){if(this['rooms']=[],this['except']=[],_0x2597d0){for(var _0x16fb49=Object['keys'](_0x2597d0),_0x456515=0x0;_0x456515<_0x16fb49['length'];++_0x456515)null!=_0x2597d0[_0x16fb49[_0x456515]]&&(this[_0x16fb49[_0x456515]]=_0x2597d0[_0x16fb49[_0x456515]]);}}return _0x3e19ef['prototype']['flags']='',_0x3e19ef['prototype']['rooms']=_0x3be80d['emptyArray'],_0x3e19ef['prototype']['except']=_0x3be80d['emptyArray'],_0x3e19ef['create']=function(_0x26e160){return new _0x3e19ef(_0x26e160);},_0x3e19ef['encode']=function(_0x5ce9ef,_0x49e5ae){if(_0x49e5ae||(_0x49e5ae=_0x5a9410['create']()),null!=_0x5ce9ef['flags']&&Object['hasOwnProperty']['call'](_0x5ce9ef,'flags')&&_0x49e5ae['uint32'](0xa)['string'](_0x5ce9ef['flags']),null!=_0x5ce9ef['rooms']&&_0x5ce9ef['rooms']['length']){for(var _0x902502=0x0;_0x902502<_0x5ce9ef['rooms']['length'];++_0x902502)_0x49e5ae['uint32'](0x12)['string'](_0x5ce9ef['rooms'][_0x902502]);}if(null!=_0x5ce9ef['except']&&_0x5ce9ef['except']['length']){for(_0x902502=0x0;_0x902502<_0x5ce9ef['except']['length'];++_0x902502)_0x49e5ae['uint32'](0x1a)['string'](_0x5ce9ef['except'][_0x902502]);}return _0x49e5ae;},_0x3e19ef['encodeDelimited']=function(_0x8f6f3c,_0x2cb0f7){return this['encode'](_0x8f6f3c,_0x2cb0f7)['ldelim']();},_0x3e19ef['decode']=function(_0x5550f7,_0x569342){_0x5550f7 instanceof _0x4537d0||(_0x5550f7=_0x4537d0['create'](_0x5550f7));for(var _0x3d1368=void 0x0===_0x569342?_0x5550f7['len']:_0x5550f7['pos']+_0x569342,_0x117766=new _0x48cb19['PacketOptionsMessage']();_0x5550f7['pos']<_0x3d1368;){var _0x338028=_0x5550f7['uint32']();switch(_0x338028>>>0x3){case 0x1:_0x117766['flags']=_0x5550f7['string']();break;case 0x2:_0x117766['rooms']&&_0x117766['rooms']['length']||(_0x117766['rooms']=[]),_0x117766['rooms']['push'](_0x5550f7['string']());break;case 0x3:_0x117766['except']&&_0x117766['except']['length']||(_0x117766['except']=[]),_0x117766['except']['push'](_0x5550f7['string']());break;default:_0x5550f7['skipType'](0x7&_0x338028);}}return _0x117766;},_0x3e19ef['decodeDelimited']=function(_0x4836fc){return _0x4836fc instanceof _0x4537d0||(_0x4836fc=new _0x4537d0(_0x4836fc)),this['decode'](_0x4836fc,_0x4836fc['uint32']());},_0x3e19ef['verify']=function(_0x39b636){if('object'!=typeof _0x39b636||null===_0x39b636)return'object\x20expected';if(null!=_0x39b636['flags']&&_0x39b636['hasOwnProperty']('flags')&&!_0x3be80d['isString'](_0x39b636['flags']))return'flags:\x20string\x20expected';if(null!=_0x39b636['rooms']&&_0x39b636['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x39b636['rooms']))return'rooms:\x20array\x20expected';for(var _0xde5e96=0x0;_0xde5e96<_0x39b636['rooms']['length'];++_0xde5e96)if(!_0x3be80d['isString'](_0x39b636['rooms'][_0xde5e96]))return'rooms:\x20string[]\x20expected';}if(null!=_0x39b636['except']&&_0x39b636['hasOwnProperty']('except')){if(!Array['isArray'](_0x39b636['except']))return'except:\x20array\x20expected';for(_0xde5e96=0x0;_0xde5e96<_0x39b636['except']['length'];++_0xde5e96)if(!_0x3be80d['isString'](_0x39b636['except'][_0xde5e96]))return'except:\x20string[]\x20expected';}return null;},_0x3e19ef['fromObject']=function(_0x20a469){if(_0x20a469 instanceof _0x48cb19['PacketOptionsMessage'])return _0x20a469;var _0x1ac130=new _0x48cb19['PacketOptionsMessage']();if(null!=_0x20a469['flags']&&(_0x1ac130['flags']=String(_0x20a469['flags'])),_0x20a469['rooms']){if(!Array['isArray'](_0x20a469['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x1ac130['rooms']=[];for(var _0x1a66cf=0x0;_0x1a66cf<_0x20a469['rooms']['length'];++_0x1a66cf)_0x1ac130['rooms'][_0x1a66cf]=String(_0x20a469['rooms'][_0x1a66cf]);}if(_0x20a469['except']){if(!Array['isArray'](_0x20a469['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x1ac130['except']=[],_0x1a66cf=0x0;_0x1a66cf<_0x20a469['except']['length'];++_0x1a66cf)_0x1ac130['except'][_0x1a66cf]=String(_0x20a469['except'][_0x1a66cf]);}return _0x1ac130;},_0x3e19ef['toObject']=function(_0x31f311,_0x286df3){_0x286df3||(_0x286df3={});var _0x2f9185={};if((_0x286df3['arrays']||_0x286df3['defaults'])&&(_0x2f9185['rooms']=[],_0x2f9185['except']=[]),_0x286df3['defaults']&&(_0x2f9185['flags']=''),null!=_0x31f311['flags']&&_0x31f311['hasOwnProperty']('flags')&&(_0x2f9185['flags']=_0x31f311['flags']),_0x31f311['rooms']&&_0x31f311['rooms']['length']){_0x2f9185['rooms']=[];for(var _0x150ac6=0x0;_0x150ac6<_0x31f311['rooms']['length'];++_0x150ac6)_0x2f9185['rooms'][_0x150ac6]=_0x31f311['rooms'][_0x150ac6];}if(_0x31f311['except']&&_0x31f311['except']['length']){for(_0x2f9185['except']=[],_0x150ac6=0x0;_0x150ac6<_0x31f311['except']['length'];++_0x150ac6)_0x2f9185['except'][_0x150ac6]=_0x31f311['except'][_0x150ac6];}return _0x2f9185;},_0x3e19ef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3e19ef['getTypeUrl']=function(_0x945c0f){return void 0x0===_0x945c0f&&(_0x945c0f='type.googleapis.com'),_0x945c0f+'/PacketOptionsMessage';},_0x3e19ef;}()),_0x48cb19['StringBytesPacketDataMessage']=(function(){function _0x67414f(_0x122901){if(_0x122901){for(var _0x3ff1c7=Object['keys'](_0x122901),_0x171a99=0x0;_0x171a99<_0x3ff1c7['length'];++_0x171a99)null!=_0x122901[_0x3ff1c7[_0x171a99]]&&(this[_0x3ff1c7[_0x171a99]]=_0x122901[_0x3ff1c7[_0x171a99]]);}}return _0x67414f['prototype']['data']='',_0x67414f['prototype']['data1']=_0x3be80d['newBuffer']([]),_0x67414f['create']=function(_0x5d744f){return new _0x67414f(_0x5d744f);},_0x67414f['encode']=function(_0x388237,_0x4e1759){return _0x4e1759||(_0x4e1759=_0x5a9410['create']()),null!=_0x388237['data']&&Object['hasOwnProperty']['call'](_0x388237,'data')&&_0x4e1759['uint32'](0xa)['string'](_0x388237['data']),null!=_0x388237['data1']&&Object['hasOwnProperty']['call'](_0x388237,'data1')&&_0x4e1759['uint32'](0x12)['bytes'](_0x388237['data1']),_0x4e1759;},_0x67414f['encodeDelimited']=function(_0x1e7b58,_0x3cac39){return this['encode'](_0x1e7b58,_0x3cac39)['ldelim']();},_0x67414f['decode']=function(_0x1c5b49,_0x3a115c){_0x1c5b49 instanceof _0x4537d0||(_0x1c5b49=_0x4537d0['create'](_0x1c5b49));for(var _0x5eed5f=void 0x0===_0x3a115c?_0x1c5b49['len']:_0x1c5b49['pos']+_0x3a115c,_0x55bea3=new _0x48cb19['StringBytesPacketDataMessage']();_0x1c5b49['pos']<_0x5eed5f;){var _0x4de71a=_0x1c5b49['uint32']();switch(_0x4de71a>>>0x3){case 0x1:_0x55bea3['data']=_0x1c5b49['string']();break;case 0x2:_0x55bea3['data1']=_0x1c5b49['bytes']();break;default:_0x1c5b49['skipType'](0x7&_0x4de71a);}}return _0x55bea3;},_0x67414f['decodeDelimited']=function(_0x33362e){return _0x33362e instanceof _0x4537d0||(_0x33362e=new _0x4537d0(_0x33362e)),this['decode'](_0x33362e,_0x33362e['uint32']());},_0x67414f['verify']=function(_0x2f210a){return'object'!=typeof _0x2f210a||null===_0x2f210a?'object\x20expected':null!=_0x2f210a['data']&&_0x2f210a['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x2f210a['data'])?'data:\x20string\x20expected':null!=_0x2f210a['data1']&&_0x2f210a['hasOwnProperty']('data1')&&!(_0x2f210a['data1']&&'number'==typeof _0x2f210a['data1']['length']||_0x3be80d['isString'](_0x2f210a['data1']))?'data1:\x20buffer\x20expected':null;},_0x67414f['fromObject']=function(_0x11640c){if(_0x11640c instanceof _0x48cb19['StringBytesPacketDataMessage'])return _0x11640c;var _0x4c75e1=new _0x48cb19['StringBytesPacketDataMessage']();return null!=_0x11640c['data']&&(_0x4c75e1['data']=String(_0x11640c['data'])),null!=_0x11640c['data1']&&('string'==typeof _0x11640c['data1']?_0x3be80d['base64']['decode'](_0x11640c['data1'],_0x4c75e1['data1']=_0x3be80d['newBuffer'](_0x3be80d['base64']['length'](_0x11640c['data1'])),0x0):_0x11640c['data1']['length']>=0x0&&(_0x4c75e1['data1']=_0x11640c['data1'])),_0x4c75e1;},_0x67414f['toObject']=function(_0x292da2,_0xf99a66){_0xf99a66||(_0xf99a66={});var _0xd9c532={};return _0xf99a66['defaults']&&(_0xd9c532['data']='',_0xf99a66['bytes']===String?_0xd9c532['data1']='':(_0xd9c532['data1']=[],_0xf99a66['bytes']!==Array&&(_0xd9c532['data1']=_0x3be80d['newBuffer'](_0xd9c532['data1'])))),null!=_0x292da2['data']&&_0x292da2['hasOwnProperty']('data')&&(_0xd9c532['data']=_0x292da2['data']),null!=_0x292da2['data1']&&_0x292da2['hasOwnProperty']('data1')&&(_0xd9c532['data1']=_0xf99a66['bytes']===String?_0x3be80d['base64']['encode'](_0x292da2['data1'],0x0,_0x292da2['data1']['length']):_0xf99a66['bytes']===Array?Array['prototype']['slice']['call'](_0x292da2['data1']):_0x292da2['data1']),_0xd9c532;},_0x67414f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x67414f['getTypeUrl']=function(_0x1a6f64){return void 0x0===_0x1a6f64&&(_0x1a6f64='type.googleapis.com'),_0x1a6f64+'/StringBytesPacketDataMessage';},_0x67414f;}()),_0x48cb19['StringNumberPacketDataMessage']=(function(){function _0x10324d(_0xd8a846){if(_0xd8a846){for(var _0x5ba938=Object['keys'](_0xd8a846),_0x1c477d=0x0;_0x1c477d<_0x5ba938['length'];++_0x1c477d)null!=_0xd8a846[_0x5ba938[_0x1c477d]]&&(this[_0x5ba938[_0x1c477d]]=_0xd8a846[_0x5ba938[_0x1c477d]]);}}return _0x10324d['prototype']['data']='',_0x10324d['prototype']['data1']=0x0,_0x10324d['create']=function(_0x1c0ff4){return new _0x10324d(_0x1c0ff4);},_0x10324d['encode']=function(_0x5148ff,_0x402ac0){return _0x402ac0||(_0x402ac0=_0x5a9410['create']()),null!=_0x5148ff['data']&&Object['hasOwnProperty']['call'](_0x5148ff,'data')&&_0x402ac0['uint32'](0xa)['string'](_0x5148ff['data']),null!=_0x5148ff['data1']&&Object['hasOwnProperty']['call'](_0x5148ff,'data1')&&_0x402ac0['uint32'](0x10)['uint32'](_0x5148ff['data1']),_0x402ac0;},_0x10324d['encodeDelimited']=function(_0x2d7c10,_0x42268f){return this['encode'](_0x2d7c10,_0x42268f)['ldelim']();},_0x10324d['decode']=function(_0x2cb25a,_0x13d74d){_0x2cb25a instanceof _0x4537d0||(_0x2cb25a=_0x4537d0['create'](_0x2cb25a));for(var _0xaa8729=void 0x0===_0x13d74d?_0x2cb25a['len']:_0x2cb25a['pos']+_0x13d74d,_0x4964e9=new _0x48cb19['StringNumberPacketDataMessage']();_0x2cb25a['pos']<_0xaa8729;){var _0xdb58fb=_0x2cb25a['uint32']();switch(_0xdb58fb>>>0x3){case 0x1:_0x4964e9['data']=_0x2cb25a['string']();break;case 0x2:_0x4964e9['data1']=_0x2cb25a['uint32']();break;default:_0x2cb25a['skipType'](0x7&_0xdb58fb);}}return _0x4964e9;},_0x10324d['decodeDelimited']=function(_0x1bb730){return _0x1bb730 instanceof _0x4537d0||(_0x1bb730=new _0x4537d0(_0x1bb730)),this['decode'](_0x1bb730,_0x1bb730['uint32']());},_0x10324d['verify']=function(_0x334b56){return'object'!=typeof _0x334b56||null===_0x334b56?'object\x20expected':null!=_0x334b56['data']&&_0x334b56['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x334b56['data'])?'data:\x20string\x20expected':null!=_0x334b56['data1']&&_0x334b56['hasOwnProperty']('data1')&&!_0x3be80d['isInteger'](_0x334b56['data1'])?'data1:\x20integer\x20expected':null;},_0x10324d['fromObject']=function(_0x684083){if(_0x684083 instanceof _0x48cb19['StringNumberPacketDataMessage'])return _0x684083;var _0x2a0bde=new _0x48cb19['StringNumberPacketDataMessage']();return null!=_0x684083['data']&&(_0x2a0bde['data']=String(_0x684083['data'])),null!=_0x684083['data1']&&(_0x2a0bde['data1']=_0x684083['data1']>>>0x0),_0x2a0bde;},_0x10324d['toObject']=function(_0x10f083,_0x25f333){_0x25f333||(_0x25f333={});var _0x84b943={};return _0x25f333['defaults']&&(_0x84b943['data']='',_0x84b943['data1']=0x0),null!=_0x10f083['data']&&_0x10f083['hasOwnProperty']('data')&&(_0x84b943['data']=_0x10f083['data']),null!=_0x10f083['data1']&&_0x10f083['hasOwnProperty']('data1')&&(_0x84b943['data1']=_0x10f083['data1']),_0x84b943;},_0x10324d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x10324d['getTypeUrl']=function(_0x4628e2){return void 0x0===_0x4628e2&&(_0x4628e2='type.googleapis.com'),_0x4628e2+'/StringNumberPacketDataMessage';},_0x10324d;}()),_0x48cb19['StringObjectPacketDataMessage']=(function(){function _0xad5040(_0x340c26){if(_0x340c26){for(var _0xbbdeb1=Object['keys'](_0x340c26),_0x5ac450=0x0;_0x5ac450<_0xbbdeb1['length'];++_0x5ac450)null!=_0x340c26[_0xbbdeb1[_0x5ac450]]&&(this[_0xbbdeb1[_0x5ac450]]=_0x340c26[_0xbbdeb1[_0x5ac450]]);}}return _0xad5040['prototype']['data']='',_0xad5040['prototype']['data1']='',_0xad5040['create']=function(_0x4fd385){return new _0xad5040(_0x4fd385);},_0xad5040['encode']=function(_0x249197,_0x516403){return _0x516403||(_0x516403=_0x5a9410['create']()),null!=_0x249197['data']&&Object['hasOwnProperty']['call'](_0x249197,'data')&&_0x516403['uint32'](0xa)['string'](_0x249197['data']),null!=_0x249197['data1']&&Object['hasOwnProperty']['call'](_0x249197,'data1')&&_0x516403['uint32'](0x12)['string'](_0x249197['data1']),_0x516403;},_0xad5040['encodeDelimited']=function(_0x44c49d,_0x1a362b){return this['encode'](_0x44c49d,_0x1a362b)['ldelim']();},_0xad5040['decode']=function(_0x3e8465,_0x5369e7){_0x3e8465 instanceof _0x4537d0||(_0x3e8465=_0x4537d0['create'](_0x3e8465));for(var _0x1ee358=void 0x0===_0x5369e7?_0x3e8465['len']:_0x3e8465['pos']+_0x5369e7,_0x4269dd=new _0x48cb19['StringObjectPacketDataMessage']();_0x3e8465['pos']<_0x1ee358;){var _0x478265=_0x3e8465['uint32']();switch(_0x478265>>>0x3){case 0x1:_0x4269dd['data']=_0x3e8465['string']();break;case 0x2:_0x4269dd['data1']=_0x3e8465['string']();break;default:_0x3e8465['skipType'](0x7&_0x478265);}}return _0x4269dd;},_0xad5040['decodeDelimited']=function(_0x54f614){return _0x54f614 instanceof _0x4537d0||(_0x54f614=new _0x4537d0(_0x54f614)),this['decode'](_0x54f614,_0x54f614['uint32']());},_0xad5040['verify']=function(_0x1c363e){return'object'!=typeof _0x1c363e||null===_0x1c363e?'object\x20expected':null!=_0x1c363e['data']&&_0x1c363e['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x1c363e['data'])?'data:\x20string\x20expected':null!=_0x1c363e['data1']&&_0x1c363e['hasOwnProperty']('data1')&&!_0x3be80d['isString'](_0x1c363e['data1'])?'data1:\x20string\x20expected':null;},_0xad5040['fromObject']=function(_0x4a86af){if(_0x4a86af instanceof _0x48cb19['StringObjectPacketDataMessage'])return _0x4a86af;var _0x39a1c5=new _0x48cb19['StringObjectPacketDataMessage']();return null!=_0x4a86af['data']&&(_0x39a1c5['data']=String(_0x4a86af['data'])),null!=_0x4a86af['data1']&&(_0x39a1c5['data1']=String(_0x4a86af['data1'])),_0x39a1c5;},_0xad5040['toObject']=function(_0x138da2,_0x4ac7df){_0x4ac7df||(_0x4ac7df={});var _0x2a246e={};return _0x4ac7df['defaults']&&(_0x2a246e['data']='',_0x2a246e['data1']=''),null!=_0x138da2['data']&&_0x138da2['hasOwnProperty']('data')&&(_0x2a246e['data']=_0x138da2['data']),null!=_0x138da2['data1']&&_0x138da2['hasOwnProperty']('data1')&&(_0x2a246e['data1']=_0x138da2['data1']),_0x2a246e;},_0xad5040['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0xad5040['getTypeUrl']=function(_0x2a7ff5){return void 0x0===_0x2a7ff5&&(_0x2a7ff5='type.googleapis.com'),_0x2a7ff5+'/StringObjectPacketDataMessage';},_0xad5040;}()),_0x48cb19['StringStringPacketDataMessage']=(function(){function _0x3bd151(_0x5d2399){if(_0x5d2399){for(var _0x11e3c2=Object['keys'](_0x5d2399),_0x5c5c93=0x0;_0x5c5c93<_0x11e3c2['length'];++_0x5c5c93)null!=_0x5d2399[_0x11e3c2[_0x5c5c93]]&&(this[_0x11e3c2[_0x5c5c93]]=_0x5d2399[_0x11e3c2[_0x5c5c93]]);}}return _0x3bd151['prototype']['data']='',_0x3bd151['prototype']['data1']='',_0x3bd151['create']=function(_0x246f5f){return new _0x3bd151(_0x246f5f);},_0x3bd151['encode']=function(_0x5301b0,_0x423ccd){return _0x423ccd||(_0x423ccd=_0x5a9410['create']()),null!=_0x5301b0['data']&&Object['hasOwnProperty']['call'](_0x5301b0,'data')&&_0x423ccd['uint32'](0xa)['string'](_0x5301b0['data']),null!=_0x5301b0['data1']&&Object['hasOwnProperty']['call'](_0x5301b0,'data1')&&_0x423ccd['uint32'](0x12)['string'](_0x5301b0['data1']),_0x423ccd;},_0x3bd151['encodeDelimited']=function(_0x93497b,_0x150b0f){return this['encode'](_0x93497b,_0x150b0f)['ldelim']();},_0x3bd151['decode']=function(_0x4d8a48,_0x17890){_0x4d8a48 instanceof _0x4537d0||(_0x4d8a48=_0x4537d0['create'](_0x4d8a48));for(var _0x25f221=void 0x0===_0x17890?_0x4d8a48['len']:_0x4d8a48['pos']+_0x17890,_0x47533c=new _0x48cb19['StringStringPacketDataMessage']();_0x4d8a48['pos']<_0x25f221;){var _0x5120c1=_0x4d8a48['uint32']();switch(_0x5120c1>>>0x3){case 0x1:_0x47533c['data']=_0x4d8a48['string']();break;case 0x2:_0x47533c['data1']=_0x4d8a48['string']();break;default:_0x4d8a48['skipType'](0x7&_0x5120c1);}}return _0x47533c;},_0x3bd151['decodeDelimited']=function(_0x574522){return _0x574522 instanceof _0x4537d0||(_0x574522=new _0x4537d0(_0x574522)),this['decode'](_0x574522,_0x574522['uint32']());},_0x3bd151['verify']=function(_0x520243){return'object'!=typeof _0x520243||null===_0x520243?'object\x20expected':null!=_0x520243['data']&&_0x520243['hasOwnProperty']('data')&&!_0x3be80d['isString'](_0x520243['data'])?'data:\x20string\x20expected':null!=_0x520243['data1']&&_0x520243['hasOwnProperty']('data1')&&!_0x3be80d['isString'](_0x520243['data1'])?'data1:\x20string\x20expected':null;},_0x3bd151['fromObject']=function(_0xe39b77){if(_0xe39b77 instanceof _0x48cb19['StringStringPacketDataMessage'])return _0xe39b77;var _0x491cd1=new _0x48cb19['StringStringPacketDataMessage']();return null!=_0xe39b77['data']&&(_0x491cd1['data']=String(_0xe39b77['data'])),null!=_0xe39b77['data1']&&(_0x491cd1['data1']=String(_0xe39b77['data1'])),_0x491cd1;},_0x3bd151['toObject']=function(_0x3ed698,_0x290efd){_0x290efd||(_0x290efd={});var _0x16b161={};return _0x290efd['defaults']&&(_0x16b161['data']='',_0x16b161['data1']=''),null!=_0x3ed698['data']&&_0x3ed698['hasOwnProperty']('data')&&(_0x16b161['data']=_0x3ed698['data']),null!=_0x3ed698['data1']&&_0x3ed698['hasOwnProperty']('data1')&&(_0x16b161['data1']=_0x3ed698['data1']),_0x16b161;},_0x3bd151['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3bd151['getTypeUrl']=function(_0x1154cb){return void 0x0===_0x1154cb&&(_0x1154cb='type.googleapis.com'),_0x1154cb+'/StringStringPacketDataMessage';},_0x3bd151;}()),_0x48cb19;})());class MessagesCompressor{static['decode'](_0x265896,_0x59efb4){const _0x3c78d4=_getType(_0x59efb4)['decode']('undefined'==typeof window?_0x265896:new Uint8Array(_0x265896));return _0x59efb4['fromJSON']({..._0x3c78d4});}static['encode'](_0x478959){const _0x139f05=_getType(_0x478959['constructor']),_0x2abb23=_0x478959['toJSON'](),_0x5504d4=_0x139f05['verify'](_0x2abb23);if(_0x5504d4)throw Error(_0x5504d4);return _0x139f05['encode'](_0x139f05['create'](_0x2abb23))['finish']();}}function _getType(_0x20dffd){return messages$1[_0x20dffd['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x50df62){super(),this['ids']=_0x50df62;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x199cae){return new GetManyUsersMessage(_0x199cae['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x4979b4){super(),this['users']=_0x4979b4;}['toJSON'](){return{'users':this['users']['map'](_userToJson)};}static['fromJSON'](_0x44eb9e){return new GetManyUsersResponse(_0x44eb9e['users']['map'](_userFromJson));}}function _userToJson(_0x1de59e){return{'attributes':Object['keys'](_0x1de59e)['map'](_0x50b773=>({'key':_0x50b773,'value':JSON['stringify'](_0x1de59e[_0x50b773])}))};}function _userFromJson(_0x48c108){return _0x48c108['attributes']['reduce']((_0x99b08b,_0x2032a9)=>(_0x99b08b[_0x2032a9['key']]=_0x2032a9['value']?JSON['parse'](_0x2032a9['value']):null,_0x99b08b),{});}class User{static ['_SERVICE']=0x2;['id'];['_attributes'];constructor(_0x402fa6={}){this['_attributes']=new Map();for(const _0x45af1e of Object['keys'](_0x402fa6))'id'!==_0x45af1e?(this['_attributes']['set'](_0x45af1e,_0x402fa6[_0x45af1e]),Object['defineProperty'](this,_0x45af1e,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x45af1e)})):this['id']=_0x402fa6['id'];}static['fromData'](_0x5d94aa){return new User(_0x5d94aa);}static async['get'](_0x1ee376,_0x2819ca){const _0x4e2675=new GetUserMessage(_0x2819ca);try{const _0x4091db=await _0x1ee376['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x4e2675)),_0x5c0a6c=MessagesCompressor['decode'](_0x4091db,GetUserResponse);return new User(_0x5c0a6c['attributes']);}catch(_0x1a55b8){return new User({'id':_0x2819ca});}}static async['getMany'](_0x72b4a9,_0x1244f2){const _0x47bd37=new GetManyUsersMessage(_0x1244f2);try{const _0x2f867c=await _0x72b4a9['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x47bd37));return MessagesCompressor['decode'](_0x2f867c,GetManyUsersResponse)['users']['map'](_0x3d8dd4=>new User(_0x3d8dd4));}catch(_0x449da5){return _0x1244f2['map'](_0x2b328f=>new User({'id':_0x2b328f}));}}}class ChannelMessage extends Message{['type'];['socketId'];['data'];static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(_0x512c02,_0x3e831f,_0x40c4d2){super(),this['type']=_0x512c02,this['socketId']=_0x3e831f,this['data']=_0x40c4d2;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x2efae8){return new ChannelMessage(_0x2efae8['type'],_0x2efae8['socketId'],_0x2efae8['data']);}}class Channel extends/* #__PURE__ -- @preserve */
EmitterMixin(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x39c11d,_0x5e7ed6,_0x3a7cc5){super(),this['_channelName']=_0x39c11d,this['_wsGateway']=_0x5e7ed6,this['_socket']=_0x3a7cc5,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x11f8f5,_0x35562a=!0x1){let _0x5d8a86='';return _0x35562a&&(_0x5d8a86+='all:'),_0x5d8a86+='event',_0x11f8f5&&(_0x5d8a86+=':'+_0x11f8f5),_0x5d8a86;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x36b54a=>{const _0x5a299c=MessagesCompressor['decode'](_0x36b54a,ChannelMessage);this['fire'](this['getEventName'](_0x5a299c['type'],!0x0),_0x5a299c['data'],_0x5a299c['socketId']),_0x5a299c['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x5a299c['type']),_0x5a299c['data'],_0x5a299c['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x5306e1,_0x4563e2,_0x13cdee=null,_0xecfdde={}){super('cloud-services-internal-error:\x20'+_0x5306e1),this['context']=_0x4563e2,this['code']=_0x13cdee,this['data']=_0xecfdde,this['name']='CKEditorError';}static['fromPublicError'](_0x20b8b4){return new CKEditorCloudServicesError(function(_0x5b83ce){let _0xe9092d='cloud-services-error:\x20'+_0x5b83ce['message'];return _0x5b83ce['data']&&(_0xe9092d+='\x0aError\x20data:\x20'+JSON['stringify'](_0x5b83ce['data'])),_0x5b83ce['explanation']&&(_0xe9092d+='\x0aExplanation:\x20'+_0x5b83ce['explanation']),_0x5b83ce['action']&&(_0xe9092d+='\x0aAction:\x20'+_0x5b83ce['action']),_0x5b83ce['traceId']&&(_0xe9092d+='\x0aTraceId:\x20'+_0x5b83ce['traceId']),_0x5b83ce['code']&&(_0xe9092d+='\x0aCode:\x20'+_0x5b83ce['code']),_0xe9092d;}(_0x20b8b4),_0x20b8b4);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x5a6f23,_0xd52498){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x5a6f23,this['code']=_0xd52498['code'],this['traceId']=_0xd52498['traceId'],this['data']=_0xd52498['data'];}static['fromPublicError'](_0x1c5bb5){return new CKEditorCloudServicesServerError(function(_0x25c27a){let _0x403581='cloud-services-server-error:\x20'+_0x25c27a['message'];return _0x25c27a['explanation']&&(_0x403581+='\x0aExplanation:\x20'+_0x25c27a['explanation']),_0x25c27a['action']&&(_0x403581+='\x0aAction:\x20'+_0x25c27a['action']),_0x25c27a['traceId']&&(_0x403581+='\x0aTraceId:\x20'+_0x25c27a['traceId']),_0x25c27a['code']&&(_0x403581+='\x0aCode:\x20'+_0x25c27a['code']),_0x403581;}(_0x1c5bb5),_0x1c5bb5);}}class PacketOptionsMessage extends Message{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x465b1d,_0x17d266=[],_0xf2c6ab=[]){super(),this['flags']=_0x465b1d,this['rooms']=_0x17d266,this['except']=_0xf2c6ab;}['toJSON'](){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](_0x3937e2){return new PacketOptionsMessage(_0x3937e2['flags']&&JSON['parse'](_0x3937e2['flags']),_0x3937e2['rooms'],_0x3937e2['except']);}}const IS_NODE=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']||!process['versions']['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x34da9a){let _0xb7afa2=0x0;for(let _0x208411=0x0;_0x208411<_0x34da9a['length'];_0x208411++)_0xb7afa2+=_0x34da9a[_0x208411]*Math['pow'](0xa,_0x34da9a['length']-_0x208411-0x1);return _0xb7afa2;}static['getType'](_0xef816e){if(ParserUtils['isBuffer'](_0xef816e))return MessageDataTypes_BUFFER;const _0x3e821c=typeof _0xef816e;return'string'===_0x3e821c?MessageDataTypes_STRING:'number'===_0x3e821c?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x508c90){return IS_NODE&&Buffer['isBuffer'](_0x508c90)||_0x508c90 instanceof ArrayBuffer||_0x508c90 instanceof Uint8Array||this['_isBufferView'](_0x508c90);}static['_isBufferView'](_0xd56ec5){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0xd56ec5):_0xd56ec5['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{['data'];['data1'];static['create'](_0x1376cf,_0x298ecb){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x2c1911,_0x2bd97f){super(),this['data']=_0x2c1911,this['data1']=_0x2bd97f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x305ccb){return new NumberBytesPacketDataMessage(_0x305ccb['data'],_0x305ccb['data1']);}static['create'](_0x25060f,_0x592119){return new NumberBytesPacketDataMessage(_0x25060f,_0x592119);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x28052a,_0x1c981c){super(),this['data']=_0x28052a,this['data1']=_0x1c981c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3e9fa8){return new StringBytesPacketDataMessage(_0x3e9fa8['data'],_0x3e9fa8['data1']);}static['create'](_0x27a6e8,_0x5d7dfa){return new StringBytesPacketDataMessage(_0x27a6e8,_0x5d7dfa);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_BUFFER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x39830f,_0x4f913a){super(),this['data']=_0x39830f,this['data1']=_0x4f913a;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xd66a7b){return new BytesBytesPacketDataMessage(_0xd66a7b['data'],_0xd66a7b['data1']);}static['create'](_0x1f2138,_0x558a0d){return new BytesBytesPacketDataMessage(_0x1f2138,_0x558a0d);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0xaabac7,_0x61d312){super(),this['data']=_0xaabac7,this['data1']=_0x61d312;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x38548e){return new StringObjectPacketDataMessage(_0x38548e['data'],_0x38548e['data1']&&JSON['parse'](_0x38548e['data1']));}static['create'](_0x269e85,_0x3a5661){return new StringObjectPacketDataMessage(_0x269e85,_0x3a5661);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x5ca2dd,_0x5e4896){super(),this['data']=_0x5ca2dd,this['data1']=_0x5e4896;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x429973){return new NumberObjectPacketDataMessage(_0x429973['data'],_0x429973['data1']&&JSON['parse'](_0x429973['data1']));}static['create'](_0x2e3712,_0x5e4d25){return new NumberObjectPacketDataMessage(_0x2e3712,_0x5e4d25);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x29aac8,_0x534998){super(),this['data']=_0x29aac8,this['data1']=_0x534998;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x1b09cd){return new ObjectObjectPacketDataMessage(_0x1b09cd['data']&&JSON['parse'](_0x1b09cd['data']),_0x1b09cd['data1']&&JSON['parse'](_0x1b09cd['data1']));}static['create'](_0x10781a,_0x26731c){return new ObjectObjectPacketDataMessage(_0x10781a,_0x26731c);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x1ef672,_0x5eef3c){super(),this['data']=_0x1ef672,this['data1']=_0x5eef3c;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x4579e4){return new ObjectBufferPacketDataMessage(_0x4579e4['data']&&JSON['parse'](_0x4579e4['data']),_0x4579e4['data1']);}static['create'](_0x1b041f,_0x37a85b){return new ObjectBufferPacketDataMessage(_0x1b041f,_0x37a85b);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x36f2da,_0x2de4d4){super(),this['data']=_0x36f2da,this['data1']=_0x2de4d4;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5aef84){return new StringStringPacketDataMessage(_0x5aef84['data'],_0x5aef84['data1']);}static['create'](_0xcf20c,_0x4765c2){return new StringStringPacketDataMessage(_0xcf20c,_0x4765c2);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x29717a,_0x2b20af){super(),this['data']=_0x29717a,this['data1']=_0x2b20af;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x303472){return new StringNumberPacketDataMessage(_0x303472['data'],_0x303472['data1']);}static['create'](_0x172219,_0x30cae5){return new StringNumberPacketDataMessage(_0x172219,_0x30cae5);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x1cfd51,_0x13f878){super(),this['data']=_0x1cfd51,this['data1']=_0x13f878;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x514055){return new NumberNumberPacketDataMessage(_0x514055['data'],_0x514055['data1']);}static['create'](_0x2145bc,_0x13f1cf){return new NumberNumberPacketDataMessage(_0x2145bc,_0x13f1cf);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x262c73,_0x280852){super(),this['data']=_0x262c73,this['data1']=_0x280852;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x453b3c){return new NumberStringPacketDataMessage(_0x453b3c['data'],_0x453b3c['data1']);}static['create'](_0x16b906,_0x13586a){return new NumberStringPacketDataMessage(_0x16b906,_0x13586a);}}const PACKET_DATA_MESSAGES=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x1f7564,_0x1333c1)=>(_0x1f7564[_0x1333c1['TYPE']]=_0x1333c1,_0x1f7564),{}))());class PacketMessage extends Message{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x53bccc,_0x52cfc0,_0x3f777b,_0x229259='/',_0xefa7ca){super(),this['type']=_0x53bccc,this['data']=_0x52cfc0,this['id']=_0x3f777b,this['nsp']=_0x229259,this['options']=_0xefa7ca??new PacketOptionsMessage();}get['packetData'](){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}['toJSON'](){const _0x1213d6=MessagesCompressor['encode'](this['options']),_0x33f607=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x33f607,'options':_0x1213d6};}static['fromJSON'](_0x32d7e3){const _0x2d9b29=Math['floor'](_0x32d7e3['type']/0xa);return new PacketMessage(_0x32d7e3['type']-0xa*_0x2d9b29,MessagesCompressor['decode'](_0x32d7e3['data'],PACKET_DATA_MESSAGES[_0x2d9b29]),_0x32d7e3['id'],_0x32d7e3['nsp'],_0x32d7e3['options']?MessagesCompressor['decode'](_0x32d7e3['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x47b5c3,_0xc68181={}){const _0x160773=ParserUtils['getPacketType'](ParserUtils['getType'](_0x47b5c3['data'][0x0]),ParserUtils['getType'](_0x47b5c3['data'][0x1]??_0x47b5c3['data'][0x0]));return new PacketMessage(_0x47b5c3['type'],PACKET_DATA_MESSAGES[_0x160773]['create'](_0x47b5c3['data'][0x0],_0x47b5c3['data'][0x1]),_0x47b5c3['id'],_0x47b5c3['nsp'],new PacketOptionsMessage(_0xc68181['flags'],_0xc68181['rooms'],_0xc68181['except']));}}class PacketParser{['encode'](_0x1b2000,_0x349a9f,_0x153bd7,_0x28b792='/',_0x3ffe21={}){if(_0x349a9f['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x378b07={'type':_0x1b2000,'data':_0x349a9f,'id':_0x153bd7,'nsp':_0x28b792};return MessagesCompressor['encode'](PacketMessage['create'](_0x378b07,_0x3ffe21));}['decode'](_0x1203aa){const _0x4962f9=MessagesCompressor['decode'](_0x1203aa,PacketMessage);return{'packet':{'id':_0x4962f9['id'],'type':_0x4962f9['type'],'data':_0x4962f9['packetData'],'nsp':_0x4962f9['nsp']},'options':{'flags':_0x4962f9['options']['flags'],'rooms':_0x4962f9['options']['rooms'],'except':_0x4962f9['options']['except']}};}}const ENCODED_TYPES=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class Encoder extends Encoder$1{['_packetParser'];constructor(_0x193c3e){super(),this['_packetParser']=_0x193c3e??new PacketParser();}['encode'](_0x55892f){if(ENCODED_TYPES['includes'](_0x55892f['type']))try{return[this['_packetParser']['encode'](_0x55892f['type'],_0x55892f['data'],_0x55892f['id'],_0x55892f['nsp'])];}catch(_0xcdd83c){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0xcdd83c['message']}});}return super['encode'](_0x55892f);}}class Decoder extends Decoder$1{['_packetParser'];constructor(_0x3a3dc1){super(),this['_packetParser']=_0x3a3dc1??new PacketParser();}['add'](_0x1692e4){if(!ParserUtils['isBuffer'](_0x1692e4))return super['add'](_0x1692e4);let _0x546679;try{_0x546679=this['_packetParser']['decode'](_0x1692e4)['packet'];}catch(_0x5f5c3a){return super['add'](_0x1692e4);}super['emitReserved']('decoded',_0x546679);}}class WebSocketRequest{['_context'];['_deferredPromise'];['timeout'];constructor(_0x4fbef1,_0x43288f){this['_context']=_0x4fbef1,this['_deferredPromise']=/* #__PURE__ -- @preserve */
_deferPromise(),this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x43288f);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x500170){this['_deferredPromise']['resolve'](_0x500170);}['error'](_0x2564f0){this['_deferredPromise']['reject'](_0x2564f0);}}class WebSocketGatewayRequestsManager{['_context'];['_requests'];constructor(_0x2ba2c9){this['_context']=_0x2ba2c9,this['_requests']=new Set();}async['send'](_0xb2e273,_0x19db54=0xafc8){const _0x1c7b9a=this['_createRequest'](_0x19db54);try{return _0xb2e273(_0x1c7b9a),await _0x1c7b9a['promise'];}finally{this['_finishRequest'](_0x1c7b9a);}}['errorAll'](_0x1dc703){for(const _0x21b3a3 of this['_requests'])_0x21b3a3['error'](_0x1dc703);}['waitForAllRequests'](_0x1d79ca=0xafc8){return this['_waitForRequests'](_0x1d79ca);}['_createRequest'](_0x503cf2){const _0x1e591d=new WebSocketRequest(this['_context'],_0x503cf2);return this['_requests']['add'](_0x1e591d),_0x1e591d;}['_finishRequest'](_0x17b106){this['_requests']['delete'](_0x17b106),clearTimeout(_0x17b106['timeout']);}async['_waitForRequests'](_0x1fa289=0x1388,_0x4ff11e=0x0){return!this['_requests']['size']||_0x4ff11e>=_0x1fa289/0x1f4?Promise['resolve']():(await new Promise(_0x578d9c=>{setTimeout(_0x578d9c,0x1f4);}),this['_waitForRequests'](_0x1fa289,_0x4ff11e++));}}function _deferPromise(){let _0x38485b,_0x5a7fa5;const _0x235ceb=new Promise((_0x4cea56,_0x255405)=>{_0x38485b=_0x4cea56,_0x5a7fa5=_0x255405;});return{'resolve':_0x38485b,'reject':_0x5a7fa5,'promise':_0x235ceb};}const WEB_SOCKET_GATEWAY_STATES={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class e extends/* #__PURE__ -- @preserve */
_0x4983cd(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>WEB_SOCKET_GATEWAY_STATES['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>WEB_SOCKET_GATEWAY_STATES['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>priorities$1['get']('highest')+0xf423f)());constructor(_0x2f91e8,_0x57638c,_0x2eb33a,_0x45eb10,_0x45957b){if(super(),this['_token']=_0x57638c,this['_options']=_0x2eb33a??{},this['_connectionProvider']=_0x45eb10??lookup,this['_userFactory']=_0x45957b??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x2f91e8)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']||(this['_options']['requestTimeout']=0x4e20),this['_url']=urlParse(_0x2f91e8['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x878062,_0x3e0b2d,_0x34e36c)=>{if(this['_debugEvent']('ws-gw:change:state',_0x34e36c),_0x34e36c!==e['STATE_CONNECTED']){if(_0x34e36c===e['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](User,this,this['_socketAuth']?.['userId']);}catch(_0x19a6d2){}},{'priority':e['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x2505dc,_0x51b1a9)=>{this['_options']['onError']?this['_options']['onError'](_0x51b1a9):console['error'](_0x51b1a9);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0xc3f884){return this['_requestsManager']['waitForAllRequests'](_0xc3f884);}['disconnect'](){this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x5d6b1a,_0x128999='local.cs.dev:443/ws-v2',_0x30e1a8={},_0x93160e=lookup,_0x249203=User['get']){const _0x1bae2c=new e(_0x128999,_0x5d6b1a,_0x30e1a8,_0x93160e,_0x249203);return await _0x1bae2c['_connect'](),_0x1bae2c;}['_sendRequest'](_0x2d330b,_0x4387ed,_0x3e60b3){if(!_0x2d330b)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==e['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x20a2a7=new ArrayBuffer(_0x3e60b3['length']+0x2),_0x51bbe9=new Uint8Array(_0x20a2a7);return _0x51bbe9[0x0]=_0x2d330b,_0x51bbe9[0x1]=parseInt(_0x4387ed),_0x51bbe9['set'](_0x3e60b3,0x2),this['_emit'](0x1,_0x51bbe9);}['_getChannel'](_0x4bb49e,_0x1d662d){const _0x34f254=''+_0x4bb49e+_0x1d662d;return!this['_channels']['has'](_0x34f254)&&this['_socket']&&this['_channels']['set'](_0x34f254,new Channel(_0x34f254,this,this['_socket'])),this['_channels']['get'](_0x34f254);}['_connect'](){return new Promise((_0x31b52b,_0x307750)=>{const _0x1e33a9=this['_setupSocket']();!this['socketId']&&_0x1e33a9['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x307750);}),_0x1e33a9['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x31b52b();}catch(_0x400deb){_0x307750(_0x400deb);}}),_0x1e33a9['connect']();});}['_getPortByProtocol'](_0x52767c){return['http:','ws:']['includes'](_0x52767c)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x300a4c=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x50e0f4=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x300a4c,_0x201482=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x51d307=this['_connectionProvider'](_0x50e0f4,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':_0x201482+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'52.6.11'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],_0x51d307['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x51d307['id'];}),_0x51d307['on']('connect_error',_0x362c28=>{this['_debugEvent']('connect_error',_0x362c28);}),_0x51d307['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x51d307['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x51d307['io']['on']('reconnect_attempt',_0x58944d=>{this['_debugEvent']('reconnect_attempt',_0x58944d),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTING'],this['_connectionAttempt']=_0x58944d;}),_0x51d307['on']('unauthorized',_0x56a237=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x56a237);}),_0x51d307['on']('authenticationRequest',async _0x1b84eb=>{this['_debugEvent']('authenticationRequest',_0x1b84eb['attempt']),await this['_onReconnect']();}),this['_socket']=_0x51d307,_0x51d307;}['_emit'](_0x44d71a,_0x40ce4f){const _0x177bb1=this['_socket'];return this['_requestsManager']['send'](_0x5025a9=>{_0x177bb1['emit'](_0x44d71a,_0x40ce4f,(_0x2eba21,_0x3ca407)=>{if(_0x2eba21)return _0x5025a9['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x2eba21));_0x5025a9['response'](_0x3ca407);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x40090d,_0x3b28cd){this['_socketAuth']={'environmentId':_0x40090d,'userId':_0x3b28cd,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTED'];const _0xbfa305=async(_0x2e6227,_0x40ce8e,_0x292fa4)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x292fa4);}catch(_0x2b1d6b){}};this['_token']['on']('change:value',_0xbfa305),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0xbfa305);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x2c0f6a of this['_channels']['values']())_0x2c0f6a['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x3989fb,_0x32dce9){if(!this['_isDebugModeEnabled']())return;const _0x91bb5f=void 0x0!==_0x32dce9?',\x20data:\x20'+_0x32dce9:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x3989fb+_0x91bb5f);}['_reconnectionAttemptError'](_0x245a24){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x245a24(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}['_onUnauthorized']({error:_0x4b00ac}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x4b00ac));}async['_authenticate'](_0x3e1456){try{this['_debugEvent']('authenticate:start');const _0x279d50=await this['_emit'](0x2,{'token':_0x3e1456});this['_debugEvent']('authenticate:success','envId:\x20'+_0x279d50['environmentId']+',\x20userId:\x20'+_0x279d50['userId']),this['_addAuthData'](_0x279d50['environmentId'],_0x279d50['userId']);}catch(_0x135067){throw this['_debugEvent']('authenticate:error',_0x135067['message']),this['_removeAuthData'](),_0x135067;}}['_isDebugModeEnabled'](){return!!_0x54bcbb['window']['localStorage']&&'true'===(_0x54bcbb['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends Message{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x177a39){super(),this['bundleVersion']=_0x177a39;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x1d6de2){return new IsEditorBundleUploadedMessage(_0x1d6de2['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x48bb33){super(),this['isUploaded']=_0x48bb33;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x4b9abd){return new IsEditorBundleUploadedResponse(_0x4b9abd['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
EmitterMixin(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x529cd9,_0x3a595a){const _0x26116d=new IsEditorBundleUploadedMessage(_0x3a595a);if(_0x529cd9['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x529cd9);const _0x5609f5=await _0x529cd9['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x26116d));return MessagesCompressor['decode'](_0x5609f5,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends Message{['documentId'];['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(_0x5844be,_0x497b44){super(),this['documentId']=_0x5844be,this['revisionId']=_0x497b44;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x361316){return new RevisionHistoryGetRevisionMessage(_0x361316['documentId'],_0x361316['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](_0x334637){return{'revisionId':_0x334637['id'],'name':_0x334637['name'],'creatorId':_0x334637['creatorId'],'createdAt':_0x334637['createdAt'],'fromVersion':_0x334637['fromVersion'],'toVersion':_0x334637['toVersion'],'isEmptyCurrent':_0x334637['isEmptyCurrent'],'diffData':_0x334637['diffData']?JSON['stringify'](_0x334637['diffData']):void 0x0,'attributes':_0x334637['attributes'],'authorsIds':_0x334637['authorsIds']};}static['toJSON'](_0x505849){return{'revisionId':_0x505849['revisionId'],'name':_0x505849['name'],'creatorId':_0x505849['creatorId'],'authorsIds':_0x505849['authorsIds']?JSON['stringify'](_0x505849['authorsIds']):void 0x0,'diffData':_0x505849['diffData'],'createdAt':_0x505849['createdAt']?.['toISOString'](),'attributes':_0x505849['attributes']?JSON['stringify'](_0x505849['attributes']):void 0x0,'toVersion':_0x505849['toVersion'],'fromVersion':_0x505849['fromVersion'],'isEmptyCurrent':_0x505849['isEmptyCurrent']};}static['fromJSON'](_0x4e2bcd){return{'revisionId':(_0x4e2bcd={..._0x4e2bcd})['revisionId'],'name':_0x4e2bcd['name'],'creatorId':_0x4e2bcd['creatorId'],'authorsIds':_0x4e2bcd['authorsIds']?JSON['parse'](_0x4e2bcd['authorsIds']):void 0x0,'diffData':_0x4e2bcd['diffData'],'createdAt':_0x4e2bcd['createdAt']?new Date(_0x4e2bcd['createdAt']):void 0x0,'attributes':_0x4e2bcd['attributes']?JSON['parse'](_0x4e2bcd['attributes']):void 0x0,'toVersion':_0x4e2bcd['toVersion'],'fromVersion':_0x4e2bcd['fromVersion'],'isEmptyCurrent':_0x4e2bcd['isEmptyCurrent']};}static['toObject'](_0x4e8cab){return function(_0x4ef1cb){for(const [_0x419531,_0x4c1f31]of Object['entries'](_0x4ef1cb))void 0x0===_0x4c1f31&&delete _0x4ef1cb[_0x419531];return _0x4ef1cb;}({'id':_0x4e8cab['revisionId'],'name':_0x4e8cab['name'],'creatorId':_0x4e8cab['creatorId'],'createdAt':_0x4e8cab['createdAt'],'fromVersion':_0x4e8cab['fromVersion'],'toVersion':_0x4e8cab['toVersion'],'isEmptyCurrent':_0x4e8cab['isEmptyCurrent'],'diffData':_0x4e8cab['diffData']?JSON['parse'](_0x4e8cab['diffData']):void 0x0,'attributes':_0x4e8cab['attributes'],'authorsIds':_0x4e8cab['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends Message{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x23b92a,_0x478f53,_0x12add7,_0x4dff24,_0x1ee203,_0x1fdd3d,_0x5b1935,_0x76a367,_0x27ca9f,_0x572a1e){super(),this['revisionId']=_0x23b92a,this['name']=_0x478f53,this['creatorId']=_0x12add7,this['authorsIds']=_0x4dff24,this['createdAt']=_0x1ee203,this['diffData']=_0x1fdd3d,this['attributes']=_0x5b1935,this['fromVersion']=_0x76a367,this['toVersion']=_0x27ca9f,this['isEmptyCurrent']=_0x572a1e;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x3a1239){return new RevisionHistoryGetRevisionResponse(_0x3a1239['revisionId'],_0x3a1239['name'],_0x3a1239['creatorId'],_0x3a1239['authorsIds'],_0x3a1239['createdAt'],_0x3a1239['diffData'],_0x3a1239['attributes'],_0x3a1239['fromVersion'],_0x3a1239['toVersion'],_0x3a1239['isEmptyCurrent']);}static['fromJSON'](_0x6133f7){return new RevisionHistoryGetRevisionResponse(_0x6133f7['revisionId'],_0x6133f7['name'],_0x6133f7['creatorId'],_0x6133f7['authorsIds']?JSON['parse'](_0x6133f7['authorsIds']):void 0x0,_0x6133f7['createdAt']?new Date(_0x6133f7['createdAt']):void 0x0,_0x6133f7['diffData'],_0x6133f7['attributes']?JSON['parse'](_0x6133f7['attributes']):void 0x0,_0x6133f7['fromVersion'],_0x6133f7['toVersion'],_0x6133f7['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends Message{['documentId'];['requestId'];['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(_0x115bb6,_0x974815,_0x1ad2d7){super(),this['documentId']=_0x115bb6,this['requestId']=_0x974815,this['revisions']=_0x1ad2d7;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x4f36c9){return new RevisionHistoryUpdateRevisionsMessage(_0x4f36c9['documentId'],_0x4f36c9['requestId'],_0x4f36c9['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x34c6b8){return new RevisionHistoryUpdateRevisionsMessage(_0x34c6b8['documentId'],_0x34c6b8['requestId'],_0x34c6b8['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x3826f4){super(),this['requestId']=_0x3826f4;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0xa4e9b9){return new RevisionHistoryUpdateRevisionsResponse(_0xa4e9b9['requestId']);}}class RevisionHistoryConnectMessage extends Message{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5bc9a4){super(),this['documentId']=_0x5bc9a4;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5229bb){return new RevisionHistoryConnectMessage(_0x5229bb['documentId']);}}class RevisionHistoryConnectResponse extends Message{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x1cbb94,_0xa98b63,_0x1fe8a5){super(),this['channel']=_0x1cbb94,this['requestId']=_0xa98b63,this['revisions']=_0x1fe8a5;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x3a14ec){return new RevisionHistoryConnectResponse(_0x3a14ec['channel'],_0x3a14ec['requestId'],_0x3a14ec['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends Message{['documentId'];['requestId'];static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(_0x5e9b27,_0x3feeb9){super(),this['documentId']=_0x5e9b27,this['requestId']=_0x3feeb9;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x28190a){return new RevisionHistoryReconnectMessage(_0x28190a['documentId'],_0x28190a['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x3b6b41,_0x485024){super(_0x3b6b41+'\x20Service\x20is\x20not\x20connected.',_0x485024);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
EmitterMixin(){['_documentId'];['_isConnected'];['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x3d410c){super(),this['_documentId']=_0x3d410c,this['_isConnected']=!0x1;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x43881f){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x43881f,new RevisionHistoryConnectMessage(this['_documentId']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}['reconnect'](_0xfc5d3e,_0x821376){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0xfc5d3e);return this['_connect'](_0xfc5d3e,new RevisionHistoryReconnectMessage(this['_documentId'],_0x821376));}async['updateRevisions'](_0x3c3c0f,_0x371039){const _0x3e841c=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x371039,'revisions':_0x3c3c0f}),_0x15dfa4=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x3e841c),{requestId:_0x2d6030}=MessagesCompressor['decode'](_0x15dfa4,RevisionHistoryUpdateRevisionsResponse);return _0x2d6030;}async['getRevision'](_0x6ad5f2){const _0x20c7c8=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x6ad5f2),_0x369503=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x20c7c8);return MessagesCompressor['decode'](_0x369503,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x1dce66,_0x3520f9){if(_0x1dce66['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x1dce66);this['_wsGateway']=_0x1dce66,this['stopListening'](_0x1dce66,'change:state');const _0x324861=await _0x1dce66['_sendRequest'](0xc,_0x3520f9['constructor']['TYPE'],MessagesCompressor['encode'](_0x3520f9)),{channel:_0x5b5004,requestId:_0x44bcdc,revisions:_0xe12318}=MessagesCompressor['decode'](_0x324861,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x1dce66,'change:state',(_0x5038f8,_0x256cd1,_0x2aac63)=>this['_onWsGatewayStateChange'](_0x2aac63),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x1dce66,_0x5b5004),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xe12318,'requestId':_0x44bcdc};}['_connectToChannel'](_0x2f4c0d,_0x306a77){this['_channel']=_0x2f4c0d['_getChannel'](RevisionHistoryService['_SERVICE'],_0x306a77),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x14b6a9,_0x3b2e2e)=>{const {documentId:_0x29cedf,requestId:_0x4bae9e,revisions:_0x3e4068}=MessagesCompressor['decode'](_0x3b2e2e,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x29cedf,'requestId':_0x4bae9e,'revisionsData':_0x3e4068});});}['_onWsGatewayStateChange'](_0x5f5c28){_0x5f5c28===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x562791,_0x274ff8){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x562791,MessagesCompressor['encode'](_0x274ff8));}}class AddSuggestionMessage extends Message{['id'];['documentId'];['type'];['data'];['originalSuggestionId'];['attributes'];static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x17806b,_0x155485,_0x1a670a,_0xf8ffe2={},_0x26d118=null,_0xc0c530=null){super(),this['id']=_0x17806b,this['documentId']=_0x155485,this['type']=_0x1a670a,this['data']=_0xf8ffe2,this['originalSuggestionId']=_0x26d118,this['attributes']=_0xc0c530;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x31dade){return new AddSuggestionMessage(_0x31dade['id'],_0x31dade['documentId'],_0x31dade['type'],JSON['parse'](_0x31dade['data']),_0x31dade['originalSuggestionId']??null,_0x31dade['attributes']?JSON['parse'](_0x31dade['attributes']):null);}}class AddSuggestionResponse extends Message{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x4dbf1b,_0x5d60ac,_0x44e60d,_0xb76747,_0x3e08a3,_0x5977a1,_0x46729b={},_0x181f89=null){super(),this['id']=_0x4dbf1b,this['authorId']=_0x5d60ac,this['type']=_0x44e60d,this['hasComments']=_0x3e08a3,this['state']=_0x5977a1,this['data']=_0x46729b,this['attributes']=_0x181f89,this['createdAt']=_0xb76747?new Date(_0xb76747):void 0x0;}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x48e834){return new AddSuggestionResponse(_0x48e834['id'],_0x48e834['authorId'],_0x48e834['type'],_0x48e834['createdAt'],_0x48e834['hasComments'],_0x48e834['state'],JSON['parse'](_0x48e834['data']),_0x48e834['attributes']?JSON['parse'](_0x48e834['attributes']):null);}}class GetSuggestionMessage extends Message{['id'];['documentId'];static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x1da117,_0x5b1465){super(),this['id']=_0x1da117,this['documentId']=_0x5b1465;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x1d186a){return new GetSuggestionMessage(_0x1d186a['id'],_0x1d186a['documentId']);}}class GetSuggestionResponse extends Message{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0xb9f640,_0x27c3e8,_0x4638d1,_0x514d44,_0x10a3d6,_0x1027b5,_0x4bd826={},_0xa5dde4=null){super(),this['id']=_0xb9f640,this['authorId']=_0x27c3e8,this['type']=_0x4638d1,this['hasComments']=_0x10a3d6,this['state']=_0x1027b5,this['data']=_0x4bd826,this['attributes']=_0xa5dde4,this['createdAt']=new Date(_0x514d44);}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x2b2836){return new GetSuggestionResponse(_0x2b2836['id'],_0x2b2836['authorId'],_0x2b2836['type'],_0x2b2836['createdAt'],_0x2b2836['hasComments'],_0x2b2836['state'],JSON['parse'](_0x2b2836['data']),_0x2b2836['attributes']?JSON['parse'](_0x2b2836['attributes']):null);}}class GetAllSuggestionsMessage extends Message{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x1b7d06){super(),this['documentId']=_0x1b7d06;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x29090b){return new GetAllSuggestionsMessage(_0x29090b['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static['toJSON'](_0x1a73c9){return{..._0x1a73c9,'data':_0x1a73c9['data']?JSON['stringify'](_0x1a73c9['data']):_0x1a73c9['data'],'attributes':_0x1a73c9['attributes']?JSON['stringify'](_0x1a73c9['attributes']):_0x1a73c9['attributes'],'createdAt':_0x1a73c9['createdAt']?.['toISOString']()};}static['fromJSON'](_0x860b22){return{..._0x860b22,'data':_0x860b22['data']?JSON['parse'](_0x860b22['data']):_0x860b22['data'],'attributes':_0x860b22['attributes']?JSON['parse'](_0x860b22['attributes']):_0x860b22['attributes'],'createdAt':_0x860b22['createdAt']?new Date(_0x860b22['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_0xbb9ff6,_0x24417f){super(),this['_suggestions']=_0xbb9ff6,this['_suggestionsV2']=_0x24417f,this['suggestions']=_0x24417f?.['length']?_0x24417f:_0xbb9ff6;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x3a71c6=>JSON['stringify'](_0x3a71c6)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x5b473b){return new GetAllSuggestionResponse(_0x5b473b['suggestions']?.['map'](_suggestionFromString),_0x5b473b['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x35a08d){const _0x90f91f=JSON['parse'](_0x35a08d);return _0x90f91f['createdAt']=_0x90f91f['createdAt']?new Date(_0x90f91f['createdAt']):void 0x0,_0x90f91f;}class UpdateSuggestionMessage extends Message{['id'];['documentId'];['hasComments'];['isHasCommentsModified'];['state'];['attributes'];static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x20da1c,_0x4d145b,_0x167d78,_0x7d39cd,_0xa6ace8,_0x422365=null){super(),this['id']=_0x20da1c,this['documentId']=_0x4d145b,this['hasComments']=_0x167d78,this['isHasCommentsModified']=_0x7d39cd,this['state']=_0xa6ace8,this['attributes']=_0x422365;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5ac3f8){return new UpdateSuggestionMessage(_0x5ac3f8['id'],_0x5ac3f8['documentId'],_0x5ac3f8['hasComments'],_0x5ac3f8['isHasCommentsModified'],_0x5ac3f8['state'],_0x5ac3f8['attributes']?JSON['parse'](_0x5ac3f8['attributes']):null);}}let ConnectMessage$1=class e extends Message{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x971aa3){super(),this['documentId']=_0x971aa3;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x19a35c){return new e(_0x19a35c['documentId']);}},ConnectResponse$1=class e extends Message{['channel'];['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x2a6457,_0x2cd316,_0x5d8a37){super(),this['channel']=_0x2a6457,this['_suggestions']=_0x2cd316,this['_suggestionsV2']=_0x5d8a37,this['suggestions']=_0x5d8a37?.['length']?_0x5d8a37:_0x2cd316;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x251b8d=>JSON['stringify'](_0x251b8d)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x398695){return new e(_0x398695['channel'],_0x398695['suggestions']?.['map'](_0x5aa6bb=>JSON['parse'](_0x5aa6bb)),_0x398695['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['ids'];['documentId'];['state'];static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x387672,_0x18ee94,_0x8327c1){super(),this['ids']=_0x387672,this['documentId']=_0x18ee94,this['state']=_0x8327c1;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0xfba5ed){return new BatchUpdateSuggestionsStateMessage(_0xfba5ed['ids'],_0xfba5ed['documentId'],_0xfba5ed['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
EmitterMixin(){['_documentId'];['_isConnected'];['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x91ce31){super(),this['_documentId']=_0x91ce31,this['_isConnected']=!0x1;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x5a5fa8){if(this['_isConnected'])return;if(_0x5a5fa8['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x5a5fa8);const _0x322ac7=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x5a5fa8,this['stopListening'](_0x5a5fa8,'change:state');const _0x3694f3=await _0x5a5fa8['_sendRequest'](0xa,ConnectMessage$1['TYPE'],MessagesCompressor['encode'](_0x322ac7)),_0x50433c=MessagesCompressor['decode'](_0x3694f3,ConnectResponse$1);return this['listenTo'](_0x5a5fa8,'change:state',(_0x1d0b70,_0x65b606,_0x5618ab)=>this['_onWsGatewayStateChange'](_0x5618ab),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x5a5fa8,_0x50433c['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x50433c['suggestions'];}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x2820a1,_0x4fbcaf,_0x35fdd7,_0x13ae7d=null,_0x89beb5){const _0x3d663a=new AddSuggestionMessage(_0x2820a1,this['_documentId'],_0x4fbcaf,_0x35fdd7,_0x13ae7d,_0x89beb5),_0x2918ac=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x3d663a);return MessagesCompressor['decode'](_0x2918ac,AddSuggestionResponse);}async['get'](_0x5b5df5,_0x5a5c89=0x1){const _0x550a7a=new GetSuggestionMessage(_0x5b5df5,this['_documentId']);try{const _0x303e4d=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x550a7a);return MessagesCompressor['decode'](_0x303e4d,GetSuggestionResponse);}catch(_0x62ab8){if('CKEditorCloudServicesServerError'===_0x62ab8['name']&&'404'===_0x62ab8['code']&&_0x5a5c89<0x5)return await(_0x4303ad=0x64*_0x5a5c89,new Promise(_0x445578=>{setTimeout(_0x445578,_0x4303ad);})),this['get'](_0x5b5df5,_0x5a5c89+0x1);if('CKEditorCloudServicesServerError'===_0x62ab8['name'])throw _0x62ab8;throw CKEditorCloudServicesServerError['fromPublicError'](_0x62ab8);}var _0x4303ad;}async['getAll'](){const _0x5d1887=new GetAllSuggestionsMessage(this['_documentId']),_0x3b57de=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x5d1887),{suggestions:_0xde87f}=MessagesCompressor['decode'](_0x3b57de,GetAllSuggestionResponse);return _0xde87f;}async['update'](_0x3885a5,_0x5258eb={}){const {hasComments:_0x9acdb0,state:_0x33deca,attributes:_0x4ec4ac}=_0x5258eb,_0x163adb=void 0x0!==_0x9acdb0,_0x36712a=new UpdateSuggestionMessage(_0x3885a5,this['_documentId'],_0x9acdb0,_0x163adb,_0x33deca,_0x4ec4ac);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x36712a);}async['batchUpdateState'](_0x112127){const _0x20aa8a=new BatchUpdateSuggestionsStateMessage(_0x112127['ids'],this['_documentId'],_0x112127['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x20aa8a);}['_connectToChannel'](_0x1156b5,_0x2088be){this['_channel']=_0x1156b5['_getChannel'](TrackChangesService['_SERVICE'],_0x2088be),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x3b3dc6,_0x30e982)=>{const _0x11e47a=MessagesCompressor['decode'](_0x30e982,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x11e47a);});}['_onWsGatewayStateChange'](_0x25ce73){_0x25ce73===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x1c993b,_0x4dbd77){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x1c993b,MessagesCompressor['encode'](_0x4dbd77));}}class SessionsConnectResponse extends Message{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x36f86d,_0x3b3682=[]){super(),this['channel']=_0x36f86d,this['sockets']=_0x3b3682;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x5f23eb=>({'user':_0x5f23eb['userId'],'session':_0x5f23eb['id'],'role':_0x5f23eb['role'],'permissions':_0x5f23eb['permissions']}))};}static['fromJSON'](_0x3407fa){return new SessionsConnectResponse(_0x3407fa['channel'],_0x3407fa['sockets']['map'](_0x379343=>({'id':_0x379343['session'],'userId':_0x379343['user'],'role':_0x379343['role'],'permissions':_0x379343['permissions']})));}}class SessionsConnectMessage extends Message{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x5243eb,_0x65efe9){super(),this['id']=_0x5243eb,this['sessionType']=_0x65efe9;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x4caa2c){return new SessionsConnectMessage(_0x4caa2c['id'],_0x4caa2c['sessionType']);}}class SocketConnectMessage extends Message{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x31c274,_0x553443,_0x102c70,_0x2ebbe2){super(),this['id']=_0x31c274,this['userId']=_0x553443,this['role']=_0x102c70,this['permissions']=_0x2ebbe2;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x371c4e){return new SocketConnectMessage(_0x371c4e['id'],_0x371c4e['userId'],_0x371c4e['role'],_0x371c4e['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x38258b){super(),this['id']=_0x38258b;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x3adb54){return new SocketDisconnectMessage(_0x3adb54['id']);}}class SessionCollection extends Collection$1{['_id'];['_sessionType'];['_handlers'];['_channel'];['_wsGateway'];['_connected'];['_eventsQueue'];['_isRunning'];constructor(_0x71ce80,_0x502b33){super({'idProperty':'id'}),this['_id']=_0x71ce80,this['_sessionType']=_0x502b33,this['_handlers']=new Map(),this['_eventsQueue']=[],this['_isRunning']=!0x1;}async['connect'](_0x4eb5fe){this['_wsGateway']=_0x4eb5fe,this['stopListening'](_0x4eb5fe,'change:state');const _0x5a9f3f=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x471c4d;try{const _0x374abc=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x5a9f3f));_0x471c4d=MessagesCompressor['decode'](_0x374abc,SessionsConnectResponse);}catch(_0x3cac14){_0x471c4d=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x471c4d['channel'],this['_sessionType']);const _0xcf9e1a=await async function(_0x95be0f,_0x37abd5){const _0x3bdae3=_0x37abd5['map'](_0x4e6951=>_0x4e6951['userId']),_0x5aee75=_0x3bdae3['length']?await User['getMany'](_0x95be0f,_0x3bdae3):[];return _0x37abd5['map'](_0x450267=>{const _0x6c93f2={'id':_0x450267['id'],'role':_0x450267['role'],'permissions':_0x450267['permissions']};return _0x6c93f2['user']=_0x450267['userId']&&_0x5aee75['find'](_0x53cf5a=>_0x53cf5a['id']===_0x450267['userId'])||new User(),_0x6c93f2;});}(this['_wsGateway'],_0x471c4d['sockets']);for(const _0x41890e of _0xcf9e1a)super['add'](_0x41890e);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0xe5042a,_0x4be6cd,_0x150139)=>this['_onWsGatewayStateChange'](_0x150139),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x5a86fc=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x5a86fc&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x5a86fc&&this['stopListening']();}}['add'](_0xb6ca41,_0x4382c5){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x4b1629){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x4aa0a9,_0x3e43df,_0x3dff49){this['_channel']=_0x4aa0a9['_getChannel'](_0x3dff49,_0x3e43df),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x56e945=>{const _0xb9ba0a=MessagesCompressor['decode'](_0x56e945,SocketConnectMessage);if(-0x1===this['getIndex'](_0xb9ba0a['id'])){const _0x5ba28a={'id':_0xb9ba0a['id'],'role':_0xb9ba0a['role'],'permissions':_0xb9ba0a['permissions']};_0xb9ba0a['userId']&&(_0x5ba28a['user']=await User['get'](_0x4aa0a9,_0xb9ba0a['userId'])),super['add'](_0x5ba28a);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x5e7da3=>{const _0x17210d=MessagesCompressor['decode'](_0x5e7da3,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x17210d['id'])&&super['remove'](_0x17210d['id']);}));}async['_onWsGatewayStateChange'](_0x215290){_0x215290===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x215290===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x58a43c;for(this['_isRunning']=!0x0;_0x58a43c=this['_eventsQueue']['shift']();){const _0x2a02fb=this['_handlers']['get'](_0x58a43c['eventName']);_0x2a02fb&&await _0x2a02fb(_0x58a43c['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x1c0d2d,_0x305717,_0x3ec6b6){const _0x55b306=_0x1c0d2d['getEventName'](_0x305717,!0x0);this['listenTo'](_0x1c0d2d,_0x55b306,async(_0x430f5e,_0x17fe72)=>{const _0x1e0b69=_0x430f5e['name'];this['_eventsQueue']['push']({'eventName':_0x1e0b69,'data':_0x17fe72}),await this['_runQueue']();}),this['_handlers']['set'](_0x55b306,_0x3ec6b6);}}let Sessions$1=class{static async['getConnectedSessions'](_0x224f15,_0xe4156,_0xf87c48){const _0x373b9c=new SessionCollection(_0xe4156,_0xf87c48);return await _0x373b9c['connect'](_0x224f15),_0x373b9c;}};class CollaborativeEditingConnectMessage extends Message{['id'];['buffers'];['types'];['bundleVersion'];['lastOperationId'];static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x3ae2d9,_0xa5bff0,_0x451ebc,_0x3c94d0,_0x3444b9=''){super(),this['id']=_0x3ae2d9,this['buffers']=_0xa5bff0,this['types']=_0x451ebc,this['bundleVersion']=_0x3c94d0,this['lastOperationId']=_0x3444b9;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x1d8db3){return new CollaborativeEditingConnectMessage(_0x1d8db3['id'],_0x1d8db3['buffers'],_0x1d8db3['types'],_0x1d8db3['bundleVersion'],_0x1d8db3['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0xea091c,_0x5dc33d){if(!(_0xea091c&&_0xea091c['length']&&_0x5dc33d&&_0x5dc33d['length']))return[];const _0x453d70=[];let _0x40d7c5=0x0;for(const _0x478a16 of _0xea091c)if(0x0!==_0x478a16){if(!_0x5dc33d[_0x40d7c5])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x453d70['push'](_0x5dc33d[_0x40d7c5]),_0x40d7c5++;}else _0x453d70['push'](_0x453d70[_0x453d70['length']-0x1]);return _0x453d70;}static['removeUnnecessaryMetadata'](_0x3a22fc,_0x19b627){if(!(_0x3a22fc&&_0x3a22fc['length']&&_0x19b627&&_0x19b627['length']))return[];const _0x1f9e6d=[];for(let _0x5f09db=0x0;_0x5f09db<_0x3a22fc['length'];_0x5f09db++)if(0x0!==_0x3a22fc[_0x5f09db]){if(!_0x19b627[_0x5f09db])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x1f9e6d['push'](_0x19b627[_0x5f09db]);}return _0x1f9e6d;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x2ac188,..._0x541904}){const _0xc01df1={..._0x541904};return _0x2ac188?.['toISOString']&&(_0xc01df1['createdAt']=_0x2ac188['toISOString']()),_0xc01df1;}static['fromJSON']({createdAt:_0x425005,..._0x4df2ee}){const _0x4bccf8={..._0x4df2ee};return _0x425005&&(_0x4bccf8['createdAt']=new Date(_0x425005)),_0x4bccf8;}}class CollaborativeEditingUpdateMessage extends Message{['id'];['buffers'];['types'];['baseVersion'];['metadata'];['lastOperationId'];static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x4e6b53,_0xcb562e,_0x28103d,_0x3d0007,_0x3c0608=[],_0x14292e=''){super(),this['id']=_0x4e6b53,this['buffers']=_0xcb562e,this['types']=_0x28103d,this['baseVersion']=_0x3d0007,this['metadata']=_0x3c0608,this['lastOperationId']=_0x14292e;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x28f357){return new CollaborativeEditingUpdateMessage(_0x28f357['id'],_0x28f357['buffers'],_0x28f357['types'],_0x28f357['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x28f357['types'],_0x28f357['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x28f357['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends Message{['id'];['lastKnowVersion'];['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0xe053ca,_0x2ad64d,_0xda93f5){super(),this['id']=_0xe053ca,this['lastKnowVersion']=_0x2ad64d,this['bundleVersion']=_0xda93f5;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x3ac739){return new CollaborativeEditingReconnectMessage(_0x3ac739['id'],_0x3ac739['lastKnowVersion'],_0x3ac739['bundleVersion']);}}class CollaborativeEditingResponse extends Message{['version'];['buffers'];['types'];['metadata'];['lastOperationId'];['lastOperationAcceptedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0x22ad45,_0x1fe2e7=[],_0x877340=[],_0x824efe=[],_0x3aea54='',_0x3b8584=null){super(),this['version']=_0x22ad45,this['buffers']=_0x1fe2e7,this['types']=_0x877340,this['metadata']=_0x824efe,this['lastOperationId']=_0x3aea54,this['lastOperationAcceptedAt']=_0x3b8584;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}['toJSON'](){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x526ce3){return new CollaborativeEditingResponse(_0x526ce3['version'],_0x526ce3['buffers'],_0x526ce3['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x526ce3['types'],_0x526ce3['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x526ce3['lastOperationId'],_0x526ce3['lastOperationAcceptedAt']?new Date(_0x526ce3['lastOperationAcceptedAt']):null);}static['create'](_0x1dc4e8){return new CollaborativeEditingResponse(_0x1dc4e8['version'],_0x1dc4e8['buffers'],_0x1dc4e8['types'],_0x1dc4e8['metadata'],_0x1dc4e8['lastOperationId'],_0x1dc4e8['lastOperationAcceptedAt']?new Date(_0x1dc4e8['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends Message{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x4ae3c1,_0x4a1763,_0x7f827e=[],_0x1e2e0a=[],_0x3034ad=0x0,_0x2e89e3=[],_0x47ed92=null,_0x38dfe3='',_0x32a85c='',_0x472a09=null){super(),this['channel']=_0x4ae3c1,this['version']=_0x4a1763,this['buffers']=_0x7f827e,this['types']=_0x1e2e0a,this['offset']=_0x3034ad,this['metadata']=_0x2e89e3,this['initData']=_0x47ed92,this['sessionId']=_0x38dfe3,this['lastOperationId']=_0x32a85c,this['sessionCreatedAt']=_0x472a09;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}['toJSON'](){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x2db3f8){return new CollaborativeEditingConnectResponse(_0x2db3f8['channel'],_0x2db3f8['version'],_0x2db3f8['buffers'],_0x2db3f8['types'],_0x2db3f8['offset'],_0x2db3f8['metadata'],_0x2db3f8['initData'],_0x2db3f8['sessionId'],_0x2db3f8['lastOperationId'],_0x2db3f8['sessionCreatedAt']);}static['fromJSON'](_0xb845b3){let _0x40912c=null;return!0x0===_0xb845b3['isInitialized']?_0x40912c=_0xb845b3['initData']??'':'boolean'!=typeof _0xb845b3['isInitialized']&&_0xb845b3['initData']&&(_0x40912c=_0xb845b3['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0xb845b3['channel'],'version':_0xb845b3['version'],'buffers':_0xb845b3['buffers'],'types':_0xb845b3['types'],'offset':_0xb845b3['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0xb845b3['types'],_0xb845b3['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x40912c,'sessionId':_0xb845b3['sessionId'],'lastOperationId':_0xb845b3['lastOperationId'],'sessionCreatedAt':_0xb845b3['sessionCreatedAt']?new Date(_0xb845b3['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends Message{['lastDocumentSession'];['currentDocumentSession'];static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(_0x388ce7,_0x30aa71){super(),this['lastDocumentSession']=_0x388ce7,this['currentDocumentSession']=_0x30aa71;}get['data'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}['toJSON'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](_0x15eebd){const _0x1f79ac=_0x15eebd['lastDocumentSessionId']?{'id':_0x15eebd['lastDocumentSessionId'],'lastOperationId':_0x15eebd['lastDocumentSessionOperationId']}:void 0x0,_0x56707d=_0x15eebd['currentDocumentSessionId']?{'lastOperationId':_0x15eebd['currentDocumentSessionOperationId'],'version':_0x15eebd['currentDocumentSessionVersion'],'id':_0x15eebd['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x1f79ac,_0x56707d);}}class GetDocumentDetailsMessage extends Message{['documentId'];static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(_0xde9e7d){super(),this['documentId']=_0xde9e7d;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x457455){return new GetDocumentDetailsMessage(_0x457455['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
EmitterMixin(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x428695,_0x188193){if(super(),!_0x428695)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x188193??v4(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x428695;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0xd1bc32,_0x21fa46={'buffers':[],'types':[]},_0x3f9664){const _0x1cc65d=new CollaborativeEditingConnectMessage(this['getId'](),_0x21fa46['buffers'],_0x21fa46['types'],this['_bundleVersion'],_0x3f9664);return this['_connect'](_0xd1bc32,_0x1cc65d);}['reconnect'](_0x2a0ced,_0x3b575c){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x2a0ced);return this['_connect'](_0x2a0ced,new CollaborativeEditingReconnectMessage(this['getId'](),_0x3b575c,this['_bundleVersion']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['getDocumentDetails'](){const _0x5bc1ec=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x51b8b5=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x5bc1ec));return MessagesCompressor['decode'](_0x51b8b5,GetDocumentDetailsResponse);}async['sendOperations'](_0x3b8563,_0x4c44de,_0x260756){if(!_0x3b8563||!_0x3b8563['types']||!_0x3b8563['types']['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x5f2c2e='number'==typeof _0x4c44de?_0x4c44de:parseInt(_0x4c44de);if(!Number['isInteger'](_0x5f2c2e)||_0x5f2c2e<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x230dcc=new CollaborativeEditingUpdateMessage(this['getId'](),_0x3b8563['buffers'],_0x3b8563['types'],_0x5f2c2e,[],_0x260756);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x217137=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x230dcc));return MessagesCompressor['decode'](_0x217137,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await Sessions$1['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x44a412,_0x4b1ed9){return Sessions$1['getConnectedSessions'](_0x44a412,_0x4b1ed9,0x1);}async['_connect'](_0x310d38,_0x349b6a){if(this['isConnected']())return;if(_0x310d38['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x310d38);this['_wsGateway']=_0x310d38,this['stopListening'](_0x310d38,'change:state');const _0x405342=await _0x310d38['_sendRequest'](0x1,_0x349b6a['constructor']['TYPE'],MessagesCompressor['encode'](_0x349b6a)),_0x1b65ef=MessagesCompressor['decode'](_0x405342,CollaborativeEditingConnectResponse);return this['listenTo'](_0x310d38,'change:state',(_0x4d3872,_0x45a723,_0xa691e2)=>this['_onWsGatewayStateChange'](_0xa691e2),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x310d38,_0x1b65ef['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x1b65ef;}['_connectToChannel'](_0xb446cc,_0x775ca3){this['_channel']=_0xb446cc['_getChannel'](0x1,_0x775ca3),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x5a935f,_0x24335d)=>{const _0x2adcab=MessagesCompressor['decode'](_0x24335d,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x2adcab['baseVersion'],_0x2adcab['data'],_0x2adcab['metadata']);});}['_onWsGatewayStateChange'](_0x1da84d){_0x1da84d===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static['toJSON'](_0x1a0f93){return{..._0x1a0f93,'createdAt':_0x1a0f93['createdAt']?.['toISOString'](),'attributes':_0x1a0f93['attributes']?JSON['stringify'](_0x1a0f93['attributes']):null};}static['fromJSON'](_0x336522){return{..._0x336522,'createdAt':new Date(_0x336522['createdAt']),'attributes':_0x336522['attributes']?JSON['parse'](_0x336522['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static['toJSON'](_0x186125){return{..._0x186125,'createdAt':_0x186125['createdAt']?.['toISOString'](),'deletedAt':_0x186125['deletedAt']?.['toISOString'](),'resolvedAt':_0x186125['resolvedAt']?.['toISOString'](),'attributes':_0x186125['attributes']?JSON['stringify'](_0x186125['attributes']):null,'context':_0x186125['context']?JSON['stringify'](_0x186125['context']):_0x186125['context'],'comments':_0x186125['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x186125['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x2eb3ac){return{..._0x2eb3ac,'createdAt':_0x2eb3ac['createdAt']?new Date(_0x2eb3ac['createdAt']):void 0x0,'deletedAt':_0x2eb3ac['deletedAt']?new Date(_0x2eb3ac['deletedAt']):void 0x0,'resolvedAt':_0x2eb3ac['resolvedAt']?new Date(_0x2eb3ac['resolvedAt']):void 0x0,'attributes':_0x2eb3ac['attributes']?JSON['parse'](_0x2eb3ac['attributes']):null,'context':_0x2eb3ac['context']?JSON['parse'](_0x2eb3ac['context']):void 0x0,'comments':_0x2eb3ac['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x2eb3ac['unlinkedAt']?new Date(_0x2eb3ac['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{['documentId'];['commentThreadId'];['content'];['commentId'];['userId'];['attributes'];['commentThread'];['createdAt'];static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(_0x5bae22,_0x595d10,_0xb6f9b2,_0x3c4ea6='',_0x45c71b,_0x582836='',_0x4a3b9e=null,_0xe93003){super(),this['documentId']=_0x5bae22,this['commentThreadId']=_0x595d10,this['content']=_0xb6f9b2,this['commentId']=_0x3c4ea6,this['userId']=_0x582836,this['attributes']=_0x4a3b9e,this['commentThread']=_0xe93003,this['createdAt']=_0x45c71b?new Date(_0x45c71b):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x57ac21){return new AddCommentMessage(_0x57ac21['documentId'],_0x57ac21['commentThreadId'],_0x57ac21['content'],_0x57ac21['commentId']?_0x57ac21['commentId']:void 0x0,_0x57ac21['createdAt']?new Date(_0x57ac21['createdAt']):void 0x0,_0x57ac21['userId']?_0x57ac21['userId']:void 0x0,_0x57ac21['attributes']?JSON['parse'](_0x57ac21['attributes']):{},_0x57ac21['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x57ac21['commentThread']):void 0x0);}}class AddCommentResponse extends Message{['commentThreadId'];['commentId'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(_0x4ca815,_0x3297f7,_0x84efbd){super(),this['commentThreadId']=_0x4ca815,this['commentId']=_0x3297f7,this['createdAt']=new Date(_0x84efbd);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x3fd721){return new AddCommentResponse(_0x3fd721['commentThreadId'],_0x3fd721['commentId'],_0x3fd721['createdAt']);}}class ConnectMessage extends Message{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x1ae85b){super(),this['documentId']=_0x1ae85b;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4246ba){return new ConnectMessage(_0x4246ba['documentId']);}}class ConnectResponse extends Message{['channel'];['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x16c9f1,_0x8bb321,_0x1dec38){super(),this['channel']=_0x16c9f1,this['_threads']=_0x8bb321,this['_threadsV2']=_0x1dec38,this['threads']=_0x1dec38?.['length']?_0x1dec38:_0x8bb321;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x4020f2=>JSON['stringify'](_0x4020f2)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x501284){return new ConnectResponse(_0x501284['channel'],_0x501284['threads']?.['map'](_0x49551a=>JSON['parse'](_0x49551a)),_0x501284['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{['documentId'];['commentThreadId'];['commentId'];static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(_0x491ad7,_0x23969c,_0x1ee44d){super(),this['documentId']=_0x491ad7,this['commentThreadId']=_0x23969c,this['commentId']=_0x1ee44d;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x3c355f){return new RemoveCommentMessage(_0x3c355f['documentId'],_0x3c355f['commentThreadId'],_0x3c355f['commentId']);}}class RemoveCommentThreadMessage extends Message{['documentId'];['commentThreadId'];static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x1f54fe,_0xf2cfd3){super(),this['documentId']=_0x1f54fe,this['commentThreadId']=_0xf2cfd3;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x24c84f){return new RemoveCommentThreadMessage(_0x24c84f['documentId'],_0x24c84f['commentThreadId']);}}class UpdateCommentMessage extends Message{['documentId'];['commentThreadId'];['commentId'];['content'];['attributes'];['isAttributesUpdated'];['commentThread'];static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(_0x5cc101,_0x1ddce3,_0x267d16,_0xf04f90,_0x2a73e5=null,_0x5e6e88=!0x1,_0x14a3a8){super(),this['documentId']=_0x5cc101,this['commentThreadId']=_0x1ddce3,this['commentId']=_0x267d16,this['content']=_0xf04f90,this['attributes']=_0x2a73e5,this['isAttributesUpdated']=_0x5e6e88,this['commentThread']=_0x14a3a8;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x59ff87){return new UpdateCommentMessage(_0x59ff87['documentId'],_0x59ff87['commentThreadId'],_0x59ff87['commentId'],_0x59ff87['content'],_0x59ff87['attributes']?JSON['parse'](_0x59ff87['attributes']):null,_0x59ff87['isAttributesUpdated'],_0x59ff87['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x59ff87['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{['commentThreadId'];['documentId'];static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x399098,_0x386764){super(),this['commentThreadId']=_0x399098,this['documentId']=_0x386764;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x35ef87){return new GetCommentThreadMessage(_0x35ef87['commentThreadId'],_0x35ef87['documentId']);}}class GetCommentThreadResponse extends Message{['commentThreadId'];['_comments'];['_commentsV2'];['resolvedBy'];['comments'];['createdAt'];['deletedAt'];['resolvedAt'];['attributes'];['context'];['unlinkedAt'];static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(_0x38e3a5,_0x4560e2,_0x176880,_0x1157ec,_0x9695d8,_0x490b26,_0x334750,_0x36af1a,_0x1fcdde,_0x1a7d1c){super(),this['commentThreadId']=_0x38e3a5,this['_comments']=_0x4560e2,this['_commentsV2']=_0x176880,this['resolvedBy']=_0x9695d8,this['comments']=_0x176880?.['length']?_0x176880:_0x4560e2,this['createdAt']=_0x334750?new Date(_0x334750):void 0x0,this['deletedAt']='string'==typeof _0x36af1a?new Date(_0x36af1a):_0x36af1a,this['resolvedAt']='string'==typeof _0x1fcdde?new Date(_0x1fcdde):_0x1fcdde,this['unlinkedAt']='string'==typeof _0x1a7d1c?new Date(_0x1a7d1c):_0x1a7d1c,this['attributes']='string'==typeof _0x1157ec?JSON['parse'](_0x1157ec):_0x1157ec,this['context']='string'==typeof _0x490b26?JSON['parse'](_0x490b26):_0x490b26;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x12d6db=>JSON['stringify'](_0x12d6db)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x59b633){return new GetCommentThreadResponse(_0x59b633['commentThreadId'],_0x59b633['comments']?.['map'](_0x1ccfaf=>function(_0x5ae0e0){const _0x5c73c3=JSON['parse'](_0x5ae0e0);return{..._0x5c73c3,'createdAt':new Date(_0x5c73c3['createdAt'])};}(_0x1ccfaf)),_0x59b633['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x59b633['attributes']?JSON['parse'](_0x59b633['attributes']):_0x59b633['attributes'],_0x59b633['resolvedBy'],_0x59b633['context']?JSON['parse'](_0x59b633['context']):_0x59b633['context'],_0x59b633['createdAt'],_0x59b633['deletedAt'],_0x59b633['resolvedAt'],_0x59b633['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x453f17){super(),this['documentId']=_0x453f17;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4e4d38){return new GetDocumentThreadsMessage(_0x4e4d38['documentId']);}}class GetDocumentThreadsResponse extends Message{['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_0x42dcab,_0x49b549){super(),this['_threads']=_0x42dcab,this['_threadsV2']=_0x49b549,this['threads']=_0x49b549?.['length']?_0x49b549:_0x42dcab;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x98391=>JSON['stringify'](_0x98391)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0xddced7){return new GetDocumentThreadsResponse(_0xddced7['threads']?.['map'](_0x1c2efb=>function(_0x4f7327){const _0xda4e7a=JSON['parse'](_0x4f7327),_0x5ec444={..._0xda4e7a};return _0xda4e7a['comments']&&(_0x5ec444['comments']=_0xda4e7a['comments']?.['map'](_0xf06183=>({..._0xf06183,'createdAt':new Date(_0xf06183['createdAt'])}))),_0x5ec444;}(_0x1c2efb)),_0xddced7['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x284c50){return{'commentId':_0x284c50['commentId'],'createdAt':_0x284c50['createdAt']?.['toISOString']()};}static['fromJSON'](_0x3d7503){return{'commentId':_0x3d7503['commentId'],'createdAt':new Date(_0x3d7503['createdAt'])};}}class AddCommentThreadResponse extends Message{['commentThreadId'];['comments'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(_0x2a77e9,_0x442309,_0x2ccec4=[]){super(),this['commentThreadId']=_0x2a77e9,this['comments']=_0x2ccec4,this['createdAt']=new Date(_0x442309);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x51900e=>CommentThreadAddedCommentDescriptor['toJSON'](_0x51900e))};}static['fromJSON'](_0x29e522){return new AddCommentThreadResponse(_0x29e522['commentThreadId'],_0x29e522['createdAt'],_0x29e522['comments']['map'](_0x49acaa=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x49acaa)));}}class AddCommentThreadMessage extends Message{['documentId'];['commentThreadId'];['comments'];['context'];['resolvedBy'];['attributes'];['createdAt'];['resolvedAt'];['deletedAt'];static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(_0xb58423,_0x454e87,_0x4d6559=[],_0x1365dc,_0x563629=null,_0x31f312=null,_0x55a97d=null,_0x404c86=null,_0x452526=null){super(),this['documentId']=_0xb58423,this['commentThreadId']=_0x454e87,this['comments']=_0x4d6559,this['context']=_0x1365dc,this['resolvedBy']=_0x563629,this['attributes']=_0x452526,this['createdAt']=_0x31f312?new Date(_0x31f312):'',this['resolvedAt']=_0x55a97d?new Date(_0x55a97d):'',this['deletedAt']=_0x404c86?new Date(_0x404c86):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0x51183e=>CommentDescriptor['toJSON'](_0x51183e))};}static['fromJSON'](_0x5c87a9){return new AddCommentThreadMessage(_0x5c87a9['documentId'],_0x5c87a9['commentThreadId'],_0x5c87a9['comments']?.['map'](_0x19324d=>CommentDescriptor['fromJSON']({..._0x19324d,'documentId':_0x5c87a9['documentId'],'commentThreadId':_0x5c87a9['commentThreadId']})),_0x5c87a9['context']?JSON['parse'](_0x5c87a9['context']):_0x5c87a9['context'],_0x5c87a9['resolvedBy'],_0x5c87a9['createdAt']?new Date(_0x5c87a9['createdAt']):void 0x0,_0x5c87a9['resolvedAt']?new Date(_0x5c87a9['resolvedAt']):void 0x0,_0x5c87a9['deletedAt']?new Date(_0x5c87a9['deletedAt']):void 0x0,_0x5c87a9['attributes']?JSON['parse'](_0x5c87a9['attributes']):_0x5c87a9['attributes']);}}class ResolveCommentThreadMessage extends Message{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(_0x4380c0,_0x558892,_0x4b33ab,_0x31e4c8){super(),this['commentThreadId']=_0x4380c0,this['documentId']=_0x558892,this['resolvedBy']=_0x4b33ab,this['resolvedAt']=_0x31e4c8?new Date(_0x31e4c8):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x4b48a7){return new ResolveCommentThreadMessage(_0x4b48a7['commentThreadId'],_0x4b48a7['documentId'],_0x4b48a7['resolvedBy'],_0x4b48a7['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{['commentThreadId'];['documentId'];static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x35284e,_0x26e511){super(),this['commentThreadId']=_0x35284e,this['documentId']=_0x26e511;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0xf8770e){return new ReopenCommentThreadMessage(_0xf8770e['commentThreadId'],_0xf8770e['documentId']);}}class UpdateCommentThreadMessage extends Message{['commentThreadId'];['documentId'];['context'];['attributes'];['unlinkedAt'];static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(_0x389bea,_0x2fe2a0,_0x15c7eb,_0x45654f=null,_0x596c44=null){super(),this['commentThreadId']=_0x389bea,this['documentId']=_0x2fe2a0,this['context']=_0x15c7eb,this['attributes']=_0x45654f,this['unlinkedAt']=_0x596c44?new Date(_0x596c44):'';}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](_0x1d3fb5){return new UpdateCommentThreadMessage(_0x1d3fb5['commentThreadId'],_0x1d3fb5['documentId'],_0x1d3fb5['context']?JSON['parse'](_0x1d3fb5['context']):_0x1d3fb5['context'],_0x1d3fb5['attributes']?JSON['parse'](_0x1d3fb5['attributes']):null,_0x1d3fb5['unlinkedAt']?new Date(_0x1d3fb5['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(_0x418854,_0x22dee9,_0x55c022,_0xb8026){super(),this['commentThreadId']=_0x418854,this['documentId']=_0x22dee9,this['resolvedBy']=_0x55c022,this['resolvedAt']=new Date(_0xb8026);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x20ac1d){return new ResolveCommentThreadResponse(_0x20ac1d['commentThreadId'],_0x20ac1d['documentId'],_0x20ac1d['resolvedBy'],_0x20ac1d['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
EmitterMixin(){['_documentId'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x1e79ae){super(),this['_documentId']=_0x1e79ae,this['_isConnected']=!0x1;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x2f229a){if(this['_isConnected'])return;if(_0x2f229a['state']!==WEB_SOCKET_GATEWAY_STATES['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2f229a);const _0x1a5158=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x2f229a,this['stopListening'](_0x2f229a,'change:state');const _0x4b485e=await _0x2f229a['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](_0x1a5158)),{channel:_0x4c124a,threads:_0x11f954}=MessagesCompressor['decode'](_0x4b485e,ConnectResponse);return this['listenTo'](_0x2f229a,'change:state',(_0x271dab,_0x2d8e81,_0x1c8ab4)=>this['_onWsGatewayStateChange'](_0x1c8ab4),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2f229a,_0x4c124a),this['_isConnected']=!0x0,this['fire']('connected'),_0x11f954;}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['addComment'](_0x239234,_0x78ac9d,_0x188d4f,_0x43c3c4){const _0x1edc4d=new AddCommentMessage(this['_documentId'],_0x239234,_0x188d4f,_0x78ac9d,void 0x0,void 0x0,_0x43c3c4),_0x4b23c8=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x1edc4d);return MessagesCompressor['decode'](_0x4b23c8,AddCommentResponse);}async['updateComment'](_0x595a39,_0x348c7b,_0x34ed67,_0x2af34e){const _0x23ef09=void 0x0!==_0x2af34e,_0x26b9ec=new UpdateCommentMessage(this['_documentId'],_0x595a39,_0x348c7b,_0x34ed67,_0x2af34e,_0x23ef09);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x26b9ec);}async['removeComment'](_0x58d4ae,_0x5706b6){const _0x2c777c=new RemoveCommentMessage(this['_documentId'],_0x58d4ae,_0x5706b6);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x2c777c);}async['removeCommentThread'](_0x2b90c3){const _0xb87a03=new RemoveCommentThreadMessage(this['_documentId'],_0x2b90c3);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0xb87a03);}async['addCommentThread'](_0x7fa4de){const _0x11be72=new AddCommentThreadMessage(this['_documentId'],_0x7fa4de['commentThreadId'],_0x7fa4de['comments']?.['map'](_0xbda663=>({..._0xbda663,'documentId':this['_documentId'],'commentThreadId':_0x7fa4de['commentThreadId']})),_0x7fa4de['context'],_0x7fa4de['resolvedBy'],_0x7fa4de['createdAt'],_0x7fa4de['resolvedAt'],_0x7fa4de['deletedAt'],_0x7fa4de['attributes']),_0x1cf132=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x11be72);return MessagesCompressor['decode'](_0x1cf132,AddCommentThreadResponse);}async['resolveCommentThread'](_0x29766b){const _0x126fbf=new ResolveCommentThreadMessage(_0x29766b,this['_documentId']),_0x2a8175=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x126fbf);return MessagesCompressor['decode'](_0x2a8175,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x3a464c){const _0x2c6241=new ReopenCommentThreadMessage(_0x3a464c,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x2c6241);}async['updateCommentThread'](_0x3bdb5a){const _0x550f9c=new UpdateCommentThreadMessage(_0x3bdb5a['commentThreadId'],this['_documentId'],_0x3bdb5a['context'],_0x3bdb5a['attributes'],_0x3bdb5a['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x550f9c);}async['getCommentThread'](_0x492af3,_0x1c43d1=0x1){const _0x1cb388=new GetCommentThreadMessage(_0x492af3,this['_documentId']);try{const _0x3f9161=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x1cb388),_0xfa0eac=MessagesCompressor['decode'](_0x3f9161,GetCommentThreadResponse);return{'commentThreadId':_0xfa0eac['commentThreadId'],'comments':_0xfa0eac['comments'],'attributes':_0xfa0eac['attributes'],'context':_0xfa0eac['context'],'resolvedAt':_0xfa0eac['resolvedAt'],'resolvedBy':_0xfa0eac['resolvedBy'],'deletedAt':_0xfa0eac['deletedAt'],'unlinkedAt':_0xfa0eac['unlinkedAt']};}catch(_0x27b70a){if('CKEditorCloudServicesServerError'===_0x27b70a['name']&&'404'===_0x27b70a['code']&&_0x1c43d1<0x5)return await(_0x224220=0x64*_0x1c43d1,new Promise(_0x10dce1=>{setTimeout(_0x10dce1,_0x224220);})),this['getCommentThread'](_0x492af3,_0x1c43d1+0x1);if('CKEditorCloudServicesServerError'===_0x27b70a['name'])throw _0x27b70a;throw CKEditorCloudServicesServerError['fromPublicError'](_0x27b70a);}var _0x224220;}async['getDocumentThreads'](){const _0x2921c4=new GetDocumentThreadsMessage(this['_documentId']),_0x27f138=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x2921c4),{threads:_0x5b4653}=MessagesCompressor['decode'](_0x27f138,GetDocumentThreadsResponse);return{'threads':_0x5b4653};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await Sessions$1['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x5e2f00,_0x2266cc){this['_channel']=_0x5e2f00['_getChannel'](CommentsService['_SERVICE'],_0x2266cc),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x40e893,_0x406af9)=>{const _0x100f29=MessagesCompressor['decode'](_0x406af9,AddCommentMessage);this['fire']('commentAdded',_0x100f29);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x2489a4,_0x492886)=>{const _0x5b67ce=MessagesCompressor['decode'](_0x492886,RemoveCommentMessage);this['fire']('commentRemoved',_0x5b67ce);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x39559f,_0x5745ce)=>{const _0x3a95ca=MessagesCompressor['decode'](_0x5745ce,UpdateCommentMessage);this['fire']('commentUpdated',_0x3a95ca);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x3a3588,_0x586b03)=>{const _0x3a8960=MessagesCompressor['decode'](_0x586b03,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x3a8960);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x5cb308,_0x19cb6c)=>{const _0x2520f2=MessagesCompressor['decode'](_0x19cb6c,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x2520f2);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x312915,_0x3f50ed)=>{const _0x5de277=MessagesCompressor['decode'](_0x3f50ed,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x5de277);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x310cc9,_0x410535)=>{const _0x163794=MessagesCompressor['decode'](_0x410535,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x163794);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x1289ef,_0x4ab09d)=>{const _0x398ff4=MessagesCompressor['decode'](_0x4ab09d,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x398ff4);}));}['_onWsGatewayStateChange'](_0xf498cb){_0xf498cb===WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x215558,_0x414fe1){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x215558,MessagesCompressor['encode'](_0x414fe1));}}class WebSocketGateway extends ContextPlugin{static get['requires'](){return['CloudServices',Notification];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ea340){super(_0x1ea340),this['set']('state',WEB_SOCKET_GATEWAY_STATES['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=Object['create'](DomEmitterMixin);}['init'](){const _0x4c2089=this['context'],_0x3c2e91=_0x4c2089['plugins']['get']('CloudServices'),_0x4631d5=_0x4c2089['plugins']['get'](Notification);if(!_0x3c2e91['token'])throw new CKEditorError('websocketgateway-missing-token',this);if(!_0x3c2e91['webSocketUrl'])throw new CKEditorError('websocketgateway-missing-websocket-url',this);return this['_domEmitter']['listenTo'](window,'offline',()=>this['_isBrowserOffline']=!0x0),this['_domEmitter']['listenTo'](window,'online',()=>this['_isBrowserOffline']=!0x1),this['context']['config']['define']('cloudServices.connectionTimeout',0xa),this['context']['config']['define']('cloudServices.requestTimeout',0x14),WebSocketGateway['WebSocketGateway']['connect'](_0x3c2e91['token'],_0x3c2e91['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x3bb6cb=>{if(this['connection']=_0x3bb6cb,this['bind']('state')['to'](_0x3bb6cb,'state',this,'_isBrowserOffline',(_0x80714f,_0x34cb7b)=>('connected'!==_0x80714f&&(this['_shouldPluginsReconnect']=!0x0),_0x34cb7b||_0x80714f!==WEB_SOCKET_GATEWAY_STATES['CONNECTED']?WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']:this['state']==WEB_SOCKET_GATEWAY_STATES['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),WEB_SOCKET_GATEWAY_STATES['CONNECTING']):WEB_SOCKET_GATEWAY_STATES['CONNECTED'])),this['connection']['on']('error',(_0x313689,_0x4e1053)=>{if('limitExceeded'!==_0x4e1053['code'])throw console['error'](_0x4e1053),new CKEditorError('cloudservices-init',null,{'originalError':_0x4e1053});_0x4631d5['showWarning']('The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.',{'title':'Connected\x20users\x20limit\x20exceeded','namespace':'real-time-collaboration'});}),!_0x3bb6cb['me'])return new Promise(_0x5e6641=>_0x3bb6cb['on']('change:me',_0x5e6641));})['catch'](_0x2b8d5f=>{throw console['error'](_0x2b8d5f),new CKEditorError('cloudservices-init',null,{'originalError':_0x2b8d5f});});}['addToReconnectionStack'](_0xdffef6){if('function'!=typeof _0xdffef6['reconnect'])throw new CKEditorError('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0xdffef6))throw new CKEditorError('websocketgateway-plugin-already-registered',this,{'name':_0xdffef6['constructor']['pluginName']});this['_reconnectionStack']['add'](_0xdffef6);}['removeFromReconnectionStack'](_0x25cae7){this['_reconnectionStack']['delete'](_0x25cae7);}['isInReconnectionStack'](_0x1454a3){return this['_reconnectionStack']['has'](_0x1454a3);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x4053a6=>_0x4053a6['reconnect']())))['then'](()=>this['state']=WEB_SOCKET_GATEWAY_STATES['CONNECTED'])['catch'](_0x5ee883=>{throw console['error'](_0x5ee883),new CKEditorError('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=WEB_SOCKET_GATEWAY_STATES['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}WebSocketGateway['WebSocketGateway']=WebSocketGateway$1,WebSocketGateway['initialReconnectionInterval']=0x3e8;class Sessions extends ContextPlugin{static get['pluginName'](){return'Sessions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[WebSocketGateway,Users];}constructor(_0x293ba1){super(_0x293ba1),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new Collection(),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](Users);}['init'](){const _0x48368d=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x48368d,'change:state',(_0xa9ce60,_0x485b31,_0x3d1a79)=>{if('connected'!==_0x3d1a79)this['channelSessions']['forEach'](_0x479539=>_0x479539['clear']()),this['channelConnectedUsers']['forEach'](_0x1ae99c=>_0x1ae99c['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x4eb6c0,_0x323cc8]of this['_registeredSessions'])for(const _0x393ada of _0x323cc8)this['_handleSessionAdd'](_0x4eb6c0,_0x393ada);}}),this['_createUser'](_0x48368d['connection']['me'],!0x0);}['register'](_0x7fbceb,_0x45fec7){if(this['_registeredSessions']['has'](_0x7fbceb))throw new CKEditorError('sessions-register-already-registered',null,{'channelId':_0x7fbceb});this['_registeredSessions']['set'](_0x7fbceb,_0x45fec7),this['channelSessions']['set'](_0x7fbceb,new Collection()),this['channelConnectedUsers']['set'](_0x7fbceb,new Collection()),this['listenTo'](_0x45fec7,'add',(_0xff7aa2,_0x1e366a)=>this['_handleSessionAdd'](_0x7fbceb,_0x1e366a)),this['listenTo'](_0x45fec7,'remove',(_0xb0cbac,_0x150c52)=>this['_handleSessionRemove'](_0x7fbceb,_0x150c52));for(const _0xf86b57 of _0x45fec7)this['_handleSessionAdd'](_0x7fbceb,_0xf86b57);}['unregister'](_0x2a2575){if(!this['_registeredSessions']['has'](_0x2a2575))throw new CKEditorError('sessions-unregister-not-exist',null,{'channelId':_0x2a2575});const _0x403cff=this['_registeredSessions']['get'](_0x2a2575);this['stopListening'](_0x403cff);for(const _0x2984d0 of _0x403cff)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x2a2575,_0x2984d0);this['_registeredSessions']['delete'](_0x2a2575),this['channelSessions']['delete'](_0x2a2575),this['channelConnectedUsers']['delete'](_0x2a2575);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x481849){for(const _0x110e6c of this['channelSessions']['values']())for(const _0x54575b of _0x110e6c)if(_0x54575b['id']===_0x481849)return _0x54575b['user'];}['getUserSessions'](_0x20e533,_0x4cc218){const _0x59fcd4=_0x4cc218?[this['channelSessions']['get'](_0x4cc218)]:this['channelSessions']['values'](),_0x46601c=new Set();for(const _0x4b5953 of _0x59fcd4)for(const _0x20cceb of _0x4b5953)_0x20cceb['user']['id']===_0x20e533['id']&&_0x46601c['add'](_0x20cceb['id']);return _0x46601c;}['getUserRole'](_0x18e302){for(const _0x530ab4 of this['channelSessions']['values']())for(const _0x158945 of _0x530ab4)if(_0x158945['user']===_0x18e302)return _0x158945['role'];}['_handleSessionAdd'](_0x84b5b2,_0x5c5486){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x934704=_0x5c5486['user'],_0x2e1ecd=this['_users']['getUser'](_0x934704['id'])||this['_createUser'](_0x934704),_0x4d3502=Object['assign']({},_0x5c5486,{'user':_0x2e1ecd});this['channelSessions']['get'](_0x84b5b2)['add'](_0x4d3502);const _0x222113=this['channelConnectedUsers']['get'](_0x84b5b2);_0x222113['has'](_0x2e1ecd['id'])||_0x222113['add'](_0x2e1ecd),this['allConnectedUsers']['has'](_0x2e1ecd['id'])||this['allConnectedUsers']['add'](_0x2e1ecd,_0x2e1ecd['isMe']?0x0:void 0x0),this['fire']('sessionAdd:'+_0x84b5b2,{'channelId':_0x84b5b2,'session':_0x4d3502});}['_handleSessionRemove'](_0x3be95a,_0x4796de){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x58063f=this['channelConnectedUsers']['get'](_0x3be95a),_0x3275bd=_0x4796de['user'];_0x3275bd['id']&&(this['channelSessions']['get'](_0x3be95a)['remove'](_0x4796de['id']),_0x58063f['has'](_0x3275bd['id'])&&!this['getUserSessions'](_0x3275bd,_0x3be95a)['size']&&_0x58063f['remove'](_0x3275bd['id']),this['allConnectedUsers']['get'](_0x3275bd['id'])&&!this['getUserSessions'](_0x3275bd)['size']&&this['allConnectedUsers']['remove'](_0x3275bd['id']));}['_createUser'](_0x17326d,_0x103c9f){const _0x40a562=this['_users']['addUser'](_0x17326d);return _0x103c9f&&this['_users']['defineMe'](_0x17326d['id']),_0x40a562['orderNumber']=this['_uniqueUsersCount']++,_0x40a562;}}class UserMarkers extends Plugin{constructor(){super(...arguments),this['_domEmitter']=new(DomEmitterMixin())();}static get['requires'](){return[Sessions];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x468e18=this['editor'],_0x227bfa=_0x468e18['plugins']['get'](Sessions);_0x468e18['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x1826d8,{writer:_0x49b8e8})=>createUserPositionViewElement(_0x1826d8,_0x49b8e8,_0x227bfa,_0x468e18)}),_0x468e18['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x3db42e=>createUserRangeViewElement(_0x3db42e,_0x227bfa)}),createUserMarkerPostFixer(_0x468e18),this['_domEmitter']['listenTo'](_0x25cc2c['document'],'keydown',(_0x46edb2,{key:_0x15fa41})=>{'Escape'===_0x15fa41&&hideHoveredUserPositionMarkersTooltips(_0x468e18);},{'useCapture':!0x0});}['afterInit'](){const _0x4ef228=this['editor'],_0x3e1c29=_0x4ef228['commands']['get']('undo');_0x3e1c29&&_0x4ef228['model']['on']('applyOperation',(_0x4b0c6a,_0xc74e72)=>{const _0x4b18bb=_0xc74e72[0x0];if(!_0x4b18bb['isDocumentOperation'])return;if('marker'!=_0x4b18bb['type']||!_0x4b18bb['name']['startsWith']('user:'))return;const _0x547b92=_0x4b18bb['batch'];_0x3e1c29['_createdBatches']['has'](_0x547b92)&&(_0x4b18bb['newRange']=_0x4b18bb['oldRange']?_0x4ef228['model']['createRange'](_0x4b18bb['oldRange']['start'],_0x4b18bb['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x1650e6=this['editor'],_0x41673e=_0x1650e6['model']['document'],_0x44fb7d=_0x1650e6['plugins']['get'](Sessions);_0x1650e6['model']['enqueueChange']({'isUndoable':!0x1},_0x16acb4=>{const _0x24014b='user:range:'+_0x44fb7d['mySessionId'],_0x200d0f='user:position:'+_0x44fb7d['mySessionId'],_0x2fd243=_0x1650e6['model']['markers']['has'](_0x24014b);_0x1650e6['editing']['view']['hasDomSelection']?updateUserMarkers(_0x44fb7d['mySessionId'],_0x41673e['selection']['getFirstRange'](),_0x1650e6['model'],_0x16acb4):_0x2fd243&&(_0x16acb4['removeMarker'](_0x24014b),_0x16acb4['removeMarker'](_0x200d0f));});}}function updateUserMarkers(_0x168b1c,_0x1fb568,_0x55a3e3,_0x5a34d5){const _0x189e9b='user:range:'+_0x168b1c,_0x14f887='user:position:'+_0x168b1c,_0x21d84b=_0x1fb568['getContainedElement']();let _0x25aab7=_0x1fb568['start'];_0x21d84b&&_0x21d84b['is']('element','tableCell')&&(_0x25aab7=getPositionForText(_0x1fb568,_0x55a3e3),_0x1fb568=_0x5a34d5['createRange'](_0x25aab7));const _0x5ac31e=_0x5a34d5['createRange'](_0x25aab7);_0x55a3e3['markers']['has'](_0x189e9b)?(_0x5a34d5['updateMarker'](_0x189e9b,{'range':_0x1fb568}),_0x5a34d5['updateMarker'](_0x14f887,{'range':_0x5ac31e})):(_0x5a34d5['addMarker'](_0x189e9b,{'range':_0x1fb568,'usingOperation':!0x0}),_0x5a34d5['addMarker'](_0x14f887,{'range':_0x5ac31e,'usingOperation':!0x0}));}function getPositionForText(_0x2e0e38,_0x3f4fb1){for(const _0x463a84 of _0x2e0e38['getPositions']())if(_0x3f4fb1['schema']['checkChild'](_0x463a84,'$text'))return _0x463a84;}function createUserPositionViewElement(_0x20c083,_0x951b0c,_0x690f7f,_0x4fef9b){const _0x19b605=_0x20c083['markerName']['split'](':')[0x2],_0x32fc88=_0x690f7f['getUserBySessionId'](_0x19b605);if(!_0x32fc88||_0x19b605===_0x690f7f['mySessionId'])return;if(!_0x4fef9b['model']['schema']['checkChild'](_0x20c083['markerRange']['start'],'$text'))return;const _0x47409a={'class':'ck-user__marker\x20'+_0x32fc88['color']['getMarkerClass'](),'data-name':_0x32fc88['name'],'data-session-id':_0x19b605},_0x257b35=_0x4fef9b['model']['markers']['get'](_0x20c083['markerName'])['getStart'](),_0x5f5b37=_0x257b35['nodeAfter'],_0x237b5f=_0x4fef9b['model']['schema'];if(_0x5f5b37&&_0x237b5f['isObject'](_0x5f5b37)&&_0x237b5f['isInline'](_0x5f5b37)&&!_0x4fef9b['model']['markers']['get']('user:range:'+_0x19b605)['getRange']()['isCollapsed'])return;const _0x6bc367=_0x257b35['parent'];return _0x4fef9b['model']['schema']['isLimit'](_0x6bc367)&&!_0x4fef9b['model']['hasContent'](_0x6bc367)&&(_0x47409a['contenteditable']=!0x1),createUserPositionMarkerElement(_0x951b0c,_0x47409a,_0x32fc88);}function createUserRangeViewElement(_0x11634e,_0x421639){const _0x219ccd=_0x11634e['markerName']['split'](':')[0x2];if(_0x219ccd===_0x421639['mySessionId'])return null;const _0x4dbe33=_0x421639['getUserBySessionId'](_0x219ccd);return _0x4dbe33?{'id':_0x219ccd,'classes':['ck-user__selection',_0x4dbe33['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x219ccd},'priority':0x7d0+_0x4dbe33['orderNumber']}:{'id':_0x219ccd,'classes':[]};}function createUserPositionMarkerElement(_0x401926,_0x2709b8,_0x21c279){const _0x35e5f9=_0x401926['createUIElement']('span',_0x2709b8);return _0x401926['setCustomProperty']('userPositionMarker',!0x0,_0x35e5f9),_0x35e5f9['render']=function(_0x12537f){const _0x591673=this['toDomElement'](_0x12537f),_0xdebb34=document['createElement']('span');return _0xdebb34['classList']['add']('ck-user__marker-tooltip'),_0xdebb34['setAttribute']('contenteditable','false'),_0xdebb34['setAttribute']('spellcheck','false'),_0xdebb34['textContent']=_0x21c279['name'],_0x591673['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0xdebb34['outerHTML']+'⁠',_0x591673['addEventListener']('mouseenter',()=>{_0x591673['classList']['add']('ck-user__marker_hovered');}),_0x591673['addEventListener']('mouseleave',()=>{_0x591673['classList']['remove']('ck-user__marker_hovered');}),_0x591673;},_0x35e5f9['isSimilar']=function(_0x438258){return!(!this['getCustomProperty']('userPositionMarker')||!_0x438258['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x438258['getAttribute']('data-session-id'));},_0x35e5f9;}function hideHoveredUserPositionMarkersTooltips(_0x4b3a24){_0x4b3a24['editing']['view']['change'](_0x58dff1=>{for(const _0x421d39 of _0x4b3a24['model']['markers']){if(!_0x421d39['name']['startsWith']('user:position'))continue;const _0x5c8bb3=_0x4b3a24['editing']['mapper']['markerNameToElements'](_0x421d39['name']);if(_0x5c8bb3){for(const _0x4903cf of _0x5c8bb3)_0x58dff1['removeClass']('ck-user__marker_hovered',_0x4903cf);}}});}function createUserMarkerPostFixer(_0x491a5e){const _0x4a4203=_0x491a5e['model'],_0x598fc3=new Map(),_0xb7d536=_0x491a5e['plugins']['get'](Sessions);_0x4a4203['markers']['on']('update:user:range',(_0x44b340,_0x2febf8,_0x285dfc,_0x6950ee)=>{if(!_0x6950ee&&_0x598fc3['get'](_0x2febf8['name']))return _0x598fc3['get'](_0x2febf8['name'])['detach'](),void _0x598fc3['delete'](_0x2febf8['name']);const _0x3a4b39=_0x2febf8['name']['split'](':')[0x2];if(_0x3a4b39===_0xb7d536['mySessionId'])return;const _0x59b542='user:position:'+_0x3a4b39;_0x4a4203['markers']['has'](_0x59b542)&&_0x491a5e['editing']['reconvertMarker'](_0x59b542),_0x2febf8['on']('change:range',(_0x565526,_0x3283f2,_0x5efddc)=>{if('$graveyard'!=_0x3283f2['root']['rootName']&&'$graveyard'==_0x2febf8['getRange']()['root']['rootName']&&!_0x598fc3['has'](_0x2febf8['name'])){const _0x1a58c6=_0x4a4203['schema']['getNearestSelectionRange'](_0x5efddc['deletionPosition']);if(_0x1a58c6){const _0xa9c757=LiveRange['fromRange'](_0x1a58c6);_0x598fc3['set'](_0x2febf8['name'],_0xa9c757),_0xa9c757['on']('change:range',(_0x1019b5,_0x4fcc8e,_0x3da89a)=>{if('$graveyard'==_0xa9c757['root']['rootName']){const _0xb9f8c7=_0x4a4203['schema']['getNearestSelectionRange'](_0x3da89a['deletionPosition']);_0xb9f8c7?(_0xa9c757['start']=_0xb9f8c7['start'],_0xa9c757['end']=_0xb9f8c7['end']):(_0x598fc3['delete'](_0x2febf8['name']),_0xa9c757['detach']());}});}}});}),_0x4a4203['document']['on']('change',()=>{_0x598fc3['size']>0x0&&_0x4a4203['enqueueChange']({'isUndoable':!0x1},_0x16f2df=>{for(const [_0x3e3da3,_0xfd0ea8]of _0x598fc3)'$graveyard'==_0x4a4203['markers']['get'](_0x3e3da3)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x3e3da3['split'](':')[0x2],_0xfd0ea8['toRange'](),_0x4a4203,_0x16f2df),_0xfd0ea8['detach']());_0x598fc3['clear']();});});}function getTranslation$6(_0x5bbdcd,_0x1acf42,_0x4fc9ef){const _0xe28a71=_0x5bbdcd['t'],t=_0x5bbdcd['t'];switch(_0x1acf42){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return _0xe28a71({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x4fc9ef);default:return'';}}const messages=/* #__PURE__ -- @preserve */
((()=>{var _0xa1ace1=minimal['Reader'],_0x2f1bd1=minimal['Writer'],_0xd53fed=minimal['util'],_0x1089d5=minimal['roots']['default']||(minimal['roots']['default']={});return _0x1089d5['AttributeOperation']=(function(){function _0x15f355(_0x56a391){if(_0x56a391){for(var _0x27b249=Object['keys'](_0x56a391),_0xdbe66=0x0;_0xdbe66<_0x27b249['length'];++_0xdbe66)null!=_0x56a391[_0x27b249[_0xdbe66]]&&(this[_0x27b249[_0xdbe66]]=_0x56a391[_0x27b249[_0xdbe66]]);}}return _0x15f355['prototype']['range']=null,_0x15f355['prototype']['key']='',_0x15f355['prototype']['oldValueBoolean']=!0x1,_0x15f355['prototype']['oldValueJson']='',_0x15f355['prototype']['newValueBoolean']=!0x1,_0x15f355['prototype']['newValueJson']='',_0x15f355['prototype']['wasUndone']=!0x1,_0x15f355['create']=function(_0x626c9a){return new _0x15f355(_0x626c9a);},_0x15f355['encode']=function(_0x5724e4,_0x4c65d2){return _0x4c65d2||(_0x4c65d2=_0x2f1bd1['create']()),null!=_0x5724e4['range']&&Object['hasOwnProperty']['call'](_0x5724e4,'range')&&_0x1089d5['Range']['encode'](_0x5724e4['range'],_0x4c65d2['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5724e4['key']&&Object['hasOwnProperty']['call'](_0x5724e4,'key')&&_0x4c65d2['uint32'](0x12)['string'](_0x5724e4['key']),null!=_0x5724e4['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x5724e4,'oldValueBoolean')&&_0x4c65d2['uint32'](0x18)['bool'](_0x5724e4['oldValueBoolean']),null!=_0x5724e4['oldValueJson']&&Object['hasOwnProperty']['call'](_0x5724e4,'oldValueJson')&&_0x4c65d2['uint32'](0x22)['string'](_0x5724e4['oldValueJson']),null!=_0x5724e4['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x5724e4,'newValueBoolean')&&_0x4c65d2['uint32'](0x28)['bool'](_0x5724e4['newValueBoolean']),null!=_0x5724e4['newValueJson']&&Object['hasOwnProperty']['call'](_0x5724e4,'newValueJson')&&_0x4c65d2['uint32'](0x32)['string'](_0x5724e4['newValueJson']),null!=_0x5724e4['wasUndone']&&Object['hasOwnProperty']['call'](_0x5724e4,'wasUndone')&&_0x4c65d2['uint32'](0x38)['bool'](_0x5724e4['wasUndone']),_0x4c65d2;},_0x15f355['encodeDelimited']=function(_0x2549b0,_0xe6c10c){return this['encode'](_0x2549b0,_0xe6c10c)['ldelim']();},_0x15f355['decode']=function(_0x597ddd,_0x4a1d4b){_0x597ddd instanceof _0xa1ace1||(_0x597ddd=_0xa1ace1['create'](_0x597ddd));for(var _0x1035ce=void 0x0===_0x4a1d4b?_0x597ddd['len']:_0x597ddd['pos']+_0x4a1d4b,_0x5eaab5=new _0x1089d5['AttributeOperation']();_0x597ddd['pos']<_0x1035ce;){var _0x37a736=_0x597ddd['uint32']();switch(_0x37a736>>>0x3){case 0x1:_0x5eaab5['range']=_0x1089d5['Range']['decode'](_0x597ddd,_0x597ddd['uint32']());break;case 0x2:_0x5eaab5['key']=_0x597ddd['string']();break;case 0x3:_0x5eaab5['oldValueBoolean']=_0x597ddd['bool']();break;case 0x4:_0x5eaab5['oldValueJson']=_0x597ddd['string']();break;case 0x5:_0x5eaab5['newValueBoolean']=_0x597ddd['bool']();break;case 0x6:_0x5eaab5['newValueJson']=_0x597ddd['string']();break;case 0x7:_0x5eaab5['wasUndone']=_0x597ddd['bool']();break;default:_0x597ddd['skipType'](0x7&_0x37a736);}}return _0x5eaab5;},_0x15f355['decodeDelimited']=function(_0x23fff4){return _0x23fff4 instanceof _0xa1ace1||(_0x23fff4=new _0xa1ace1(_0x23fff4)),this['decode'](_0x23fff4,_0x23fff4['uint32']());},_0x15f355['verify']=function(_0x2b861d){if('object'!=typeof _0x2b861d||null===_0x2b861d)return'object\x20expected';if(null!=_0x2b861d['range']&&_0x2b861d['hasOwnProperty']('range')){var _0x5938d3=_0x1089d5['Range']['verify'](_0x2b861d['range']);if(_0x5938d3)return'range.'+_0x5938d3;}return null!=_0x2b861d['key']&&_0x2b861d['hasOwnProperty']('key')&&!_0xd53fed['isString'](_0x2b861d['key'])?'key:\x20string\x20expected':null!=_0x2b861d['oldValueBoolean']&&_0x2b861d['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x2b861d['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x2b861d['oldValueJson']&&_0x2b861d['hasOwnProperty']('oldValueJson')&&!_0xd53fed['isString'](_0x2b861d['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x2b861d['newValueBoolean']&&_0x2b861d['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x2b861d['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x2b861d['newValueJson']&&_0x2b861d['hasOwnProperty']('newValueJson')&&!_0xd53fed['isString'](_0x2b861d['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x2b861d['wasUndone']&&_0x2b861d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2b861d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x15f355['fromObject']=function(_0x3e21f5){if(_0x3e21f5 instanceof _0x1089d5['AttributeOperation'])return _0x3e21f5;var _0x518947=new _0x1089d5['AttributeOperation']();if(null!=_0x3e21f5['range']){if('object'!=typeof _0x3e21f5['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x518947['range']=_0x1089d5['Range']['fromObject'](_0x3e21f5['range']);}return null!=_0x3e21f5['key']&&(_0x518947['key']=String(_0x3e21f5['key'])),null!=_0x3e21f5['oldValueBoolean']&&(_0x518947['oldValueBoolean']=Boolean(_0x3e21f5['oldValueBoolean'])),null!=_0x3e21f5['oldValueJson']&&(_0x518947['oldValueJson']=String(_0x3e21f5['oldValueJson'])),null!=_0x3e21f5['newValueBoolean']&&(_0x518947['newValueBoolean']=Boolean(_0x3e21f5['newValueBoolean'])),null!=_0x3e21f5['newValueJson']&&(_0x518947['newValueJson']=String(_0x3e21f5['newValueJson'])),null!=_0x3e21f5['wasUndone']&&(_0x518947['wasUndone']=Boolean(_0x3e21f5['wasUndone'])),_0x518947;},_0x15f355['toObject']=function(_0x280ac6,_0x2942e7){_0x2942e7||(_0x2942e7={});var _0x201d7a={};return _0x2942e7['defaults']&&(_0x201d7a['range']=null,_0x201d7a['key']='',_0x201d7a['oldValueBoolean']=!0x1,_0x201d7a['oldValueJson']='',_0x201d7a['newValueBoolean']=!0x1,_0x201d7a['newValueJson']='',_0x201d7a['wasUndone']=!0x1),null!=_0x280ac6['range']&&_0x280ac6['hasOwnProperty']('range')&&(_0x201d7a['range']=_0x1089d5['Range']['toObject'](_0x280ac6['range'],_0x2942e7)),null!=_0x280ac6['key']&&_0x280ac6['hasOwnProperty']('key')&&(_0x201d7a['key']=_0x280ac6['key']),null!=_0x280ac6['oldValueBoolean']&&_0x280ac6['hasOwnProperty']('oldValueBoolean')&&(_0x201d7a['oldValueBoolean']=_0x280ac6['oldValueBoolean']),null!=_0x280ac6['oldValueJson']&&_0x280ac6['hasOwnProperty']('oldValueJson')&&(_0x201d7a['oldValueJson']=_0x280ac6['oldValueJson']),null!=_0x280ac6['newValueBoolean']&&_0x280ac6['hasOwnProperty']('newValueBoolean')&&(_0x201d7a['newValueBoolean']=_0x280ac6['newValueBoolean']),null!=_0x280ac6['newValueJson']&&_0x280ac6['hasOwnProperty']('newValueJson')&&(_0x201d7a['newValueJson']=_0x280ac6['newValueJson']),null!=_0x280ac6['wasUndone']&&_0x280ac6['hasOwnProperty']('wasUndone')&&(_0x201d7a['wasUndone']=_0x280ac6['wasUndone']),_0x201d7a;},_0x15f355['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x15f355['getTypeUrl']=function(_0x3fb1ef){return void 0x0===_0x3fb1ef&&(_0x3fb1ef='type.googleapis.com'),_0x3fb1ef+'/AttributeOperation';},_0x15f355;}()),_0x1089d5['InsertOperation']=(function(){function _0x483d3c(_0x1933a7){if(this['nodes']=[],_0x1933a7){for(var _0x10c24c=Object['keys'](_0x1933a7),_0x13a13e=0x0;_0x13a13e<_0x10c24c['length'];++_0x13a13e)null!=_0x1933a7[_0x10c24c[_0x13a13e]]&&(this[_0x10c24c[_0x13a13e]]=_0x1933a7[_0x10c24c[_0x13a13e]]);}}return _0x483d3c['prototype']['position']=null,_0x483d3c['prototype']['nodes']=_0xd53fed['emptyArray'],_0x483d3c['prototype']['shouldReceiveAttributes']=!0x1,_0x483d3c['prototype']['wasUndone']=!0x1,_0x483d3c['create']=function(_0x4337a1){return new _0x483d3c(_0x4337a1);},_0x483d3c['encode']=function(_0xf6753e,_0xee7d21){if(_0xee7d21||(_0xee7d21=_0x2f1bd1['create']()),null!=_0xf6753e['position']&&Object['hasOwnProperty']['call'](_0xf6753e,'position')&&_0x1089d5['Position']['encode'](_0xf6753e['position'],_0xee7d21['uint32'](0xa)['fork']())['ldelim'](),null!=_0xf6753e['nodes']&&_0xf6753e['nodes']['length']){for(var _0x14c006=0x0;_0x14c006<_0xf6753e['nodes']['length'];++_0x14c006)_0x1089d5['Element']['encode'](_0xf6753e['nodes'][_0x14c006],_0xee7d21['uint32'](0x12)['fork']())['ldelim']();}return null!=_0xf6753e['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0xf6753e,'shouldReceiveAttributes')&&_0xee7d21['uint32'](0x18)['bool'](_0xf6753e['shouldReceiveAttributes']),null!=_0xf6753e['wasUndone']&&Object['hasOwnProperty']['call'](_0xf6753e,'wasUndone')&&_0xee7d21['uint32'](0x20)['bool'](_0xf6753e['wasUndone']),_0xee7d21;},_0x483d3c['encodeDelimited']=function(_0x25f54c,_0x1dd47c){return this['encode'](_0x25f54c,_0x1dd47c)['ldelim']();},_0x483d3c['decode']=function(_0x3549ed,_0x15844d){_0x3549ed instanceof _0xa1ace1||(_0x3549ed=_0xa1ace1['create'](_0x3549ed));for(var _0xd0c5ec=void 0x0===_0x15844d?_0x3549ed['len']:_0x3549ed['pos']+_0x15844d,_0x517e26=new _0x1089d5['InsertOperation']();_0x3549ed['pos']<_0xd0c5ec;){var _0x4e9be6=_0x3549ed['uint32']();switch(_0x4e9be6>>>0x3){case 0x1:_0x517e26['position']=_0x1089d5['Position']['decode'](_0x3549ed,_0x3549ed['uint32']());break;case 0x2:_0x517e26['nodes']&&_0x517e26['nodes']['length']||(_0x517e26['nodes']=[]),_0x517e26['nodes']['push'](_0x1089d5['Element']['decode'](_0x3549ed,_0x3549ed['uint32']()));break;case 0x3:_0x517e26['shouldReceiveAttributes']=_0x3549ed['bool']();break;case 0x4:_0x517e26['wasUndone']=_0x3549ed['bool']();break;default:_0x3549ed['skipType'](0x7&_0x4e9be6);}}return _0x517e26;},_0x483d3c['decodeDelimited']=function(_0x21a7ab){return _0x21a7ab instanceof _0xa1ace1||(_0x21a7ab=new _0xa1ace1(_0x21a7ab)),this['decode'](_0x21a7ab,_0x21a7ab['uint32']());},_0x483d3c['verify']=function(_0x5f9199){if('object'!=typeof _0x5f9199||null===_0x5f9199)return'object\x20expected';if(null!=_0x5f9199['position']&&_0x5f9199['hasOwnProperty']('position')&&(_0x382bd0=_0x1089d5['Position']['verify'](_0x5f9199['position'])))return'position.'+_0x382bd0;if(null!=_0x5f9199['nodes']&&_0x5f9199['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x5f9199['nodes']))return'nodes:\x20array\x20expected';for(var _0x4a0398=0x0;_0x4a0398<_0x5f9199['nodes']['length'];++_0x4a0398){var _0x382bd0;if(_0x382bd0=_0x1089d5['Element']['verify'](_0x5f9199['nodes'][_0x4a0398]))return'nodes.'+_0x382bd0;}}return null!=_0x5f9199['shouldReceiveAttributes']&&_0x5f9199['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x5f9199['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x5f9199['wasUndone']&&_0x5f9199['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5f9199['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x483d3c['fromObject']=function(_0x3dcc4b){if(_0x3dcc4b instanceof _0x1089d5['InsertOperation'])return _0x3dcc4b;var _0xda0c7e=new _0x1089d5['InsertOperation']();if(null!=_0x3dcc4b['position']){if('object'!=typeof _0x3dcc4b['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0xda0c7e['position']=_0x1089d5['Position']['fromObject'](_0x3dcc4b['position']);}if(_0x3dcc4b['nodes']){if(!Array['isArray'](_0x3dcc4b['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0xda0c7e['nodes']=[];for(var _0x290ccd=0x0;_0x290ccd<_0x3dcc4b['nodes']['length'];++_0x290ccd){if('object'!=typeof _0x3dcc4b['nodes'][_0x290ccd])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0xda0c7e['nodes'][_0x290ccd]=_0x1089d5['Element']['fromObject'](_0x3dcc4b['nodes'][_0x290ccd]);}}return null!=_0x3dcc4b['shouldReceiveAttributes']&&(_0xda0c7e['shouldReceiveAttributes']=Boolean(_0x3dcc4b['shouldReceiveAttributes'])),null!=_0x3dcc4b['wasUndone']&&(_0xda0c7e['wasUndone']=Boolean(_0x3dcc4b['wasUndone'])),_0xda0c7e;},_0x483d3c['toObject']=function(_0x356720,_0xd5a6c5){_0xd5a6c5||(_0xd5a6c5={});var _0x386973={};if((_0xd5a6c5['arrays']||_0xd5a6c5['defaults'])&&(_0x386973['nodes']=[]),_0xd5a6c5['defaults']&&(_0x386973['position']=null,_0x386973['shouldReceiveAttributes']=!0x1,_0x386973['wasUndone']=!0x1),null!=_0x356720['position']&&_0x356720['hasOwnProperty']('position')&&(_0x386973['position']=_0x1089d5['Position']['toObject'](_0x356720['position'],_0xd5a6c5)),_0x356720['nodes']&&_0x356720['nodes']['length']){_0x386973['nodes']=[];for(var _0x21bd97=0x0;_0x21bd97<_0x356720['nodes']['length'];++_0x21bd97)_0x386973['nodes'][_0x21bd97]=_0x1089d5['Element']['toObject'](_0x356720['nodes'][_0x21bd97],_0xd5a6c5);}return null!=_0x356720['shouldReceiveAttributes']&&_0x356720['hasOwnProperty']('shouldReceiveAttributes')&&(_0x386973['shouldReceiveAttributes']=_0x356720['shouldReceiveAttributes']),null!=_0x356720['wasUndone']&&_0x356720['hasOwnProperty']('wasUndone')&&(_0x386973['wasUndone']=_0x356720['wasUndone']),_0x386973;},_0x483d3c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x483d3c['getTypeUrl']=function(_0x4031c5){return void 0x0===_0x4031c5&&(_0x4031c5='type.googleapis.com'),_0x4031c5+'/InsertOperation';},_0x483d3c;}()),_0x1089d5['MarkerOperation']=(function(){function _0x557b91(_0x204031){if(_0x204031){for(var _0x5b327f=Object['keys'](_0x204031),_0x36faa3=0x0;_0x36faa3<_0x5b327f['length'];++_0x36faa3)null!=_0x204031[_0x5b327f[_0x36faa3]]&&(this[_0x5b327f[_0x36faa3]]=_0x204031[_0x5b327f[_0x36faa3]]);}}return _0x557b91['prototype']['name']='',_0x557b91['prototype']['oldRange']=null,_0x557b91['prototype']['newRange']=null,_0x557b91['prototype']['affectsData']=!0x1,_0x557b91['prototype']['wasUndone']=!0x1,_0x557b91['create']=function(_0x21c33a){return new _0x557b91(_0x21c33a);},_0x557b91['encode']=function(_0x201aca,_0x4146b9){return _0x4146b9||(_0x4146b9=_0x2f1bd1['create']()),null!=_0x201aca['name']&&Object['hasOwnProperty']['call'](_0x201aca,'name')&&_0x4146b9['uint32'](0xa)['string'](_0x201aca['name']),null!=_0x201aca['oldRange']&&Object['hasOwnProperty']['call'](_0x201aca,'oldRange')&&_0x1089d5['Range']['encode'](_0x201aca['oldRange'],_0x4146b9['uint32'](0x12)['fork']())['ldelim'](),null!=_0x201aca['newRange']&&Object['hasOwnProperty']['call'](_0x201aca,'newRange')&&_0x1089d5['Range']['encode'](_0x201aca['newRange'],_0x4146b9['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x201aca['affectsData']&&Object['hasOwnProperty']['call'](_0x201aca,'affectsData')&&_0x4146b9['uint32'](0x20)['bool'](_0x201aca['affectsData']),null!=_0x201aca['wasUndone']&&Object['hasOwnProperty']['call'](_0x201aca,'wasUndone')&&_0x4146b9['uint32'](0x28)['bool'](_0x201aca['wasUndone']),_0x4146b9;},_0x557b91['encodeDelimited']=function(_0x3e7e36,_0x10617b){return this['encode'](_0x3e7e36,_0x10617b)['ldelim']();},_0x557b91['decode']=function(_0x3e34d6,_0x2d9aa5){_0x3e34d6 instanceof _0xa1ace1||(_0x3e34d6=_0xa1ace1['create'](_0x3e34d6));for(var _0x20b063=void 0x0===_0x2d9aa5?_0x3e34d6['len']:_0x3e34d6['pos']+_0x2d9aa5,_0xa832ee=new _0x1089d5['MarkerOperation']();_0x3e34d6['pos']<_0x20b063;){var _0x250e1d=_0x3e34d6['uint32']();switch(_0x250e1d>>>0x3){case 0x1:_0xa832ee['name']=_0x3e34d6['string']();break;case 0x2:_0xa832ee['oldRange']=_0x1089d5['Range']['decode'](_0x3e34d6,_0x3e34d6['uint32']());break;case 0x3:_0xa832ee['newRange']=_0x1089d5['Range']['decode'](_0x3e34d6,_0x3e34d6['uint32']());break;case 0x4:_0xa832ee['affectsData']=_0x3e34d6['bool']();break;case 0x5:_0xa832ee['wasUndone']=_0x3e34d6['bool']();break;default:_0x3e34d6['skipType'](0x7&_0x250e1d);}}return _0xa832ee;},_0x557b91['decodeDelimited']=function(_0x114c1b){return _0x114c1b instanceof _0xa1ace1||(_0x114c1b=new _0xa1ace1(_0x114c1b)),this['decode'](_0x114c1b,_0x114c1b['uint32']());},_0x557b91['verify']=function(_0x119500){if('object'!=typeof _0x119500||null===_0x119500)return'object\x20expected';if(null!=_0x119500['name']&&_0x119500['hasOwnProperty']('name')&&!_0xd53fed['isString'](_0x119500['name']))return'name:\x20string\x20expected';var _0x4e8fc7;if(null!=_0x119500['oldRange']&&_0x119500['hasOwnProperty']('oldRange')&&(_0x4e8fc7=_0x1089d5['Range']['verify'](_0x119500['oldRange'])))return'oldRange.'+_0x4e8fc7;if(null!=_0x119500['newRange']&&_0x119500['hasOwnProperty']('newRange')&&(_0x4e8fc7=_0x1089d5['Range']['verify'](_0x119500['newRange'])))return'newRange.'+_0x4e8fc7;return null!=_0x119500['affectsData']&&_0x119500['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x119500['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x119500['wasUndone']&&_0x119500['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x119500['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x557b91['fromObject']=function(_0x12e0dc){if(_0x12e0dc instanceof _0x1089d5['MarkerOperation'])return _0x12e0dc;var _0x1bcbed=new _0x1089d5['MarkerOperation']();if(null!=_0x12e0dc['name']&&(_0x1bcbed['name']=String(_0x12e0dc['name'])),null!=_0x12e0dc['oldRange']){if('object'!=typeof _0x12e0dc['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x1bcbed['oldRange']=_0x1089d5['Range']['fromObject'](_0x12e0dc['oldRange']);}if(null!=_0x12e0dc['newRange']){if('object'!=typeof _0x12e0dc['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x1bcbed['newRange']=_0x1089d5['Range']['fromObject'](_0x12e0dc['newRange']);}return null!=_0x12e0dc['affectsData']&&(_0x1bcbed['affectsData']=Boolean(_0x12e0dc['affectsData'])),null!=_0x12e0dc['wasUndone']&&(_0x1bcbed['wasUndone']=Boolean(_0x12e0dc['wasUndone'])),_0x1bcbed;},_0x557b91['toObject']=function(_0x5d23d6,_0x1facd3){_0x1facd3||(_0x1facd3={});var _0x45d8bb={};return _0x1facd3['defaults']&&(_0x45d8bb['name']='',_0x45d8bb['oldRange']=null,_0x45d8bb['newRange']=null,_0x45d8bb['affectsData']=!0x1,_0x45d8bb['wasUndone']=!0x1),null!=_0x5d23d6['name']&&_0x5d23d6['hasOwnProperty']('name')&&(_0x45d8bb['name']=_0x5d23d6['name']),null!=_0x5d23d6['oldRange']&&_0x5d23d6['hasOwnProperty']('oldRange')&&(_0x45d8bb['oldRange']=_0x1089d5['Range']['toObject'](_0x5d23d6['oldRange'],_0x1facd3)),null!=_0x5d23d6['newRange']&&_0x5d23d6['hasOwnProperty']('newRange')&&(_0x45d8bb['newRange']=_0x1089d5['Range']['toObject'](_0x5d23d6['newRange'],_0x1facd3)),null!=_0x5d23d6['affectsData']&&_0x5d23d6['hasOwnProperty']('affectsData')&&(_0x45d8bb['affectsData']=_0x5d23d6['affectsData']),null!=_0x5d23d6['wasUndone']&&_0x5d23d6['hasOwnProperty']('wasUndone')&&(_0x45d8bb['wasUndone']=_0x5d23d6['wasUndone']),_0x45d8bb;},_0x557b91['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x557b91['getTypeUrl']=function(_0x354c51){return void 0x0===_0x354c51&&(_0x354c51='type.googleapis.com'),_0x354c51+'/MarkerOperation';},_0x557b91;}()),_0x1089d5['MergeOperation']=(function(){function _0x4636c7(_0x318e34){if(_0x318e34){for(var _0xa37d8e=Object['keys'](_0x318e34),_0x423f5e=0x0;_0x423f5e<_0xa37d8e['length'];++_0x423f5e)null!=_0x318e34[_0xa37d8e[_0x423f5e]]&&(this[_0xa37d8e[_0x423f5e]]=_0x318e34[_0xa37d8e[_0x423f5e]]);}}return _0x4636c7['prototype']['sourcePosition']=null,_0x4636c7['prototype']['targetPosition']=null,_0x4636c7['prototype']['graveyardPosition']=null,_0x4636c7['prototype']['howMany']=0x0,_0x4636c7['prototype']['wasUndone']=!0x1,_0x4636c7['create']=function(_0x35a8df){return new _0x4636c7(_0x35a8df);},_0x4636c7['encode']=function(_0x7eb1c7,_0x50bda4){return _0x50bda4||(_0x50bda4=_0x2f1bd1['create']()),null!=_0x7eb1c7['sourcePosition']&&Object['hasOwnProperty']['call'](_0x7eb1c7,'sourcePosition')&&_0x1089d5['Position']['encode'](_0x7eb1c7['sourcePosition'],_0x50bda4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x7eb1c7['targetPosition']&&Object['hasOwnProperty']['call'](_0x7eb1c7,'targetPosition')&&_0x1089d5['Position']['encode'](_0x7eb1c7['targetPosition'],_0x50bda4['uint32'](0x12)['fork']())['ldelim'](),null!=_0x7eb1c7['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x7eb1c7,'graveyardPosition')&&_0x1089d5['Position']['encode'](_0x7eb1c7['graveyardPosition'],_0x50bda4['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x7eb1c7['howMany']&&Object['hasOwnProperty']['call'](_0x7eb1c7,'howMany')&&_0x50bda4['uint32'](0x20)['uint32'](_0x7eb1c7['howMany']),null!=_0x7eb1c7['wasUndone']&&Object['hasOwnProperty']['call'](_0x7eb1c7,'wasUndone')&&_0x50bda4['uint32'](0x28)['bool'](_0x7eb1c7['wasUndone']),_0x50bda4;},_0x4636c7['encodeDelimited']=function(_0x43f143,_0x5eaed3){return this['encode'](_0x43f143,_0x5eaed3)['ldelim']();},_0x4636c7['decode']=function(_0xde05d3,_0x257286){_0xde05d3 instanceof _0xa1ace1||(_0xde05d3=_0xa1ace1['create'](_0xde05d3));for(var _0x421025=void 0x0===_0x257286?_0xde05d3['len']:_0xde05d3['pos']+_0x257286,_0x12c02a=new _0x1089d5['MergeOperation']();_0xde05d3['pos']<_0x421025;){var _0x3294b2=_0xde05d3['uint32']();switch(_0x3294b2>>>0x3){case 0x1:_0x12c02a['sourcePosition']=_0x1089d5['Position']['decode'](_0xde05d3,_0xde05d3['uint32']());break;case 0x2:_0x12c02a['targetPosition']=_0x1089d5['Position']['decode'](_0xde05d3,_0xde05d3['uint32']());break;case 0x3:_0x12c02a['graveyardPosition']=_0x1089d5['Position']['decode'](_0xde05d3,_0xde05d3['uint32']());break;case 0x4:_0x12c02a['howMany']=_0xde05d3['uint32']();break;case 0x5:_0x12c02a['wasUndone']=_0xde05d3['bool']();break;default:_0xde05d3['skipType'](0x7&_0x3294b2);}}return _0x12c02a;},_0x4636c7['decodeDelimited']=function(_0x410ad0){return _0x410ad0 instanceof _0xa1ace1||(_0x410ad0=new _0xa1ace1(_0x410ad0)),this['decode'](_0x410ad0,_0x410ad0['uint32']());},_0x4636c7['verify']=function(_0x2fabf6){if('object'!=typeof _0x2fabf6||null===_0x2fabf6)return'object\x20expected';var _0x57ad93;if(null!=_0x2fabf6['sourcePosition']&&_0x2fabf6['hasOwnProperty']('sourcePosition')&&(_0x57ad93=_0x1089d5['Position']['verify'](_0x2fabf6['sourcePosition'])))return'sourcePosition.'+_0x57ad93;if(null!=_0x2fabf6['targetPosition']&&_0x2fabf6['hasOwnProperty']('targetPosition')&&(_0x57ad93=_0x1089d5['Position']['verify'](_0x2fabf6['targetPosition'])))return'targetPosition.'+_0x57ad93;if(null!=_0x2fabf6['graveyardPosition']&&_0x2fabf6['hasOwnProperty']('graveyardPosition')&&(_0x57ad93=_0x1089d5['Position']['verify'](_0x2fabf6['graveyardPosition'])))return'graveyardPosition.'+_0x57ad93;return null!=_0x2fabf6['howMany']&&_0x2fabf6['hasOwnProperty']('howMany')&&!_0xd53fed['isInteger'](_0x2fabf6['howMany'])?'howMany:\x20integer\x20expected':null!=_0x2fabf6['wasUndone']&&_0x2fabf6['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2fabf6['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4636c7['fromObject']=function(_0x4c2ac8){if(_0x4c2ac8 instanceof _0x1089d5['MergeOperation'])return _0x4c2ac8;var _0x1ca733=new _0x1089d5['MergeOperation']();if(null!=_0x4c2ac8['sourcePosition']){if('object'!=typeof _0x4c2ac8['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x1ca733['sourcePosition']=_0x1089d5['Position']['fromObject'](_0x4c2ac8['sourcePosition']);}if(null!=_0x4c2ac8['targetPosition']){if('object'!=typeof _0x4c2ac8['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x1ca733['targetPosition']=_0x1089d5['Position']['fromObject'](_0x4c2ac8['targetPosition']);}if(null!=_0x4c2ac8['graveyardPosition']){if('object'!=typeof _0x4c2ac8['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x1ca733['graveyardPosition']=_0x1089d5['Position']['fromObject'](_0x4c2ac8['graveyardPosition']);}return null!=_0x4c2ac8['howMany']&&(_0x1ca733['howMany']=_0x4c2ac8['howMany']>>>0x0),null!=_0x4c2ac8['wasUndone']&&(_0x1ca733['wasUndone']=Boolean(_0x4c2ac8['wasUndone'])),_0x1ca733;},_0x4636c7['toObject']=function(_0xf3af18,_0x41bd6a){_0x41bd6a||(_0x41bd6a={});var _0x4c7e94={};return _0x41bd6a['defaults']&&(_0x4c7e94['sourcePosition']=null,_0x4c7e94['targetPosition']=null,_0x4c7e94['graveyardPosition']=null,_0x4c7e94['howMany']=0x0,_0x4c7e94['wasUndone']=!0x1),null!=_0xf3af18['sourcePosition']&&_0xf3af18['hasOwnProperty']('sourcePosition')&&(_0x4c7e94['sourcePosition']=_0x1089d5['Position']['toObject'](_0xf3af18['sourcePosition'],_0x41bd6a)),null!=_0xf3af18['targetPosition']&&_0xf3af18['hasOwnProperty']('targetPosition')&&(_0x4c7e94['targetPosition']=_0x1089d5['Position']['toObject'](_0xf3af18['targetPosition'],_0x41bd6a)),null!=_0xf3af18['graveyardPosition']&&_0xf3af18['hasOwnProperty']('graveyardPosition')&&(_0x4c7e94['graveyardPosition']=_0x1089d5['Position']['toObject'](_0xf3af18['graveyardPosition'],_0x41bd6a)),null!=_0xf3af18['howMany']&&_0xf3af18['hasOwnProperty']('howMany')&&(_0x4c7e94['howMany']=_0xf3af18['howMany']),null!=_0xf3af18['wasUndone']&&_0xf3af18['hasOwnProperty']('wasUndone')&&(_0x4c7e94['wasUndone']=_0xf3af18['wasUndone']),_0x4c7e94;},_0x4636c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x4636c7['getTypeUrl']=function(_0x34ed51){return void 0x0===_0x34ed51&&(_0x34ed51='type.googleapis.com'),_0x34ed51+'/MergeOperation';},_0x4636c7;}()),_0x1089d5['MoveOperation']=(function(){function _0x559df1(_0x28144){if(_0x28144){for(var _0x3513bd=Object['keys'](_0x28144),_0x418b92=0x0;_0x418b92<_0x3513bd['length'];++_0x418b92)null!=_0x28144[_0x3513bd[_0x418b92]]&&(this[_0x3513bd[_0x418b92]]=_0x28144[_0x3513bd[_0x418b92]]);}}return _0x559df1['prototype']['sourcePosition']=null,_0x559df1['prototype']['howMany']=0x0,_0x559df1['prototype']['targetPosition']=null,_0x559df1['prototype']['wasUndone']=!0x1,_0x559df1['create']=function(_0x23949c){return new _0x559df1(_0x23949c);},_0x559df1['encode']=function(_0x47e674,_0x2b0efd){return _0x2b0efd||(_0x2b0efd=_0x2f1bd1['create']()),null!=_0x47e674['sourcePosition']&&Object['hasOwnProperty']['call'](_0x47e674,'sourcePosition')&&_0x1089d5['Position']['encode'](_0x47e674['sourcePosition'],_0x2b0efd['uint32'](0xa)['fork']())['ldelim'](),null!=_0x47e674['howMany']&&Object['hasOwnProperty']['call'](_0x47e674,'howMany')&&_0x2b0efd['uint32'](0x10)['uint32'](_0x47e674['howMany']),null!=_0x47e674['targetPosition']&&Object['hasOwnProperty']['call'](_0x47e674,'targetPosition')&&_0x1089d5['Position']['encode'](_0x47e674['targetPosition'],_0x2b0efd['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x47e674['wasUndone']&&Object['hasOwnProperty']['call'](_0x47e674,'wasUndone')&&_0x2b0efd['uint32'](0x20)['bool'](_0x47e674['wasUndone']),_0x2b0efd;},_0x559df1['encodeDelimited']=function(_0xfe162d,_0x36b8a5){return this['encode'](_0xfe162d,_0x36b8a5)['ldelim']();},_0x559df1['decode']=function(_0x5ee425,_0x505ef0){_0x5ee425 instanceof _0xa1ace1||(_0x5ee425=_0xa1ace1['create'](_0x5ee425));for(var _0x2af58b=void 0x0===_0x505ef0?_0x5ee425['len']:_0x5ee425['pos']+_0x505ef0,_0xf6bbb3=new _0x1089d5['MoveOperation']();_0x5ee425['pos']<_0x2af58b;){var _0x2b2595=_0x5ee425['uint32']();switch(_0x2b2595>>>0x3){case 0x1:_0xf6bbb3['sourcePosition']=_0x1089d5['Position']['decode'](_0x5ee425,_0x5ee425['uint32']());break;case 0x2:_0xf6bbb3['howMany']=_0x5ee425['uint32']();break;case 0x3:_0xf6bbb3['targetPosition']=_0x1089d5['Position']['decode'](_0x5ee425,_0x5ee425['uint32']());break;case 0x4:_0xf6bbb3['wasUndone']=_0x5ee425['bool']();break;default:_0x5ee425['skipType'](0x7&_0x2b2595);}}return _0xf6bbb3;},_0x559df1['decodeDelimited']=function(_0x33b2f8){return _0x33b2f8 instanceof _0xa1ace1||(_0x33b2f8=new _0xa1ace1(_0x33b2f8)),this['decode'](_0x33b2f8,_0x33b2f8['uint32']());},_0x559df1['verify']=function(_0x1a0950){if('object'!=typeof _0x1a0950||null===_0x1a0950)return'object\x20expected';var _0x5a2917;if(null!=_0x1a0950['sourcePosition']&&_0x1a0950['hasOwnProperty']('sourcePosition')&&(_0x5a2917=_0x1089d5['Position']['verify'](_0x1a0950['sourcePosition'])))return'sourcePosition.'+_0x5a2917;if(null!=_0x1a0950['howMany']&&_0x1a0950['hasOwnProperty']('howMany')&&!_0xd53fed['isInteger'](_0x1a0950['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x1a0950['targetPosition']&&_0x1a0950['hasOwnProperty']('targetPosition')&&(_0x5a2917=_0x1089d5['Position']['verify'](_0x1a0950['targetPosition'])))return'targetPosition.'+_0x5a2917;return null!=_0x1a0950['wasUndone']&&_0x1a0950['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1a0950['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x559df1['fromObject']=function(_0x12b1f1){if(_0x12b1f1 instanceof _0x1089d5['MoveOperation'])return _0x12b1f1;var _0x5dfb4f=new _0x1089d5['MoveOperation']();if(null!=_0x12b1f1['sourcePosition']){if('object'!=typeof _0x12b1f1['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x5dfb4f['sourcePosition']=_0x1089d5['Position']['fromObject'](_0x12b1f1['sourcePosition']);}if(null!=_0x12b1f1['howMany']&&(_0x5dfb4f['howMany']=_0x12b1f1['howMany']>>>0x0),null!=_0x12b1f1['targetPosition']){if('object'!=typeof _0x12b1f1['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x5dfb4f['targetPosition']=_0x1089d5['Position']['fromObject'](_0x12b1f1['targetPosition']);}return null!=_0x12b1f1['wasUndone']&&(_0x5dfb4f['wasUndone']=Boolean(_0x12b1f1['wasUndone'])),_0x5dfb4f;},_0x559df1['toObject']=function(_0x7a1fdd,_0x5524f3){_0x5524f3||(_0x5524f3={});var _0x37a1e5={};return _0x5524f3['defaults']&&(_0x37a1e5['sourcePosition']=null,_0x37a1e5['howMany']=0x0,_0x37a1e5['targetPosition']=null,_0x37a1e5['wasUndone']=!0x1),null!=_0x7a1fdd['sourcePosition']&&_0x7a1fdd['hasOwnProperty']('sourcePosition')&&(_0x37a1e5['sourcePosition']=_0x1089d5['Position']['toObject'](_0x7a1fdd['sourcePosition'],_0x5524f3)),null!=_0x7a1fdd['howMany']&&_0x7a1fdd['hasOwnProperty']('howMany')&&(_0x37a1e5['howMany']=_0x7a1fdd['howMany']),null!=_0x7a1fdd['targetPosition']&&_0x7a1fdd['hasOwnProperty']('targetPosition')&&(_0x37a1e5['targetPosition']=_0x1089d5['Position']['toObject'](_0x7a1fdd['targetPosition'],_0x5524f3)),null!=_0x7a1fdd['wasUndone']&&_0x7a1fdd['hasOwnProperty']('wasUndone')&&(_0x37a1e5['wasUndone']=_0x7a1fdd['wasUndone']),_0x37a1e5;},_0x559df1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x559df1['getTypeUrl']=function(_0x497773){return void 0x0===_0x497773&&(_0x497773='type.googleapis.com'),_0x497773+'/MoveOperation';},_0x559df1;}()),_0x1089d5['RenameOperation']=(function(){function _0x3a0fc2(_0x357012){if(_0x357012){for(var _0x22f7a9=Object['keys'](_0x357012),_0x361df4=0x0;_0x361df4<_0x22f7a9['length'];++_0x361df4)null!=_0x357012[_0x22f7a9[_0x361df4]]&&(this[_0x22f7a9[_0x361df4]]=_0x357012[_0x22f7a9[_0x361df4]]);}}return _0x3a0fc2['prototype']['position']=null,_0x3a0fc2['prototype']['oldName']='',_0x3a0fc2['prototype']['newName']='',_0x3a0fc2['prototype']['wasUndone']=!0x1,_0x3a0fc2['create']=function(_0x18734e){return new _0x3a0fc2(_0x18734e);},_0x3a0fc2['encode']=function(_0x2ecf84,_0x22195f){return _0x22195f||(_0x22195f=_0x2f1bd1['create']()),null!=_0x2ecf84['position']&&Object['hasOwnProperty']['call'](_0x2ecf84,'position')&&_0x1089d5['Position']['encode'](_0x2ecf84['position'],_0x22195f['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2ecf84['oldName']&&Object['hasOwnProperty']['call'](_0x2ecf84,'oldName')&&_0x22195f['uint32'](0x12)['string'](_0x2ecf84['oldName']),null!=_0x2ecf84['newName']&&Object['hasOwnProperty']['call'](_0x2ecf84,'newName')&&_0x22195f['uint32'](0x1a)['string'](_0x2ecf84['newName']),null!=_0x2ecf84['wasUndone']&&Object['hasOwnProperty']['call'](_0x2ecf84,'wasUndone')&&_0x22195f['uint32'](0x20)['bool'](_0x2ecf84['wasUndone']),_0x22195f;},_0x3a0fc2['encodeDelimited']=function(_0x328e83,_0x3d3bd7){return this['encode'](_0x328e83,_0x3d3bd7)['ldelim']();},_0x3a0fc2['decode']=function(_0xcc8e82,_0x354702){_0xcc8e82 instanceof _0xa1ace1||(_0xcc8e82=_0xa1ace1['create'](_0xcc8e82));for(var _0x44bc94=void 0x0===_0x354702?_0xcc8e82['len']:_0xcc8e82['pos']+_0x354702,_0x3ff714=new _0x1089d5['RenameOperation']();_0xcc8e82['pos']<_0x44bc94;){var _0x1e6deb=_0xcc8e82['uint32']();switch(_0x1e6deb>>>0x3){case 0x1:_0x3ff714['position']=_0x1089d5['Position']['decode'](_0xcc8e82,_0xcc8e82['uint32']());break;case 0x2:_0x3ff714['oldName']=_0xcc8e82['string']();break;case 0x3:_0x3ff714['newName']=_0xcc8e82['string']();break;case 0x4:_0x3ff714['wasUndone']=_0xcc8e82['bool']();break;default:_0xcc8e82['skipType'](0x7&_0x1e6deb);}}return _0x3ff714;},_0x3a0fc2['decodeDelimited']=function(_0x223e2e){return _0x223e2e instanceof _0xa1ace1||(_0x223e2e=new _0xa1ace1(_0x223e2e)),this['decode'](_0x223e2e,_0x223e2e['uint32']());},_0x3a0fc2['verify']=function(_0x1d5eea){if('object'!=typeof _0x1d5eea||null===_0x1d5eea)return'object\x20expected';if(null!=_0x1d5eea['position']&&_0x1d5eea['hasOwnProperty']('position')){var _0x3b90be=_0x1089d5['Position']['verify'](_0x1d5eea['position']);if(_0x3b90be)return'position.'+_0x3b90be;}return null!=_0x1d5eea['oldName']&&_0x1d5eea['hasOwnProperty']('oldName')&&!_0xd53fed['isString'](_0x1d5eea['oldName'])?'oldName:\x20string\x20expected':null!=_0x1d5eea['newName']&&_0x1d5eea['hasOwnProperty']('newName')&&!_0xd53fed['isString'](_0x1d5eea['newName'])?'newName:\x20string\x20expected':null!=_0x1d5eea['wasUndone']&&_0x1d5eea['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1d5eea['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3a0fc2['fromObject']=function(_0x47ed1b){if(_0x47ed1b instanceof _0x1089d5['RenameOperation'])return _0x47ed1b;var _0x23f413=new _0x1089d5['RenameOperation']();if(null!=_0x47ed1b['position']){if('object'!=typeof _0x47ed1b['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x23f413['position']=_0x1089d5['Position']['fromObject'](_0x47ed1b['position']);}return null!=_0x47ed1b['oldName']&&(_0x23f413['oldName']=String(_0x47ed1b['oldName'])),null!=_0x47ed1b['newName']&&(_0x23f413['newName']=String(_0x47ed1b['newName'])),null!=_0x47ed1b['wasUndone']&&(_0x23f413['wasUndone']=Boolean(_0x47ed1b['wasUndone'])),_0x23f413;},_0x3a0fc2['toObject']=function(_0x59eebd,_0x4e339d){_0x4e339d||(_0x4e339d={});var _0x23ce8d={};return _0x4e339d['defaults']&&(_0x23ce8d['position']=null,_0x23ce8d['oldName']='',_0x23ce8d['newName']='',_0x23ce8d['wasUndone']=!0x1),null!=_0x59eebd['position']&&_0x59eebd['hasOwnProperty']('position')&&(_0x23ce8d['position']=_0x1089d5['Position']['toObject'](_0x59eebd['position'],_0x4e339d)),null!=_0x59eebd['oldName']&&_0x59eebd['hasOwnProperty']('oldName')&&(_0x23ce8d['oldName']=_0x59eebd['oldName']),null!=_0x59eebd['newName']&&_0x59eebd['hasOwnProperty']('newName')&&(_0x23ce8d['newName']=_0x59eebd['newName']),null!=_0x59eebd['wasUndone']&&_0x59eebd['hasOwnProperty']('wasUndone')&&(_0x23ce8d['wasUndone']=_0x59eebd['wasUndone']),_0x23ce8d;},_0x3a0fc2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3a0fc2['getTypeUrl']=function(_0x2f35e7){return void 0x0===_0x2f35e7&&(_0x2f35e7='type.googleapis.com'),_0x2f35e7+'/RenameOperation';},_0x3a0fc2;}()),_0x1089d5['RootAttributeOperation']=(function(){function _0x3cef0b(_0x201f46){if(_0x201f46){for(var _0x3576ca=Object['keys'](_0x201f46),_0x4f106d=0x0;_0x4f106d<_0x3576ca['length'];++_0x4f106d)null!=_0x201f46[_0x3576ca[_0x4f106d]]&&(this[_0x3576ca[_0x4f106d]]=_0x201f46[_0x3576ca[_0x4f106d]]);}}return _0x3cef0b['prototype']['root']='',_0x3cef0b['prototype']['key']='',_0x3cef0b['prototype']['oldValueBoolean']=!0x1,_0x3cef0b['prototype']['oldValueJson']='',_0x3cef0b['prototype']['newValueBoolean']=!0x1,_0x3cef0b['prototype']['newValueJson']='',_0x3cef0b['prototype']['wasUndone']=!0x1,_0x3cef0b['create']=function(_0x4520e1){return new _0x3cef0b(_0x4520e1);},_0x3cef0b['encode']=function(_0xe39f50,_0x189cf5){return _0x189cf5||(_0x189cf5=_0x2f1bd1['create']()),null!=_0xe39f50['root']&&Object['hasOwnProperty']['call'](_0xe39f50,'root')&&_0x189cf5['uint32'](0xa)['string'](_0xe39f50['root']),null!=_0xe39f50['key']&&Object['hasOwnProperty']['call'](_0xe39f50,'key')&&_0x189cf5['uint32'](0x12)['string'](_0xe39f50['key']),null!=_0xe39f50['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0xe39f50,'oldValueBoolean')&&_0x189cf5['uint32'](0x18)['bool'](_0xe39f50['oldValueBoolean']),null!=_0xe39f50['oldValueJson']&&Object['hasOwnProperty']['call'](_0xe39f50,'oldValueJson')&&_0x189cf5['uint32'](0x22)['string'](_0xe39f50['oldValueJson']),null!=_0xe39f50['newValueBoolean']&&Object['hasOwnProperty']['call'](_0xe39f50,'newValueBoolean')&&_0x189cf5['uint32'](0x28)['bool'](_0xe39f50['newValueBoolean']),null!=_0xe39f50['newValueJson']&&Object['hasOwnProperty']['call'](_0xe39f50,'newValueJson')&&_0x189cf5['uint32'](0x32)['string'](_0xe39f50['newValueJson']),null!=_0xe39f50['wasUndone']&&Object['hasOwnProperty']['call'](_0xe39f50,'wasUndone')&&_0x189cf5['uint32'](0x38)['bool'](_0xe39f50['wasUndone']),_0x189cf5;},_0x3cef0b['encodeDelimited']=function(_0x4753d0,_0x516db3){return this['encode'](_0x4753d0,_0x516db3)['ldelim']();},_0x3cef0b['decode']=function(_0x4ca7c7,_0x15f16f){_0x4ca7c7 instanceof _0xa1ace1||(_0x4ca7c7=_0xa1ace1['create'](_0x4ca7c7));for(var _0x2aae11=void 0x0===_0x15f16f?_0x4ca7c7['len']:_0x4ca7c7['pos']+_0x15f16f,_0x3cd167=new _0x1089d5['RootAttributeOperation']();_0x4ca7c7['pos']<_0x2aae11;){var _0x510655=_0x4ca7c7['uint32']();switch(_0x510655>>>0x3){case 0x1:_0x3cd167['root']=_0x4ca7c7['string']();break;case 0x2:_0x3cd167['key']=_0x4ca7c7['string']();break;case 0x3:_0x3cd167['oldValueBoolean']=_0x4ca7c7['bool']();break;case 0x4:_0x3cd167['oldValueJson']=_0x4ca7c7['string']();break;case 0x5:_0x3cd167['newValueBoolean']=_0x4ca7c7['bool']();break;case 0x6:_0x3cd167['newValueJson']=_0x4ca7c7['string']();break;case 0x7:_0x3cd167['wasUndone']=_0x4ca7c7['bool']();break;default:_0x4ca7c7['skipType'](0x7&_0x510655);}}return _0x3cd167;},_0x3cef0b['decodeDelimited']=function(_0x5385f2){return _0x5385f2 instanceof _0xa1ace1||(_0x5385f2=new _0xa1ace1(_0x5385f2)),this['decode'](_0x5385f2,_0x5385f2['uint32']());},_0x3cef0b['verify']=function(_0x496474){return'object'!=typeof _0x496474||null===_0x496474?'object\x20expected':null!=_0x496474['root']&&_0x496474['hasOwnProperty']('root')&&!_0xd53fed['isString'](_0x496474['root'])?'root:\x20string\x20expected':null!=_0x496474['key']&&_0x496474['hasOwnProperty']('key')&&!_0xd53fed['isString'](_0x496474['key'])?'key:\x20string\x20expected':null!=_0x496474['oldValueBoolean']&&_0x496474['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x496474['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x496474['oldValueJson']&&_0x496474['hasOwnProperty']('oldValueJson')&&!_0xd53fed['isString'](_0x496474['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x496474['newValueBoolean']&&_0x496474['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x496474['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x496474['newValueJson']&&_0x496474['hasOwnProperty']('newValueJson')&&!_0xd53fed['isString'](_0x496474['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x496474['wasUndone']&&_0x496474['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x496474['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3cef0b['fromObject']=function(_0x4c9722){if(_0x4c9722 instanceof _0x1089d5['RootAttributeOperation'])return _0x4c9722;var _0xd9765a=new _0x1089d5['RootAttributeOperation']();return null!=_0x4c9722['root']&&(_0xd9765a['root']=String(_0x4c9722['root'])),null!=_0x4c9722['key']&&(_0xd9765a['key']=String(_0x4c9722['key'])),null!=_0x4c9722['oldValueBoolean']&&(_0xd9765a['oldValueBoolean']=Boolean(_0x4c9722['oldValueBoolean'])),null!=_0x4c9722['oldValueJson']&&(_0xd9765a['oldValueJson']=String(_0x4c9722['oldValueJson'])),null!=_0x4c9722['newValueBoolean']&&(_0xd9765a['newValueBoolean']=Boolean(_0x4c9722['newValueBoolean'])),null!=_0x4c9722['newValueJson']&&(_0xd9765a['newValueJson']=String(_0x4c9722['newValueJson'])),null!=_0x4c9722['wasUndone']&&(_0xd9765a['wasUndone']=Boolean(_0x4c9722['wasUndone'])),_0xd9765a;},_0x3cef0b['toObject']=function(_0x762502,_0x551ab5){_0x551ab5||(_0x551ab5={});var _0xda506a={};return _0x551ab5['defaults']&&(_0xda506a['root']='',_0xda506a['key']='',_0xda506a['oldValueBoolean']=!0x1,_0xda506a['oldValueJson']='',_0xda506a['newValueBoolean']=!0x1,_0xda506a['newValueJson']='',_0xda506a['wasUndone']=!0x1),null!=_0x762502['root']&&_0x762502['hasOwnProperty']('root')&&(_0xda506a['root']=_0x762502['root']),null!=_0x762502['key']&&_0x762502['hasOwnProperty']('key')&&(_0xda506a['key']=_0x762502['key']),null!=_0x762502['oldValueBoolean']&&_0x762502['hasOwnProperty']('oldValueBoolean')&&(_0xda506a['oldValueBoolean']=_0x762502['oldValueBoolean']),null!=_0x762502['oldValueJson']&&_0x762502['hasOwnProperty']('oldValueJson')&&(_0xda506a['oldValueJson']=_0x762502['oldValueJson']),null!=_0x762502['newValueBoolean']&&_0x762502['hasOwnProperty']('newValueBoolean')&&(_0xda506a['newValueBoolean']=_0x762502['newValueBoolean']),null!=_0x762502['newValueJson']&&_0x762502['hasOwnProperty']('newValueJson')&&(_0xda506a['newValueJson']=_0x762502['newValueJson']),null!=_0x762502['wasUndone']&&_0x762502['hasOwnProperty']('wasUndone')&&(_0xda506a['wasUndone']=_0x762502['wasUndone']),_0xda506a;},_0x3cef0b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x3cef0b['getTypeUrl']=function(_0x4b9b97){return void 0x0===_0x4b9b97&&(_0x4b9b97='type.googleapis.com'),_0x4b9b97+'/RootAttributeOperation';},_0x3cef0b;}()),_0x1089d5['RootOperation']=(function(){function _0x2181e8(_0x118432){if(_0x118432){for(var _0x2ef6eb=Object['keys'](_0x118432),_0x550e9a=0x0;_0x550e9a<_0x2ef6eb['length'];++_0x550e9a)null!=_0x118432[_0x2ef6eb[_0x550e9a]]&&(this[_0x2ef6eb[_0x550e9a]]=_0x118432[_0x2ef6eb[_0x550e9a]]);}}return _0x2181e8['prototype']['rootName']='',_0x2181e8['prototype']['elementName']='',_0x2181e8['prototype']['isAdd']=!0x1,_0x2181e8['prototype']['wasUndone']=!0x1,_0x2181e8['create']=function(_0x1e2673){return new _0x2181e8(_0x1e2673);},_0x2181e8['encode']=function(_0x2c14cf,_0x49aa0e){return _0x49aa0e||(_0x49aa0e=_0x2f1bd1['create']()),null!=_0x2c14cf['rootName']&&Object['hasOwnProperty']['call'](_0x2c14cf,'rootName')&&_0x49aa0e['uint32'](0xa)['string'](_0x2c14cf['rootName']),null!=_0x2c14cf['elementName']&&Object['hasOwnProperty']['call'](_0x2c14cf,'elementName')&&_0x49aa0e['uint32'](0x12)['string'](_0x2c14cf['elementName']),null!=_0x2c14cf['isAdd']&&Object['hasOwnProperty']['call'](_0x2c14cf,'isAdd')&&_0x49aa0e['uint32'](0x18)['bool'](_0x2c14cf['isAdd']),null!=_0x2c14cf['wasUndone']&&Object['hasOwnProperty']['call'](_0x2c14cf,'wasUndone')&&_0x49aa0e['uint32'](0x20)['bool'](_0x2c14cf['wasUndone']),_0x49aa0e;},_0x2181e8['encodeDelimited']=function(_0x126795,_0x11e7a5){return this['encode'](_0x126795,_0x11e7a5)['ldelim']();},_0x2181e8['decode']=function(_0x568bbd,_0x2c5079){_0x568bbd instanceof _0xa1ace1||(_0x568bbd=_0xa1ace1['create'](_0x568bbd));for(var _0x44db4a=void 0x0===_0x2c5079?_0x568bbd['len']:_0x568bbd['pos']+_0x2c5079,_0x1e5fc6=new _0x1089d5['RootOperation']();_0x568bbd['pos']<_0x44db4a;){var _0x29f537=_0x568bbd['uint32']();switch(_0x29f537>>>0x3){case 0x1:_0x1e5fc6['rootName']=_0x568bbd['string']();break;case 0x2:_0x1e5fc6['elementName']=_0x568bbd['string']();break;case 0x3:_0x1e5fc6['isAdd']=_0x568bbd['bool']();break;case 0x4:_0x1e5fc6['wasUndone']=_0x568bbd['bool']();break;default:_0x568bbd['skipType'](0x7&_0x29f537);}}return _0x1e5fc6;},_0x2181e8['decodeDelimited']=function(_0x342c5f){return _0x342c5f instanceof _0xa1ace1||(_0x342c5f=new _0xa1ace1(_0x342c5f)),this['decode'](_0x342c5f,_0x342c5f['uint32']());},_0x2181e8['verify']=function(_0x45fb05){return'object'!=typeof _0x45fb05||null===_0x45fb05?'object\x20expected':null!=_0x45fb05['rootName']&&_0x45fb05['hasOwnProperty']('rootName')&&!_0xd53fed['isString'](_0x45fb05['rootName'])?'rootName:\x20string\x20expected':null!=_0x45fb05['elementName']&&_0x45fb05['hasOwnProperty']('elementName')&&!_0xd53fed['isString'](_0x45fb05['elementName'])?'elementName:\x20string\x20expected':null!=_0x45fb05['isAdd']&&_0x45fb05['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x45fb05['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x45fb05['wasUndone']&&_0x45fb05['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x45fb05['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2181e8['fromObject']=function(_0xea46d){if(_0xea46d instanceof _0x1089d5['RootOperation'])return _0xea46d;var _0x327498=new _0x1089d5['RootOperation']();return null!=_0xea46d['rootName']&&(_0x327498['rootName']=String(_0xea46d['rootName'])),null!=_0xea46d['elementName']&&(_0x327498['elementName']=String(_0xea46d['elementName'])),null!=_0xea46d['isAdd']&&(_0x327498['isAdd']=Boolean(_0xea46d['isAdd'])),null!=_0xea46d['wasUndone']&&(_0x327498['wasUndone']=Boolean(_0xea46d['wasUndone'])),_0x327498;},_0x2181e8['toObject']=function(_0x1917ea,_0x2b6935){_0x2b6935||(_0x2b6935={});var _0x2e2af9={};return _0x2b6935['defaults']&&(_0x2e2af9['rootName']='',_0x2e2af9['elementName']='',_0x2e2af9['isAdd']=!0x1,_0x2e2af9['wasUndone']=!0x1),null!=_0x1917ea['rootName']&&_0x1917ea['hasOwnProperty']('rootName')&&(_0x2e2af9['rootName']=_0x1917ea['rootName']),null!=_0x1917ea['elementName']&&_0x1917ea['hasOwnProperty']('elementName')&&(_0x2e2af9['elementName']=_0x1917ea['elementName']),null!=_0x1917ea['isAdd']&&_0x1917ea['hasOwnProperty']('isAdd')&&(_0x2e2af9['isAdd']=_0x1917ea['isAdd']),null!=_0x1917ea['wasUndone']&&_0x1917ea['hasOwnProperty']('wasUndone')&&(_0x2e2af9['wasUndone']=_0x1917ea['wasUndone']),_0x2e2af9;},_0x2181e8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x2181e8['getTypeUrl']=function(_0x2b7098){return void 0x0===_0x2b7098&&(_0x2b7098='type.googleapis.com'),_0x2b7098+'/RootOperation';},_0x2181e8;}()),_0x1089d5['SplitOperation']=(function(){function _0x11a757(_0x5d1959){if(_0x5d1959){for(var _0xc9739c=Object['keys'](_0x5d1959),_0x182aa9=0x0;_0x182aa9<_0xc9739c['length'];++_0x182aa9)null!=_0x5d1959[_0xc9739c[_0x182aa9]]&&(this[_0xc9739c[_0x182aa9]]=_0x5d1959[_0xc9739c[_0x182aa9]]);}}return _0x11a757['prototype']['splitPosition']=null,_0x11a757['prototype']['graveyardPosition']=null,_0x11a757['prototype']['howMany']=0x0,_0x11a757['prototype']['insertionPosition']=null,_0x11a757['prototype']['wasUndone']=!0x1,_0x11a757['create']=function(_0x10dd9a){return new _0x11a757(_0x10dd9a);},_0x11a757['encode']=function(_0x3df2e6,_0x7b4ba0){return _0x7b4ba0||(_0x7b4ba0=_0x2f1bd1['create']()),null!=_0x3df2e6['splitPosition']&&Object['hasOwnProperty']['call'](_0x3df2e6,'splitPosition')&&_0x1089d5['Position']['encode'](_0x3df2e6['splitPosition'],_0x7b4ba0['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3df2e6['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x3df2e6,'graveyardPosition')&&_0x1089d5['Position']['encode'](_0x3df2e6['graveyardPosition'],_0x7b4ba0['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3df2e6['howMany']&&Object['hasOwnProperty']['call'](_0x3df2e6,'howMany')&&_0x7b4ba0['uint32'](0x18)['uint32'](_0x3df2e6['howMany']),null!=_0x3df2e6['insertionPosition']&&Object['hasOwnProperty']['call'](_0x3df2e6,'insertionPosition')&&_0x1089d5['Position']['encode'](_0x3df2e6['insertionPosition'],_0x7b4ba0['uint32'](0x22)['fork']())['ldelim'](),null!=_0x3df2e6['wasUndone']&&Object['hasOwnProperty']['call'](_0x3df2e6,'wasUndone')&&_0x7b4ba0['uint32'](0x28)['bool'](_0x3df2e6['wasUndone']),_0x7b4ba0;},_0x11a757['encodeDelimited']=function(_0x4bdb12,_0x3a9b47){return this['encode'](_0x4bdb12,_0x3a9b47)['ldelim']();},_0x11a757['decode']=function(_0x55adce,_0x5d4742){_0x55adce instanceof _0xa1ace1||(_0x55adce=_0xa1ace1['create'](_0x55adce));for(var _0x5a3d0c=void 0x0===_0x5d4742?_0x55adce['len']:_0x55adce['pos']+_0x5d4742,_0xe228d8=new _0x1089d5['SplitOperation']();_0x55adce['pos']<_0x5a3d0c;){var _0xcd09c7=_0x55adce['uint32']();switch(_0xcd09c7>>>0x3){case 0x1:_0xe228d8['splitPosition']=_0x1089d5['Position']['decode'](_0x55adce,_0x55adce['uint32']());break;case 0x2:_0xe228d8['graveyardPosition']=_0x1089d5['Position']['decode'](_0x55adce,_0x55adce['uint32']());break;case 0x3:_0xe228d8['howMany']=_0x55adce['uint32']();break;case 0x4:_0xe228d8['insertionPosition']=_0x1089d5['Position']['decode'](_0x55adce,_0x55adce['uint32']());break;case 0x5:_0xe228d8['wasUndone']=_0x55adce['bool']();break;default:_0x55adce['skipType'](0x7&_0xcd09c7);}}return _0xe228d8;},_0x11a757['decodeDelimited']=function(_0x3b28d7){return _0x3b28d7 instanceof _0xa1ace1||(_0x3b28d7=new _0xa1ace1(_0x3b28d7)),this['decode'](_0x3b28d7,_0x3b28d7['uint32']());},_0x11a757['verify']=function(_0xef3b98){if('object'!=typeof _0xef3b98||null===_0xef3b98)return'object\x20expected';var _0xa89c3a;if(null!=_0xef3b98['splitPosition']&&_0xef3b98['hasOwnProperty']('splitPosition')&&(_0xa89c3a=_0x1089d5['Position']['verify'](_0xef3b98['splitPosition'])))return'splitPosition.'+_0xa89c3a;if(null!=_0xef3b98['graveyardPosition']&&_0xef3b98['hasOwnProperty']('graveyardPosition')&&(_0xa89c3a=_0x1089d5['Position']['verify'](_0xef3b98['graveyardPosition'])))return'graveyardPosition.'+_0xa89c3a;if(null!=_0xef3b98['howMany']&&_0xef3b98['hasOwnProperty']('howMany')&&!_0xd53fed['isInteger'](_0xef3b98['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0xef3b98['insertionPosition']&&_0xef3b98['hasOwnProperty']('insertionPosition')&&(_0xa89c3a=_0x1089d5['Position']['verify'](_0xef3b98['insertionPosition'])))return'insertionPosition.'+_0xa89c3a;return null!=_0xef3b98['wasUndone']&&_0xef3b98['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xef3b98['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x11a757['fromObject']=function(_0x283163){if(_0x283163 instanceof _0x1089d5['SplitOperation'])return _0x283163;var _0x2f9078=new _0x1089d5['SplitOperation']();if(null!=_0x283163['splitPosition']){if('object'!=typeof _0x283163['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x2f9078['splitPosition']=_0x1089d5['Position']['fromObject'](_0x283163['splitPosition']);}if(null!=_0x283163['graveyardPosition']){if('object'!=typeof _0x283163['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x2f9078['graveyardPosition']=_0x1089d5['Position']['fromObject'](_0x283163['graveyardPosition']);}if(null!=_0x283163['howMany']&&(_0x2f9078['howMany']=_0x283163['howMany']>>>0x0),null!=_0x283163['insertionPosition']){if('object'!=typeof _0x283163['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x2f9078['insertionPosition']=_0x1089d5['Position']['fromObject'](_0x283163['insertionPosition']);}return null!=_0x283163['wasUndone']&&(_0x2f9078['wasUndone']=Boolean(_0x283163['wasUndone'])),_0x2f9078;},_0x11a757['toObject']=function(_0x118861,_0x1772bf){_0x1772bf||(_0x1772bf={});var _0x1480bf={};return _0x1772bf['defaults']&&(_0x1480bf['splitPosition']=null,_0x1480bf['graveyardPosition']=null,_0x1480bf['howMany']=0x0,_0x1480bf['insertionPosition']=null,_0x1480bf['wasUndone']=!0x1),null!=_0x118861['splitPosition']&&_0x118861['hasOwnProperty']('splitPosition')&&(_0x1480bf['splitPosition']=_0x1089d5['Position']['toObject'](_0x118861['splitPosition'],_0x1772bf)),null!=_0x118861['graveyardPosition']&&_0x118861['hasOwnProperty']('graveyardPosition')&&(_0x1480bf['graveyardPosition']=_0x1089d5['Position']['toObject'](_0x118861['graveyardPosition'],_0x1772bf)),null!=_0x118861['howMany']&&_0x118861['hasOwnProperty']('howMany')&&(_0x1480bf['howMany']=_0x118861['howMany']),null!=_0x118861['insertionPosition']&&_0x118861['hasOwnProperty']('insertionPosition')&&(_0x1480bf['insertionPosition']=_0x1089d5['Position']['toObject'](_0x118861['insertionPosition'],_0x1772bf)),null!=_0x118861['wasUndone']&&_0x118861['hasOwnProperty']('wasUndone')&&(_0x1480bf['wasUndone']=_0x118861['wasUndone']),_0x1480bf;},_0x11a757['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x11a757['getTypeUrl']=function(_0x1fb7fa){return void 0x0===_0x1fb7fa&&(_0x1fb7fa='type.googleapis.com'),_0x1fb7fa+'/SplitOperation';},_0x11a757;}()),_0x1089d5['Position']=(function(){function _0x5a359c(_0x4b273f){if(this['path']=[],_0x4b273f){for(var _0x10aabe=Object['keys'](_0x4b273f),_0x28e516=0x0;_0x28e516<_0x10aabe['length'];++_0x28e516)null!=_0x4b273f[_0x10aabe[_0x28e516]]&&(this[_0x10aabe[_0x28e516]]=_0x4b273f[_0x10aabe[_0x28e516]]);}}return _0x5a359c['prototype']['root']='',_0x5a359c['prototype']['rootMain']=!0x1,_0x5a359c['prototype']['rootGraveyard']=!0x1,_0x5a359c['prototype']['path']=_0xd53fed['emptyArray'],_0x5a359c['prototype']['stickiness']='',_0x5a359c['create']=function(_0x4b3b9b){return new _0x5a359c(_0x4b3b9b);},_0x5a359c['encode']=function(_0x648dd7,_0x435294){if(_0x435294||(_0x435294=_0x2f1bd1['create']()),null!=_0x648dd7['root']&&Object['hasOwnProperty']['call'](_0x648dd7,'root')&&_0x435294['uint32'](0xa)['string'](_0x648dd7['root']),null!=_0x648dd7['rootMain']&&Object['hasOwnProperty']['call'](_0x648dd7,'rootMain')&&_0x435294['uint32'](0x10)['bool'](_0x648dd7['rootMain']),null!=_0x648dd7['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x648dd7,'rootGraveyard')&&_0x435294['uint32'](0x18)['bool'](_0x648dd7['rootGraveyard']),null!=_0x648dd7['path']&&_0x648dd7['path']['length']){_0x435294['uint32'](0x22)['fork']();for(var _0x118f81=0x0;_0x118f81<_0x648dd7['path']['length'];++_0x118f81)_0x435294['uint32'](_0x648dd7['path'][_0x118f81]);_0x435294['ldelim']();}return null!=_0x648dd7['stickiness']&&Object['hasOwnProperty']['call'](_0x648dd7,'stickiness')&&_0x435294['uint32'](0x2a)['string'](_0x648dd7['stickiness']),_0x435294;},_0x5a359c['encodeDelimited']=function(_0x271e7e,_0x243eaa){return this['encode'](_0x271e7e,_0x243eaa)['ldelim']();},_0x5a359c['decode']=function(_0x4f60cb,_0x5cfef4){_0x4f60cb instanceof _0xa1ace1||(_0x4f60cb=_0xa1ace1['create'](_0x4f60cb));for(var _0x108f97=void 0x0===_0x5cfef4?_0x4f60cb['len']:_0x4f60cb['pos']+_0x5cfef4,_0x380be0=new _0x1089d5['Position']();_0x4f60cb['pos']<_0x108f97;){var _0x24e19d=_0x4f60cb['uint32']();switch(_0x24e19d>>>0x3){case 0x1:_0x380be0['root']=_0x4f60cb['string']();break;case 0x2:_0x380be0['rootMain']=_0x4f60cb['bool']();break;case 0x3:_0x380be0['rootGraveyard']=_0x4f60cb['bool']();break;case 0x4:if(_0x380be0['path']&&_0x380be0['path']['length']||(_0x380be0['path']=[]),0x2==(0x7&_0x24e19d)){for(var _0x18fd52=_0x4f60cb['uint32']()+_0x4f60cb['pos'];_0x4f60cb['pos']<_0x18fd52;)_0x380be0['path']['push'](_0x4f60cb['uint32']());}else _0x380be0['path']['push'](_0x4f60cb['uint32']());break;case 0x5:_0x380be0['stickiness']=_0x4f60cb['string']();break;default:_0x4f60cb['skipType'](0x7&_0x24e19d);}}return _0x380be0;},_0x5a359c['decodeDelimited']=function(_0x2afc7d){return _0x2afc7d instanceof _0xa1ace1||(_0x2afc7d=new _0xa1ace1(_0x2afc7d)),this['decode'](_0x2afc7d,_0x2afc7d['uint32']());},_0x5a359c['verify']=function(_0x318343){if('object'!=typeof _0x318343||null===_0x318343)return'object\x20expected';if(null!=_0x318343['root']&&_0x318343['hasOwnProperty']('root')&&!_0xd53fed['isString'](_0x318343['root']))return'root:\x20string\x20expected';if(null!=_0x318343['rootMain']&&_0x318343['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x318343['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x318343['rootGraveyard']&&_0x318343['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x318343['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x318343['path']&&_0x318343['hasOwnProperty']('path')){if(!Array['isArray'](_0x318343['path']))return'path:\x20array\x20expected';for(var _0x24f808=0x0;_0x24f808<_0x318343['path']['length'];++_0x24f808)if(!_0xd53fed['isInteger'](_0x318343['path'][_0x24f808]))return'path:\x20integer[]\x20expected';}return null!=_0x318343['stickiness']&&_0x318343['hasOwnProperty']('stickiness')&&!_0xd53fed['isString'](_0x318343['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x5a359c['fromObject']=function(_0x1aabc5){if(_0x1aabc5 instanceof _0x1089d5['Position'])return _0x1aabc5;var _0x47bfa2=new _0x1089d5['Position']();if(null!=_0x1aabc5['root']&&(_0x47bfa2['root']=String(_0x1aabc5['root'])),null!=_0x1aabc5['rootMain']&&(_0x47bfa2['rootMain']=Boolean(_0x1aabc5['rootMain'])),null!=_0x1aabc5['rootGraveyard']&&(_0x47bfa2['rootGraveyard']=Boolean(_0x1aabc5['rootGraveyard'])),_0x1aabc5['path']){if(!Array['isArray'](_0x1aabc5['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x47bfa2['path']=[];for(var _0x23e40c=0x0;_0x23e40c<_0x1aabc5['path']['length'];++_0x23e40c)_0x47bfa2['path'][_0x23e40c]=_0x1aabc5['path'][_0x23e40c]>>>0x0;}return null!=_0x1aabc5['stickiness']&&(_0x47bfa2['stickiness']=String(_0x1aabc5['stickiness'])),_0x47bfa2;},_0x5a359c['toObject']=function(_0x185daf,_0x2180f2){_0x2180f2||(_0x2180f2={});var _0x32a224={};if((_0x2180f2['arrays']||_0x2180f2['defaults'])&&(_0x32a224['path']=[]),_0x2180f2['defaults']&&(_0x32a224['root']='',_0x32a224['rootMain']=!0x1,_0x32a224['rootGraveyard']=!0x1,_0x32a224['stickiness']=''),null!=_0x185daf['root']&&_0x185daf['hasOwnProperty']('root')&&(_0x32a224['root']=_0x185daf['root']),null!=_0x185daf['rootMain']&&_0x185daf['hasOwnProperty']('rootMain')&&(_0x32a224['rootMain']=_0x185daf['rootMain']),null!=_0x185daf['rootGraveyard']&&_0x185daf['hasOwnProperty']('rootGraveyard')&&(_0x32a224['rootGraveyard']=_0x185daf['rootGraveyard']),_0x185daf['path']&&_0x185daf['path']['length']){_0x32a224['path']=[];for(var _0x5d2cb8=0x0;_0x5d2cb8<_0x185daf['path']['length'];++_0x5d2cb8)_0x32a224['path'][_0x5d2cb8]=_0x185daf['path'][_0x5d2cb8];}return null!=_0x185daf['stickiness']&&_0x185daf['hasOwnProperty']('stickiness')&&(_0x32a224['stickiness']=_0x185daf['stickiness']),_0x32a224;},_0x5a359c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x5a359c['getTypeUrl']=function(_0x11a30b){return void 0x0===_0x11a30b&&(_0x11a30b='type.googleapis.com'),_0x11a30b+'/Position';},_0x5a359c;}()),_0x1089d5['Range']=(function(){function _0x28d056(_0x512ea7){if(_0x512ea7){for(var _0x56ae30=Object['keys'](_0x512ea7),_0x14a705=0x0;_0x14a705<_0x56ae30['length'];++_0x14a705)null!=_0x512ea7[_0x56ae30[_0x14a705]]&&(this[_0x56ae30[_0x14a705]]=_0x512ea7[_0x56ae30[_0x14a705]]);}}return _0x28d056['prototype']['start']=null,_0x28d056['prototype']['end']=null,_0x28d056['create']=function(_0x4af1dc){return new _0x28d056(_0x4af1dc);},_0x28d056['encode']=function(_0x2e4465,_0xa7d899){return _0xa7d899||(_0xa7d899=_0x2f1bd1['create']()),null!=_0x2e4465['start']&&Object['hasOwnProperty']['call'](_0x2e4465,'start')&&_0x1089d5['Position']['encode'](_0x2e4465['start'],_0xa7d899['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2e4465['end']&&Object['hasOwnProperty']['call'](_0x2e4465,'end')&&_0x1089d5['Position']['encode'](_0x2e4465['end'],_0xa7d899['uint32'](0x12)['fork']())['ldelim'](),_0xa7d899;},_0x28d056['encodeDelimited']=function(_0x3c15a7,_0x161f08){return this['encode'](_0x3c15a7,_0x161f08)['ldelim']();},_0x28d056['decode']=function(_0x19088d,_0x232ba5){_0x19088d instanceof _0xa1ace1||(_0x19088d=_0xa1ace1['create'](_0x19088d));for(var _0x2bebb5=void 0x0===_0x232ba5?_0x19088d['len']:_0x19088d['pos']+_0x232ba5,_0x1e4ad0=new _0x1089d5['Range']();_0x19088d['pos']<_0x2bebb5;){var _0x1c266c=_0x19088d['uint32']();switch(_0x1c266c>>>0x3){case 0x1:_0x1e4ad0['start']=_0x1089d5['Position']['decode'](_0x19088d,_0x19088d['uint32']());break;case 0x2:_0x1e4ad0['end']=_0x1089d5['Position']['decode'](_0x19088d,_0x19088d['uint32']());break;default:_0x19088d['skipType'](0x7&_0x1c266c);}}return _0x1e4ad0;},_0x28d056['decodeDelimited']=function(_0x14136e){return _0x14136e instanceof _0xa1ace1||(_0x14136e=new _0xa1ace1(_0x14136e)),this['decode'](_0x14136e,_0x14136e['uint32']());},_0x28d056['verify']=function(_0x58b0f9){if('object'!=typeof _0x58b0f9||null===_0x58b0f9)return'object\x20expected';var _0x27f8e8;if(null!=_0x58b0f9['start']&&_0x58b0f9['hasOwnProperty']('start')&&(_0x27f8e8=_0x1089d5['Position']['verify'](_0x58b0f9['start'])))return'start.'+_0x27f8e8;if(null!=_0x58b0f9['end']&&_0x58b0f9['hasOwnProperty']('end')&&(_0x27f8e8=_0x1089d5['Position']['verify'](_0x58b0f9['end'])))return'end.'+_0x27f8e8;return null;},_0x28d056['fromObject']=function(_0x1eb59d){if(_0x1eb59d instanceof _0x1089d5['Range'])return _0x1eb59d;var _0x427244=new _0x1089d5['Range']();if(null!=_0x1eb59d['start']){if('object'!=typeof _0x1eb59d['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x427244['start']=_0x1089d5['Position']['fromObject'](_0x1eb59d['start']);}if(null!=_0x1eb59d['end']){if('object'!=typeof _0x1eb59d['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x427244['end']=_0x1089d5['Position']['fromObject'](_0x1eb59d['end']);}return _0x427244;},_0x28d056['toObject']=function(_0x53d320,_0x4e28d4){_0x4e28d4||(_0x4e28d4={});var _0x16ad53={};return _0x4e28d4['defaults']&&(_0x16ad53['start']=null,_0x16ad53['end']=null),null!=_0x53d320['start']&&_0x53d320['hasOwnProperty']('start')&&(_0x16ad53['start']=_0x1089d5['Position']['toObject'](_0x53d320['start'],_0x4e28d4)),null!=_0x53d320['end']&&_0x53d320['hasOwnProperty']('end')&&(_0x16ad53['end']=_0x1089d5['Position']['toObject'](_0x53d320['end'],_0x4e28d4)),_0x16ad53;},_0x28d056['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x28d056['getTypeUrl']=function(_0x3f602c){return void 0x0===_0x3f602c&&(_0x3f602c='type.googleapis.com'),_0x3f602c+'/Range';},_0x28d056;}()),_0x1089d5['Element']=(function(){function _0x17ee42(_0x42bd75){if(this['children']=[],this['attributesBoolean']={},_0x42bd75){for(var _0x838b01=Object['keys'](_0x42bd75),_0x1ea639=0x0;_0x1ea639<_0x838b01['length'];++_0x1ea639)null!=_0x42bd75[_0x838b01[_0x1ea639]]&&(this[_0x838b01[_0x1ea639]]=_0x42bd75[_0x838b01[_0x1ea639]]);}}return _0x17ee42['prototype']['name']='',_0x17ee42['prototype']['children']=_0xd53fed['emptyArray'],_0x17ee42['prototype']['data']='',_0x17ee42['prototype']['attributesBoolean']=_0xd53fed['emptyObject'],_0x17ee42['prototype']['attributesJson']='',_0x17ee42['create']=function(_0x284630){return new _0x17ee42(_0x284630);},_0x17ee42['encode']=function(_0x5e6cc5,_0x5f591f){if(_0x5f591f||(_0x5f591f=_0x2f1bd1['create']()),null!=_0x5e6cc5['name']&&Object['hasOwnProperty']['call'](_0x5e6cc5,'name')&&_0x5f591f['uint32'](0xa)['string'](_0x5e6cc5['name']),null!=_0x5e6cc5['children']&&_0x5e6cc5['children']['length']){for(var _0x599472=0x0;_0x599472<_0x5e6cc5['children']['length'];++_0x599472)_0x1089d5['Element']['encode'](_0x5e6cc5['children'][_0x599472],_0x5f591f['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x5e6cc5['data']&&Object['hasOwnProperty']['call'](_0x5e6cc5,'data')&&_0x5f591f['uint32'](0x1a)['string'](_0x5e6cc5['data']),null!=_0x5e6cc5['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x5e6cc5,'attributesBoolean')){var _0x3dfb0f=Object['keys'](_0x5e6cc5['attributesBoolean']);for(_0x599472=0x0;_0x599472<_0x3dfb0f['length'];++_0x599472)_0x5f591f['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x3dfb0f[_0x599472])['uint32'](0x10)['bool'](_0x5e6cc5['attributesBoolean'][_0x3dfb0f[_0x599472]])['ldelim']();}return null!=_0x5e6cc5['attributesJson']&&Object['hasOwnProperty']['call'](_0x5e6cc5,'attributesJson')&&_0x5f591f['uint32'](0x2a)['string'](_0x5e6cc5['attributesJson']),_0x5f591f;},_0x17ee42['encodeDelimited']=function(_0x46c11b,_0x49d5ad){return this['encode'](_0x46c11b,_0x49d5ad)['ldelim']();},_0x17ee42['decode']=function(_0x3300bf,_0x314df8){_0x3300bf instanceof _0xa1ace1||(_0x3300bf=_0xa1ace1['create'](_0x3300bf));for(var _0x22f3b6,_0x27d7c1,_0x5b9ea8=void 0x0===_0x314df8?_0x3300bf['len']:_0x3300bf['pos']+_0x314df8,_0x524342=new _0x1089d5['Element']();_0x3300bf['pos']<_0x5b9ea8;){var _0x206a29=_0x3300bf['uint32']();switch(_0x206a29>>>0x3){case 0x1:_0x524342['name']=_0x3300bf['string']();break;case 0x2:_0x524342['children']&&_0x524342['children']['length']||(_0x524342['children']=[]),_0x524342['children']['push'](_0x1089d5['Element']['decode'](_0x3300bf,_0x3300bf['uint32']()));break;case 0x3:_0x524342['data']=_0x3300bf['string']();break;case 0x4:_0x524342['attributesBoolean']===_0xd53fed['emptyObject']&&(_0x524342['attributesBoolean']={});var _0xad8d53=_0x3300bf['uint32']()+_0x3300bf['pos'];for(_0x22f3b6='',_0x27d7c1=!0x1;_0x3300bf['pos']<_0xad8d53;){var _0x527c82=_0x3300bf['uint32']();switch(_0x527c82>>>0x3){case 0x1:_0x22f3b6=_0x3300bf['string']();break;case 0x2:_0x27d7c1=_0x3300bf['bool']();break;default:_0x3300bf['skipType'](0x7&_0x527c82);}}_0x524342['attributesBoolean'][_0x22f3b6]=_0x27d7c1;break;case 0x5:_0x524342['attributesJson']=_0x3300bf['string']();break;default:_0x3300bf['skipType'](0x7&_0x206a29);}}return _0x524342;},_0x17ee42['decodeDelimited']=function(_0x3b1ae2){return _0x3b1ae2 instanceof _0xa1ace1||(_0x3b1ae2=new _0xa1ace1(_0x3b1ae2)),this['decode'](_0x3b1ae2,_0x3b1ae2['uint32']());},_0x17ee42['verify']=function(_0x1b3ada){if('object'!=typeof _0x1b3ada||null===_0x1b3ada)return'object\x20expected';if(null!=_0x1b3ada['name']&&_0x1b3ada['hasOwnProperty']('name')&&!_0xd53fed['isString'](_0x1b3ada['name']))return'name:\x20string\x20expected';if(null!=_0x1b3ada['children']&&_0x1b3ada['hasOwnProperty']('children')){if(!Array['isArray'](_0x1b3ada['children']))return'children:\x20array\x20expected';for(var _0x3bbc8e=0x0;_0x3bbc8e<_0x1b3ada['children']['length'];++_0x3bbc8e){var _0x3c8fc9=_0x1089d5['Element']['verify'](_0x1b3ada['children'][_0x3bbc8e]);if(_0x3c8fc9)return'children.'+_0x3c8fc9;}}if(null!=_0x1b3ada['data']&&_0x1b3ada['hasOwnProperty']('data')&&!_0xd53fed['isString'](_0x1b3ada['data']))return'data:\x20string\x20expected';if(null!=_0x1b3ada['attributesBoolean']&&_0x1b3ada['hasOwnProperty']('attributesBoolean')){if(!_0xd53fed['isObject'](_0x1b3ada['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x32cb27=Object['keys'](_0x1b3ada['attributesBoolean']);for(_0x3bbc8e=0x0;_0x3bbc8e<_0x32cb27['length'];++_0x3bbc8e)if('boolean'!=typeof _0x1b3ada['attributesBoolean'][_0x32cb27[_0x3bbc8e]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x1b3ada['attributesJson']&&_0x1b3ada['hasOwnProperty']('attributesJson')&&!_0xd53fed['isString'](_0x1b3ada['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x17ee42['fromObject']=function(_0x1e9d08){if(_0x1e9d08 instanceof _0x1089d5['Element'])return _0x1e9d08;var _0x47c0fc=new _0x1089d5['Element']();if(null!=_0x1e9d08['name']&&(_0x47c0fc['name']=String(_0x1e9d08['name'])),_0x1e9d08['children']){if(!Array['isArray'](_0x1e9d08['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x47c0fc['children']=[];for(var _0x422af6=0x0;_0x422af6<_0x1e9d08['children']['length'];++_0x422af6){if('object'!=typeof _0x1e9d08['children'][_0x422af6])throw TypeError('.Element.children:\x20object\x20expected');_0x47c0fc['children'][_0x422af6]=_0x1089d5['Element']['fromObject'](_0x1e9d08['children'][_0x422af6]);}}if(null!=_0x1e9d08['data']&&(_0x47c0fc['data']=String(_0x1e9d08['data'])),_0x1e9d08['attributesBoolean']){if('object'!=typeof _0x1e9d08['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x47c0fc['attributesBoolean']={};var _0x3f34e0=Object['keys'](_0x1e9d08['attributesBoolean']);for(_0x422af6=0x0;_0x422af6<_0x3f34e0['length'];++_0x422af6)_0x47c0fc['attributesBoolean'][_0x3f34e0[_0x422af6]]=Boolean(_0x1e9d08['attributesBoolean'][_0x3f34e0[_0x422af6]]);}return null!=_0x1e9d08['attributesJson']&&(_0x47c0fc['attributesJson']=String(_0x1e9d08['attributesJson'])),_0x47c0fc;},_0x17ee42['toObject']=function(_0x1eb383,_0x43c090){_0x43c090||(_0x43c090={});var _0x113c6e,_0x1fbfe6={};if((_0x43c090['arrays']||_0x43c090['defaults'])&&(_0x1fbfe6['children']=[]),(_0x43c090['objects']||_0x43c090['defaults'])&&(_0x1fbfe6['attributesBoolean']={}),_0x43c090['defaults']&&(_0x1fbfe6['name']='',_0x1fbfe6['data']='',_0x1fbfe6['attributesJson']=''),null!=_0x1eb383['name']&&_0x1eb383['hasOwnProperty']('name')&&(_0x1fbfe6['name']=_0x1eb383['name']),_0x1eb383['children']&&_0x1eb383['children']['length']){_0x1fbfe6['children']=[];for(var _0x30126f=0x0;_0x30126f<_0x1eb383['children']['length'];++_0x30126f)_0x1fbfe6['children'][_0x30126f]=_0x1089d5['Element']['toObject'](_0x1eb383['children'][_0x30126f],_0x43c090);}if(null!=_0x1eb383['data']&&_0x1eb383['hasOwnProperty']('data')&&(_0x1fbfe6['data']=_0x1eb383['data']),_0x1eb383['attributesBoolean']&&(_0x113c6e=Object['keys'](_0x1eb383['attributesBoolean']))['length']){_0x1fbfe6['attributesBoolean']={};for(_0x30126f=0x0;_0x30126f<_0x113c6e['length'];++_0x30126f)_0x1fbfe6['attributesBoolean'][_0x113c6e[_0x30126f]]=_0x1eb383['attributesBoolean'][_0x113c6e[_0x30126f]];}return null!=_0x1eb383['attributesJson']&&_0x1eb383['hasOwnProperty']('attributesJson')&&(_0x1fbfe6['attributesJson']=_0x1eb383['attributesJson']),_0x1fbfe6;},_0x17ee42['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimal['util']['toJSONOptions']);},_0x17ee42['getTypeUrl']=function(_0x1f0857){return void 0x0===_0x1f0857&&(_0x1f0857='type.googleapis.com'),_0x1f0857+'/Element';},_0x17ee42;}()),_0x1089d5;})());class ProtobufFactory{constructor(){this['_protobufRoot']=messages;}['getDescriptor'](_0x41706f){return new ProtobufDescriptor(this['_protobufRoot'][_0x41706f]);}}class ProtobufDescriptor{constructor(_0x4fbcf3){this['_protobuf']=_0x4fbcf3;}['compress'](_0x23a756){const _0x3463d8=this['_protobuf']['verify'](_0x23a756);if(_0x3463d8)throw Error(_0x3463d8);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x23a756))['finish']();}['decompress'](_0xb0b5a4){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0xb0b5a4),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x2df971,_0x3ce4b3){const _0x2cdb3a=cloneDeep(_0x2df971);return _0x2cdb3a['path'][_0x2cdb3a['path']['length']-0x1]+=_0x3ce4b3,_0x2cdb3a;}function arePositionsEqual(_0x48636d,_0x46aaa5){return _0x48636d['root']===_0x46aaa5['root']&&isEqual(_0x48636d['path'],_0x46aaa5['path']);}function parsePositionBeforeCompression(_0x28f68e){_mapPositions(_0x28f68e,_0x24c92b=>('main'==_0x24c92b['root']?(_0x24c92b['rootMain']=!0x0,delete _0x24c92b['root']):'$graveyard'==_0x24c92b['root']&&(_0x24c92b['rootGraveyard']=!0x0,delete _0x24c92b['root']),_0x24c92b));}function parsePositionAfterCompression(_0x4d4300){_mapPositions(_0x4d4300,_0x2d6c07=>(_0x2d6c07['rootMain']?(_0x2d6c07['root']='main',delete _0x2d6c07['rootMain']):_0x2d6c07['rootGraveyard']&&(_0x2d6c07['root']='$graveyard',delete _0x2d6c07['rootGraveyard']),_0x2d6c07));}function _mapPositions(_0x5b17fb,_0x5030b4){for(const _0x105567 in _0x5b17fb){const _0x2e8806=_0x5b17fb[_0x105567];'nodes'!==_0x105567&&isObject$3(_0x2e8806)&&(_0x2e8806['path']&&(_0x2e8806['root']||_0x2e8806['rootMain']||_0x2e8806['rootGraveyard'])?_0x5b17fb[_0x105567]=_0x5030b4(_0x2e8806):_mapPositions(_0x2e8806,_0x5030b4));}return _0x5b17fb;}class OperationCompressor{constructor(_0x911509,_0xa78c58,_0x4f0ac4){this['_id']=_0x911509,this['_operationName']=_0xa78c58,this['_protobufDescriptor']=_0x4f0ac4;}['compress'](_0x4549cb,_0x53e8ac){const _0x17708b=_0x53e8ac['shift']();return parsePositionBeforeCompression(_0x17708b),_0x4549cb['buffers']['push'](this['_protobufDescriptor']['compress'](_0x17708b)),_0x4549cb['types']['push'](this['_id']),!0x0;}['decompress'](_0x2be2d7,_0x4569ff){_0x4569ff['types']['shift']();const _0x688531=this['_protobufDescriptor']['decompress'](_0x4569ff['buffers']['shift']());parsePositionAfterCompression(_0x688531),_0x688531['__className']=this['_operationName'],_0x2be2d7['push'](_0x688531);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x2d914e,_0x1b4053){const _0x45705e=_0x1b4053['shift']();return this['_serializeOneOf']('oldValue',_0x45705e),this['_serializeOneOf']('newValue',_0x45705e),parsePositionBeforeCompression(_0x45705e),_0x2d914e['buffers']['push'](this['_protobufDescriptor']['compress'](_0x45705e)),_0x2d914e['types']['push'](this['_id']),!0x0;}['decompress'](_0x2868f5,_0x2738bc){const {types:_0x4d19da,buffers:_0x8cc166}=_0x2738bc,_0x48f751=this['_protobufDescriptor']['decompress'](_0x8cc166['shift']());_0x4d19da['shift'](),this['_deserializeOneOf']('oldValue',_0x48f751),this['_deserializeOneOf']('newValue',_0x48f751),parsePositionAfterCompression(_0x48f751),_0x48f751['__className']=this['_operationName'],_0x2868f5['push'](_0x48f751);}['_serializeOneOf'](_0xf14c8b,_0x2682ad){const _0x3615b3=_0x2682ad[_0xf14c8b];'boolean'==typeof _0x3615b3?_0x2682ad[_0xf14c8b+'Boolean']=_0x3615b3:_0x2682ad[_0xf14c8b+'Json']=JSON['stringify'](_0x3615b3);}['_deserializeOneOf'](_0xdf3a5,_0x5259f8){const _0xff2ef4=_0xdf3a5+'Json';_0x5259f8[_0xff2ef4]?(_0x5259f8[_0xdf3a5]=JSON['parse'](_0x5259f8[_0xff2ef4]),delete _0x5259f8[_0xff2ef4]):(_0x5259f8[_0xdf3a5]=_0x5259f8[_0xdf3a5+'Boolean'],delete _0x5259f8[_0xdf3a5+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x434e45,_0x10c700){const _0x35f287=_0x10c700['shift']();return this['_serializeNodesAttributes'](_0x35f287['nodes']),parsePositionBeforeCompression(_0x35f287),_0x434e45['buffers']['push'](this['_protobufDescriptor']['compress'](_0x35f287)),_0x434e45['types']['push'](this['_id']),!0x0;}['decompress'](_0x796e70,_0x42edb8){const {types:_0x4cdfbe,buffers:_0x468c24}=_0x42edb8,_0x340bfd=this['_protobufDescriptor']['decompress'](_0x468c24['shift']());_0x4cdfbe['shift'](),_0x340bfd['nodes']||(_0x340bfd['nodes']=[]),this['_deserializeNodesAttributes'](_0x340bfd['nodes']),parsePositionAfterCompression(_0x340bfd),_0x340bfd['__className']=this['_operationName'],_0x796e70['push'](_0x340bfd);}['_serializeNodesAttributes'](_0x481e86){for(const _0x282795 of _0x481e86){if(_0x282795['attributes']){const _0x6211e3=_0x282795['attributes'];this['_areValuesBoolean'](_0x6211e3)?_0x282795['attributesBoolean']=_0x6211e3:_0x282795['attributesJson']=JSON['stringify'](_0x6211e3);}_0x282795['children']&&this['_serializeNodesAttributes'](_0x282795['children']);}}['_deserializeNodesAttributes'](_0x29b38){for(const _0x50dc33 of _0x29b38)(_0x50dc33['attributesBoolean']||_0x50dc33['attributesJson'])&&(_0x50dc33['attributesBoolean']?(_0x50dc33['attributes']=_0x50dc33['attributesBoolean'],delete _0x50dc33['attributesBoolean']):(_0x50dc33['attributes']=JSON['parse'](_0x50dc33['attributesJson']),delete _0x50dc33['attributesJson'])),_0x50dc33['children']&&this['_deserializeNodesAttributes'](_0x50dc33['children']);}['_areValuesBoolean'](_0x878bf6){return Object['keys'](_0x878bf6)['every'](_0x36c38c=>'boolean'==typeof _0x878bf6[_0x36c38c]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x4626d2,_0x48c4d1){super['decompress'](_0x4626d2,_0x48c4d1);const _0x125e41=_0x4626d2[_0x4626d2['length']-0x1];_0x125e41['oldRange']||(_0x125e41['oldRange']=null),_0x125e41['newRange']||(_0x125e41['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x566c47,_0x96944e){return _0x96944e['shift'](),_0x566c47['types']['push'](this['_id']),!0x0;}['decompress'](_0x304ab9,_0xde03c3){_0xde03c3['types']['shift'](),_0x304ab9['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{constructor(_0x1eeae7,_0x16c25a,_0x3d7aa5,_0x1a7cd3){super(_0x1eeae7,_0x16c25a,_0x3d7aa5),this['_omittedNamespace']=_0x1a7cd3+':';}['compress'](_0x4653df,_0x41743b){return!('MarkerOperation'!=_0x41743b[0x0]['__className']||!_0x41743b[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x41743b[0x0]['name']=_0x41743b[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x4653df,_0x41743b),!0x0);}['decompress'](_0x487478,_0x1c01b1){super['decompress'](_0x487478,_0x1c01b1);const _0x254650=_0x487478[_0x487478['length']-0x1];_0x254650['name']=this['_omittedNamespace']+_0x254650['name'];}}class ActionCompressor{constructor(_0xe97485,_0x8963f4){this['_id']=_0xe97485,this['_context']=_0x8963f4;}['compress'](_0x43eb39,_0x240547){let _0x16eb75;for(;_0x240547['length']>0x1&&this['_compareOperations'](_0x240547[0x0],_0x240547[0x1]);)_0x16eb75?(_0x16eb75=this['_combineNext'](_0x240547['shift'](),_0x16eb75),_0x43eb39['types']['push'](0x0)):(_0x16eb75=cloneDeep(_0x240547['shift']()),_0x43eb39['types']['push'](this['_id']));return!!_0x16eb75&&(_0x16eb75=this['_combineNext'](_0x240547['shift'](),_0x16eb75),_0x43eb39['types']['push'](0x0),_0x43eb39['buffers']['push'](this['_compressSingleOperation'](_0x16eb75)),!0x0);}['decompress'](_0x302d33,_0x3f5b0d){const _0x4510fe=this['_decompressSingleOperation'](_0x3f5b0d);for(;0x0==_0x3f5b0d['types'][0x0];)_0x3f5b0d['types']['shift'](),_0x302d33['push'](this['_splitCurrent'](_0x4510fe));_0x302d33['push'](_0x4510fe);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0xe0682f,_0x5e2049){return _0x5e2049['nodes'][0x0]['data']+=_0xe0682f['nodes'][0x0]['data'],_0x5e2049;}['_splitCurrent'](_0x3c0bc7){const _0xbea67=cloneDeep(_0x3c0bc7),_0xcb54d4=_0xbea67['nodes'][0x0],_0x31b8f5=_0x3c0bc7['nodes'][0x0],_0x214764=_0x31b8f5['data'][Symbol['iterator']]()['next']()['value'],_0x2f77f7=_0x214764['length'];return _0xcb54d4['data']=_0x214764,_0x31b8f5['data']=_0x31b8f5['data']['substr'](_0x2f77f7),_0x3c0bc7['position']=getPositionShiftedBy(_0x3c0bc7['position'],_0x2f77f7),_0xbea67;}['_compareOperations'](_0x2a0d51,_0x49c181){if(this['_checkOperation'](_0x2a0d51)&&this['_checkOperation'](_0x49c181)){const _0x18c22a=_0x2a0d51['nodes'][0x0]['data']['length'],_0x2b63c1=arePositionsEqual(getPositionShiftedBy(_0x2a0d51['position'],_0x18c22a),_0x49c181['position']),_0x335c1c=_0x2a0d51['nodes'][0x0],_0x45fd49=_0x49c181['nodes'][0x0];return _0x2b63c1&&this['_compareAttributes'](_0x335c1c,_0x45fd49);}return!0x1;}['_compressSingleOperation'](_0x1cab7){const _0x2f23ed={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x2f23ed,[_0x1cab7]),_0x2f23ed['buffers'][0x0];}['_decompressSingleOperation'](_0x32623a){const _0x13bf62=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x13bf62,_0x32623a),_0x13bf62[0x0];}['_checkOperation'](_0x2446c4){return'InsertOperation'==_0x2446c4['__className']&&0x1==_0x2446c4['nodes']['length']&&_0x2446c4['nodes'][0x0]['data']&&!_0x2446c4['wasUndone']&&0x1==Array['from'](_0x2446c4['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x14c331,_0x228be6){const _0x4c5db3=Object['keys'](_0x14c331['attributes']||{}),_0x436c17=Object['keys'](_0x228be6['attributes']||{});return _0x4c5db3['length']===_0x436c17['length']&&_0x4c5db3['every'](_0xeb260b=>_0x228be6['attributes'][_0xeb260b]&&_0x228be6['attributes'][_0xeb260b]===_0x14c331['attributes'][_0xeb260b]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x40c6ca,_0x392368){return _0x392368['howMany']++,_0x392368['sourcePosition']=cloneDeep(_0x40c6ca['sourcePosition']),_0x392368;}['_splitCurrent'](_0xdf5d04){const _0x3803ac=cloneDeep(_0xdf5d04);return _0xdf5d04['howMany']--,_0x3803ac['howMany']=0x1,_0x3803ac['sourcePosition']=getPositionShiftedBy(_0x3803ac['sourcePosition'],_0xdf5d04['howMany']),_0x3803ac;}['_compareOperations'](_0x3a6663,_0x3be355){return!(!this['_checkOperation'](_0x3a6663)||!this['_checkOperation'](_0x3be355))&&(arePositionsEqual(getPositionShiftedBy(_0x3a6663['sourcePosition'],-0x1),_0x3be355['sourcePosition'])&&arePositionsEqual(_0x3a6663['targetPosition'],_0x3be355['targetPosition']));}['_compressSingleOperation'](_0x7a700b){const _0x2ca874={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x2ca874,[_0x7a700b]),_0x2ca874['buffers'][0x0];}['_decompressSingleOperation'](_0x116ade){const _0x266311=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x266311,_0x116ade),_0x266311[0x0];}['_checkOperation'](_0x55d9ad){return'MoveOperation'==_0x55d9ad['__className']&&'$graveyard'==_0x55d9ad['targetPosition']['root']&&0x1==_0x55d9ad['howMany']&&!_0x55d9ad['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0xebdff,_0x43c3b4){return _0x43c3b4['howMany']++,_0x43c3b4;}['_splitCurrent'](_0x5252d9){const _0x1a86d5=cloneDeep(_0x5252d9);return _0x1a86d5['howMany']=0x1,_0x5252d9['howMany']--,_0x1a86d5;}['_compareOperations'](_0x1a9c08,_0x3075a8){return!(!this['_checkOperation'](_0x1a9c08)||!this['_checkOperation'](_0x3075a8))&&(arePositionsEqual(_0x1a9c08['sourcePosition'],_0x3075a8['sourcePosition'])&&arePositionsEqual(_0x1a9c08['targetPosition'],_0x3075a8['targetPosition']));}['_compressSingleOperation'](_0x5a9939){const _0x1ddc25={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x1ddc25,[_0x5a9939]),_0x1ddc25['buffers'][0x0];}['_decompressSingleOperation'](_0x2c6d07){const _0x40330b=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x40330b,_0x2c6d07),_0x40330b[0x0];}['_checkOperation'](_0x53200f){return'MoveOperation'==_0x53200f['__className']&&'$graveyard'==_0x53200f['targetPosition']['root']&&0x1==_0x53200f['howMany']&&!_0x53200f['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x5cbd63,_0x4ad96f){if(!this['_compareOperations'](_0x4ad96f[0x0],_0x4ad96f[0x1]))return!0x1;const _0x18bbc2=_0x4ad96f['shift']();return _0x18bbc2['oldRange']=null,_0x18bbc2['newRange']&&arePositionsEqual(_0x18bbc2['newRange']['start'],_0x18bbc2['newRange']['end'])&&(_0x18bbc2['newRange']['end']=null),_0x4ad96f['shift'](),_0x5cbd63['types']['push'](this['_id']),_0x5cbd63['types']['push'](0x0),_0x5cbd63['buffers']['push'](this['_compressSingleOperation'](_0x18bbc2)),!0x0;}['decompress'](_0x519284,_0x3d5b44){const _0x5cc3b7=this['_decompressSingleOperation'](_0x3d5b44);_0x5cc3b7['newRange']&&!_0x5cc3b7['newRange']['end']&&(_0x5cc3b7['newRange']['end']=cloneDeep(_0x5cc3b7['newRange']['start']));const _0x3efd38=cloneDeep(_0x5cc3b7);_0x3efd38['newRange']&&(_0x3efd38['newRange']['start']['stickiness']='toNone',_0x3efd38['newRange']['end']=cloneDeep(_0x3efd38['newRange']['start'])),_0x3efd38['name']='user:position:'+_0x3efd38['name']['split'](':')[0x2],_0x3d5b44['types']['shift'](),_0x519284['push'](_0x5cc3b7),_0x519284['push'](_0x3efd38);}['_compressSingleOperation'](_0x5d56be){const _0x36a31c={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x36a31c,[_0x5d56be]),_0x36a31c['buffers'][0x0];}['_decompressSingleOperation'](_0x2833eb){const _0x22f53b=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x22f53b,_0x2833eb),_0x22f53b[0x0];}['_compareOperations'](_0x23f9bf,_0x733d50){return!(!_0x23f9bf||!_0x733d50)&&('MarkerOperation'==_0x23f9bf['__className']&&'MarkerOperation'==_0x733d50['__className']&&!(!_0x23f9bf['name']['startsWith']('user:')||!_0x733d50['name']['startsWith']('user:')||_0x23f9bf['name']==_0x733d50['name']));}}class Compressor{constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x30fef7=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new NoOperationCompressor(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0xb,'InsertOperation',InsertOperationCompressor),this['_registerOperationCompressor'](0xc,'MarkerOperation',MarkerOperationCompressor),this['_registerOperationCompressor'](0xd,'MergeOperation',OperationCompressor),this['_registerOperationCompressor'](0xe,'MoveOperation',OperationCompressor),this['_registerOperationCompressor'](0xf,'RenameOperation',OperationCompressor),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0x11,'SplitOperation',OperationCompressor),this['_registerCompressor'](0x12,'CommentMarkerOperation',new AnnotationMarkerOperationCompressor(0x12,'MarkerOperation',_0x30fef7,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x30fef7,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',OperationCompressor),this['_registerActionCompressor'](0x64,'TypingAction',TypingActionCompressor),this['_registerActionCompressor'](0x65,'DeletingAction',DeletingActionCompressor),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',ForwardDeletingActionCompressor),this['_registerActionCompressor'](0x67,'UserSelectionAction',UserSelectionActionCompressor);}['compress'](_0x49ac3e){if(!_0x49ac3e||!_0x49ac3e[0x0])throw new CKEditorError('no-operations-provided',this);const _0x133991={'types':[],'buffers':[],'baseVersion':_0x49ac3e[0x0]['baseVersion']};for(;_0x49ac3e['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x133991,_0x49ac3e)||this['_getCompressorByName']('TypingAction')['compress'](_0x133991,_0x49ac3e)||this['_getCompressorByName']('DeletingAction')['compress'](_0x133991,_0x49ac3e)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x133991,_0x49ac3e)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x133991,_0x49ac3e)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x133991,_0x49ac3e)||this['_getCompressorByName'](_0x49ac3e[0x0]['__className'])['compress'](_0x133991,_0x49ac3e);return _0x133991;}['decompress'](_0x100ecf){const _0x5f0797=[];for(;_0x100ecf['types']['length'];){this['_compressorById']['get'](_0x100ecf['types'][0x0])['decompress'](_0x5f0797,_0x100ecf);}return _0x5f0797['forEach']((_0x1ee71d,_0x44ee5b)=>_0x1ee71d['baseVersion']=_0x100ecf['baseVersion']+_0x44ee5b),_0x5f0797;}['_getCompressorByName'](_0x5ba364){return this['_compressorByName']['get'](_0x5ba364);}['_registerOperationCompressor'](_0x5c16b3,_0x5e1fba,_0x5d076e){const _0x3f0342=new _0x5d076e(_0x5c16b3,_0x5e1fba,this['_protobufFactory']['getDescriptor'](_0x5e1fba));this['_registerCompressor'](_0x5c16b3,_0x5e1fba,_0x3f0342);}['_registerActionCompressor'](_0x1e9227,_0x77e736,_0x2d7444){const _0x5e3e06=new _0x2d7444(_0x1e9227,this);this['_registerCompressor'](_0x1e9227,_0x77e736,_0x5e3e06);}['_registerCompressor'](_0xc2d303,_0x56501d,_0x12060a){this['_compressorById']['set'](_0xc2d303,_0x12060a),this['_compressorByName']['set'](_0x56501d,_0x12060a);}}let requestCount=0x1;class RealTimeCollaborationClient extends Plugin{static get['requires'](){return[WebSocketGateway,Sessions,UserMarkers,PendingActions,Users,Notification];}static get['pluginName'](){return'RealTimeCollaborationClient';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['cloudDocumentVersion'](){return this['_lastServerVersion']+this['_offset'];}get['_lastServerVersion'](){return this['serverHistory']['version']-this['_offset'];}get['lastSyncVersion'](){const _0x1fb4a2=this['serverHistory']['getOperations']();for(let _0x315bf0=_0x1fb4a2['length']-0x1;_0x315bf0>=0x0;_0x315bf0--){const _0x35bbba=_0x1fb4a2[_0x315bf0];if(!this['_disconnectionOperations']['has'](_0x35bbba))return _0x35bbba['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x160a93){if(super(_0x160a93),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new History(),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new CKEditorError('collaboration-missing-channelid',this);const _0x19dc50=_0x160a93['config']['get']('cloudServices.bundleVersion')||_0x4319a3;this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x19dc50,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new Compressor(),this['_bufferedOperations']=[],this['_knownOperations']=new WeakSet(),this['_knownRootNames']=new Set(),this['set']('_isPendingUpdate',!0x1),this['set']('_hasSynchronizationProblem',!0x1),this['_pendingAction']=null,this['_hasSelectionChanged']=!0x1,this['_sendBufferedOperationsDelayId']=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this['_disconnectionOperations']=new WeakSet(),this['_operationIdentifier']=new OperationIdentifier(this['_disconnectionOperations']);}['init'](){const _0x2edfb2=this['editor'],_0xa4dfb1=_0x2edfb2['plugins']['get'](Users),_0x42edd0=_0x2edfb2['plugins']['get'](WebSocketGateway);this['listenTo'](_0xa4dfb1,'getOperationAuthor',(_0x552deb,_0x18a8c6)=>{const _0x15e912=_0x18a8c6[0x0];_0x15e912['_authorId']&&(_0x552deb['return']=_0xa4dfb1['getUser'](_0x15e912['_authorId']),_0x552deb['stop']()),null===_0x15e912['_authorId']&&(_0x552deb['return']=null,_0x552deb['stop']());},{'priority':'high'}),this['listenTo'](_0x2edfb2['model']['document']['selection'],'change:range',(_0x4e102e,_0x297729)=>{_0x297729['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x2edfb2['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x2edfb2['model']['on']('applyOperation',(_0xbda764,_0x36ba2a)=>{const _0x548a87=_0x36ba2a[0x0];_0x548a87['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x548a87),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x42edd0,'state',this,'_hasSynchronizationProblem',(_0x404b36,_0x2a17e6)=>'connected'===_0x404b36&&!_0x2a17e6),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x2edfb2['disableReadOnlyMode']('rtc-offline'):_0x2edfb2['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x2edfb2['disableReadOnlyMode']('rtc-offline'):_0x2edfb2['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x2bb6a9=this['editor']['plugins']['get'](Sessions),_0x43a2f6=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x2bb6a9['unregister'](this['_channelId']);const _0x5ead67=await this['_service']['reconnect'](_0x43a2f6['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x5ead67)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x298fe0=await this['_service']['getConnectedSessions']();_0x2bb6a9['register'](this['_channelId'],_0x298fe0),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x5a983a){if(isSessionNotExistingError(_0x5a983a)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x5a983a)){const _0x595a89=getTranslation$6(this['editor']['locale'],'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');this['_handleReconnectionError'](_0x595a89);}else{if(!(_0x5a983a instanceof ReconnectionError))throw _0x5a983a;this['_handleReconnectionError']();}}}}['destroy'](){const _0x5a30ce=this['editor']['plugins']['get'](WebSocketGateway),_0x4a3fa1=this['editor']['plugins']['get'](Sessions);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x4a3fa1['channelSessions']['has'](this['_channelId'])&&_0x4a3fa1['unregister'](this['_channelId']),_0x5a30ce['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x7b869e){if(this['sessionId']!==_0x7b869e['sessionId']&&this['_lastSyncedOperationId']!==_0x7b869e['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x7b869e['sessionId'],this['_handleServerResponse']([],{..._0x7b869e,'wereChangesApplied':!0x1,'data':_0x7b869e['data']},'reconnect');}async['_connectService'](_0x2c6a8d,_0x5d2b17=!0x1){const {connection:_0x152e4f}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x152e4f,this['_channelId'])['then'](_0x286254=>this['_initSessionsHandling'](_0x286254))['catch'](_0x3a992a=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x3a992a);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x467d71,_0x48cdf7)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x48cdf7);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x2af493=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x2c6a8d);this['_isPendingUpdate']=!0x0;const _0x151bc6=await this['_service']['connect'](_0x152e4f,this['_compressOperations'](_0x2c6a8d),_0x2af493);if(this['sessionId']=_0x151bc6['sessionId'],_0x5d2b17){if(!_0x151bc6['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x151bc6['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x2c6a8d,_0x151bc6,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x151bc6,_0x2c6a8d);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x28fb01=this['editor']['plugins']['get'](Sessions),_0x3795df=this['editor']['plugins']['get'](UserMarkers),_0x271e43=_0x28fb01['channelSessions']['get'](this['_channelId']);_0x271e43&&_0x271e43['length']>0x1?_0x3795df['createUserMarkerOperations']():this['listenTo'](_0x28fb01,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x28fb01['channelSessions']['get'](this['_channelId'])['length']&&_0x3795df['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x3cd7e6,_0x5cba9b,_0x530105,_0x2544a1){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x5cba9b){const _0x53f565=this['_decompressOperations'](_0x530105,_0x2544a1);await this['_fetchMissingUsers'](_0x53f565),this['_handleExternalOperations'](_0x53f565,_0x5cba9b,_0x530105['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x5042e8}=this['editor'];let _0x34e8d9;try{_0x34e8d9=await this['_service']['getDocumentDetails']();}catch(_0x123726){const _0x577415=getTranslation$6(_0x5042e8,'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x577415);}const _0x148247=_0x34e8d9['currentDocumentSession']||_0x34e8d9['lastDocumentSession'];if(this['_lastSyncedOperationId']===_0x148247['lastOperationId'])await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);else{const _0x33546d=getTranslation$6(_0x5042e8,'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');this['_handleReconnectionError'](_0x33546d);}}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x35322c){const _0x210b95=this['editor']['plugins']['get'](Sessions);this['listenTo'](_0x210b95,'sessionAdd:'+this['_channelId'],(_0x25f2c2,{session:_0x1c8430})=>{if(_0x1c8430['id']===_0x210b95['mySessionId']){_0x25f2c2['off']();const _0x26b872=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x10f759=_0x1c8430['permissions'];_0x26b872&&_0x26b872['isEnabled']&&(_0x10f759=_0x10f759['filter'](_0x3a5658=>'document:write'!==_0x3a5658)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x10f759,this['_channelId']);}}),_0x210b95['register'](this['_channelId'],_0x35322c);}['_initThrowingOnDataSet'](){const _0xc0c2da=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x8893a4)=>{if(!_0x8893a4[_0x8893a4['length']-0x1]['suppressErrorInCollaboration'])throw new CKEditorError('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0xc0c2da['apply'](this['editor']['data'],_0x8893a4);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x27f865,[_0x4f3a79])=>{if(this['_document']['version'])throw new CKEditorError('realtimecollaborationclient-init-document-already-initialized',this);_0x27f865['stop'](),this['_setPendingAction']();const _0x565d90=this['editor']['config']['get']('rootsAttributes'),_0x227d6d=this['_getOperationsFromInitData'](_0x4f3a79,_0x565d90);0x0==_0x227d6d['length']&&_0x227d6d['push'](new NoOperation(0x0)),_0x27f865['return']=this['_connectService'](_0x227d6d)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x2e5ec4=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x2e5ec4))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x3b9cf7,[_0xedf739,_0xcfcc16])=>{_0x3b9cf7['stop']();const _0x20ecff=this['editor']['model']['document']['getRoot'](_0xedf739);if(!this['_knownRootNames']['has'](_0xedf739)){const _0x2907fa=_0xcfcc16&&_0xcfcc16['data']?_0xcfcc16['data']:'',_0x5de59a=_0xcfcc16&&_0xcfcc16['attributes']?_0xcfcc16['attributes']:{};await this['_loadRoot'](_0xedf739,_0x2907fa,_0x5de59a);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x20ecff['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x20ecff);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x1a6416){const _0x4efbbd=this['editor']['plugins']['get'](Users),{connection:_0x244778}=this['editor']['plugins']['get'](WebSocketGateway),_0x57929d=new Set();for(const _0x4a5f73 of _0x1a6416){const _0x3101ca=_0x4a5f73['_authorId'];_0x3101ca&&!_0x4efbbd['getUser'](_0x3101ca)&&_0x57929d['add'](_0x3101ca);}if(0x0===_0x57929d['size'])return;const _0x2e096b=await User['getMany'](_0x244778,Array['from'](_0x57929d));for(const _0x2d5e6a of _0x2e096b)_0x4efbbd['getUser'](_0x2d5e6a['id'])||_0x4efbbd['addUser'](_0x2d5e6a);}['_getOperationsFromInitData'](_0x51d9db,_0x414761={}){const _0x56ae25=this['editor']['model'],_0x8eac8e=[];let _0x108fe7=0x0;const _0x574dc3='string'==typeof _0x51d9db?{'main':_0x51d9db}:_0x51d9db;for(const _0x52e996 of Object['keys'](_0x574dc3)){if(!this['_document']['roots']['has'](_0x52e996))throw new CKEditorError('realtimecollaborationclient-init-non-existent-root',this);const _0x425526=this['editor']['data']['parse'](_0x574dc3[_0x52e996]),_0x525ea1=this['_document']['getRoot'](_0x52e996),_0x1bab77=new InsertOperation(_0x56ae25['createPositionAt'](_0x525ea1,0x0),_0x425526,_0x108fe7++);_0x8eac8e['push'](_0x1bab77);for(const [_0x298ad2,_0x1aeb9d]of _0x425526['markers']){const _0x253388=_0x56ae25['createRange'](_0x56ae25['createPositionFromPath'](_0x525ea1,_0x1aeb9d['start']['path']['slice']()),_0x56ae25['createPositionFromPath'](_0x525ea1,_0x1aeb9d['end']['path']['slice']())),_0x3160a7=new MarkerOperation(_0x298ad2,null,_0x253388,_0x56ae25['markers'],!0x0,_0x108fe7++);_0x8eac8e['push'](_0x3160a7);}}if(_0x414761)for(const [_0xc3efab,_0xae8247]of Object['entries'](_0x414761)){const _0x516d83=_0x56ae25['document']['getRoot'](_0xc3efab);if(!_0x516d83)throw new CKEditorError('multi-root-editor-root-attributes-no-root',null);for(const [_0x7db39b,_0x46ad0c]of Object['entries'](_0xae8247))if(null!==_0x46ad0c){const _0x582dc6=new RootAttributeOperation(_0x516d83,_0x7db39b,null,_0x46ad0c,_0x108fe7++);_0x8eac8e['push'](_0x582dc6);}}return _0x8eac8e;}async['_loadRoot'](_0x5b9d3c,_0x316b9e,_0x15779d){this['_getOperationsFromInitData']({[_0x5b9d3c]:_0x316b9e},{[_0x5b9d3c]:_0x15779d})['forEach']((_0x44c6df,_0x54a8a2)=>{_0x44c6df['baseVersion']=this['_document']['version']+_0x54a8a2,_0x44c6df['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x44c6df);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x18d25a,_0x1503c0){let _0x3d3d63;this['_offset']=_0x18d25a['offset'];const _0x4e0280=_0x18d25a['wereChangesApplied']&&!_0x18d25a['initData'],_0x461a2a=_0x4e0280?0x0:_0x18d25a['data']['baseVersion'];if(_0x1503c0['forEach'](_0x54a3d4=>{_0x54a3d4['_isInit']=!0x0,_0x54a3d4['createdAt']=_0x18d25a['sessionCreatedAt'],_0x54a3d4['_authorId']=null;}),_0x4e0280)_0x3d3d63=_0x1503c0,this['_applyOperationsSet'](_0x3d3d63,_0x4e0280);else{if(_0x18d25a['initData']){const _0x22f895=this['_getOperationsFromInitData'](_0x18d25a['initData']);this['_document']['history']['version']=-_0x22f895['length'],_0x22f895['forEach'](_0x5c66b0=>{_0x5c66b0['baseVersion']-=_0x22f895['length'],_0x5c66b0['createdAt']=_0x18d25a['sessionCreatedAt'],_0x5c66b0['_isInit']=!0x0,_0x5c66b0['_authorId']=null;}),this['_applyOperationsSet'](_0x22f895,!0x0),this['serverHistory']['version']=-_0x22f895['length']+this['_offset'],this['_updateServerHistory'](_0x22f895);}this['_document']['history']['version']=_0x461a2a,_0x3d3d63=this['_decompressOperations'](_0x18d25a['data'],_0x18d25a['metadata']),await this['_fetchMissingUsers'](_0x3d3d63),this['_applyOperationsSet'](_0x3d3d63,_0x4e0280);}_0x18d25a['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x3d3d63,_0x18d25a['lastOperationId']),this['_lastSyncedOperationId']=_0x18d25a['lastOperationId']),this['serverHistory']['version']=_0x461a2a+this['_offset'],this['_updateServerHistory'](_0x3d3d63),_0x1503c0['filter'](_0x488d2e=>{const _0x5b3ecf=this['_getAffectedRoot'](_0x488d2e);return _0x5b3ecf&&!this['_knownRootNames']['has'](_0x5b3ecf);})['forEach']((_0x2ee088,_0x50e0e4)=>{_0x2ee088['baseVersion']=this['_document']['version']+_0x50e0e4,this['_saveOperationInBuffer'](_0x2ee088);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x81e33c,_0x3b9919){const _0x1bf536=_0x3b9919&&_0x3b9919['message'];if(_0x1bf536&&_0x1bf536['startsWith']('realtimecollaborationclient'))throw _0x3b9919;const _0x54f0e9=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x54f0e9['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new CKEditorError(_0x81e33c,this['editor'],_0x1bf536?{'originalError':_0x1bf536}:void 0x0);}['_saveOperationInBuffer'](_0x151e6b){this['_knownOperations']['has'](_0x151e6b)||(this['_knownOperations']['add'](_0x151e6b),this['_bufferedOperations']['push'](_0x151e6b),this['_pendingAction']||'marker'==_0x151e6b['type']&&!_0x151e6b['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x5d2744=!0x1){!_0x5d2744&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x524474=>{_0x524474&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x5a95a4=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x5a95a4)||this['_crash'](_0x5a95a4['message'],_0x5a95a4);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x41a222=>{this['on']('change:_isPendingUpdate',()=>{_0x41a222();});});}async['_sendBufferedOperations'](){const _0x24e56b=this['editor']['plugins']['get'](UserMarkers);if(this['_shouldSendSelectionUpdate']()&&(_0x24e56b['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x666b2c=[...this['_bufferedOperations']];for(const _0x44f6c8 of _0x666b2c)_0x44f6c8['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x44f6c8);const _0x5e4c45=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x666b2c),_0x323663=requestCount++,_0x20efa8=this['_compressOperations'](_0x666b2c),_0x185688=await this['_service']['sendOperations'](_0x20efa8,_0x20efa8['baseVersion'],_0x5e4c45);try{return await this['_handleServerResponse'](_0x666b2c,_0x185688,_0x323663);}catch(_0x19f0d7){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x19f0d7);}}async['_handleServerResponse'](_0x4cea5a,_0x2c5481,_0x5cde95){if('error'in _0x2c5481)throw _0x2c5481['error'];let _0xa3a01a=!0x1;if(_0x2c5481['wereChangesApplied']){_0x2c5481['lastOperationId']&&(this['_lastSyncedOperationId']=_0x2c5481['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x40079b=>!_0x4cea5a['includes'](_0x40079b));for(const _0x4e566d of _0x4cea5a)_0x4e566d['createdAt']='lastOperationAcceptedAt'in _0x2c5481&&_0x2c5481['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x4cea5a,_0x2c5481['version']-_0x4cea5a['length']),this['_updateServerHistory'](_0x4cea5a);const _0x2abb80=_0x4cea5a['filter'](_0x2399b1=>{if(!_0x2399b1['_isInit'])return!0x1;const _0x5dd37b=this['_getAffectedRoot'](_0x2399b1);return _0x5dd37b&&!this['_knownRootNames']['has'](_0x5dd37b);});updateBaseVersions(_0x2abb80,this['_document']['version']),this['_applyOperationsSet'](_0x2abb80),_0xa3a01a=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x419964=this['_decompressOperations'](_0x2c5481['data'],_0x2c5481['metadata'])['filter'](_0xee586e=>_0xee586e['baseVersion']>=this['_lastServerVersion']);_0x419964['forEach'](_0x10d462=>this['_addKnownRoot'](_0x10d462)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x9c046c=>!_0x9c046c['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x9c046c))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x419964),_0xa3a01a=this['_handleExternalOperations'](_0x419964,_0x2c5481['version'],_0x2c5481['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0xa3a01a?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x46e716,_0x16c3f1,_0x428f79){try{const _0x4485e1={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2ee66b,operationsB:_0x1e59bc,originalOperations:_0x44d12c}=transformSets(_0x46e716,this['_bufferedOperations'],_0x4485e1);updateBaseVersions(_0x2ee66b,this['_document']['version']),updateBaseVersions(_0x1e59bc,_0x16c3f1);for(const _0x22d837 of _0x2ee66b){const _0x5e5a27=_0x44d12c['get'](_0x22d837);_0x22d837['_authorId']=_0x5e5a27?_0x5e5a27['_authorId']:null;}_0x428f79&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x46e716,_0x428f79),this['_lastSyncedOperationId']=_0x428f79),this['_bufferedOperations']=[..._0x1e59bc],this['_applyOperationsSet'](_0x2ee66b),this['_updateServerHistory'](_0x46e716);}catch(_0x1be1a5){return console['error'](_0x1be1a5),!0x1;}return!0x0;}['_applyOperationsSet'](_0x3d9302,_0x47e535=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x4b8466=>{for(const _0x42f6b2 of _0x3d9302)this['_knownOperations']['add'](_0x42f6b2),this['_addKnownRoot'](_0x42f6b2),_0x4b8466['batch']['addOperation'](_0x42f6b2),this['editor']['model']['applyOperation'](_0x42f6b2);});}['_addKnownRoot'](_0x5dd364){const _0x4db5d9=this['_getAffectedRoot'](_0x5dd364);_0x4db5d9&&this['_knownRootNames']['add'](_0x4db5d9);}['_getAffectedRoot'](_0x34b846){let _0x1c3eff,_0x5ab5e9;switch(_0x34b846['type']){case'insert':_0x1c3eff=_0x34b846['position']['root'];break;case'marker':if(_0x5ab5e9=_0x34b846['newRange'],!_0x5ab5e9)return null;_0x1c3eff=_0x5ab5e9['root'];break;case'addRootAttribute':_0x1c3eff=_0x34b846['root'];break;case'addRoot':_0x1c3eff=_0x34b846['affectedSelectable'];break;case'move':_0x1c3eff=_0x34b846['targetPosition']['root'];break;default:return null;}return _0x1c3eff['rootName'];}['_updateServerHistory'](_0x130032){_0x130032['forEach'](_0x16cb1a=>{const _0x463790=_0x16cb1a['clone']();_0x463790['_authorId']=_0x16cb1a['_authorId'],_0x463790['_isInit']=!!_0x16cb1a['_isInit'],_0x463790['createdAt']=_0x16cb1a['createdAt'],_0x463790['baseVersion']+=this['_offset'],_0x16cb1a['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x463790),this['serverHistory']['addOperation'](_0x463790);});}['_handleReconnectionError'](_0x17a675){const _0x540b81=this['editor']['plugins']['get']('Notification'),_0x210105=this['editor']['locale'];_0x17a675||(_0x17a675=getTranslation$6(_0x210105,'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.')),_0x540b81['showWarning'](_0x17a675,{'title':getTranslation$6(_0x210105,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](WebSocketGateway)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](PendingActions)['add'](getTranslation$6(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](PendingActions)['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x132d5f){const _0x361517=_0x132d5f['map'](_0x5a67d9=>_0x5a67d9['toJSON']());return this['_compressor']['compress'](_0x361517);}['_decompressOperations'](_0x4f422e,_0x305bd1){return this['_compressor']['decompress'](_0x4f422e)['map']((_0x2f902c,_0x12da2c)=>{const _0x9f421d='init'==_0x305bd1[_0x12da2c]['type'];if('InsertOperation'==_0x2f902c['__className']){const _0x353138=_0x2f902c['position']['root'];!this['_document']['getRoot'](_0x353138)&&(this['_document']['createRoot']('$root',_0x353138)['_isAttached']=!0x1);}const _0x18d5ab=OperationFactory['fromJSON'](_0x2f902c,this['_document']);return _0x18d5ab['wasUndone']=_0x2f902c['wasUndone'],_0x18d5ab['_isInit']=_0x9f421d,_0x18d5ab['_authorId']=_0x9f421d?null:_0x305bd1[_0x12da2c]['userId'],_0x18d5ab['_isDisconnection']='cs:removeUser'===_0x305bd1[_0x12da2c]['type'],_0x18d5ab['createdAt']=_0x305bd1[_0x12da2c]['createdAt'],_0x18d5ab;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x65728d=this['editor']['plugins']['get'](Sessions)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x65728d&&_0x65728d['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}RealTimeCollaborationClient['CollaborativeEditingService']=CollaborativeEditingService;class ReconnectionError extends Error{}function updateBaseVersions(_0x7be14e,_0x23c68e){for(const _0x42a1a2 of _0x7be14e)_0x42a1a2['baseVersion']=_0x23c68e++;}function isSessionNotExistingError(_0x5473e9){return'404'===_0x5473e9['code'];}function isBaseVersionMismatchError(_0x20ab11){return'409'===_0x20ab11['code'];}function isDisconnectionError$3(_0x28493c){return _0x28493c['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x28493c['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x28493c['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{constructor(_0x4f21e9){this['_ignoredOperations']=_0x4f21e9,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x2a47c0){let _0x4d3fcb=_0x2a47c0['length'];for(;_0x4d3fcb--;){const _0x320c4e=_0x2a47c0[_0x4d3fcb];if(!this['_ignoredOperations']['has'](_0x320c4e)){if(!this['_operationToId']['has'](_0x320c4e)){const _0x4a0bfc=uid()['slice'](0x1,0x12);this['_operationToId']['set'](_0x320c4e,_0x4a0bfc);}return this['_operationToId']['get'](_0x320c4e);}}}['setIdForTheLastOperation'](_0x59d999,_0x629192){if(!_0x629192)return;let _0x5189cb=_0x59d999['length'];for(;_0x5189cb--;){const _0x2b8720=_0x59d999[_0x5189cb];this['_ignoredOperations']['has'](_0x2b8720)||this['_operationToId']['set'](_0x2b8720,_0x629192);}}}class RealTimeCollaborativeEditing extends Plugin{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends ContextPlugin{static get['requires'](){return[WebSocketGateway,'CommentsRepository',Sessions,Users];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35d326){super(_0x35d326),this['_services']=new Map();}async['init'](){const _0x5b3b58=this['context'],_0x2a6851=_0x5b3b58['plugins']['get']('CommentsRepository');if(_0x5b3b58['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x2a6851['adapter']={'addCommentThread':async({channelId:_0x37df1e,threadId:_0x103544,comments:_0x11487a,resolvedAt:_0x273e97,resolvedBy:_0x490695,context:_0x4f810c,attributes:_0x4deae5})=>{const _0x143869=await this['_getService'](_0x37df1e)['addCommentThread']({'commentThreadId':_0x103544,'comments':_0x11487a['map'](_0x53177b=>parseLocalCommentToRemote(_0x53177b,_0x37df1e,_0x103544)),'resolvedAt':_0x273e97,'resolvedBy':_0x490695,'context':_0x4f810c,'attributes':_0x4deae5})['catch'](handleDisconnectionError$1);return{'threadId':_0x143869['commentThreadId'],'comments':_0x143869['comments']};},'getCommentThread':async({channelId:_0x530c52,threadId:_0x253dcb})=>{const _0x48326e=await this['_getService'](_0x530c52)['getCommentThread'](_0x253dcb)['catch'](handleDisconnectionError$1);return _0x48326e['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x48326e]),{'threadId':_0x48326e['commentThreadId'],'comments':_0x48326e['comments']['map'](parseRemoteCommentToLocal),'context':_0x48326e['context'],'resolvedAt':_0x48326e['resolvedAt'],'resolvedBy':_0x48326e['resolvedBy'],'attributes':_0x48326e['attributes']||{}});},'updateCommentThread':async({channelId:_0xe0cf02,threadId:_0x36c0ca,context:_0x4c070c,unlinkedAt:_0xb58c4e,attributes:_0xf04109})=>this['_getService'](_0xe0cf02)['updateCommentThread']({'commentThreadId':_0x36c0ca,'context':_0x4c070c,'attributes':_0xf04109,'unlinkedAt':_0xb58c4e})['catch'](handleServerError)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x11d9f2,threadId:_0x581428})=>{const _0x2c76c9=await this['_getService'](_0x11d9f2)['resolveCommentThread'](_0x581428)['catch'](handleServerError)['catch'](handleDisconnectionError$1);return{'threadId':_0x2c76c9['commentThreadId'],'resolvedAt':_0x2c76c9['resolvedAt'],'resolvedBy':_0x2c76c9['resolvedBy']};},'reopenCommentThread':async({channelId:_0x42da75,threadId:_0x168e66})=>this['_getService'](_0x42da75)['reopenCommentThread'](_0x168e66)['catch'](handleServerError)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0xe081b0,threadId:_0x49b3d0})=>this['_getService'](_0xe081b0)['removeCommentThread'](_0x49b3d0)['catch'](handleServerError)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0xdc311a,threadId:_0x54a798,commentId:_0x3ffcec,content:_0x4b073e,attributes:_0x1a7692})=>this['_getService'](_0xdc311a)['addComment'](_0x54a798,_0x3ffcec,_0x4b073e,_0x1a7692)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x22458f,threadId:_0x205af2,commentId:_0x4777c6,content:_0x5d8b13,attributes:_0xc89e32})=>this['_getService'](_0x22458f)['updateComment'](_0x205af2,_0x4777c6,_0x5d8b13,_0xc89e32)['catch'](handleServerError)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x56ce76,threadId:_0x596c0f,commentId:_0x336e5a})=>this['_getService'](_0x56ce76)['removeComment'](_0x596c0f,_0x336e5a)['catch'](handleServerError)['catch'](handleDisconnectionError$1)},_0x5b3b58 instanceof Context$1){const _0x2e0727=_0x5b3b58['config']['get']('collaboration.channelId'),_0x338dc7=_0x5b3b58['plugins']['get'](Sessions);await this['_setUpService'](_0x2e0727);const _0x20bf6f=await this['_services']['get'](_0x2e0727)['getConnectedSessions']();this['listenTo'](_0x338dc7,'sessionAdd:'+_0x2e0727,(_0x20ffe9,{session:_0xf100a3})=>{_0xf100a3['id']===_0x338dc7['mySessionId']&&(_0x20ffe9['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0xf100a3['permissions'],_0x2e0727));}),_0x338dc7['register'](_0x2e0727,_0x20bf6f);}}async['_setUpService'](_0x5e42cb){if(this['_services']['has'](_0x5e42cb))throw new CKEditorError('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x5e42cb});const _0x1868dc=this['context']['plugins']['get']('CommentsRepository'),_0x459d68=new CloudServicesCommentsAdapter['CommentsService'](_0x5e42cb);this['_services']['set'](_0x5e42cb,_0x459d68),this['listenTo'](_0x459d68,'commentThreadAdded',(_0x2af80f,_0x4ea606)=>{const {commentThreadId:_0x239281,documentId:_0x31bb2d,context:_0x938aee,attributes:_0x5eb88a,resolvedAt:_0x48f155,resolvedBy:_0x29bcc4,comments:_0x2b6e5b}=_0x4ea606;_0x1868dc['getCommentThread'](_0x239281)||_0x1868dc['addCommentThread']({'threadId':_0x239281,'channelId':_0x31bb2d,'comments':_0x2b6e5b?_0x2b6e5b['map'](parseRemoteCommentToLocal):[],'context':_0x938aee,'attributes':_0x5eb88a,'resolvedAt':_0x48f155,'resolvedBy':_0x29bcc4,'isFromAdapter':!0x0});}),this['listenTo'](_0x459d68,'commentThreadUpdated',(_0x20a1d8,{commentThreadId:_0x5043b2,documentId:_0x1e1999,context:_0x4d39f5,unlinkedAt:_0x141470,attributes:_0x139b54})=>{_0x1868dc['getCommentThread'](_0x5043b2)&&_0x1868dc['updateCommentThread']({'threadId':_0x5043b2,'channelId':_0x1e1999,'context':_0x4d39f5,'unlinkedAt':_0x141470,'attributes':_0x139b54,'isFromAdapter':!0x0});}),this['listenTo'](_0x459d68,'commentThreadResolved',(_0x26923e,{commentThreadId:_0x31abdb,resolvedBy:_0x197b4b,resolvedAt:_0x56ab91})=>{const _0x4f5a95=_0x1868dc['getCommentThread'](_0x31abdb);_0x4f5a95&&_0x4f5a95['resolve']({'resolvedBy':_0x197b4b,'resolvedAt':_0x56ab91,'isFromAdapter':!0x0});}),this['listenTo'](_0x459d68,'commentThreadReopened',(_0xb1614f,{commentThreadId:_0x570986})=>{const _0x1e34e4=_0x1868dc['getCommentThread'](_0x570986);_0x1e34e4&&_0x1e34e4['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x459d68,'commentThreadRemoved',(_0x292f8a,{commentThreadId:_0x55241a})=>{const _0xc22aa4=_0x1868dc['getCommentThread'](_0x55241a);_0xc22aa4&&_0xc22aa4['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x459d68,'commentAdded',(_0x1bb8b3,_0x3d6741)=>{const _0x5125c2=_0x3d6741['commentThreadId'],_0x220388=_0x1868dc['getCommentThread'](_0x5125c2);_0x220388&&_0x220388['addComment']({...parseRemoteCommentToLocal(_0x3d6741),'isFromAdapter':!0x0});}),this['listenTo'](_0x459d68,'commentUpdated',(_0x5075f1,{commentThreadId:_0x54ab42,commentId:_0x1404c5,content:_0x26f64b,attributes:_0x148bf4})=>{const _0x1fd8e4=_0x1868dc['getCommentThread'](_0x54ab42);if(_0x1fd8e4){const _0x4463d8=_0x1fd8e4['getComment'](_0x1404c5);_0x4463d8&&_0x4463d8['update']({'content':_0x26f64b,'attributes':_0x148bf4,'isFromAdapter':!0x0});}}),this['listenTo'](_0x459d68,'commentRemoved',(_0x190829,{commentThreadId:_0x1c166a,commentId:_0x46c155})=>{const _0x4d6a55=_0x1868dc['getCommentThread'](_0x1c166a);if(_0x4d6a55){const _0x2ccee8=_0x4d6a55['getComment'](_0x46c155);_0x2ccee8&&_0x2ccee8['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x5e42cb);}['destroy'](){if(this['context']instanceof Context$1){const _0x45b365=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x45b365);}}['_terminateService'](_0x5e0ebe){if(!this['_services']['has'](_0x5e0ebe))throw new CKEditorError('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x5e0ebe});this['_getService'](_0x5e0ebe)['disconnect'](),this['_services']['delete'](_0x5e0ebe);}async['reconnect'](){for(const _0x27a714 of this['_services']['keys']())await this['_connectService'](_0x27a714);if(this['context']instanceof Context$1){const _0x5ce1b7=this['context']['config']['get']('collaboration.channelId'),_0x1f60ab=this['context']['plugins']['get'](Sessions);_0x1f60ab['unregister'](_0x5ce1b7);const _0x1de197=await this['_services']['get'](_0x5ce1b7)['getConnectedSessions']();_0x1f60ab['register'](_0x5ce1b7,_0x1de197);}}async['_connectService'](_0x3873c3){const {connection:_0x595695}=this['context']['plugins']['get'](WebSocketGateway),_0xa6e8c4=this['context']['plugins']['get']('CommentsRepository'),_0x504495=this['_services']['get'](_0x3873c3),_0x317683=await _0x504495['connect'](_0x595695);await this['_fetchMissingUsersForThreads'](_0x317683);const _0x516196=new Set(Array['from'](_0xa6e8c4['getCommentThreads']({'channelId':_0x3873c3}),_0x33041f=>_0x33041f['id']));for(const _0x5dd1e9 of _0x317683)_0x5dd1e9['deletedAt']||_0x516196['delete'](_0x5dd1e9['commentThreadId']);for(const _0x3514de of _0x516196)_0xa6e8c4['getCommentThread'](_0x3514de)['remove']({'isFromAdapter':!0x0});for(const _0x2192e2 of _0x317683){let _0xe2054e=_0xa6e8c4['getCommentThread'](_0x2192e2['commentThreadId']);const {commentThreadId:_0x1c3679,context:_0x2891ff,attributes:_0x3cde3d,resolvedBy:_0x444af1,resolvedAt:_0x6d2f6b,unlinkedAt:_0xe75754,deletedAt:_0x44dcdd}=_0x2192e2;if(_0x44dcdd)continue;_0xe2054e||(_0xe2054e=_0xa6e8c4['addCommentThread']({'channelId':_0x3873c3,'threadId':_0x1c3679,'context':_0x2891ff,'attributes':_0x3cde3d||{},'resolvedBy':_0x444af1,'resolvedAt':_0x6d2f6b,'unlinkedAt':_0xe75754,'isFromAdapter':!0x0}));const _0x26cf18=new Set(Array['from'](_0xe2054e['comments'],_0x478bfb=>_0x478bfb['id']));for(const _0x3c2a26 of _0x2192e2['comments'])_0x26cf18['delete'](_0x3c2a26['commentId']);for(const _0x1b7e66 of _0x26cf18)_0xe2054e['getComment'](_0x1b7e66)['remove']({'isFromAdapter':!0x0});for(const _0x3a37ca of _0x2192e2['comments']){const _0x354d66=_0xe2054e['getComment'](_0x3a37ca['commentId']);_0x354d66?_0x354d66['content']!==_0x3a37ca['content']&&_0x354d66['update']({'content':_0x3a37ca['content'],'isFromAdapter':!0x0}):_0xe2054e['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x3a37ca),{'isFromAdapter':!0x0}));}}}['_getService'](_0x24d215){if(!this['_services']['has'](_0x24d215))throw new CKEditorError('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x24d215});return this['_services']['get'](_0x24d215);}async['_fetchMissingUsersForThreads'](_0x5dd010){const _0x133510=this['context']['plugins']['get'](Users),{connection:_0x210ba6}=this['context']['plugins']['get'](WebSocketGateway),_0x366ccf=new Set();for(const {resolvedBy:_0x3d1c7d,comments:_0x26b327}of _0x5dd010){_0x3d1c7d&&!_0x133510['getUser'](_0x3d1c7d)&&_0x366ccf['add'](_0x3d1c7d);for(const {userId:_0x2b27d5}of _0x26b327)_0x133510['getUser'](_0x2b27d5)||_0x366ccf['add'](_0x2b27d5);}if(0x0===_0x366ccf['size'])return;const _0x5c6e43=await User['getMany'](_0x210ba6,Array['from'](_0x366ccf));for(const _0x460c4b of _0x5c6e43)_0x133510['getUser'](_0x460c4b['id'])||_0x133510['addUser'](_0x460c4b);}}async function handleServerError(_0x111dd0){if('404'!==_0x111dd0['code'])throw _0x111dd0;}function handleDisconnectionError$1(_0x4e43ed){if(isDisconnectionError$2(_0x4e43ed))return new Promise(()=>{});throw _0x4e43ed;}function isDisconnectionError$2(_0xe015ca){return _0xe015ca['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0xe015ca['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xe015ca['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0xe1256d){return{'threadId':_0xe1256d['commentThreadId'],'commentId':_0xe1256d['commentId'],'content':_0xe1256d['content'],'createdAt':_0xe1256d['createdAt'],'authorId':_0xe1256d['userId'],'attributes':_0xe1256d['attributes']||{}};}function parseLocalCommentToRemote(_0x30e3f1,_0x2f6aa0,_0x504f5b){return{'commentThreadId':_0x504f5b,'commentId':_0x30e3f1['commentId'],'userId':_0x30e3f1['authorId'],'content':_0x30e3f1['content'],'documentId':_0x2f6aa0,'createdAt':_0x30e3f1['createdAt'],'attributes':_0x30e3f1['attributes']||{}};}CloudServicesCommentsAdapter['CommentsService']=CommentsService;class CloudServicesTrackChangesAdapter extends Plugin{static get['requires'](){return[CloudServicesCommentsAdapter,'TrackChangesEditing',WebSocketGateway];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x31a831){super(_0x31a831);const _0x426966=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x426966);}['init'](){const _0x1b93a8=this['editor']['plugins']['get'](WebSocketGateway),_0x2c4724=this['editor']['plugins']['get']('TrackChangesEditing');return _0x2c4724['adapter']={'getSuggestion':async _0x2a08ba=>{await this['_waitForServiceReady']();const _0x5969f9=await this['_trackChangesService']['get'](_0x2a08ba)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x5969f9]),_0x5969f9;},'addSuggestion':async({id:_0x1420c3,type:_0x221af7,data:_0x13c113,originalSuggestionId:_0x9ad0b7,attributes:_0x49943f})=>{await this['_waitForServiceReady']();const _0x41dd5f={'id':_0x1420c3,'type':_0x221af7,'data':_0x13c113,'originalSuggestionId':_0x9ad0b7,'attributes':_0x49943f},_0x5601f1=await this['_trackChangesService']['add'](_0x1420c3,_0x221af7,_0x13c113,_0x9ad0b7,_0x49943f)['catch'](_0x594200=>{if(isDisconnectionError$1(_0x594200))return new Promise(_0x1d4f45=>{this['_bufferedRequests']['set'](_0x1420c3,{'resolve':_0x1d4f45,'suggestionData':_0x41dd5f});});throw _0x594200;});return this['_bufferedRequests']['delete'](_0x1420c3),_0x5601f1;},'updateSuggestion':async(_0x304bc3,_0x7e42e8)=>{if(await this['_waitForServiceReady'](),'open'!==_0x7e42e8['state'])return this['_trackChangesService']['update'](_0x304bc3,_0x7e42e8)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x283284,_0x4d9988)=>{_0x2c4724['hasSuggestion'](_0x4d9988['id'])&&(_0x2c4724['getSuggestion'](_0x4d9988['id'])['attributes']=_0x4d9988['attributes']);}),this['_trackChangesService']['connect'](_0x1b93a8['connection'])['then'](_0x8f57c9=>(_0x1b93a8['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x8f57c9)['then'](()=>{for(const _0x11b820 of _0x8f57c9){_0x2c4724['addSuggestionData'](_0x11b820)['_saved']=!0x0;}})));}async['reconnect'](){const _0x56d829=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x4be488}=this['editor']['plugins']['get'](WebSocketGateway),_0x2dea32=await this['_trackChangesService']['connect'](_0x4be488);await this['_fetchMissingUsersForThreads'](_0x2dea32);for(const {suggestionData:_0x51d577,resolve:_0x357ce9}of this['_bufferedRequests']['values']()){let _0x537f87=_0x2dea32['find'](_0xbb4bf5=>_0xbb4bf5['id']===_0x51d577['id']);_0x537f87||(_0x537f87=await this['_trackChangesService']['add'](_0x51d577['id'],_0x51d577['type'],_0x51d577['data'],_0x51d577['originalSuggestionId'])),_0x357ce9(_0x537f87);}for(const _0x5bdd12 of _0x2dea32)_0x56d829['hasSuggestion'](_0x5bdd12['id'])||_0x56d829['addSuggestionData'](_0x5bdd12);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x3aed3f=>{this['listenTo'](this['_trackChangesService'],'connected',_0x3794d2=>{_0x3794d2['off'](),_0x3aed3f();});});}async['_fetchMissingUsersForThreads'](_0x248084){const _0x36d477=this['editor']['plugins']['get'](Users),{connection:_0x5d85e3}=this['editor']['plugins']['get'](WebSocketGateway),_0x41273d=new Set();for(const {authorId:_0x210266}of _0x248084)_0x36d477['getUser'](_0x210266)||_0x41273d['add'](_0x210266);if(0x0===_0x41273d['size'])return;const _0x24ab63=await User['getMany'](_0x5d85e3,Array['from'](_0x41273d));for(const _0x118b8b of _0x24ab63)_0x36d477['getUser'](_0x118b8b['id'])||_0x36d477['addUser'](_0x118b8b);}}function handleDisconnectionError(_0x2bddd1){if(isDisconnectionError$1(_0x2bddd1))return new Promise(()=>{});throw _0x2bddd1;}function isDisconnectionError$1(_0x18f959){return _0x18f959['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x18f959['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}CloudServicesTrackChangesAdapter['TrackChangesService']=TrackChangesService;class RealTimeCollaborativeComments extends Plugin{static get['requires'](){return['Comments',CloudServicesCommentsAdapter,RealTimeCollaborativeEditing,WebSocketGateway];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3c9c1c=this['editor']['plugins']['get'](WebSocketGateway),_0x4975a6=this['editor']['plugins']['get']('CommentsEditing'),_0x47caf6=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x3c9c1c,'change:state',(_0x1d004a,_0x5b95e3,_0x5610a6)=>{_0x4975a6['isThreadsLoadingPaused']='connected'!==_0x5610a6;});}),this['listenTo'](_0x3c9c1c,'change:state',(_0x1ca3e5,_0x294b0e,_0x18e471)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x18e471);}),_0x47caf6['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){this['editor']['plugins']['get'](CloudServicesCommentsAdapter)['_terminateService'](this['editor']['config']['get']('collaboration.channelId')),super['destroy']();}}class RealTimeCollaborativeTrackChanges extends Plugin{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,'TrackChanges'];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesRevisionHistoryAdapter extends Plugin{static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionTracker',Sessions,Users];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16dcfb){super(_0x16dcfb);const _0x2a0084=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x2a0084);}async['init'](){const _0x171ea6=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x44f9e3=_0x171ea6['serverHistory'],_0x9a8c48=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x44f9e3,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x171ea6['sessionId']});const _0x584a9b=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x4319a3,_0x5cf6b0=await EditorService['isBundleUploaded'](_0x9a8c48['connection'],_0x584a9b);this['_revisionTracker']['adapter']={'getRevision':async({revisionId:_0x408a69})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x408a69)),'updateRevisions':async _0x5bb5ef=>{await this['_waitForServiceReady']();const _0x5a3f9f=this['_revisionTracker']['currentRevision'];if(_0x5cf6b0&&0x1===_0x5bb5ef['length']&&_0x5bb5ef[0x0]['id']===_0x5a3f9f['id'])return _0x5bb5ef;for(const _0x16c7d2 of _0x5bb5ef)_0x16c7d2['id']===_0x5a3f9f['id']&&(_0x16c7d2['isEmptyCurrent']=_0x16c7d2['fromVersion']===_0x16c7d2['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x5bb5ef,this['_lastRequestId'])['then'](_0x2ce294=>(this['_lastRequestId']=_0x2ce294,_0x5bb5ef))['catch'](_0xf7ba4e=>{if(isDisconnectionError(_0xf7ba4e)||'400'===_0xf7ba4e['code']&&void 0x0!==_0xf7ba4e['data']['wrongRequestId']){for(const _0x310bfc of _0x5bb5ef){!this['_revisionTracker']['repository']['getRevision'](_0x310bfc['id'])||this['_revisionTracker']['_bufferUpdate'](_0x310bfc['id'],_0x310bfc,!0x1);}if(isDisconnectionError(_0xf7ba4e))throw _0xf7ba4e;return _0x5bb5ef;}throw _0xf7ba4e;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x3dcc72,{revisionsData:_0x42c080,requestId:_0xc63390})=>{Math['max'](..._0x42c080['map'](_0x344f34=>_0x344f34['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x42c080,_0xc63390);}):this['_handleRevisionsUpdate'](_0x42c080,_0xc63390);});const {revisions:_0x595ad3,requestId:_0x1c9537}=await this['_revisionHistoryService']['connect'](_0x9a8c48['connection']);_0x9a8c48['addToReconnectionStack'](this),this['_lastRequestId']=_0x1c9537,await this['_fetchMissingUsers'](_0x595ad3);for(const _0x36791e of _0x595ad3)this['_revisionTracker']['addRevisionData'](_0x36791e);this['listenTo'](_0x171ea6,'change:_isConnected',(_0xfeb8a6,_0x7f168f,_0x2fdc7d)=>{_0x2fdc7d&&(this['_oldOffset']=_0x171ea6['_offset'],_0xfeb8a6['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x9a8c48,'state',_0x115124=>_0x115124===WEB_SOCKET_GATEWAY_STATES['CONNECTED']);}async['reconnect'](){const _0x415185=this['editor']['plugins']['get'](WebSocketGateway),_0x237ec5=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x26b8b1=async()=>{const _0x511a01=this['_revisionTracker']['currentRevision'],_0xdaca1f=_0x511a01['id'],_0x4ee91f=_0xdaca1f!==_0x237ec5['sessionId'];if(_0x4ee91f){const _0x16ebeb=_0x237ec5['_offset']-this['_oldOffset'],_0x5173a3=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x511a01['toVersion']+_0x16ebeb!==_0x5173a3){const _0x3c3cea=_0x511a01['fromVersion']+_0x16ebeb,_0x595914=this['editor']['plugins']['get'](Users),_0x228e1d=this['_revisionTracker']['buildRevisionData']({'revision':_0x511a01,'from':_0x3c3cea,'to':_0x5173a3});_0x228e1d['id']=_0x511a01['id'];const _0x279dbf=_0x228e1d['authorsIds']['map'](_0x153d38=>_0x595914['getUser'](_0x153d38));_0x511a01['_update']({..._0x228e1d,'authors':_0x279dbf},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x511a01['id'],_0x228e1d,!0x0);}this['_revisionTracker']['_startingVersion']=_0x5173a3,(_0x511a01['toVersion']===_0x511a01['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0xdaca1f)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0xdaca1f),this['_revisionTracker']['_createCurrentRevision'](_0x5173a3));}const {revisions:_0x7a4e4b,requestId:_0xc3dc8}=await this['_revisionHistoryService']['reconnect'](_0x415185['connection'],this['_lastRequestId']);_0x4ee91f&&_0x7a4e4b['length']>0x0?_0x237ec5['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x7a4e4b),this['_handleRevisionsUpdate'](_0x7a4e4b,_0xc3dc8),this['_revisionTracker']['sendBufferedUpdates']());};return _0x237ec5['_isConnected']?_0x26b8b1():new Promise((_0x18a40f,_0x3ce6c3)=>{_0x237ec5['once']('change:_isConnected',()=>{_0x26b8b1()['then'](_0x18a40f)['catch'](_0x3ce6c3);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x4ffa84=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x94af4d=>{_0x94af4d['off'](),_0x4ffa84();});});}['_getLatestVersionFromServerOperations'](){const _0x30d8ae=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x45661d of _0x30d8ae)if('marker'!==_0x45661d['type']||_0x45661d['affectsData'])return _0x45661d['baseVersion']+0x1;}['_getLatestVersion'](){const _0x524e58=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x1ad660=>{_0x524e58['_isPendingUpdate']?_0x524e58['once']('change:_isPendingUpdate',()=>{_0x1ad660(this['_getLatestVersionFromServerOperations']());}):_0x1ad660(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0xf31c41,_0x5789c0){const _0x319736=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x5789c0;for(const _0x2f882f of _0xf31c41){const _0x2ddf7d=_0x319736['getRevision'](_0x2f882f['id']);if(_0x2ddf7d){if((_0x2f882f['fromVersion']||_0x2f882f['toVersion'])&&(_0x2f882f['diffData']=null),_0x2ddf7d===this['_revisionTracker']['currentRevision']){const _0x524acc=Math['max'](_0x2ddf7d['toVersion'],_0x2f882f['toVersion']),_0x2722bd=Math['max'](_0x2ddf7d['fromVersion'],_0x2f882f['fromVersion']);let _0x44526a;_0x2ddf7d['toVersion']===_0x2f882f['toVersion']&&_0x2ddf7d['fromVersion']===_0x2f882f['fromVersion']?(_0x44526a=!0x0,this['_preventResendingRevisionData'](_0x2f882f)):_0x2f882f['toVersion']===_0x524acc&&_0x2f882f['fromVersion']===_0x2722bd?_0x44526a=!0x1:(_0x2ddf7d['toVersion']===_0x524acc&&_0x2ddf7d['fromVersion']===_0x2722bd||this['_fixRevision']({'revision':_0x2ddf7d,'from':_0x2722bd,'to':_0x524acc}),_0x44526a=!0x0),_0x44526a&&(delete _0x2f882f['fromVersion'],delete _0x2f882f['toVersion'],delete _0x2f882f['diffData'],delete _0x2f882f['createdAt'],delete _0x2f882f['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x2f882f),this['_preventResendingRevisionData'](_0x2f882f);}else this['_revisionTracker']['addRevisionData'](_0x2f882f);}const _0x55bcf8=_0x319736['getRevisions']();_0x55bcf8['reverse']();for(let _0x564572=0x0;_0x564572<_0x55bcf8['length']-0x1;_0x564572++){const _0x46d2ee=_0x55bcf8[_0x564572],_0x15137a=_0x55bcf8[_0x564572+0x1];if(_0x46d2ee['fromVersion']<_0x15137a['toVersion']){const _0x5566b7=_0x15137a['toVersion'],_0x4e3362=Math['max'](_0x5566b7,_0x46d2ee['toVersion']);this['_fixRevision']({'revision':_0x46d2ee,'from':_0x5566b7,'to':_0x4e3362});}}}['_fixRevision']({revision:_0x9a385f,from:_0x394efb,to:_0x1f1696}={}){const _0x77a05e=this['editor']['plugins']['get'](Users),_0x2bb038=this['_revisionTracker']['buildRevisionData']({'revision':_0x9a385f,'from':_0x394efb,'to':_0x1f1696});_0x2bb038['authors']=_0x2bb038['authorsIds']['map'](_0x45d505=>_0x77a05e['getUser'](_0x45d505)),_0x9a385f['_update'](_0x2bb038);}['_preventResendingRevisionData'](_0x1b686e){const _0x465cc7={};_0x465cc7['id']=_0x1b686e['id'];for(const _0x341ba4 of Object['keys'](_0x1b686e))'id'!==_0x341ba4&&(_0x465cc7[_0x341ba4]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x465cc7['id'],_0x465cc7,!0x0);}async['_fetchMissingUsers'](_0x3766f0){const _0x3f5a39=this['editor']['plugins']['get'](Users),{connection:_0x59a231}=this['editor']['plugins']['get'](WebSocketGateway),_0x550137=new Set();for(const _0x1dd925 of _0x3766f0){for(const _0x5a8c6e of _0x1dd925['authorsIds'])_0xdd777b(_0x5a8c6e);_0x1dd925['creatorId']&&_0xdd777b(_0x1dd925['creatorId']);}if(0x0===_0x550137['size'])return;const _0x5d10a2=await User['getMany'](_0x59a231,Array['from'](_0x550137));for(const _0x5736b8 of _0x5d10a2)_0x3f5a39['getUser'](_0x5736b8['id'])||_0x3f5a39['addUser'](_0x5736b8);function _0xdd777b(_0x5bb4ca){_0x3f5a39['getUser'](_0x5bb4ca)||_0x550137['add'](_0x5bb4ca);}}}function isDisconnectionError(_0x514362){return _0x514362['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x514362['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x514362['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}CloudServicesRevisionHistoryAdapter['RevisionHistoryService']=RevisionHistoryService;class RealTimeCollaborativeRevisionHistory extends Plugin{static get['requires'](){return['RevisionHistory',CloudServicesRevisionHistoryAdapter,RealTimeCollaborativeEditing];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PresenceCounterView extends View{constructor(_0x3c375f){super(_0x3c375f);const _0x28f145=this['bindTemplate'];this['set']('usersCount',0x0),this['set']('isHidden',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__counter',_0x28f145['if']('isHidden','ck-presence-list__counter--hidden')]},'children':[{'text':_0x28f145['to']('usersCount',_0x3a46b1=>getTranslation$6(_0x3c375f,'CONNECTED_USERS',_0x3a46b1))}]});}}class PresenceInlineListView extends View{constructor(_0x4048dd){super(_0x4048dd);const _0x188e5d=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new KeystrokeHandler(),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x188e5d['if']('hasPopup'),'aria-expanded':_0x188e5d['to']('isExpanded',_0x1ff292=>this['hasPopup']&&String(_0x1ff292)),'aria-label':_0x188e5d['to']('hasPopup',_0x4f6fed=>getTranslation$6(_0x4048dd,_0x4f6fed?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x188e5d['to']('hasPopup',_0x110e66=>!!_0x110e66&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'click':_0x188e5d['to'](()=>this['fire']('execute'))}}),this['on']('change:hasPopup',(_0x3ccbff,_0x33d1db,_0x3609fd)=>{this['element']&&(_0x3609fd?this['element']['setAttribute']('aria-expanded',String(this['isExpanded'])):this['element']['removeAttribute']('aria-expanded'));});}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']);}}class PresenceListView extends View{constructor(_0x32fd4e){super(_0x32fd4e);const _0x315a2d=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale']),this['inlineListView']=new PresenceInlineListView(_0x32fd4e),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x596908 of this['inlineListView']['items'])_0x596908['tooltipPosition']='s';this['inlineListView']['items']['first']&&(this['inlineListView']['items']['first']['tooltipPosition']='se');}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list','ck-reset','ck-rounded-corners',_0x315a2d['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['counterView'],this['inlineListView']]});}}class PresenceDropdownListView extends View{constructor(_0x19551d,_0x3c61c0){super(_0x19551d),this['listWrapperView']=new PresenceDropdownListWrapperView(_0x19551d,_0x3c61c0),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x19551d,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']]});}}class PresenceDropdownListWrapperView extends ListView{constructor(_0x2fd47c,_0x3b094e){super(_0x2fd47c);const _0x5b0d7c=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x3b094e?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x5b0d7c['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x5b0d7c['to']('role'),'aria-label':_0x5b0d7c['to']('ariaLabel'),'aria-labelledby':_0x5b0d7c['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x25cc2c['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x4913b5=this['element'];_0x4913b5&&(this['_isScrollable']=Math['max'](_0x4913b5['scrollHeight'],_0x4913b5['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ListItemView{constructor(_0x35b122,_0x2bf090,_0x17eec2){super(_0x35b122);const _0xd2fae7=this['bindTemplate'];this['userView']=new UserView(_0x35b122,_0x2bf090);const _0x48328a={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x2bf090['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x2bf090['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x2bf090['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x17eec2&&(_0x48328a['tag']='button',_0x48328a['on']={'click':_0xd2fae7['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x48328a);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends View{constructor(_0x247340,_0xc2312f,_0x5cc78d){super(_0x247340);const _0x3af392=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new UserView(_0x247340,_0xc2312f),this['markerView']=new MarkerView(_0x247340,_0xc2312f);const _0x7169d5=new LabelView(_0x247340);_0x7169d5['template']['tag']='span',_0x7169d5['text']=_0xc2312f['name'];const _0x2a134f={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x3af392['to']('isFocusable',_0x15308d=>!!_0x15308d&&0x0),'aria-labelledby':_0x7169d5['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x3af392['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x3af392['to']('hasTooltip',_0x54df0a=>!_0x54df0a),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x7169d5]};_0x5cc78d&&(_0x2a134f['tag']='button',_0x2a134f['on']={'click':_0x3af392['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x2a134f);}}class MarkerView extends View{constructor(_0x18077b,_0x28f189){super(_0x18077b),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x28f189['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const defaultPresenceListConfig={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends ContextPlugin{constructor(_0x17d221){super(_0x17d221),this['_bodyCollection']=null,this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x42b7d2=_0x17d221['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x42b7d2)throw new CKEditorError('presencelist-collapseat-invalid-format',this);if(_0x42b7d2<0x1)throw new CKEditorError('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](Sessions)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new Collection(),this['balloonPanelView']=new BalloonPanelView(),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[Sessions];}['init'](){for(const _0x5df50e of this['_allConnectedUsers'])this['_handleUserAdd'](_0x5df50e);this['listenTo'](this['_allConnectedUsers'],'add',(_0x1bdce9,_0xd736da)=>{this['_handleUserAdd'](_0xd736da);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x2eebf1,_0xab0457)=>{this['_handleUserRemove'](_0xab0457);});}['_createView'](){const _0x57757f=this['context'],_0x1e6d9d=new PresenceListView(this['context']['locale']),_0x3e2dc0=this['balloonPanelView'];if(!isElement$2(_0x57757f['config']['get']('presenceList.container')))throw new CKEditorError('presencelist-missing-container',this);return _0x1e6d9d['counterView']['bind']('usersCount')['to'](this),_0x1e6d9d['bind']('isCollapsed')['to'](this,'usersCount',_0x371619=>{const {collapseAt:_0xd2a3d9,displayMe:_0x1ccdb7}=_0x57757f['config']['get']('presenceList'),_0x282458=_0x371619>=_0xd2a3d9;return _0x1e6d9d['counterView']['isHidden']=!(0x1==_0x371619&&_0x1ccdb7||_0x282458),_0x282458||this['hideDropdown'](),_0x282458;}),_0x1e6d9d['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x1caa1e=>{const _0x129530=_0x57757f['config']['get']('presenceList'),_0x24e24b=new PresenceInlineListItemView(_0x57757f['locale'],_0x1caa1e,!!_0x129530['onClick']);return _0x24e24b['bind']('hasTooltip')['to'](_0x1e6d9d,'isCollapsed',_0x2575ae=>!_0x2575ae),_0x24e24b['bind']('isFocusable')['to'](_0x1e6d9d,'isCollapsed',_0x59d76e=>!_0x59d76e),_0x129530['onClick']&&this['listenTo'](_0x24e24b,'execute',()=>{this['view']['isCollapsed']||_0x129530['onClick'](_0x1caa1e,_0x24e24b['element']);}),_0x24e24b;}),this['listenTo'](_0x1e6d9d['inlineListView'],'execute',()=>{this['presenceDropdownView']?this['hideDropdown']():this['view']['isCollapsed']&&this['showDropdown']();}),_0x1e6d9d['inlineListView']['keystrokes']['set']('Enter',(_0x2aa47f,_0x599ecf)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x599ecf());}),_0x1e6d9d['render'](),_0x3e2dc0['render'](),clickOutsideHandler({'emitter':_0x1e6d9d,'activator':()=>_0x3e2dc0['isVisible'],'contextElements':[_0x3e2dc0['element'],_0x1e6d9d['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x57757f['config']['get']('presenceList.container')['appendChild'](_0x1e6d9d['element']),this['_bodyCollection']=new BodyCollection(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x1e6d9d;}['_handleUserAdd'](_0x269d5d){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x269d5d['isMe'])return;const _0x4f363d=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['usersCount']++,this['currentDisplayedUsers']['length']==_0x4f363d&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](0x1);const _0x53eaa6=_0x269d5d['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x269d5d,_0x53eaa6);}['_handleUserRemove'](_0x2e8c89){if(this['usersCount']--,this['currentDisplayedUsers']['get'](_0x2e8c89['id'])&&(this['currentDisplayedUsers']['remove'](_0x2e8c89['id']),this['currentDisplayedUsers']['length']<this['usersCount'])){for(const _0x388222 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x388222['id']))return void this['currentDisplayedUsers']['add'](_0x388222,Math['min'](this['currentDisplayedUsers']['length'],0x1));}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x4da466=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x4da466['onClick']),this['view']['inlineListView']['isExpanded']=!0x0;const {listWrapperView:_0x231654}=this['presenceDropdownView'];_0x231654['items']['bindTo'](this['_allConnectedUsers'])['using'](_0xc623ff=>{if(!_0x4da466['displayMe']&&_0xc623ff['isMe'])return null;const _0x17f5d5=new PresenceDropdownListItemView(this['context']['locale'],_0xc623ff,!!_0x4da466['onClick']);return _0x4da466['onClick']&&this['listenTo'](_0x17f5d5,'execute',()=>{_0x4da466['onClick'](_0xc623ff,_0x17f5d5['element']);}),_0x17f5d5;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x231654['focus'](),_0x231654['checkIfScrollable']();const _0x117c13=(_0x12785b,_0x31681f)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x31681f();};_0x231654['keystrokes']['set']('Esc',_0x117c13),_0x231654['keystrokes']['set']('Shift+Tab',_0x117c13),_0x231654['keystrokes']['set']('Tab',(_0x3293fd,_0x37e25d)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x37e25d();}),_0x231654['focusTracker']['add'](this['view']['element']),_0x231654['focusTracker']['on']('change:isFocused',(_0x532f87,_0x41a936,_0x558ae7)=>{_0x558ae7||this['hideDropdown']();});}['hideDropdown'](){this['presenceDropdownView']&&(this['view']['inlineListView']['isExpanded']=!0x1,this['balloonPanelView']['unpin'](),this['balloonPanelView']['content']['remove'](this['presenceDropdownView']),this['presenceDropdownView']['destroy'](),this['presenceDropdownView']=void 0x0);}['destroy'](){super['destroy'](),this['view']&&this['view']['isRendered']&&this['view']['destroy'](),this['_bodyCollection']&&(this['_bodyCollection']['detachFromDom'](),this['_bodyCollection']['destroy'](),this['_bodyCollection']=null);}}function focusNextElement(_0x558d0f){const _0x110e9a=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x16845a=>_0x16845a+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x28ddfc=[...document['body']['querySelectorAll'](_0x110e9a)]['filter'](_0x6ea0bd=>_0x6ea0bd===document['activeElement']||_0x6ea0bd['offsetWidth']+_0x6ea0bd['offsetHeight']>0x0)['sort']((_0x4201c5,_0x261910)=>(_0x4201c5['tabIndex']||0x0)-(_0x261910['tabIndex']||0x0)),_0xf9c61a=_0x28ddfc['indexOf'](_0x558d0f),_0x14121a=_0x28ddfc[(_0xf9c61a+0x1)%_0x28ddfc['length']];_0x14121a&&_0x14121a['focus']();}class PresenceList extends ContextPlugin{static get['requires'](){return[Sessions,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class Revision extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x1da517){super(),this['id']=_0x1da517['id']||uid(),this['creator']=_0x1da517['creator']||null,this['authors']=_0x1da517['authors']||[],this['diffData']=_0x1da517['diffData']||null,this['toVersion']=_0x1da517['toVersion']||0x0,this['fromVersion']=_0x1da517['fromVersion']||0x0,this['set']('name',_0x1da517['name']||''),this['set']('createdAt',_0x1da517['createdAt']||new Date()),this['set']('attributes',_0x1da517['attributes']||{});}['setName'](_0x5a766d){this['_update']({'name':_0x5a766d});}['setAttribute'](_0x36754f,_0x5686a3){const _0x49d543=cloneDeep(this['attributes']);set$1(_0x49d543,_0x36754f,_0x5686a3),this['_update']({'attributes':_0x49d543});}['removeAttribute'](_0x351aad){const _0x5deb26=cloneDeep(this['attributes']);unset(_0x5deb26,_0x351aad),this['_update']({'attributes':_0x5deb26});}['_update'](_0x7e4f02,_0x214299=!0x1){let _0x343ce4=!0x1;const _0x20abd3={'id':this['id']},_0x34958a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3ddc0b of _0x34958a){const _0x510110=_0x7e4f02[_0x3ddc0b];void 0x0!==_0x510110&&_0x510110!==this[_0x3ddc0b]&&(this[_0x3ddc0b]=_0x510110,_0x20abd3[_0x3ddc0b]=_0x510110,_0x343ce4=!0x0);}_0x343ce4&&(_0x20abd3['authors']&&(_0x20abd3['authorsIds']=_0x20abd3['authors']['map'](_0x57a545=>_0x57a545['id']),delete _0x20abd3['authors']),this['fire']('_update',_0x20abd3,_0x214299));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4c28d9=>_0x4c28d9['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends Plugin{static get['requires'](){return[Users];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x80484c){super(_0x80484c),this['_revisions']=new Collection();}['afterInit'](){checkLicense$5(this);}['createRevision'](_0x36dc37){const _0x5e33be=this['editor']['plugins']['get']('Users');return new Revision({'id':_0x36dc37['id'],'name':_0x36dc37['name'],'creator':_0x36dc37['creatorId']?_0x5e33be['getUser'](_0x36dc37['creatorId']):null,'diffData':_0x36dc37['diffData']||_0x36dc37['data'],'authors':_0x36dc37['authorsIds']['map'](_0xae0c=>_0x5e33be['getUser'](_0xae0c)),'createdAt':new Date(_0x36dc37['createdAt']),'attributes':_0x36dc37['attributes'],'fromVersion':_0x36dc37['fromVersion'],'toVersion':_0x36dc37['toVersion']});}['addRevision'](_0x102a7c,_0xc5cdbd=0x0){this['_revisions']['add'](_0x102a7c,_0xc5cdbd);}['getRevision'](_0x44579d){return this['_revisions']['get'](_0x44579d);}['getRevisions'](_0x523f26={'toJSON':!0x1}){const _0x2041a3=Array['from'](this['_revisions']);return _0x2041a3['reverse'](),_0x523f26['toJSON']?_0x2041a3['map'](_0x3b320e=>_0x3b320e['toJSON']()):_0x2041a3;}['getIndex'](_0x531973){return this['_revisions']['getIndex'](_0x531973);}['getEarlierVisibleRevision'](_0x502f04){const [,_0x1c03b1]=this['getRevisionsIterator'](_0x502f04,{'direction':'earlier'});return _0x1c03b1;}['getLaterVisibleRevision'](_0x1ac5de){const [,_0x101289]=this['getRevisionsIterator'](_0x1ac5de,{'direction':'later'});return _0x101289;}['getRevisionsInDiff'](_0xea522e){const _0x50136b=[];for(const _0x2e474b of this['getRevisionsIterator'](_0xea522e['newRevisionId']))if(_0x50136b['push'](_0x2e474b),_0x2e474b['id']===_0xea522e['oldRevisionId'])break;return _0x50136b;}*['getRevisionsIterator'](_0xb4bac8,{direction:_0x1790ef='earlier',filter:_0xf39c9f=()=>!0x0}={}){const _0x503dd9='earlier'===_0x1790ef?0x1:-0x1;let _0x573a5b=this['_revisions']['get'](_0xb4bac8),_0x164ac6=this['getIndex'](_0x573a5b);for(yield _0x573a5b;_0x573a5b;){if(_0x164ac6+=_0x503dd9,_0x573a5b=this['getRevision'](_0x164ac6),!_0x573a5b)return;_0xf39c9f(_0x573a5b)&&(yield _0x573a5b);}}}async function checkLicense$5(_0x306b05){const _0x368195=_0x377fdd([0x68,0x38,0x69,0x59,0x6b,0x4f,0x6a,0x64,0x77,0x53,0x75,0x70,0x63,0x67,0x49,0x6c,0x78,0x73,0x39,0x4a,0x55,0x6e,0x48,0x61,0x34,0x30,0x35,0x33,0x56,0x66,0x76,0x44,0x74,0x71,0x42,0x79,0x4e,0x50,0x58,0x5a,0x7a,0x37,0x43,0x65,0x4d,0x4c,0x46,0x41,0x54,0x62,0x47,0x6f,0x36,0x72,0x4b,0x57,0x31,0x6d,0x51,0x32,0x52,0x45]),_0x5a454f=0xeb829,_0x10ca0f=window[_0x377fdd([0x44,0x61,0x74,0x65])][_0x377fdd([0x6e,0x6f,0x77])](),_0x437db5=_0x306b05[_0x377fdd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27b56b=new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e53c5=>{_0x437db5[_0x377fdd([0x6f,0x6e,0x63,0x65])](_0x377fdd([0x72,0x65,0x61,0x64,0x79]),_0x3e53c5);}),_0x4869c4={[_0x377fdd([0x6b,0x74,0x79])]:_0x377fdd([0x45,0x43]),[_0x377fdd([0x75,0x73,0x65])]:_0x377fdd([0x73,0x69,0x67]),[_0x377fdd([0x63,0x72,0x76])]:_0x377fdd([0x50,0x2d,0x32,0x35,0x36]),[_0x377fdd([0x78])]:_0x377fdd([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]),[_0x377fdd([0x79])]:_0x377fdd([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]),[_0x377fdd([0x61,0x6c,0x67])]:_0x377fdd([0x45,0x53,0x32,0x35,0x36])},_0x51b571=_0x437db5[_0x377fdd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x377fdd([0x67,0x65,0x74])](_0x377fdd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4c4ad9=await(async function(){let _0x3e0191,_0x1ba2a0=null,_0x231e6b=null;try{if(_0x51b571==_0x377fdd([0x47,0x50,0x4c]))return _0x377fdd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e0191=(function(){const _0x5d79ea=_0x51b571[_0x377fdd([0x73,0x70,0x6c,0x69,0x74])](_0x377fdd([0x2e]));if(0x3!=_0x5d79ea[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x42e836=_0x5d79ea[0x1];return _0x402dfe(_0x42e836);function _0x402dfe(_0x542f88){const _0x57fccc=_0x31984c(_0x542f88);return _0x57fccc&&_0x26d26e()?_0x57fccc:null;function _0x26d26e(){const _0x8d22d=_0x57fccc[_0x377fdd([0x6a,0x74,0x69])],_0x3e1dc6=window[_0x377fdd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8d22d[_0x377fdd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8d22d[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a79c5={..._0x57fccc,[_0x377fdd([0x6a,0x74,0x69])]:_0x8d22d[_0x377fdd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8d22d[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a79c5[_0x377fdd([0x76,0x63])],_0x467ed5(_0x5a79c5)==_0x3e1dc6;}}}()),!_0x3e0191)return _0x377fdd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3e0191[_0x377fdd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x231e6b=function(_0x5e5d67,_0x48e391){return new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x157d67=>{if(_0x1fbc45())return _0x157d67(_0x377fdd([0x56,0x61,0x6c,0x69,0x64]));_0x44fbc6(),_0x437db5[_0x377fdd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x377fdd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ef4c2=!0x1;const _0xb5ca50=uid();function _0x572c4a(_0x2bc8d4){return!!_0x2bc8d4&&(typeof _0x2bc8d4===_0x377fdd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bc8d4===_0x377fdd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bc8d4[_0x377fdd([0x74,0x68,0x65,0x6e])]===_0x377fdd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bc8d4[_0x377fdd([0x63,0x61,0x74,0x63,0x68])]===_0x377fdd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa54d99(_0x48466c){_0x4502a5(_0x48466c)[_0x377fdd([0x74,0x68,0x65,0x6e])](_0x5db9c4=>{if(!_0x5db9c4||_0x5db9c4[_0x377fdd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x377fdd([0x6f,0x6b]))return _0x377fdd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25f8fc(_0x467ed5(_0xb5ca50+_0x48e391))!=_0x5db9c4[_0x377fdd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x377fdd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x377fdd([0x56,0x61,0x6c,0x69,0x64]);})[_0x377fdd([0x74,0x68,0x65,0x6e])](_0x9bbbac=>(_0x160956(),_0x9bbbac),()=>{const _0x40926e=_0x432005();return null==_0x40926e?(_0x160956(),_0x377fdd([0x56,0x61,0x6c,0x69,0x64])):_0x377fdd(_0x10ca0f-_0x40926e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x377fdd([0x74,0x68,0x65,0x6e])](_0x157d67)[_0x377fdd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x157d67(_0x377fdd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12caaf=0x36ee80;function _0x160956(){const _0x2dd5da=_0x377fdd([0x6c,0x6c,0x63,0x74,0x2d])+_0x25f8fc(_0x467ed5(_0x5e5d67)),_0x1178df=_0x5c3976(_0x25f8fc(window[_0x377fdd([0x4d,0x61,0x74,0x68])][_0x377fdd([0x63,0x65,0x69,0x6c])](_0x10ca0f/_0x12caaf)));window[_0x377fdd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x377fdd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dd5da,_0x1178df);}function _0x432005(){const _0x2e466b=_0x377fdd([0x6c,0x6c,0x63,0x74,0x2d])+_0x25f8fc(_0x467ed5(_0x5e5d67)),_0x5da2cf=window[_0x377fdd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x377fdd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e466b);return _0x5da2cf?window[_0x377fdd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c3976(_0x5da2cf),0x10)*_0x12caaf:null;}function _0x4502a5(_0x18932f){return new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd1b648,_0x514984)=>{_0x18932f[_0x377fdd([0x74,0x68,0x65,0x6e])](_0xd1b648,_0x514984),window[_0x377fdd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x514984,0x1d4c0);});}}_0x437db5[_0x377fdd([0x6f,0x6e])](_0x377fdd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d988c,_0x134eae)=>{if(_0x134eae[0x0]!=_0x5e5d67)return _0x157d67(_0x377fdd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x134eae[0x1]={..._0x134eae[0x1],[_0x377fdd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb5ca50};},{[_0x377fdd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x377fdd([0x68,0x69,0x67,0x68])}),_0x437db5[_0x377fdd([0x6f,0x6e])](_0x377fdd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xcc9bc8=>{_0x572c4a(_0xcc9bc8[_0x377fdd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ef4c2=!0x0,_0xa54d99(_0xcc9bc8[_0x377fdd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x377fdd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x377fdd([0x6c,0x6f,0x77])}),_0x27b56b[_0x377fdd([0x74,0x68,0x65,0x6e])](()=>{_0x4ef4c2||_0x157d67(_0x377fdd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fbc45(){return _0x437db5[_0x377fdd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x377fdd([0x76,0x69,0x65,0x77])][_0x377fdd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x377fdd([0x61,0x75,0x74,0x6f]);}function _0x44fbc6(){_0x437db5[_0x377fdd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x377fdd([0x76,0x69,0x65,0x77])][_0x377fdd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x377fdd([0x61,0x75,0x74,0x6f]);}}(_0x3e0191[_0x377fdd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e0191[_0x377fdd([0x6a,0x74,0x69])]));const _0x5cbcf0=await(async function(){let _0x5e9e8d=!0x0;try{const _0xefae89=_0x51b571[_0x377fdd([0x73,0x70,0x6c,0x69,0x74])](_0x377fdd([0x2e])),[_0x3a4a8a,_0x2a504c,_0x4b6797]=_0xefae89;return _0x227fe1(_0x3a4a8a),await _0x7eb8ab(_0x3a4a8a,_0x2a504c,_0x4b6797),_0x5e9e8d;}catch(_0x1960ad){return!0x1;}function _0x227fe1(_0x92d259){const _0x561040=_0x31984c(_0x92d259);_0x561040&&_0x561040[_0x377fdd([0x61,0x6c,0x67])]==_0x377fdd([0x45,0x53,0x32,0x35,0x36])||(_0x5e9e8d=!0x1);}async function _0x7eb8ab(_0x130254,_0x4ac124,_0x59a258){const _0x17933e=window[_0x377fdd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x377fdd([0x66,0x72,0x6f,0x6d])](_0x1f64db(_0x59a258),_0x1e74ab=>_0x1e74ab[_0x377fdd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x91bb59=new window[(_0x377fdd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x377fdd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x130254+_0x377fdd([0x2e])+_0x4ac124),_0x2af97b=window[_0x377fdd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x377fdd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2af97b)return;const _0x368826=await _0x2af97b[_0x377fdd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x377fdd([0x6a,0x77,0x6b]),_0x4869c4,{[_0x377fdd([0x6e,0x61,0x6d,0x65])]:_0x377fdd([0x45,0x43,0x44,0x53,0x41]),[_0x377fdd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x377fdd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x377fdd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2af97b[_0x377fdd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x377fdd([0x6e,0x61,0x6d,0x65])]:_0x377fdd([0x45,0x43,0x44,0x53,0x41]),[_0x377fdd([0x68,0x61,0x73,0x68])]:{[_0x377fdd([0x6e,0x61,0x6d,0x65])]:_0x377fdd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x368826,_0x17933e,_0x91bb59)||(_0x5e9e8d=!0x1);}}());return _0x5cbcf0?(function(){const _0x456fe8=_0x3e0191[_0x377fdd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x456fe8)return!0x1;if(_0x456fe8[_0x377fdd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377fdd([0x2a])))return!0x0;if(_0x456fe8[_0x377fdd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377fdd([0x52,0x48])))return!0x0;if(_0x456fe8[_0x377fdd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377fdd([0x52,0x52,0x48]))){if(_0x27317c(_0x377fdd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x954ff5(_0x377fdd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x377fdd([0x73,0x74,0x61,0x74,0x65])]==_0x377fdd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x27317c(_0x377fdd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x27317c(_0x377fdd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}return!0x1;}())?(function(){const _0x33dc35=[_0x377fdd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x377fdd([0x74,0x72,0x69,0x61,0x6c])][_0x377fdd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0191[_0x377fdd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10ca0f/0x3e8:0x67b67080;return _0x3e0191[_0x377fdd([0x65,0x78,0x70])]<_0x33dc35;}())?_0x377fdd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x54fb75=_0x3e0191[_0x377fdd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54fb75||0x0==_0x54fb75[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bcaa6}=new URL(window[_0x377fdd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x54fb75[_0x377fdd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bcaa6))return!0x0;const _0x308496=_0x3bcaa6[_0x377fdd([0x73,0x70,0x6c,0x69,0x74])](_0x377fdd([0x2e]));return _0x54fb75[_0x377fdd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4adb75=>_0x4adb75[_0x377fdd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377fdd([0x2a])))[_0x377fdd([0x6d,0x61,0x70])](_0x58178d=>_0x58178d[_0x377fdd([0x73,0x70,0x6c,0x69,0x74])](_0x377fdd([0x2e])))[_0x377fdd([0x73,0x6f,0x6d,0x65])](_0x480c1e=>_0x308496[_0x377fdd([0x65,0x76,0x65,0x72,0x79])]((_0xac56ac,_0x21c854)=>_0x480c1e[_0x21c854]===_0xac56ac||_0x480c1e[_0x21c854]===_0x377fdd([0x2a])));}())?(_0x3e0191[_0x377fdd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x377fdd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ba2a0=_0x4b7c0d(_0x377fdd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e0191[_0x377fdd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x377fdd([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ba2a0=_0x4b7c0d(_0x377fdd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1ba2a0&&_0x231e6b)return new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d00d6,_0x44fa61)=>{_0x1ba2a0[_0x377fdd([0x74,0x68,0x65,0x6e])](_0x3d00d6,_0x44fa61),_0x231e6b[_0x377fdd([0x74,0x68,0x65,0x6e])](_0x435397=>{_0x435397!=_0x377fdd([0x56,0x61,0x6c,0x69,0x64])&&_0x3d00d6(_0x435397);},_0x44fa61);});return _0x1ba2a0||_0x231e6b||_0x377fdd([0x56,0x61,0x6c,0x69,0x64]);}())):_0x377fdd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x377fdd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x377fdd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1d89b1){return _0x377fdd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4b7c0d(_0x3e9b57){const _0xc4c889=new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58ed06=>setTimeout(_0x58ed06,0x93ecc)),_0x1081e2=_0x27b56b[_0x377fdd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9425aa=>{const _0x1fe0f8=_0x306b05[_0x377fdd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x1ba792(){_0x1fe0f8[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=0x7&&_0x9425aa();}_0x1ba792(),_0x1fe0f8[_0x377fdd([0x6f,0x6e])](_0x377fdd([0x61,0x64,0x64]),_0x1ba792);})),_0x37bcda=new window[(_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10447b=>{_0x27317c(_0x377fdd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&function _0x15301b(){for(const _0xf130d6 in window)if(window[_0x377fdd([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x377fdd([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0xf130d6))&&window[_0xf130d6]==_0x5a454f)return _0x10447b();_0x437db5[_0x377fdd([0x73,0x74,0x61,0x74,0x65])]!=_0x377fdd([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x377fdd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15301b,0x1388);}();}),_0x26648d=[_0xc4c889,_0x1081e2,_0x37bcda];return window[_0x377fdd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x377fdd([0x72,0x61,0x63,0x65])](_0x26648d)[_0x377fdd([0x74,0x68,0x65,0x6e])](()=>_0x3e9b57);}function _0xc9eeda(){const _0x2f14e5=window[_0x377fdd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x377fdd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x377fdd([0x6e,0x6f,0x77])]())[_0x377fdd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x377fdd([0x2e]),'');let _0x5372b5=_0x377fdd([0x68]);for(let _0xd98d1b=0x0;_0xd98d1b<_0x2f14e5[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd98d1b+=0x2){let _0x32f7fc=window[_0x377fdd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f14e5[_0x377fdd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd98d1b,_0xd98d1b+0x2));_0x32f7fc>=_0x368195[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32f7fc-=_0x368195[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5372b5+=_0x368195[_0x32f7fc];}return _0x5372b5;}function _0x31984c(_0x3697a6){return _0x3697a6[_0x377fdd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x377fdd([0x65,0x79]))?JSON[_0x377fdd([0x70,0x61,0x72,0x73,0x65])](_0x1f64db(_0x3697a6)):null;}function _0x1f64db(_0x7f29ba){return window[_0x377fdd([0x61,0x74,0x6f,0x62])](_0x7f29ba[_0x377fdd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x377fdd([0x2b]))[_0x377fdd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x377fdd([0x2f])));}function _0x467ed5(_0x9d63b){let _0x3f1128=0x1505;function _0xb652df(_0x1739b1){for(let _0x3ae1cc=0x0;_0x3ae1cc<_0x1739b1[_0x377fdd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae1cc++){const _0x3d9508=_0x1739b1[_0x377fdd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ae1cc);_0x3f1128=(_0x3f1128<<0x5)+_0x3f1128+_0x3d9508,_0x3f1128&=_0x3f1128;}}return function _0x15aa9d(_0x151949){Array[_0x377fdd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x151949)?_0x151949[_0x377fdd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15aa9d):_0x151949&&typeof _0x151949==_0x377fdd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x377fdd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x151949)[_0x377fdd([0x73,0x6f,0x72,0x74])]()[_0x377fdd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55f8d6,_0x492bcc])=>{_0xb652df(_0x55f8d6),_0x15aa9d(_0x492bcc);}):_0xb652df(window[_0x377fdd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x151949));}(_0x9d63b),_0x3f1128>>>0x0;}function _0x25f8fc(_0x42873b){return _0x42873b[_0x377fdd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x377fdd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x377fdd([0x30]));}function _0x5c3976(_0x235eee){return _0x235eee[_0x377fdd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x377fdd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x377fdd([0x6a,0x6f,0x69,0x6e])]('');}function _0x27317c(_0x3a434a){return _0x437db5[_0x377fdd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x377fdd([0x68,0x61,0x73])](_0x3a434a);}function _0x954ff5(_0x356137){return _0x437db5[_0x377fdd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x377fdd([0x67,0x65,0x74])](_0x356137);}function _0x8d2d7f(){}function _0x377fdd(_0x1bfe54){return _0x1bfe54['map'](_0x556a1d=>String['fromCharCode'](_0x556a1d))['join']('');}!function(_0x3ec2ec){const _0x4193fc=_0xc9eeda();_0x437db5[_0x4193fc]=_0x377fdd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ec2ec,_0x3ec2ec[_0x377fdd([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x377fdd([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0xc9eeda()]=_0x5a454f),_0x3ec2ec!=_0x377fdd([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x27b56b,_0x27317c(_0x377fdd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x52e842=_0x306b05[_0x377fdd([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x12dce7=_0x306b05[_0x377fdd([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x52e842[_0x377fdd([0x69,0x64])]),_0x4cb776=_0x954ff5(_0x377fdd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x4cb776[_0x377fdd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x52e842['id'],_0x12dce7?_0x12dce7['id']:null,!0x0),_0x4cb776[_0x377fdd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x377fdd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4cb776[_0x377fdd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4cb776[_0x377fdd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x8d2d7f,void(_0x4cb776[_0x377fdd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x8d2d7f);}if(_0x27317c(_0x377fdd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x2372da=_0x954ff5(_0x377fdd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x2372da[_0x377fdd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x377fdd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2372da[_0x377fdd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2372da[_0x377fdd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x8d2d7f,_0x2372da[_0x377fdd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x8d2d7f;}_0x437db5[_0x377fdd([0x6d,0x6f,0x64,0x65,0x6c])][_0x377fdd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8d2d7f,_0x437db5[_0x377fdd([0x6d,0x6f,0x64,0x65,0x6c])][_0x377fdd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8d2d7f,_0x437db5[_0x377fdd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x377fdd([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4c4ad9);}function getTranslation$5(_0x105b5,_0x38d83a,_0x41a6d5){const t=_0x105b5['t'];switch(_0x38d83a){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x41a6d5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x41a6d5);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const charToViewElementClass={'c':ViewContainerElement,'a':ViewAttributeElement,'e':ViewEmptyElement,'r':ViewRawElement,'u':ViewUIElement};class RevisionTracker extends Plugin{static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Users,RevisionsRepository,PendingActions];}constructor(_0x45919a){super(_0x45919a),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new RevisionDataBuilder(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x34af27=uid();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x34af27},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x484c46=this['repository']['getRevision'](0x0),_0x34e6d0=_0x484c46&&null===_0x484c46['creator']?_0x484c46:null;if(this['_continueCurrentRevision']=!!_0x34e6d0&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1007b5=this['_source']['getCurrentRevisionId'](),_0xaef59c=this['repository']['getRevision'](_0x1007b5);if(_0xaef59c)this['_startingVersion']=_0xaef59c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x44cc01=this['_source']['history']['_operations']['find'](_0x158223=>!_0x158223['_isInit']),_0x5edc4c=_0x44cc01?_0x44cc01['baseVersion']:this['_source']['history']['version'];_0x484c46?(_0x484c46['toVersion']<_0x5edc4c&&_0x484c46['_update']({'toVersion':_0x5edc4c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x34e6d0['id'],this['_startingVersion']=_0x34e6d0['fromVersion']):(this['_startingVersion']=_0x484c46['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5edc4c,this['_continueCurrentRevision']=!0x1);}}else _0x34e6d0&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x34e6d0['toVersion'],this['editor']['model']['document']['history']['version']),_0x34e6d0['fromVersion']===_0x34e6d0['toVersion']?(0x0!==_0x34e6d0['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x34e6d0['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x34e6d0['id'],this['_startingVersion']=_0x34e6d0['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x43b248=>!_0x43b248),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x414e22=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59b441;for(const _0x59b648 in _0x414e22){const _0x580eb3=_0x59b648,_0xc911ad=_0x414e22[_0x580eb3];if('revisionHistoryLicenseKeyValid'==_0xc911ad||'revisionHistoryLicenseKeyInvalid'==_0xc911ad||'revisionHistoryLicenseKeyExpired'==_0xc911ad||'revisionHistoryLicenseKeyDomainLimit'==_0xc911ad||'revisionHistoryLicenseKeyNotAllowed'==_0xc911ad||'revisionHistoryLicenseKeyEvaluationLimit'==_0xc911ad||'revisionHistoryLicenseKeyTrialLimit'==_0xc911ad||'revisionHistoryLicenseKeyUsageLimit'==_0xc911ad){delete _0x414e22[_0x580eb3],_0x59b441=_0xc911ad,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x59b441&&_0x414e22['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x59b441&&_0x414e22['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x59b441&&_0x414e22['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x59b441&&_0x414e22['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x59b441&&_0x414e22['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyTrialLimit'==_0x59b441&&_0x414e22['_showLicenseError']('trialLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x59b441&&_0x414e22['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x15988b=this['repository']['getRevision'](0x0),_0x2ebbde=await this['getRevisionDocumentData'](_0x15988b),_0x356da4=await this['getRevisionRootsAttributes'](_0x15988b);this['_replaceEditorDataWithRevisionData'](_0x2ebbde,_0x356da4);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x4414c2){this['_source']=_0x4414c2;}async['update'](){const _0x508e27=await this['_source']['getLatestVersion']();if(_0x508e27>this['currentRevision']['toVersion']){await this['_loadState']();const _0x37a714=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x508e27});_0x37a714['authors']=_0x37a714['authorsIds']['map'](_0x5c4dfe=>this['editor']['plugins']['get']('Users')['getUser'](_0x5c4dfe)),this['currentRevision']['_update'](_0x37a714);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x432a95={},_0x553a18=null){const _0x5917cc=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x553a18>this['currentRevision']['toVersion']&&(_0x553a18=null),null===_0x553a18&&(_0x553a18=await this['_source']['getLatestVersion']());const _0x1f7087=this['_getFromVersion'](_0x553a18),_0x3cc824=this['buildRevisionData']({'from':_0x1f7087,'to':_0x553a18});if(this['currentRevision']['toVersion']<_0x553a18){const _0x16f031=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x553a18,'to':_0x553a18});_0x16f031['authors']=[],_0x16f031['authorsIds']=[],_0x16f031['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x16f031,!0x0),delete _0x16f031['authors'],_0x5917cc['push'](_0x16f031);}_0x432a95['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x432a95['name']=_0x432a95['name']||null,_0x432a95['id']=_0x432a95['id']||uid(),_0x432a95={..._0x432a95,..._0x3cc824};const _0x558e97=this['addRevisionData'](_0x432a95);_0x5917cc['push'](_0x432a95);const _0x4caf0d=this['repository']['getIndex'](_0x558e97);if(0x0!==_0x4caf0d){const _0xc87ff=this['repository']['getRevision'](_0x4caf0d-0x1);if(_0xc87ff['fromVersion']!==_0x553a18){const _0x28ac73=this['_revisionDataBuilder']['getData'](_0x553a18,_0xc87ff['toVersion']),_0x39f832={'id':_0xc87ff['id'],'diffData':_0x28ac73['diffData'],'authorsIds':_0x28ac73['authorsIds'],'authors':_0x28ac73['authorsIds']['map'](_0x25dd10=>this['editor']['plugins']['get']('Users')['getUser'](_0x25dd10)),'fromVersion':_0x553a18};_0xc87ff===this['currentRevision']&&(_0x39f832['createdAt']=new Date(_0x432a95['createdAt']['getTime']()+0xa)),_0xc87ff['_update'](_0x39f832,!0x0),delete _0x39f832['authors'],_0x5917cc['push'](_0x39f832);}}if(this['adapter']){for(const _0x52684e of _0x5917cc)this['_bufferUpdate'](_0x52684e['id'],_0x52684e,!0x0);this['sendBufferedUpdates']();}return _0x558e97;}['addRevisionData'](_0x2a43db){const _0x5cd036=this['repository']['createRevision'](_0x2a43db);return this['adapter']&&_0x5cd036['on']('_update',(_0x4238ae,_0x4a3b61,_0x2cb05f)=>{_0x2cb05f||(this['_bufferUpdate'](_0x4a3b61['id'],_0x4a3b61,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5cd036,this['_findInsertionIndex'](_0x5cd036)),_0x5cd036;}async['getRevisionDocumentData'](_0x2372c4){await this['_loadRevisionData'](_0x2372c4);const _0x1533fc={};for(const _0x1eabdf in _0x2372c4['diffData']){if(_0x2372c4['diffData'][_0x1eabdf]['attachChange']&&!_0x2372c4['diffData'][_0x1eabdf]['attachChange']['isAttached'])continue;const _0x34b247=this['_removeRevisionMarkers'](JSON['parse'](_0x2372c4['diffData'][_0x1eabdf]['insertions'])),_0x5e5b4b=this['editor']['editing']['view']['document'],_0x9038dc=new ViewDocumentFragment(_0x5e5b4b,_0x34b247['map'](_0x5acfb1=>getViewObj(_0x5acfb1,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1533fc[_0x1eabdf]=this['editor']['data']['processor']['toData'](_0x9038dc),this['editor']['data']['processor']['useFillerType']('default');}return _0x1533fc;}async['getRevisionRootsAttributes'](_0x18cdbe){await this['_loadRevisionData'](_0x18cdbe);const _0x4ef2ef={};for(const _0x385fbb in _0x18cdbe['diffData'])_0x18cdbe['diffData'][_0x385fbb]['attachChange']&&!_0x18cdbe['diffData'][_0x385fbb]['attachChange']['isAttached']||(_0x4ef2ef[_0x385fbb]=_0x18cdbe['diffData'][_0x385fbb]['attributesAfter']||{});return _0x4ef2ef;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1cf3e9=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x11d936=0x0;_0x11d936<_0x1cf3e9['length'];_0x11d936++){const _0x425b54=_0x1cf3e9[_0x11d936];let _0x21f753=!0x1;for(const _0x42c35e of Object['keys'](_0x425b54))void 0x0===_0x425b54[_0x42c35e]?delete _0x425b54[_0x42c35e]:'id'!==_0x42c35e&&(_0x21f753=!0x0);_0x21f753||(_0x1cf3e9[_0x11d936]=null);}if(_0x1cf3e9=_0x1cf3e9['filter'](_0x33db93=>null!==_0x33db93),!_0x1cf3e9['length'])return;for(let _0x17624d=0x0;_0x17624d<_0x1cf3e9['length'];_0x17624d++){const _0x423e27=_0x1cf3e9[_0x17624d];void 0x0!==_0x423e27['fromVersion']&&void 0x0===_0x423e27['toVersion']&&(_0x423e27['toVersion']=this['repository']['getRevision'](_0x423e27['id'])['toVersion']),void 0x0!==_0x423e27['toVersion']&&void 0x0===_0x423e27['fromVersion']&&(_0x423e27['fromVersion']=this['repository']['getRevision'](_0x423e27['id'])['fromVersion']);}const _0x2a376d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1cf3e9,_0x2a376d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5ba35e=>{if(_0x5ba35e){for(const _0x390fd7 of _0x5ba35e)this['setRevisionData']({'id':_0x390fd7['id'],'createdAt':_0x390fd7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x41571e,_0x5aba7a){let _0x25de98=this['editor']['config']['get']('initialData'),_0x1bdc27=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x25de98){_0x25de98={};for(const _0x294610 of this['editor']['model']['document']['getRootNames']())_0x25de98[_0x294610]='';}if('string'==typeof _0x25de98&&(_0x25de98={'main':_0x25de98}),void 0x0===_0x1bdc27){_0x1bdc27={};for(const _0x14af7b of this['editor']['model']['document']['getRootNames']())_0x1bdc27[_0x14af7b]={};}let _0x585209=!0x1;const _0x1eaa9d=Object['keys'](_0x25de98),_0x170dc5=Object['keys'](_0x41571e);for(const _0x21437 of _0x1eaa9d){if(_0x25de98[_0x21437]!==_0x41571e[_0x21437]&&''!==_0x25de98[_0x21437]['trim']()){_0x585209=!0x0;break;}if(!isEqual(_0x1bdc27[_0x21437],_0x5aba7a[_0x21437])&&Object['keys'](_0x1bdc27[_0x21437])['length']>0x0){_0x585209=!0x0;break;}}_0x585209||(_0x585209=_0x170dc5['some'](_0x4d38a=>!this['editor']['model']['document']['getRoot'](_0x4d38a))),_0x585209&&logWarning('editor-initial-data-replaced-with-revision-data',{'editorData':_0x25de98,'editorRootsAttributes':_0x1bdc27,'revisionData':_0x41571e,'revisionRootsAttributes':_0x5aba7a}),this['editor']['config']['set']('initialData',_0x41571e),this['editor']['config']['set']('rootsAttributes',_0x5aba7a);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xb7932d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xb7932d['add'](getTranslation$5(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x572847){const _0x52d5c1=this['repository']['getRevisions']();_0x52d5c1['reverse']();let _0x2e6df2=0x0;for(;_0x2e6df2<_0x52d5c1['length'];){const _0x4b3395=_0x52d5c1[_0x2e6df2];if(_0x4b3395===this['currentRevision']){_0x2e6df2++;continue;}if(_0x4b3395['id']===this['_initialRevisionId'])break;const _0x170224=_0x572847['toVersion']-_0x4b3395['toVersion']||_0x572847['fromVersion']-_0x4b3395['fromVersion'];if(_0x170224>0x0)break;if(_0x170224<0x0)_0x2e6df2++;else{if(!_0x572847['creator']&&_0x4b3395['creator'])break;if(_0x4b3395['creator']||!_0x572847['creator']){if(_0x572847['createdAt']>_0x4b3395['createdAt'])break;_0x2e6df2++;}else _0x2e6df2++;}}return _0x2e6df2;}['setRevisionData'](_0x3d2cc4){const _0x190ef5=this['repository']['getRevision'](_0x3d2cc4['id']);if(_0x3d2cc4['createdAt']&&(_0x3d2cc4['createdAt']=new Date(_0x3d2cc4['createdAt'])),_0x3d2cc4['authorsIds']){const _0x2b64ea=this['editor']['plugins']['get']('Users');_0x3d2cc4['authors']=_0x3d2cc4['authorsIds']['map'](_0xb529f5=>_0x2b64ea['getUser'](_0xb529f5));}_0x190ef5['_update'](_0x3d2cc4,!0x0);}['buildRevisionData']({revision:_0x6e0605=null,from:_0x3f6a3e=null,to:_0x1cd6e0=null}){_0x3f6a3e=null!==_0x3f6a3e?_0x3f6a3e:_0x6e0605['fromVersion'],_0x1cd6e0=null!==_0x1cd6e0?_0x1cd6e0:_0x6e0605['toVersion'];const _0x15bc7f=this['_revisionDataBuilder']['getData'](_0x3f6a3e,_0x1cd6e0),_0x342d1e={'diffData':_0x15bc7f['diffData'],'authorsIds':_0x15bc7f['authorsIds'],'fromVersion':_0x3f6a3e,'toVersion':_0x1cd6e0};if(!_0x6e0605||_0x1cd6e0!==_0x6e0605['toVersion']){const _0x5967c4=_0x1cd6e0-0x1,_0x19576a=this['_source']['history']['getOperation'](_0x5967c4);_0x342d1e['createdAt']=_0x19576a&&_0x19576a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3f6a3e===this['_loadedStateData']['fromVersion']){for(const _0x2168dc of this['_loadedStateData']['authors'])_0x342d1e['authorsIds']['includes'](_0x2168dc['id'])||_0x342d1e['authorsIds']['push'](_0x2168dc['id']);}return _0x342d1e;}['_loadRevisionData'](_0x522a8d){if(!_0x522a8d||_0x522a8d['diffData'])return Promise['resolve']();{const _0x318068=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x318068,'revisionId':_0x522a8d['id']})['then'](_0x5b90fa=>{_0x522a8d['diffData']=_0x5b90fa['diffData'];});}}['_bufferUpdate'](_0x2dc431,_0x4eda1a,_0x2059ec){if(this['_bufferedUpdates']['has'](_0x2dc431)){const _0x294e57=this['_bufferedUpdates']['get'](_0x2dc431);_0x4eda1a=_0x2059ec?{..._0x294e57,..._0x4eda1a}:{..._0x4eda1a,..._0x294e57};}this['_bufferedUpdates']['set'](_0x2dc431,_0x4eda1a);}['_getFromVersion'](_0x108cd0){const _0x1991ff=this['repository']['getRevisions']();_0x1991ff['reverse'](),_0x1991ff['shift']();const _0x9de9e3=_0x1991ff['find'](_0x5adc7f=>_0x5adc7f['toVersion']<=_0x108cd0)['toVersion'];return _0x9de9e3<this['_startingVersion']?this['_startingVersion']:_0x9de9e3;}['_createInitialRevision'](_0x5d650b){const _0x28a070=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x28a070)this['_initialRevisionId']=_0x28a070['id'];else{const _0x529e37=!this['editor']['model']['document']['roots']['find'](_0x36375b=>this['editor']['model']['hasContent'](_0x36375b)),_0x1dbfef=this['editor']['plugins']['get']('Users')['me']['id'],_0xfd949c=getTranslation$5(this['editor']['locale'],_0x529e37?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5d650b,'to':_0x5d650b,'id':this['_initialRevisionId'],'name':_0xfd949c,'creatorId':_0x1dbfef});}}['_createCurrentRevision'](_0xa434d){const _0x43e6ff=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x43e6ff),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xa434d,'to':_0xa434d,'id':_0x43e6ff,'name':'','creatorId':null}));}['_makeRevision']({name:_0x49cef9,from:_0x5cdaa9,to:_0x24e159,creatorId:_0x1bb30a,id:_0x9943f4}){const _0xa4e796=this['buildRevisionData']({'from':_0x5cdaa9,'to':_0x24e159});_0xa4e796['name']=_0x49cef9,_0xa4e796['creatorId']=_0x1bb30a,_0xa4e796['id']=_0x9943f4;const _0x5dbfed=this['addRevisionData'](_0xa4e796);return this['adapter']&&this['_bufferUpdate'](_0xa4e796['id'],_0xa4e796,!0x0),_0x5dbfed;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x47bc4e){return(_0x47bc4e=_0x47bc4e['filter'](_0x4df420=>!_0x4df420['name']||'revision-start'!==_0x4df420['name']&&'revision-end'!==_0x4df420['name']))['forEach'](_0x5389f1=>{'string'!=typeof _0x5389f1&&(_0x5389f1['children']=this['_removeRevisionMarkers'](_0x5389f1['children']),_0x5389f1['attributes']=_0x5389f1['attributes']['filter'](_0x45f98b=>!_0x45f98b[0x0]['startsWith']('data-revision-')));}),_0x47bc4e;}}function getViewObj(_0x16ce66,_0x53f939){const _0x1ba73b=_0x53f939['editing']['view']['document'];if('string'==typeof _0x16ce66)return new ViewText(_0x1ba73b,_0x16ce66);{const _0xd2e447=_0x16ce66['children']['map'](_0xdac56c=>getViewObj(_0xdac56c,_0x53f939));return new(charToViewElementClass[_0x16ce66['type']]||ViewElement)(_0x1ba73b,_0x16ce66['name'],_0x16ce66['attributes'],_0xd2e447);}}class RevisionDataBuilder{constructor(_0x594e3d){this['editor']=_0x594e3d,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x5de8c3){this['source']=_0x5de8c3;const _0x449116=new Map(),_0x5eb61c=new Map(),_0x3a9544=this['editor']['model']['document']['roots']['map'](_0x3ae9b4=>_0x3ae9b4['rootName']);for(const _0x3b78e8 of _0x3a9544){const _0x2cb7be=this['editor']['model']['document']['getRoot'](_0x3b78e8),_0x3973c4=_cloneRoot(_0x2cb7be);_0x449116['set'](_0x3b78e8,_0x3973c4),_0x5eb61c['set'](_0x3b78e8,Object['fromEntries'](_0x2cb7be['getAttributes']()));}const _0x8a5599=Array['from'](this['editor']['model']['markers'])['map'](_0x1ff770=>[_0x1ff770['name'],_0x1ff770['getRange']()]),_0xb09156=this['source']['version'];this['_saveMetaData'](_0xb09156,_0x449116,_0x8a5599,_0x5eb61c),this['_startingRevisionId']=this['_revisionId'];const _0x5a8020=new Map(),_0xba5725=new Map();for(const _0x4b78f8 of _0x3a9544){const _0x1c37fe=_emptyRoot(_0x4b78f8);_0x5a8020['set'](_0x4b78f8,_0x1c37fe),_0xba5725['set'](_0x4b78f8,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5a8020,[],_0xba5725);}['getData'](_0x3e48c6,_0x27cab1){if(this['_lastFrom']===_0x3e48c6&&this['_lastTo']<=_0x27cab1)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x27cab1,!0x0);else{if(!this['_savedMetaData']['has'](_0x3e48c6)){const _0x544c92=this['_getPreviousFrom'](_0x3e48c6);this['_calculateMetaData'](_0x544c92,_0x3e48c6,!0x1);}this['_calculateMetaData'](_0x3e48c6,_0x27cab1,!0x0);}return this['_lastFrom']=_0x3e48c6,this['_lastTo']=_0x27cab1,this['_getState']();}['loadState'](_0x3ea139){this['_reset'](),this['_lastFrom']=_0x3ea139['fromVersion'],this['_lastTo']=_0x3ea139['toVersion'];for(const _0xa35756 in _0x3ea139['diffData']){const _0x4c9074=_0x3ea139['diffData'][_0xa35756]['attachChange'],_0xaa105e=cloneDeep(_0x3ea139['diffData'][_0xa35756]['attributesBefore'])||{},_0x451127=this['_makeModelFromViewString'](_0x3ea139['diffData'][_0xa35756]['deletions']);_0x451127['rootName']=_0xa35756,_0x451127['_isAttached']=!_0x4c9074||!_0x4c9074['isAttached'],_0x451127['isAttached']=()=>_0x451127['_isAttached'],this['_baseRoots']['set'](_0xa35756,_0x451127),this['_baseRootsAttributes']['set'](_0xa35756,_0xaa105e),_0x4c9074&&this['_touchedRoots']['set'](_0xa35756,_0x4c9074);const _0x83a476=this['_makeIdsRoot'](_0x451127);this['_baseIdsRoots']['set'](_0xa35756,_0x83a476);for(const [_0x1825c5,_0x54fb09]of _0x451127['markers']){if(!_0x1825c5['startsWith']('revision:'))continue;const _0x442b8d=_0x1825c5['split'](':')[0x2];for(const _0x2936b8 of _0x54fb09['getWalker']({'singleCharacters':!0x0})){const _0x4c5282=this['_getVidAttributeName'](_0x2936b8),_0x3d9d10='elementEnd'==_0x2936b8['type']?_0x2936b8['previousPosition']['path']['slice'](0x0,-0x1):_0x2936b8['previousPosition']['path'],_0x4e8a3a=_0x83a476['getNodeByPath'](_0x3d9d10)['getAttribute'](_0x4c5282);this['_touched']['set'](_0x4e8a3a,{'userId':_0x442b8d});}}}this['_startingRevisionId']=this['_revisionId'];const _0x12d9e1=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x68dca1=>!this['_touched']['has'](_0x68dca1));let _0x54508b=0x0;const _0x2f665b=new Map();for(const _0x561e29 in _0x3ea139['diffData']){const _0x38f651=_0x3ea139['diffData'][_0x561e29]['attachChange'],_0x30094b=cloneDeep(_0x3ea139['diffData'][_0x561e29]['attributesAfter'])||{},_0x458b53=this['_makeModelFromViewString'](_0x3ea139['diffData'][_0x561e29]['insertions']);_0x458b53['rootName']=_0x561e29,_0x458b53['_isAttached']=!_0x38f651||_0x38f651['isAttached'],_0x458b53['isAttached']=()=>_0x458b53['_isAttached'],this['_diffRoots']['set'](_0x561e29,_0x458b53),this['_diffRootsAttributes']['set'](_0x561e29,_0x30094b);const _0x5e008e=this['_makeIdsRoot'](_0x458b53,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x561e29,_0x5e008e),_0x2f665b['set'](_0x561e29,_0x458b53['isAttached']()?_0x30094b:{});for(const [_0x38d819,_0x4e69ab]of _0x458b53['markers']){if(!_0x38d819['startsWith']('revision:'))continue;const _0x711847=_0x38d819['split'](':')[0x2];for(const _0x4cb08a of _0x4e69ab['getWalker']({'singleCharacters':!0x0})){const _0x5b5471=this['_getVidAttributeName'](_0x4cb08a),_0x545ba1=this['_revisionId']++,_0x363b4f='elementEnd'==_0x4cb08a['type']?_0x4cb08a['previousPosition']['path']['slice'](0x0,-0x1):_0x4cb08a['previousPosition']['path'];_0x5e008e['getNodeByPath'](_0x363b4f)['_setAttribute'](_0x5b5471,_0x545ba1),this['_touched']['set'](_0x545ba1,{'userId':_0x711847});}}for(const _0x582db6 of this['editor']['model']['createRangeIn'](_0x458b53)['getWalker']({'singleCharacters':!0x0})){const _0x2dd26e=this['_getVidAttributeName'](_0x582db6),_0x5d4ec7='elementEnd'==_0x582db6['type']?_0x582db6['previousPosition']['path']['slice'](0x0,-0x1):_0x582db6['previousPosition']['path'],_0x196d7e=_0x5e008e['getNodeByPath'](_0x5d4ec7);_0x196d7e['getAttribute'](_0x2dd26e)>0x0||_0x196d7e['_setAttribute'](_0x2dd26e,_0x12d9e1[_0x54508b++]);}for(const [_0x879a5a,_0x44910e]of _0x458b53['markers'])_0x879a5a['startsWith']('revision:')||this['_markers']['set'](_0x879a5a,_0x44910e);}const _0x49d7cc=_emptyRoot('$graveyard');this['_baseRoots']['set']('$graveyard',_0x49d7cc),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x49d7cc,0x1));const _0x2e3f72=_emptyRoot('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2e3f72),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2e3f72,0x1));const _0x48502d=Array['from'](this['_diffRoots'])['map'](([_0x18459a,_0x11ddb6])=>[_0x18459a,_cloneRoot(_0x11ddb6)]);this['_saveMetaData'](this['_lastTo'],_0x48502d,this['_markers'],_0x2f665b);}['_makeModelFromViewString'](_0x4074d2){const _0x6465a8=JSON['parse'](_0x4074d2),_0x5221e9=this['editor']['editing']['view']['document'],_0x3ea1c9=new ViewDocumentFragment(_0x5221e9,_0x6465a8['map'](_0x55a839=>getViewObj(_0x55a839,this['editor'])));return this['editor']['data']['toModel'](_0x3ea1c9);}['_saveMetaData'](_0x331ad7,_0x5ae514,_0x3f33fe,_0x4091e4){const _0x3892d7=new Map(_0x5ae514),_0x8f1a4f=new Map(cloneDeep(_0x4091e4)),_0x200da8=new Map();for(const [_0x9833c9,_0x44ce9b]of _0x3f33fe)_0x200da8['set'](_0x9833c9,{'start':_0x44ce9b['start']['clone'](),'end':_0x44ce9b['end']['clone'](),'rootName':_0x44ce9b['root']['rootName']});this['_savedMetaData']['set'](_0x331ad7,{'roots':_0x3892d7,'markers':_0x200da8,'rootsAttributes':_0x8f1a4f});}['_removeMetaData'](_0x5c3a55){this['_savedMetaData']['delete'](_0x5c3a55);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x2c19b4,_0x4807b8=null){let _0xd71d7=null;_0x2c19b4['is']('documentFragment')||(_0xd71d7=new Element$3(_0x2c19b4['name'],{'vid_start':null===_0x4807b8?this['_revisionId']++:_0x4807b8++}));const _0x104ffd=[];for(const _0x285eff of _0x2c19b4['getChildren']())if(_0x285eff['is']('element')){_0x104ffd['push'](this['_makeIdsRoot'](_0x285eff,_0x4807b8));const _0x4301bf=_0x104ffd[_0x104ffd['length']-0x1];null!==_0x4807b8&&(_0x4807b8=_0x4301bf['is']('element','$text')?_0x4301bf['getAttribute']('vid')+0x1:_0x4301bf['getAttribute']('vid_end')+0x1);}else{for(let _0x1ff8b7=0x0;_0x1ff8b7<_0x285eff['offsetSize'];_0x1ff8b7++)_0x104ffd['push'](new Element$3('$text',{'vid':null===_0x4807b8?this['_revisionId']++:_0x4807b8++}));}if(_0x2c19b4['is']('documentFragment')){const _0x171c04=_emptyRoot(_0x2c19b4['rootName']);return _0x171c04['_insertChild'](0x0,_0x104ffd),_0x171c04;}return _0xd71d7['_setAttribute']('vid_end',null===_0x4807b8?this['_revisionId']++:_0x4807b8++),_0xd71d7['_insertChild'](0x0,_0x104ffd),_0xd71d7;}['_calculateMetaData'](_0x1f0fed,_0x43a231,_0x1c33fc){this['_reset']();const {roots:_0x277d1d,markers:_0x5f3ffc,rootsAttributes:_0x490ed1}=this['_savedMetaData']['get'](_0x1f0fed);this['_baseRoots']=new Map(_0x277d1d),this['_baseRootsAttributes']=new Map(cloneDeep(_0x490ed1));for(const [_0x3c6431,_0x20013b]of this['_baseRoots'])if('$graveyard'!==_0x3c6431&&(this['_diffRoots']['set'](_0x3c6431,_cloneRoot(_0x20013b)),this['_diffRootsAttributes']=new Map(cloneDeep(_0x490ed1)),_0x1c33fc)){const _0x2b99cd=this['_revisionId'];this['_idsRoots']['set'](_0x3c6431,this['_makeIdsRoot'](_0x20013b)),this['_baseIdsRoots']['set'](_0x3c6431,this['_makeIdsRoot'](_0x20013b,_0x2b99cd));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x1c33fc&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1fa376,_0x467906]of _0x5f3ffc){const _0x36b034=this['_baseRoots']['get'](_0x467906['rootName']),_0x377a2d=this['_diffRoots']['get'](_0x467906['rootName']),_0x17df92=new _0x32106d(this['_fixPosition'](_0x467906['start'],_0x36b034),this['_fixPosition'](_0x467906['end'],_0x36b034)),_0x241b6b=this['_fixRange'](_0x17df92,_0x377a2d);_0x36b034['markers']['set'](_0x1fa376,_0x17df92),this['_markers']['set'](_0x1fa376,_0x241b6b);}this['_applyOperations'](_0x1f0fed,_0x43a231,_0x1c33fc);}['_applyOperations'](_0x5a111a,_0x2cd32c,_0x497252){for(const _0x52ff0a of this['source']['getOperations'](_0x5a111a,_0x2cd32c))this['_handleOperation'](_0x52ff0a,_0x497252);for(const _0x17f41c of this['_diffRoots']['values']())_0x17f41c['markers']['clear']();for(const [_0x645878,_0x1955f0]of this['_markers']){this['_diffRoots']['get'](_0x1955f0['root']['rootName'])['markers']['set'](_0x645878,_0x1955f0['clone']());}const _0x528cf0=new Map(),_0x3917fa=new Map();for(const [_0x50d675,_0x5aa2f3]of this['_diffRoots'])_0x528cf0['set'](_0x50d675,_cloneRoot(_0x5aa2f3)),_0x3917fa['set'](_0x50d675,this['_diffRootsAttributes']['get'](_0x50d675));this['_saveMetaData'](_0x2cd32c,_0x528cf0,this['_markers'],_0x3917fa);}['_getPreviousFrom'](_0x5877f2){const _0x34d6d5=Array['from'](this['_savedMetaData']['keys']());_0x34d6d5['sort']((_0x4bbbb1,_0x5aaf18)=>_0x4bbbb1-_0x5aaf18),_0x34d6d5['reverse']();for(const _0x23704a of _0x34d6d5)if(_0x23704a<_0x5877f2)return _0x23704a;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x10eec1,_0x466379){const _0x45efa5=Array['from'](_0x466379['markers'])['map'](([_0x19c28a,_0x4e33bd])=>[_0x19c28a,this['_fixRange'](_0x4e33bd,_0x10eec1)]);_0x10eec1['markers']=new Map(_0x45efa5);}['_transformMarkers'](_0x36feb7){for(const _0x534dce of this['_markers']['values']()){const _0x948c5d=_0x534dce['getTransformedByOperation'](_0x36feb7),_0x565e32=_0x32106d['_createFromRanges'](_0x948c5d);_0x534dce['start']=_0x565e32['start'],_0x534dce['end']=_0x565e32['end'];}}['_handleOperation'](_0x1121c0,_0x4dbfcd){if('addRoot'!=_0x1121c0['type']&&'detachRoot'!=_0x1121c0['type']){if('insert'==_0x1121c0['type']){const _0x48dff2=_0x1121c0['position']['root']['rootName'];this['_diffRoots']['has'](_0x48dff2)||(this['_diffRoots']['set'](_0x48dff2,_emptyRoot(_0x48dff2,!0x0)),this['_diffRootsAttributes']['set'](_0x48dff2,{}),_0x4dbfcd&&this['_idsRoots']['set'](_0x48dff2,_emptyRoot(_0x48dff2,!0x0)));}else{if('addRootAttribute'==_0x1121c0['type']||'removeRootAttribute'==_0x1121c0['type']||'changeRootAttribute'==_0x1121c0['type'])return void this['_handleRootAttributeOperation'](_0x1121c0);'marker'==_0x1121c0['type']&&this['_handleMarkerOperation'](_0x1121c0);}if('marker'!==_0x1121c0['type']){const _0x4f03ab=this['_cloneOperation'](_0x1121c0,this['_diffRoots']);_0x4f03ab['_execute'](),this['_transformMarkers'](_0x4f03ab);}if(_0x4dbfcd)switch(_0x1121c0['type']){case'insert':this['_handleInsertOperation'](_0x1121c0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1121c0);break;case'merge':this['_handleMergeOperation'](_0x1121c0);break;case'split':this['_handleSplitOperation'](_0x1121c0);}}else this['_handleRootOperation'](_0x1121c0,_0x4dbfcd);}['_cloneOperation'](_0x235cdd,_0x50d89a){const _0x372e79=_0x235cdd['clone']();return _0x372e79['_authorId']=_0x235cdd['_authorId'],this['_fixOperation'](_0x372e79,_0x50d89a),_0x372e79;}['_getBaseVids'](_0x32dae7){return _0x32dae7['map'](_0xf6f278=>{const _0x7c80c8=this['_getVidAttributeName'](_0xf6f278);return Number(_0xf6f278['item']['getAttribute'](_0x7c80c8));});}['_generateTape'](_0x24f203,_0x517189){if(_0x24f203['is']('element','$text'))_0x517189['push']({'item':_0x24f203,'type':'text'});else{_0x24f203['is']('element')&&_0x517189['push']({'item':_0x24f203,'type':'elementStart'});for(const _0x296d90 of _0x24f203['getChildren']())this['_generateTape'](_0x296d90,_0x517189);_0x24f203['is']('element')&&_0x517189['push']({'item':_0x24f203,'type':'elementEnd'});}return _0x517189;}['_getState'](){const _0x2a31c4=new Map(this['_touched']),_0x1be88f=new Map(_0x2a31c4),_0x586523=new Map(),_0x345c51={'insertions':{},'deletions':{}},_0x4c4daa={'insertions':{},'deletions':{}},_0x1dea14=new Map(),_0x3f3f08=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3f3f08['delete']('$graveyard');for(const _0x301275 of _0x3f3f08){const _0x1e3c79=this['_diffRoots']['get'](_0x301275)||_emptyRoot(_0x301275,!0x1),_0x365268=this['_baseRoots']['get'](_0x301275)||_emptyRoot(_0x301275,!0x1);_0x1e3c79['isAttached']()||_0x365268['isAttached']()?(_0x345c51['insertions'][_0x301275]=_cloneRoot(_0x1e3c79),_0x345c51['deletions'][_0x301275]=_cloneRoot(_0x365268),this['_copyMarkers'](_0x345c51['deletions'][_0x301275],_0x365268),this['_copyMarkers'](_0x345c51['insertions'][_0x301275],_0x1e3c79),_0x4c4daa['insertions'][_0x301275]=this['_generateTape'](this['_idsRoots']['get'](_0x301275),[]),_0x4c4daa['deletions'][_0x301275]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x301275)||_emptyRoot(_0x301275,!0x1),[])):_0x3f3f08['delete'](_0x301275);}for(const _0x67a201 of _0x3f3f08){const _0x5cac67=_0x4c4daa['insertions'][_0x67a201];for(const _0x2c3052 of _0x5cac67){const _0x2551d2=this['_getVidAttributeName'](_0x2c3052),_0x38b17a=_0x2c3052['item']['getAttribute'](_0x2551d2);_0x1be88f['delete'](_0x38b17a),_0x38b17a>=this['_startingRevisionId']&&_0x586523['set'](_0x38b17a,_0x2a31c4['get'](_0x38b17a));}}for(const _0x4cf3a2 of _0x3f3f08){const _0xed0ec7=_0x4c4daa['insertions'][_0x4cf3a2],_0x5c6066=this['_getBaseVids'](_0x4c4daa['deletions'][_0x4cf3a2]);let _0x9da649=0x0;for(const _0x58f65c of _0xed0ec7){const _0x35272f=this['_getVidAttributeName'](_0x58f65c),_0x4495aa=_0x58f65c['item']['getAttribute'](_0x35272f);if(!_0x586523['has'](_0x4495aa)&&!_0x1dea14['has'](_0x4495aa)){if(_0x1be88f['has'](_0x4495aa))_0x9da649++;else{if(_0x4495aa!=_0x5c6066[_0x9da649]){const _0x3de0b7=_0x2a31c4['get'](_0x4495aa)||_0x2a31c4['get'](_0x5c6066[_0x9da649]);for(;_0x4495aa!=_0x5c6066[_0x9da649];)_0x1be88f['has'](_0x5c6066[_0x9da649])||(_0x1dea14['set'](_0x5c6066[_0x9da649],_0x3de0b7),_0x2a31c4['set'](_0x5c6066[_0x9da649],_0x3de0b7)),_0x9da649++;}_0x9da649++;}}}}for(const _0x2cb5ca of _0x3f3f08){const _0x1abe35=_0x4c4daa['insertions'][_0x2cb5ca];for(const _0x20736b of _0x1abe35){const _0x3afb7c=this['_getVidAttributeName'](_0x20736b),_0x156852=_0x20736b['item']['getAttribute'](_0x3afb7c);if(_0x1dea14['has'](_0x156852)){const _0xfb77c3=_0x1dea14['get'](_0x156852);_0x1be88f['has'](_0x156852)||_0x1be88f['set'](_0x156852,{..._0xfb77c3}),_0x586523['set'](_0x156852,{..._0xfb77c3});}}}for(const _0x304157 of _0x1be88f['keys']())_0x304157>=this['_startingRevisionId']&&_0x1be88f['delete'](_0x304157);const _0x1e9bcc=new Map();for(const _0x51e4fc of _0x3f3f08){let _0x4a2916=_0x4c4daa['insertions'][_0x51e4fc];for(const _0x5258dc of _0x4a2916)if(_0x5258dc['item']['is']('element','tableCell')){const _0x1c42c9=this['_getVidAttributeName'](_0x5258dc),_0x5d64fe=_0x5258dc['item']['getAttribute'](_0x1c42c9);if(_0x586523['has'](_0x5d64fe)){const _0x50e668=_0x5258dc['item']['parent']['parent']['getAttribute']('vid_start'),_0x50d913=_0x1e9bcc['get'](_0x50e668)||new Set();_0x50d913['add'](_0x586523['get'](_0x5d64fe)['userId']),_0x1e9bcc['set'](_0x50e668,_0x50d913);}}_0x4a2916=_0x4c4daa['deletions'][_0x51e4fc];for(const _0x466b74 of _0x4a2916)if(_0x466b74['item']['is']('element','tableCell')){const _0x284868=this['_getVidAttributeName'](_0x466b74),_0x14e1cc=_0x466b74['item']['getAttribute'](_0x284868);if(_0x1be88f['has'](_0x14e1cc)){const _0x33bcf7=_0x466b74['item']['parent']['parent']['getAttribute']('vid_start'),_0xabc0a2=_0x1e9bcc['get'](_0x33bcf7)||new Set();_0xabc0a2['add'](_0x1be88f['get'](_0x14e1cc)['userId']),_0x1e9bcc['set'](_0x33bcf7,_0xabc0a2);}}for(const _0x288aec of _0x1e9bcc['keys']())(_0x586523['has'](_0x288aec)||_0x1be88f['has'](_0x288aec))&&_0x1e9bcc['delete'](_0x288aec);}for(const _0x2bd078 of _0x3f3f08){const _0xc4670e=_0x4c4daa['insertions'][_0x2bd078];let _0x432073=null,_0x135a6f=null;for(const _0x36e8a1 of _0xc4670e){const _0x7450c9=this['_getVidAttributeName'](_0x36e8a1),_0x4d8c5f=_0x36e8a1['item']['getAttribute'](_0x7450c9),_0xa47c6f=_0x1e9bcc['get'](_0x4d8c5f);_0xa47c6f&&'elementStart'==_0x36e8a1['type']&&(_0x432073=Array['from'](_0xa47c6f)[0x0],_0x135a6f=_0x36e8a1['item']['getAttribute']('vid_end')),_0x432073&&(_0x1be88f['set'](_0x4d8c5f,{'userId':_0x432073}),_0x586523['set'](_0x4d8c5f,{'userId':_0x432073})),_0x4d8c5f==_0x135a6f&&(_0x432073=null,_0x135a6f=null);}}const _0x30b9bf={},_0x361039=new Set();for(const _0x276450 of _0x3f3f08){const _0x23e14d=_0x345c51['deletions'][_0x276450],_0x52ab6e=_0x345c51['insertions'][_0x276450];for(const {userId:_0x22b58a}of this['_touchedMarkers']['values']())null!==_0x22b58a&&_0x361039['add'](_0x22b58a);for(const {userId:_0x12e0e1}of this['_touchedRoots']['values']())null!==_0x12e0e1&&_0x361039['add'](_0x12e0e1);this['_markChanges'](_0x52ab6e,_0x4c4daa['insertions'][_0x276450],_0x586523,'insertion',_0x361039),this['_markChanges'](_0x23e14d,_0x4c4daa['deletions'][_0x276450],_0x1be88f,'deletion',_0x361039),_0x30b9bf[_0x276450]={'insertions':this['_prepareViewToSave'](_0x52ab6e),'deletions':this['_prepareViewToSave'](_0x23e14d),'attachChange':this['_touchedRoots']['get'](_0x276450)||null,'attributesBefore':cloneDeep(this['_baseRootsAttributes']['get'](_0x276450))||{},'attributesAfter':cloneDeep(this['_diffRootsAttributes']['get'](_0x276450))};}return{'diffData':_0x30b9bf,'authorsIds':Array['from'](_0x361039)};}['_processRootBeforeSave'](_0x7d8068){for(const [,_0x39bac8]of _0x7d8068['markers']){const _0xda5b57=_0x39bac8['start']['getAncestors']()['filter'](_0x23e2c2=>'tableCell'==_0x23e2c2['name']);for(const _0x4e6e32 of _0xda5b57)0x1==_0x4e6e32['childCount']&&_0x4e6e32['getChild'](0x0)['is']('element','paragraph')&&_0x4e6e32['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x220741){this['_processRootBeforeSave'](_0x220741);const _0x479a0c=this['editor']['data']['toView'](_0x220741,{}),_0x57b335=Array['from'](_0x479a0c['getChildren']())['map'](_0x3a246f=>this['_getViewJson'](_0x3a246f));return JSON['stringify'](_0x57b335);}['_getViewJson'](_0x2a7b1e){if(_0x2a7b1e['is']('$text'))return _0x2a7b1e['data'];{const _0x28a961=_0x2a7b1e;return{'type':Object['keys'](charToViewElementClass)['find'](_0x111b93=>_0x2a7b1e instanceof charToViewElementClass[_0x111b93]),'name':_0x28a961['name'],'attributes':Array['from'](_0x28a961['getAttributes']()),'children':Array['from'](_0x28a961['getChildren']())['map'](_0x3a0e96=>this['_getViewJson'](_0x3a0e96))};}}['_markChanges'](_0xc780bd,_0x1500dc,_0x598bd2,_0x64e4f8,_0x495c1c){let _0x564e1d=null,_0x16f269=null,_0x2fc581=0x0;const _0x3e7e5d=this['editor']['model'];for(let _0x4e2c75=0x0;_0x4e2c75<_0x1500dc['length'];_0x4e2c75++){const _0x53236c=this['_getVidAttributeName'](_0x1500dc[_0x4e2c75]),_0x475520=_0x1500dc[_0x4e2c75]['item']['getAttribute'](_0x53236c),_0x478b44=_0x598bd2['get'](_0x475520),_0x122347=_0x4e2c75==_0x1500dc['length']-0x1;(!_0x564e1d&&_0x478b44&&(_0x564e1d=_0x478b44,_0x16f269=_0x1500dc[_0x4e2c75]),_0x564e1d&&(!_0x478b44||_0x478b44['userId']!=_0x564e1d['userId']))&&(_0x153a52(_0x478b44,_getPosBefore(_0x16f269,_0xc780bd,_0x3e7e5d),_getPosBefore(_0x1500dc[_0x4e2c75],_0xc780bd,_0x3e7e5d)),_0x564e1d=_0x478b44||null,_0x16f269=_0x478b44?_0x1500dc[_0x4e2c75]:null),_0x564e1d&&_0x122347&&_0x153a52(_0x478b44,_getPosBefore(_0x16f269,_0xc780bd,_0x3e7e5d),_getPosAfter(_0x1500dc[_0x4e2c75],_0xc780bd,_0x3e7e5d));}function _0x153a52(_0x52c241,_0x3ae43b,_0x2e5e5d){const _0x39cdb3=_0x564e1d['userId'],_0x4579fa='revision:'+_0x64e4f8+':'+_0x39cdb3+':'+_0x2fc581++,_0x18cb20=_0x3e7e5d['createRange'](_0x3ae43b,_0x2e5e5d);_0xc780bd['markers']['set'](_0x4579fa,_0x18cb20),null!==_0x39cdb3&&_0x495c1c['add'](_0x39cdb3);}}['_getVidAttributeName'](_0xfe2fd9){switch(_0xfe2fd9['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x358370,_0x2f9e2a){_0x358370['baseVersion']=null;for(const _0x298071 in _0x358370){const _0x455e62=_0x358370[_0x298071];if(_0x455e62 instanceof Position){const _0x49f523=_0x2f9e2a['get'](_0x455e62['root']['rootName']);_0x358370[_0x298071]=this['_fixPosition'](_0x455e62,_0x49f523);}if(_0x455e62 instanceof _0x32106d){const _0x4120b4=_0x2f9e2a['get'](_0x455e62['root']['rootName']);_0x358370[_0x298071]=this['_fixRange'](_0x455e62,_0x4120b4);}'root'===_0x298071&&(_0x358370['root']=_0x2f9e2a['get'](_0x358370['root']['rootName']));}}['_fixRange'](_0x32c93e,_0x574726){return this['editor']['model']['createRange'](this['_fixPosition'](_0x32c93e['start'],_0x574726),this['_fixPosition'](_0x32c93e['end'],_0x574726));}['_fixPosition'](_0x19c961,_0x42b173){return this['editor']['model']['createPositionFromPath'](_0x42b173,_0x19c961['path'],_0x19c961['stickiness']);}['_handleInsertOperation'](_0x5c3929){const _0x4f164a=this['_idsRoots']['get'](_0x5c3929['position']['root']['rootName']),_0x164735=this['_fixPosition'](_0x5c3929['position'],_0x4f164a),_0x416780=null===_0x5c3929['_authorId']?null:_0x5c3929['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4cd1=_0x164735['parent'],_0x2856c5=this['_revisionId'],_0x27126d=[];for(const _0xb937ae of _0x5c3929['nodes'])if(_0xb937ae['is']('element'))_0x27126d['push'](this['_makeIdsRoot'](_0xb937ae));else{for(let _0x2500cf=0x0;_0x2500cf<_0xb937ae['offsetSize'];_0x2500cf++)_0x27126d['push'](new Element$3('$text',{'vid':this['_revisionId']++}));}const _0x41a901=this['_revisionId'];for(let _0x5c0888=_0x2856c5;_0x5c0888<_0x41a901;_0x5c0888++)this['_touched']['set'](_0x5c0888,{'userId':_0x416780});_0x4cd1['_insertChild'](_0x164735['offset'],_0x27126d);}['_handleMoveOperation'](_0x345a46){(_0x345a46=this['_cloneOperation'](_0x345a46,this['_idsRoots']))['_execute']();const _0x424e38=null===_0x345a46['_authorId']?null:_0x345a46['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2322cb=_0x345a46['getMovedRangeStart'](),_0x57be43=_0x2322cb['parent'],_0x4580dc=_0x2322cb['offset'];!function _0x2addf9(_0x135884,_0x113d3c,_0x4e801f,_0x1005f8){for(let _0x136699=_0x4e801f;_0x136699<_0x1005f8;_0x136699++){const _0x2ca370=_0x113d3c['getChild'](_0x136699);_0x2ca370['is']('element','$text')?_0x135884['set'](_0x2ca370['getAttribute']('vid'),{'userId':_0x424e38}):(_0x135884['set'](_0x2ca370['getAttribute']('vid_start'),{'userId':_0x424e38}),_0x2addf9(_0x135884,_0x2ca370,0x0,_0x2ca370['childCount']),_0x135884['set'](_0x2ca370['getAttribute']('vid_end'),{'userId':_0x424e38}));}}(this['_touched'],_0x57be43,_0x4580dc,_0x4580dc+_0x345a46['howMany']);}['_handleMergeOperation'](_0x5b7ef5){const _0x11f8c7=null===(_0x5b7ef5=this['_cloneOperation'](_0x5b7ef5,this['_idsRoots']))['_authorId']?null:_0x5b7ef5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x35076f=_0x5b7ef5['targetPosition']['parent'],_0x1200b8=_0x5b7ef5['sourcePosition']['parent'],_0xc3200d=_0x35076f['getAttribute']('vid_end'),_0x183bfc=_0x1200b8['getAttribute']('vid_start');_0x35076f['_setAttribute']('vid_end',_0x1200b8['getAttribute']('vid_end')),_0x1200b8['_setAttribute']('vid_end',_0xc3200d),this['_touched']['set'](_0x183bfc,{'userId':_0x11f8c7}),this['_touched']['set'](_0xc3200d,{'userId':_0x11f8c7}),_0x5b7ef5['_execute']();}['_handleSplitOperation'](_0x311f11){const _0x3fcc33=null===(_0x311f11=this['_cloneOperation'](_0x311f11,this['_idsRoots']))['_authorId']?null:_0x311f11['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b5908=_0x311f11['graveyardPosition'],_0x31513e=_0x311f11['splitPosition']['parent'];_0x311f11['_execute']();const _0x296966=_0x31513e['getAttribute']('vid_end'),_0x1ea2bc=_0x311f11['insertionPosition']['nodeAfter'];if(_0x2b5908){const _0x366e50=_0x1ea2bc['getAttribute']('vid_end'),_0x37b8c1=_0x31513e['getAttribute']('vid_end');_0x31513e['_setAttribute']('vid_end',_0x366e50),_0x1ea2bc['_setAttribute']('vid_end',_0x37b8c1),this['_touched']['set'](_0x31513e['getAttribute']('vid_end'),{'userId':_0x3fcc33}),this['_touched']['set'](_0x1ea2bc['getAttribute']('vid_start'),{'userId':_0x3fcc33});}else{const _0x3dede1=this['_revisionId']++,_0x3e894d=this['_revisionId']++;_0x31513e['_setAttribute']('vid_end',_0x3dede1),_0x1ea2bc['_setAttribute']('vid_start',_0x3e894d),_0x1ea2bc['_setAttribute']('vid_end',_0x296966),this['_touched']['set'](_0x3dede1,{'userId':_0x3fcc33}),this['_touched']['set'](_0x3e894d,{'userId':_0x3fcc33});}}['_handleMarkerOperation'](_0x449c70){if(!_0x449c70['affectsData'])return;const _0x108fce=(_0x449c70=this['_cloneOperation'](_0x449c70,this['_diffRoots']))['oldRange']?_0x449c70['oldRange']['root']:null,_0x2912ab=_0x449c70['newRange']?_0x449c70['newRange']['root']:null;_0x108fce&&this['_markers']['delete'](_0x449c70['name']),_0x2912ab&&this['_markers']['set'](_0x449c70['name'],_0x449c70['newRange']['clone']());const _0x21c4ce=null===_0x449c70['_authorId']?null:_0x449c70['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3a0dd3=_0x449c70['name'];if(!this['_touchedMarkers']['has'](_0x3a0dd3))return void this['_touchedMarkers']['set'](_0x3a0dd3,{'range':_0x449c70['oldRange'],'userId':_0x21c4ce});const _0x4b8c8b=this['_touchedMarkers']['get'](_0x3a0dd3),_0xa26f4c=_0x4b8c8b['range'],_0x675990=_0x449c70['newRange'];null==_0xa26f4c&&null==_0x675990||_0xa26f4c&&_0x675990&&_0xa26f4c['isEqual'](_0x675990)?this['_touchedMarkers']['delete'](_0x449c70['name']):_0x4b8c8b['userId']=_0x21c4ce;}['_handleRootOperation'](_0x255532,_0x28eaaf){this['_diffRoots']['has'](_0x255532['rootName'])?this['_diffRoots']['get'](_0x255532['rootName'])['_isAttached']=_0x255532['isAdd']:(this['_diffRoots']['set'](_0x255532['rootName'],_emptyRoot(_0x255532['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x255532['rootName'],{}),_0x28eaaf&&this['_idsRoots']['set'](_0x255532['rootName'],_emptyRoot(_0x255532['rootName'],!0x0)));const _0x2c3bab=null===_0x255532['_authorId']?null:_0x255532['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1520e9=this['_touchedRoots']['get'](_0x255532['rootName']);_0x1520e9&&_0x1520e9['userId']===_0x2c3bab?this['_touchedRoots']['delete'](_0x255532['rootName']):this['_touchedRoots']['set'](_0x255532['rootName'],{'userId':_0x2c3bab,'isAttached':_0x255532['isAdd']});}['_handleRootAttributeOperation'](_0x522be8){const _0x9ea6da=this['_diffRootsAttributes']['get'](_0x522be8['root']['rootName']);null===_0x522be8['newValue']?delete _0x9ea6da[_0x522be8['key']]:_0x9ea6da[_0x522be8['key']]=_0x522be8['newValue'];}}function _cloneRoot(_0x428233){const _0x455988=_emptyRoot(_0x428233['rootName'],_0x428233['isAttached']());for(const _0x4abc01 of _0x428233['getChildren']()){const _0x2fa22e=_0x4abc01['_clone'](!0x0);_0x455988['_appendChild'](_0x2fa22e);}return _0x455988;}function _emptyRoot(_0x4eab65,_0x2e0015=!0x0){const _0x29deab=new DocumentFragment$1();return _0x29deab['rootName']=_0x4eab65,_0x29deab['_isAttached']=_0x2e0015,_0x29deab['isAttached']=()=>_0x29deab['_isAttached'],_0x29deab;}function _getPosBefore(_0x5ab583,_0x29a45d,_0x3dab99){const _0x1fb4a1='elementEnd'==_0x5ab583['type']?_0x3dab99['createPositionAt'](_0x5ab583['item'],'end'):_0x3dab99['createPositionBefore'](_0x5ab583['item']);return _0x3dab99['createPositionFromPath'](_0x29a45d,_0x1fb4a1['path'],_0x1fb4a1['stickiness']);}function _getPosAfter(_0x29e0d1,_0x5801ba,_0xb985b){const _0x5b80ef='elementStart'==_0x29e0d1['type']?_0xb985b['createPositionAt'](_0x29e0d1['item'],0x0):_0xb985b['createPositionAfter'](_0x29e0d1['item']);return _0xb985b['createPositionFromPath'](_0x5801ba,_0x5b80ef['path'],_0x5b80ef['stickiness']);}class RevisionHistorySaveRevisionFormView extends View{constructor(_0xe978d9,_0x52f684){super(_0xe978d9),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x52f684),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),injectCssTransitionDisabler(this);}['render'](){super['render'](),submitHandler({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x303cb1=_0x3a8047=>_0x3a8047['stopPropagation']();this['keystrokes']['set']('arrowright',_0x303cb1),this['keystrokes']['set']('arrowleft',_0x303cb1),this['keystrokes']['set']('arrowup',_0x303cb1),this['keystrokes']['set']('arrowdown',_0x303cb1);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5858fc){this['revisionNameInputView']['fieldView']['element']['value']=_0x5858fc['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1a3690){const _0x2af16c=new LabeledFieldView(this['locale'],createLabeledInputText),_0x4fa8b9=_0x2af16c['fieldView'];_0x4fa8b9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xdaaaba=getTranslation$5(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1a3690&&(_0xdaaaba+='\x20('+getTranslation$5(this['locale'],'optional')+')'),(_0x2af16c['label']=_0xdaaaba,_0x4fa8b9['on']('input',()=>{this['revisionNameInputValue']=_0x4fa8b9['element']['value']['trim']();}),_0x2af16c);}}class RevisionHistoryUI extends Plugin{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker];}['init'](){const _0x154636=this['editor'],_0x14d4e0=_0x154636['plugins']['get']('RevisionTracker');_0x154636['ui']['componentFactory']['add']('revisionHistory',_0x52c71f=>{const _0xa2206f=createDropdown(_0x52c71f),_0x18bf82=_0xa2206f['panelView']['children'],_0x58ae0a=new ListView(_0x52c71f),_0x2fdece=new ListItemView(_0x52c71f),_0x30a5b6=new ButtonView(_0x52c71f),_0x520b69=new ListItemView(_0x52c71f),_0x53d21b=new ButtonView(_0x52c71f);return _0xa2206f['bind']('isEnabled')['to'](_0x14d4e0,'isReady',_0x14d4e0,'isEnabled',_0x154636,'isReadOnly',(_0x2c3f50,_0x161332,_0x2e60b5)=>_0x2c3f50&&_0x161332&&!_0x2e60b5),_0xa2206f['buttonView']['set']({'icon':_0x40ee59['history'],'label':getTranslation$5(_0x52c71f,'Revision\x20history'),'tooltip':!0x0}),_0x30a5b6['set']({'label':getTranslation$5(_0x52c71f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x30a5b6['bind']('isEnabled')['to'](_0x14d4e0,'isReady',_0x14d4e0,'isEnabled',_0x154636,'isReadOnly',(_0xcc8140,_0x53de6d,_0x52fd02)=>_0xcc8140&&_0x53de6d&&!_0x52fd02),_0x30a5b6['on']('execute',()=>this['_showDialog']()),_0x53d21b['set']({'label':getTranslation$5(_0x52c71f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x53d21b['bind']('isEnabled')['to'](_0x14d4e0,'isReady',_0x154636,'isReadOnly',(_0x31305d,_0x5d20a6)=>_0x31305d&&!_0x5d20a6),_0x53d21b['on']('execute',()=>{_0x154636['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0xa2206f['isOpen']=!0x1,_0x154636['editing']['view']['focus']();}),_0x2fdece['children']['add'](_0x30a5b6),_0x520b69['children']['add'](_0x53d21b),_0x58ae0a['role']='menu',_0x58ae0a['items']['addMany']([_0x2fdece,_0x520b69]),_0x18bf82['add'](_0x58ae0a),_0xa2206f;}),_0x154636['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x256a08=this['editor'],_0x129476=_0x256a08['locale'],_0x50063a=new MenuBarMenuView(_0x129476),_0x993be9=new MenuBarMenuListView(_0x129476);_0x50063a['buttonView']['set']({'icon':_0x40ee59['history'],'label':getTranslation$5(_0x129476,'Revision\x20history')});const _0x56ac67=new MenuBarMenuListItemView(_0x129476,_0x50063a),_0x414790=new MenuBarMenuListItemButtonView(_0x129476);_0x414790['set']({'label':getTranslation$5(_0x129476,'Save\x20current\x20revision')}),_0x414790['delegate']('execute')['to'](_0x50063a),_0x414790['on']('execute',()=>{this['_showDialog']();}),_0x56ac67['children']['add'](_0x414790),_0x993be9['items']['add'](_0x56ac67);const _0x3d0b49=new MenuBarMenuListItemView(_0x129476,_0x50063a),_0x49e859=new MenuBarMenuListItemButtonView(_0x129476);return _0x49e859['set']({'label':getTranslation$5(_0x129476,'Open\x20revision\x20history')}),_0x49e859['delegate']('execute')['to'](_0x50063a),_0x49e859['on']('execute',()=>{_0x256a08['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3d0b49['children']['add'](_0x49e859),_0x993be9['items']['add'](_0x3d0b49),_0x50063a['panelView']['children']['add'](_0x993be9),_0x50063a;}['_showDialog'](){const _0x513020=this['editor'],_0x21f319=_0x513020['locale'],_0x57cf7c=_0x513020['plugins']['get']('Dialog'),_0x4bd10c=_0x513020['plugins']['get']('RevisionTracker');function _0x346fe8(_0x286212){_0x513020['config']['get']('revisionHistory.requireRevisionName')&&''===_0x286212['revisionName']?_0x286212['revisionNameInputView']['errorText']=getTranslation$5(_0x21f319,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x513020['plugins']['get'](RevisionTracker)['saveRevision']({'name':_0x286212['revisionName']}),_0x57cf7c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x346fe8(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x57cf7c['show']({'id':'revisionSave','title':getTranslation$5(_0x21f319,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$5(_0x513020['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x57cf7c['hide']()},{'label':getTranslation$5(_0x513020['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3c79de){_0x3c79de['bind']('isEnabled')['to'](_0x4bd10c,'isReady',_0x4bd10c,'isEnabled',_0x513020,'isReadOnly',(_0x13e975,_0x5e93ee,_0x4aa7b6)=>_0x13e975&&_0x5e93ee&&!_0x4aa7b6);},'onExecute':()=>_0x346fe8(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5aa1ee=this['editor'],_0x2d969b=_0x5aa1ee['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x2d969b,_0x5aa1ee['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends View{constructor(_0x340c85,_0x31f186){super(_0x340c85),this['_model']=_0x31f186,this['changeId']=_0x31f186['id'];const _0x347942=this['bindTemplate'],_0x25181e=getTranslation$5(_0x340c85,_0x31f186['data']['isSuggestion']?'Suggested\x20by':'add'==_0x31f186['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x31f186['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x347942['to']('type',_0x1e1853=>'ck-revision-change__'+_0x1e1853)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x25181e}]},{'text':'\x20'+_0x31f186['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x3a5bc7){super(),this['id']=_0x3a5bc7['id']||uid(),this['author']=_0x3a5bc7['author'],this['type']=_0x3a5bc7['type'],this['data']=_0x3a5bc7['data']||{},this['rootName']=_0x3a5bc7['rootName'],this['set']('createdAt',_0x3a5bc7['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class RevisionDiff{constructor(_0x43447d,_0x62538e){this['newRevisionId']=_0x43447d,this['oldRevisionId']=_0x62538e,this['changes']=new Collection();}['_setChanges'](_0x386ec9){for(const _0x4a9cc0 of _0x386ec9)this['changes']['add'](_0x4a9cc0);}}const typeToClass={'c':ViewContainerElement,'a':ViewAttributeElement,'e':ViewEmptyElement,'r':ViewRawElement,'u':ViewUIElement};class RevisionViewer extends Plugin{static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Users,ContextualBalloon,RevisionsRepository];}constructor(_0x52b459){super(_0x52b459),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x476931,_0x594350,_0x27d4b8)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x160522=>{for(const _0xacbe45 of this['editor']['editing']['view']['document']['roots'])_0x27d4b8?_0x160522['removeClass']('ck-editor__editable__overlay',_0xacbe45):_0x160522['addClass']('ck-editor__editable__overlay',_0xacbe45);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4ced06=>null!==_0x4ced06),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3d45de,_0x5d5dbb,_0x13516b)=>_0x3d45de&&_0x13516b?_0x5d5dbb['changes']['getIndex'](_0x13516b):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5dc8e4,_0x3b182b)=>_0x5dc8e4?_0x3b182b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](ContextualBalloon);}['init'](){const _0x1c25a8=this['editor'],_0x406f0e=new ShowChangeCommand(_0x1c25a8,{'direction':'backward'}),_0x4bf118=new ShowChangeCommand(_0x1c25a8,{'direction':'forward'});(_0x1c25a8['commands']['add']('showPreviousChange',_0x406f0e),_0x1c25a8['commands']['add']('showNextChange',_0x4bf118),_0x1c25a8['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x1c25a8)),this['on']('change:numberOfChanges',()=>{_0x406f0e['refresh'](),_0x4bf118['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1c25a8['enableReadOnlyMode']('revision-viewer'),_0x1c25a8['plugins']['has']('WidgetToolbarRepository'))&&_0x1c25a8['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x688566){await this['loadRevisionData'](_0x688566);const _0x18204d={};for(const _0x5bffdd in _0x688566['diffData']){if(_0x688566['diffData'][_0x5bffdd]['attachChange']&&!_0x688566['diffData'][_0x5bffdd]['attachChange']['isAttached'])continue;const _0x24641c=this['_removeRevisionMarkers'](JSON['parse'](_0x688566['diffData'][_0x5bffdd]['insertions'])),_0x556065=this['editor']['editing']['view']['document'],_0x2ef97b=new ViewDocumentFragment(_0x556065,_0x24641c['map'](_0x402524=>this['_getViewObj'](_0x402524)));this['editor']['data']['processor']['useFillerType']('marked'),_0x18204d[_0x5bffdd]=this['editor']['data']['processor']['toData'](_0x2ef97b),this['editor']['data']['processor']['useFillerType']('default');}return _0x18204d;}async['getRevisionRootsAttributes'](_0x5a0c53){await this['loadRevisionData'](_0x5a0c53);const _0x1e3492={};for(const _0x1455e7 in _0x5a0c53['diffData'])_0x5a0c53['diffData'][_0x1455e7]['attachChange']&&!_0x5a0c53['diffData'][_0x1455e7]['attachChange']['isAttached']||(_0x1e3492[_0x1455e7]=_0x5a0c53['diffData'][_0x1455e7]['attributesAfter']||{});return _0x1e3492;}['_removeRevisionMarkers'](_0x4f49db){return(_0x4f49db=_0x4f49db['filter'](_0x30d115=>!_0x30d115['name']||'revision-start'!==_0x30d115['name']&&'revision-end'!==_0x30d115['name']))['forEach'](_0x11115c=>{'string'!=typeof _0x11115c&&(_0x11115c['children']=this['_removeRevisionMarkers'](_0x11115c['children']),_0x11115c['attributes']=_0x11115c['attributes']['filter'](_0x4e215a=>!_0x4e215a[0x0]['startsWith']('data-revision-')));}),_0x4f49db;}async['compare'](_0x190370,_0x326ab7,_0x466737=!0x1){if(!this['isEnabled'])return;const _0x291045=this['diff'],_0x442b58=this['repository'],_0x1bbcf2='string'==typeof _0x190370?_0x442b58['getRevision'](_0x190370):_0x190370,_0x323094='string'==typeof _0x326ab7?_0x442b58['getRevision'](_0x326ab7):_0x326ab7,_0x262cd7=_0x1bbcf2['id'],_0x46c9ad=_0x323094?_0x323094['id']:null;if(!_0x466737&&this['diff']&&this['diff']['newRevisionId']===_0x262cd7&&this['diff']['oldRevisionId']===_0x46c9ad)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new RevisionDiff(_0x262cd7,_0x46c9ad);const _0x2469ad=this['_getRevisionsRange'](_0x1bbcf2,_0x323094,!0x0)['map'](_0x475003=>this['loadRevisionData'](_0x475003));return _0x2469ad['push'](new Promise(_0x1ed778=>{setTimeout(_0x1ed778,0x14);})),Promise['all'](_0x2469ad)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x190df5=this['_getDiff'](_0x262cd7,_0x46c9ad);for(const _0x3d0e32 of _0x190df5['changes'])this['_changeIdToChange']['set'](_0x3d0e32['id'],_0x3d0e32);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xfd3613=>{for(const _0x222716 of this['editor']['model']['document']['getRootNames']())_0xfd3613['detachRoot'](_0x222716);for(const _0x17c433 of Object['keys'](_0x190df5['model'])){const _0x9b61c5=_0xfd3613['addRoot'](_0x17c433);for(const _0x2ee9fb of Object['keys'](_0x190df5['attributes'][_0x17c433]))_0xfd3613['setAttribute'](_0x2ee9fb,_0x190df5['attributes'][_0x17c433][_0x2ee9fb],_0x9b61c5);_0xfd3613['insert'](_0x190df5['model'][_0x17c433],_0x9b61c5,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x190df5['changes'])),this['isReady']=!0x0;})['catch'](_0xe29de3=>{console['error'](_0xe29de3),this['_cleanUp'](),_0x291045&&(this['diff']=_0x291045),this['isReady']=!0x0;});}['addRevisionData'](_0x35b1e8,_0x3e66b9){const _0x54e642=this['repository']['createRevision'](_0x35b1e8);return _0x54e642['on']('_update',(_0x587faa,_0x592a04,_0x722d34)=>_0x3e66b9(_0x592a04,_0x722d34,_0x54e642)),this['repository']['addRevision'](_0x54e642),_0x54e642;}['loadRevisionData'](_0x4a9481){if(!_0x4a9481||_0x4a9481['diffData'])return Promise['resolve']();{const _0x1835f2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1835f2,'revisionId':_0x4a9481['id']})['then'](_0x167adb=>{_0x4a9481['_update']({'diffData':_0x167adb['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x130add=>{for(const _0x3ad34d of this['editor']['model']['document']['getRootNames']())_0x130add['detachRoot'](_0x3ad34d);});}['_sortAndFilterDiffChanges'](_0x5c3857){const _0x4300e3=[],_0x3b56a7=new Map();for(const _0x6435bc of this['editor']['model']['document']['getRootNames']()){const _0x3b13b9=this['editor']['editing']['view']['getDomRoot'](_0x6435bc);if(!_0x3b13b9)continue;const _0x6dd245=_0x3b13b9['getClientRects']()['item'](0x0);_0x6dd245&&(_0x4300e3['push'](_0x6435bc),_0x3b56a7['set'](_0x6435bc,_0x6dd245));}return _0x4300e3['sort']((_0x5496ea,_0x47053f)=>{const _0x2b7797=_0x3b56a7['get'](_0x5496ea),_0x3c8ee8=_0x3b56a7['get'](_0x47053f);return _0x2b7797['y']-_0x3c8ee8['y']||_0x2b7797['x']-_0x3c8ee8['x'];}),(_0x5c3857=_0x5c3857['filter'](_0x4cdfd7=>_0x4300e3['includes'](_0x4cdfd7['rootName'])))['sort']((_0x12dd1b,_0x9de719)=>_0x4300e3['indexOf'](_0x12dd1b['rootName'])-_0x4300e3['indexOf'](_0x9de719['rootName'])),_0x5c3857;}['_makeTape'](_0x23ecaa){const _0x1666fe=Array['from'](_0x23ecaa['markers'])['filter'](([_0x22e34e,_0x513eb3])=>_0x22e34e['startsWith']('revision:')&&!_0x513eb3['isCollapsed']),_0x575aec=Array['from'](this['editor']['model']['createRangeIn'](_0x23ecaa)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1666fe['length'])for(const _0x566f08 of _0x575aec){const [_0x3fbe30,_0x3cecc6]=_0x1666fe[0x0],[,_0x4e7753,_0x13f51d]=_0x3fbe30['split'](':');if(_0x3cecc6['end']['isEqual'](_0x566f08['nextPosition'])&&_0x1666fe['shift'](),(_0x566f08['previousPosition']['isEqual'](_0x3cecc6['start'])||_0x566f08['previousPosition']['isAfter'](_0x3cecc6['start']))&&('insertion'==_0x4e7753?_0x566f08['isAdded']={'userId':_0x13f51d}:'deletion'==_0x4e7753&&(_0x566f08['isRemoved']={'userId':_0x13f51d})),0x0==_0x1666fe['length'])break;}return _0x575aec;}['_refreshStartEndIndex'](_0xc6c4d2){const _0x554bdb=new Map();for(let _0x1e7840=0x0;_0x1e7840<_0xc6c4d2['length'];_0x1e7840++)'text'===_0xc6c4d2[_0x1e7840]['type']?(_0xc6c4d2[_0x1e7840]['item']['startIndex']=_0x1e7840,_0xc6c4d2[_0x1e7840]['item']['endIndex']=_0x1e7840):('elementStart'===_0xc6c4d2[_0x1e7840]['type']?_0xc6c4d2[_0x1e7840]['item']['startIndex']=_0x1e7840:'elementEnd'===_0xc6c4d2[_0x1e7840]['type']&&(_0xc6c4d2[_0x1e7840]['item']['endIndex']=_0x1e7840),_0x554bdb['set'](_0xc6c4d2[_0x1e7840]['id'],_0x1e7840));for(const _0x4f9204 of _0x554bdb['values']())'elementStart'===_0xc6c4d2[_0x4f9204]['type']?_0xc6c4d2[_0x4f9204]['item']['endIndex']=_0x554bdb['get'](_0xc6c4d2[_0x4f9204]['pairId']):'elementEnd'===_0xc6c4d2[_0x4f9204]['type']&&(_0xc6c4d2[_0x4f9204]['item']['startIndex']=_0x554bdb['get'](_0xc6c4d2[_0x4f9204]['pairId']));}['_processTape'](_0x2dd533){for(let _0x2831d4=0x0;_0x2831d4<_0x2dd533['length'];_0x2831d4++){if('elementStart'===_0x2dd533[_0x2831d4]['type'])_0x2dd533[_0x2831d4]['item']['startIndex']=_0x2831d4;else{if('elementEnd'===_0x2dd533[_0x2831d4]['type']){_0x2dd533[_0x2831d4]['item']['endIndex']=_0x2831d4;const _0x504702=_0x2dd533[_0x2831d4]['item']['startIndex'];_0x2dd533[_0x504702]['pairId']=_0x2dd533[_0x2831d4]['id'],_0x2dd533[_0x2831d4]['pairId']=_0x2dd533[_0x504702]['id'];}else _0x2dd533[_0x2831d4]['item']['startIndex']=_0x2831d4,_0x2dd533[_0x2831d4]['item']['endIndex']=_0x2831d4,_0x2dd533[_0x2831d4]['pairId']=null;}_0x2dd533[_0x2831d4]['markersStart']||(_0x2dd533[_0x2831d4]['markersStart']=[],_0x2dd533[_0x2831d4]['markersEnd']=[]);}}['_markInsertions'](_0x35e254,_0x1125a7){const _0x19d64f=_0x35e254['filter'](_0x2cd181=>!_0x2cd181['isAdded']);for(let _0x43dafc=0x0;_0x43dafc<_0x1125a7['length'];_0x43dafc++)_0x1125a7[_0x43dafc]['isAdded']&&(_0x19d64f[_0x43dafc]['isAdded']=_0x1125a7[_0x43dafc]['isAdded']);}['_makeModelFromViewString'](_0x172f74){const _0x20590a=JSON['parse'](_0x172f74),_0x4e7f8e=this['editor']['editing']['view']['document'],_0x5b4c76=new ViewDocumentFragment(_0x4e7f8e,_0x20590a['map'](_0x53b471=>this['_getViewObj'](_0x53b471)));return this['editor']['data']['toModel'](_0x5b4c76);}['_getViewObj'](_0x30ff32){const _0x53a648=this['editor']['editing']['view']['document'];if('string'==typeof _0x30ff32)return new ViewText(_0x53a648,_0x30ff32);{const _0x13cc72=_0x30ff32['children']['map'](_0x256a60=>this['_getViewObj'](_0x256a60));return new(typeToClass[_0x30ff32['type']]||ViewElement)(_0x53a648,_0x30ff32['name'],_0x30ff32['attributes'],_0x13cc72);}}['_getDiff'](_0x1c9184,_0x2fc40e=null){const _0x178862=this['repository']['getRevision'](_0x1c9184),_0x45135c=_0x2fc40e?this['repository']['getRevision'](_0x2fc40e):null,_0x97e013=this['_getRevisionsRange'](_0x178862,_0x45135c),_0xa6033c=_0x97e013[_0x97e013['length']-0x1],_0x3597be=new Map(),_0x555805={'model':{},'attributes':{},'changes':[]},_0x54778a=new Set(),_0x208645=new Map();for(let _0x53245e=_0x97e013['length']-0x1;_0x53245e>=0x0;_0x53245e--){const _0x243f28=_0x97e013[_0x53245e];for(const _0x28bc3d of Object['keys'](_0x243f28['diffData']))if(_0x243f28['diffData'][_0x28bc3d]['attachChange']){const _0x29af69=_0x243f28['diffData'][_0x28bc3d]['attachChange'];_0x29af69['isAttached']?(_0x54778a['add'](_0x28bc3d),_0x208645['has'](_0x28bc3d)&&_0x208645['get'](_0x28bc3d)['userId']==_0x29af69['userId']?_0x208645['delete'](_0x28bc3d):_0x208645['set'](_0x28bc3d,_0x29af69)):_0x208645['has'](_0x28bc3d)?(_0x54778a['delete'](_0x28bc3d),_0x208645['delete'](_0x28bc3d)):(_0x54778a['add'](_0x28bc3d),_0x208645['set'](_0x28bc3d,_0x29af69));}else _0x54778a['add'](_0x28bc3d);}for(const _0x2e482d of _0x54778a){const _0x53fc37=_0x208645['has'](_0x2e482d)&&!_0x208645['get'](_0x2e482d)['isAttached'];let _0x2ec741=_0x53fc37?_0x97e013['length']-0x1:0x0;const _0x44f0ef=_0x53fc37?-0x1:0x1;for(;_0x97e013[_0x2ec741];){const _0x1704b0=_0x97e013[_0x2ec741];if(_0x1704b0['diffData'][_0x2e482d]){const _0x58d5a4=_0x53fc37?_0x1704b0['diffData'][_0x2e482d]['attributesBefore']:_0x1704b0['diffData'][_0x2e482d]['attributesAfter'];_0x555805['attributes'][_0x2e482d]=_0x58d5a4?cloneDeep(_0x58d5a4):{};break;}_0x2ec741+=_0x44f0ef;}}for(const _0x18d8e7 of _0x97e013){_0x18d8e7['model']={};for(const _0x526585 of _0x18d8e7['authors'])_0x3597be['set'](_0x526585['id'],_0x526585);for(const _0x49c84b of _0x54778a){const _0x2af8c4=_0x18d8e7['diffData'][_0x49c84b]?_0x18d8e7['diffData'][_0x49c84b]['insertions']:'[]',_0x1baf89=_0x18d8e7['diffData'][_0x49c84b]?_0x18d8e7['diffData'][_0x49c84b]['deletions']:'[]';_0x18d8e7['model'][_0x49c84b]={'insertions':this['_makeModelFromViewString'](_0x2af8c4),'deletions':this['_makeModelFromViewString'](_0x1baf89)};}}for(const _0x7c36f5 of _0x54778a){let _0x5ea748=null,_0xaf7fe0=0x0;const _0x3797b5=new Map(Array['from'](_0x178862['model'][_0x7c36f5]['insertions']['markers'])['filter'](([_0x23a62c])=>!_0x23a62c['startsWith']('revision:')));let _0x5e5c14=0x0;for(const _0x4fad70 of _0x97e013){const _0x284832=this['_makeTape'](_0x4fad70['model'][_0x7c36f5]['insertions']);_0x4fad70==_0x178862?(_0x5ea748=_0x284832,_0xaf7fe0=_0x5ea748['length'],_0x5ea748['forEach'](_0x763b3e=>{_0x763b3e['id']=_0x5e5c14++;}),this['_processTape'](_0x5ea748)):this['_markInsertions'](_0x5ea748,_0x284832);const _0x264167=_0x5ea748['filter'](_0x4cd119=>!_0x4cd119['isAdded'])['map'](_0x3ecc96=>_0x3ecc96['id']);let _0x236ab0=0x0;const _0x26e65e=this['_makeTape'](_0x4fad70['model'][_0x7c36f5]['deletions']);_0x26e65e['forEach'](_0x3bf12f=>{_0x3bf12f['isRemoved']?_0x3bf12f['id']=_0xaf7fe0++:_0x3bf12f['id']=_0x264167[_0x236ab0++];}),this['_processTape'](_0x26e65e),this['_setDistance'](_0x5ea748,'isAdded'),this['_setDistance'](_0x26e65e,'isRemoved'),_0x4fad70==_0x178862&&this['_markMarkers'](_0x5ea748,_0x3797b5),_0x5ea748=this['_joinTapes'](_0x5ea748,_0x26e65e),this['_refreshStartEndIndex'](_0x5ea748),this['_setDistance'](_0x5ea748,'isRemoved');}_0x5ea748=_0x5ea748['filter'](_0x4c6aa5=>!(_0x4c6aa5['isAdded']&&_0x4c6aa5['isRemoved']));const _0x2559da=new Map(_0xa6033c['model'][_0x7c36f5]['deletions']['markers']),_0x141473=new Set(_0x3797b5['keys']());for(const _0x1d4f41 of _0x2559da['keys']())_0x141473['delete'](_0x1d4f41);this['_markSuggestions'](_0x5ea748,_0x141473),this['_fixObsoleteTags'](_0x5ea748),_0x5ea748=this['_removeMissingPairs'](_0x5ea748),_0x5ea748=this['_markMismatchedRemovedTags'](_0x5ea748),_0x5ea748=this['_removeUnsupportedChanges'](_0x5ea748);const {root:_0x5203f0,changes:_0x50000f}=this['_makeModelFromTape'](_0x5ea748,_0x3597be,_0x7c36f5);_0x555805['model'][_0x7c36f5]=_0x5203f0;const _0x1a340c=_0x208645['get'](_0x7c36f5);if(_0x1a340c){const _0x302c50=_0x3597be['get'](_0x1a340c['userId']),_0x31da97=new ChangeItem({'author':_0x302c50,'type':_0x1a340c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x7c36f5});_0x50000f['unshift'](_0x31da97),_0x555805['attributes'][_0x7c36f5]['revisionHistoryAttachChange']=_0x31da97['id'];}_0x555805['changes']=_0x555805['changes']['concat'](_0x50000f);}return _0x555805;}['_markMarkers'](_0x589f8d,_0x4dcdc1){for(let _0x1de8ef=0x0;_0x1de8ef<_0x589f8d['length'];_0x1de8ef++)for(const [_0x5942b7,_0x124147]of _0x4dcdc1)_0x124147['start']['isEqual'](_0x589f8d[_0x1de8ef]['previousPosition'])&&_0x589f8d[_0x1de8ef]['markersStart']['push'](_0x5942b7),_0x124147['end']['isEqual'](_0x589f8d[_0x1de8ef]['nextPosition'])&&_0x589f8d[_0x1de8ef]['markersEnd']['push'](_0x5942b7);}['_joinTapes'](_0x3c2591,_0x5bb28c){let _0x9c7b70=[],_0x2f4a74=0x0,_0x3845e1=0x0;for(;_0x2f4a74<_0x3c2591['length']||_0x3845e1<_0x5bb28c['length'];){const _0x558177=_0x3c2591[_0x2f4a74]||{},_0x4d52d5=_0x5bb28c[_0x3845e1]||{};if(_0x558177['id']==_0x4d52d5['id'])_0x2f4a74++,_0x3845e1++,_0x9c7b70['push'](_0x558177);else{if(_0x4d52d5['isRemoved']&&_0x558177['isAdded']){const {commonTape:_0x1ca7c3,iEnd:_0x220af3,jEnd:_0x2d7b86}=this['_threeWayMerge'](_0x3c2591,_0x2f4a74,_0x5bb28c,_0x3845e1);_0x9c7b70=_0x9c7b70['concat'](_0x1ca7c3),_0x2f4a74=_0x220af3,_0x3845e1=_0x2d7b86;}else _0x4d52d5['isRemoved']?(_0x3845e1++,_0x9c7b70['push'](_0x4d52d5)):(_0x2f4a74++,_0x9c7b70['push'](_0x558177));}}return _0x9c7b70;}['_markSuggestions'](_0x1658cd,_0x29ea0b){const _0x295943=[];for(let _0x3435a4=0x0;_0x3435a4<_0x1658cd['length'];_0x3435a4++){for(let _0x458849=0x0;_0x458849<_0x1658cd[_0x3435a4]['markersStart']['length'];_0x458849++){const _0xc4af08=_0x1658cd[_0x3435a4]['markersStart'][_0x458849];if(!_0x29ea0b['has'](_0xc4af08))continue;const {group:_0x445159,type:_0x180242,authorId:_0x1fafcb}=_0x315c5b(_0xc4af08);'revision-suggestion'!=_0x445159||'insertion'!=_0x180242&&'deletion'!=_0x180242||(_0x295943['unshift']({'type':_0x180242,'name':_0xc4af08,'userId':_0x1fafcb}),_0x1658cd[_0x3435a4]['markersStart']['splice'](_0x458849,0x1),_0x458849--);}_0x1b27fd(_0x1658cd[_0x3435a4]);for(let _0x8480bb=0x0;_0x8480bb<_0x1658cd[_0x3435a4]['markersEnd']['length'];_0x8480bb++){const _0x3c0293=_0x1658cd[_0x3435a4]['markersEnd'][_0x8480bb];if(!_0x29ea0b['has'](_0x3c0293))continue;const {group:_0x2d3bb5,type:_0x9f65ba}=_0x315c5b(_0x3c0293);if('revision-suggestion'!=_0x2d3bb5||'insertion'!=_0x9f65ba&&'deletion'!=_0x9f65ba)continue;_0x1658cd[_0x3435a4]['markersEnd']['splice'](_0x8480bb,0x1),_0x8480bb--;const _0x358bb6=_0x295943['findIndex'](_0x306b77=>_0x306b77['name']==_0x3c0293);_0x358bb6>-0x1&&_0x295943['splice'](_0x358bb6,0x1);}}function _0x315c5b(_0x511590){const _0x13dab6=_0x511590['split'](':');return{'group':_0x13dab6[0x0],'type':_0x13dab6[0x1],'subType':_0x13dab6['length']>=0x5?_0x13dab6[0x2]:null,'id':_0x13dab6['length']<0x5?_0x13dab6[0x2]:_0x13dab6[0x3],'authorId':_0x13dab6['length']<0x5?_0x13dab6[0x3]:_0x13dab6[0x4],'markerCount':0x6==_0x13dab6['length']?_0x13dab6[0x5]:null};}function _0x1b27fd(_0x5a7297){for(let _0x135621=0x0;_0x135621<_0x295943['length'];_0x135621++){if(_0x5a7297['isAdded']&&'insertion'==_0x295943[_0x135621]['type'])return _0x5a7297['isAddSuggestion']=_0x295943[_0x135621],void delete _0x5a7297['isAdded'];if(!_0x5a7297['isAdded']&&!_0x5a7297['isRemoved']&&'deletion'==_0x295943[_0x135621]['type'])return void(_0x5a7297['isRemoveSuggestion']=_0x295943[_0x135621]);}}}['_setDistance'](_0x5d7d2f,_0x439544){let _0x3b91da=0x0,_0xca1b8b=!0x1;const _0x414635=new Map();for(const _0x33b8dd of _0x5d7d2f)_0x33b8dd[_0x439544]?_0xca1b8b&&(_0x3b91da++,_0xca1b8b=!0x1):(_0x3b91da++,_0xca1b8b=!0x0),_0x414635['set'](_0x33b8dd['id'],_0x3b91da);for(let _0x11e9db=0x0;_0x11e9db<_0x5d7d2f['length'];_0x11e9db++){if('isRemoved'==_0x439544&&_0x5d7d2f[_0x11e9db]['isAdded']||'isAdded'==_0x439544&&_0x5d7d2f[_0x11e9db]['isRemoved'])continue;if('text'==_0x5d7d2f[_0x11e9db]['type']){_0x5d7d2f[_0x11e9db]['distance']=0x0;continue;}const _0x1a95ef=_0x414635['get'](_0x5d7d2f[_0x11e9db]['pairId']),_0x5cd911=_0x414635['get'](_0x5d7d2f[_0x11e9db]['id']);_0x5d7d2f[_0x11e9db]['distance']=_0x1a95ef-_0x5cd911;}}['_getRevisionsRange'](_0x17ceab,_0x20a30a,_0x56664f=!0x1){const _0x317a3e=[];let _0x54ab7b=this['repository']['getIndex'](_0x17ceab),_0x400253=this['repository']['getIndex'](_0x20a30a);for(-0x1==_0x400253&&(_0x400253=this['repository']['_revisions']['length'],_0x56664f=!0x1);_0x54ab7b<_0x400253;)_0x317a3e['push'](this['repository']['getRevision'](_0x54ab7b)),_0x54ab7b++;return _0x56664f&&_0x317a3e['push'](this['repository']['getRevision'](_0x54ab7b)),_0x317a3e;}['_threeWayMerge'](_0xab30c,_0x1ae214,_0x1ecedb,_0x43c63b){const _0x1184d6=this['editor']['model']['schema'];let _0xd8235=_0x1ae214;for(;_0xab30c[_0xd8235]&&_0xab30c[_0xd8235]['isAdded'];)_0xd8235++;let _0x5d248a=_0x43c63b;for(;_0x1ecedb[_0x5d248a]&&_0x1ecedb[_0x5d248a]['isRemoved'];)_0x5d248a++;_0x187789(_0xab30c,_0x1ae214,_0xd8235),_0x187789(_0x1ecedb,_0x43c63b,_0x5d248a);const _0x168441=_0x1ecedb['slice'](_0x43c63b,_0x5d248a)['concat'](_0xab30c['slice'](_0x1ae214,_0xd8235));return _0x168441['sort']((_0x124dce,_0x12e498)=>_0x124dce['side']!=_0x12e498['side']?_0x124dce['side']-_0x12e498['side']:_0x124dce['level']!=_0x12e498['level']?_0x124dce['level']-_0x12e498['level']:_0x124dce['distance']!=_0x12e498['distance']?_0x12e498['distance']-_0x124dce['distance']:!!_0x124dce['isAdded']!=!!_0x12e498['isAdded']?-0x1==_0x124dce['side']||0x0==_0x124dce['side']?_0x124dce['isAdded']?-0x1:0x1:_0x124dce['isAdded']?0x1:-0x1:_0x124dce['index']-_0x12e498['index']),{'commonTape':_0x168441,'iEnd':_0xd8235,'jEnd':_0x5d248a};function _0x187789(_0x527e81,_0x2ac0bd,_0x367245){let _0xb7a8b1=-0x1,_0x412cd9=Number['POSITIVE_INFINITY'],_0x5b95f3=!0x0;for(let _0x4800aa=_0x2ac0bd;_0x4800aa<_0x367245;_0x4800aa++)if(_0x1184d6['isInline'](_0x527e81[_0x4800aa]['item'])||(_0x5b95f3=!0x1),_0x527e81[_0x4800aa]['item']['startIndex']<_0x2ac0bd&&(_0xb7a8b1=_0x4800aa),_0x527e81[_0x4800aa]['item']['endIndex']>=_0x367245){_0x412cd9=_0x4800aa;break;}_0x5b95f3&&(_0xb7a8b1=_0x367245-0x1);for(let _0xa0d9c2=_0x2ac0bd;_0xa0d9c2<_0x367245;_0xa0d9c2++)_0x527e81[_0xa0d9c2]['side']=_0xa0d9c2<=_0xb7a8b1?-0x1:_0xa0d9c2<_0x412cd9?0x0:0x1,_0x527e81[_0xa0d9c2]['index']=_0xa0d9c2;let _0x27e891=0x0;for(let _0x516c1b=_0x2ac0bd;_0x516c1b<=_0xb7a8b1;_0x516c1b++)0x0==_0x527e81[_0x516c1b]['distance']?_0x527e81[_0x516c1b]['level']=_0x27e891:(_0x27e891++,_0x527e81[_0x516c1b]['level']=_0x27e891,_0x27e891++);for(let _0x33b6d0=_0x2ac0bd;_0x33b6d0<_0x367245;_0x33b6d0++)0x0==_0x527e81[_0x33b6d0]['side']&&(_0x527e81[_0x33b6d0]['level']=_0x27e891);_0x27e891=0x0;for(let _0x1787d6=_0x367245-0x1;_0x1787d6>=_0x412cd9;_0x1787d6--)0x0==_0x527e81[_0x1787d6]['distance']?_0x527e81[_0x1787d6]['level']=_0x27e891:(_0x27e891--,_0x527e81[_0x1787d6]['level']=_0x27e891,_0x27e891--);}}['_fixObsoleteTags'](_0x27480d){const _0x585fe5=new Map(),_0x443be4=this['editor']['model']['schema'];for(let _0x413738=0x1;_0x413738<_0x27480d['length'];_0x413738++){let _0x5796ca,_0xae6b94,_0x595eb9;const _0x44c6e5=_0x27480d[_0x413738],_0x4405be=_0x27480d[_0x413738-0x1];if('text'==_0x44c6e5['type'])continue;if(_0x44c6e5['type']!=_0x4405be['type'])continue;if(!_0x443be4['isBlock'](_0x4405be['item'])||_0x443be4['isLimit'](_0x4405be['item']))continue;if(!_0x443be4['isBlock'](_0x44c6e5['item'])||_0x443be4['isLimit'](_0x44c6e5['item']))continue;if((_0x27480d[_0x413738]['isAdded']||_0x27480d[_0x413738]['isAddSuggestion'])&&_0x27480d[_0x413738-0x1]['isRemoved'])_0x5796ca=_0x27480d[_0x413738],_0xae6b94=_0x27480d[_0x413738-0x1],_0x595eb9=_0x413738-0x1;else{if(!_0x27480d[_0x413738]['isRemoved']||!_0x27480d[_0x413738-0x1]['isAdded']&&!_0x27480d[_0x413738-0x1]['isAddSuggestion'])continue;_0x5796ca=_0x27480d[_0x413738-0x1],_0xae6b94=_0x27480d[_0x413738],_0x595eb9=_0x413738;}const _0x81c9ea=_0x5796ca['level']==_0xae6b94['level'],_0xc1517f=Math['abs'](_0x5796ca['level'])<Math['abs'](_0xae6b94['level'])&&0x0==_0xae6b94['distance'];(_0x81c9ea||_0xc1517f)&&(_0x585fe5['set'](_0xae6b94['id'],_0x5796ca['id']),_0x27480d['splice'](_0x595eb9,0x1),_0x413738--,_0x5796ca['isAdded']=!0x1);}for(let _0xa525c4=0x0;_0xa525c4<_0x27480d['length'];_0xa525c4++)_0x585fe5['has'](_0x27480d[_0xa525c4]['pairId'])&&(_0x27480d[_0xa525c4]['pairId']=_0x585fe5['get'](_0x27480d[_0xa525c4]['pairId']));}['_removeMissingPairs'](_0x288c59){const _0xda58d9=new Set(_0x288c59['map'](_0x320f9c=>_0x320f9c['id']));for(let _0x45c99d=0x0;_0x45c99d<_0x288c59['length'];_0x45c99d++)_0xda58d9['has'](_0x288c59[_0x45c99d]['pairId'])||0x0==_0x288c59[_0x45c99d]['distance']||(_0x288c59[_0x45c99d]['isIncorrect']=!0x0);return _0x288c59['filter'](_0x584f71=>!_0x584f71['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3cdbcf){const _0x4f9482=new Set();for(let _0xd75e02=0x0;_0xd75e02<_0x3cdbcf['length'];_0xd75e02++){if(_0x4f9482['has'](_0x3cdbcf[_0xd75e02]['id'])&&_0x3cdbcf[_0xd75e02]['isRemoved']&&(_0x3cdbcf[_0xd75e02]['isIncorrect']=!0x0),_0x3cdbcf[_0xd75e02]['isIncorrect'])continue;if(0x0==_0x3cdbcf[_0xd75e02]['distance'])continue;if('elementStart'!=_0x3cdbcf[_0xd75e02]['type'])continue;if(null==_0x3cdbcf[_0xd75e02]['pairId'])continue;let _0x5784e5=_0xd75e02+0x1,_0x59d627=0x0;for(;_0x3cdbcf[_0x5784e5]['id']!=_0x3cdbcf[_0xd75e02]['pairId'];)'elementStart'==_0x3cdbcf[_0x5784e5]['type']?_0x59d627++:'elementEnd'==_0x3cdbcf[_0x5784e5]['type']&&_0x59d627--,_0x5784e5++;if(0x0!=_0x59d627){if(_0x3cdbcf[_0xd75e02]['isRemoved'])_0x3cdbcf[_0xd75e02]['isIncorrect']=!0x0;else{for(;_0x5784e5!=_0xd75e02;)_0x3cdbcf[_0x5784e5]['isRemoved']&&0x0!=_0x3cdbcf[_0x5784e5]['distance']&&(_0x3cdbcf[_0x5784e5]['isIncorrect']=!0x0,_0x4f9482['add'](_0x3cdbcf[_0x5784e5]['pairId'])),_0x5784e5--;}}}return _0x3cdbcf['filter'](_0x2005d3=>!_0x2005d3['isIncorrect']);}['_removeUnsupportedChanges'](_0x19a343){const _0x4533b5=this['editor']['model']['schema'];for(let _0x12e949=0x0;_0x12e949<_0x19a343['length'];_0x12e949++){if(!(_0x19a343[_0x12e949]['isAdded']||_0x19a343[_0x12e949]['isAddSuggestion']||_0x19a343[_0x12e949]['isRemoved']||_0x19a343[_0x12e949]['isRemoveSuggestion']))continue;if(0x0==_0x19a343[_0x12e949]['distance'])continue;const _0x5cc99d=_0x19a343[_0x12e949]['item'];_0x4533b5['isBlock'](_0x5cc99d)||_0x4533b5['isLimit'](_0x5cc99d)||(_0x19a343[_0x12e949]['isAdded']&&delete _0x19a343[_0x12e949]['isAdded'],_0x19a343[_0x12e949]['isAddSuggestion']&&delete _0x19a343[_0x12e949]['isAddSuggestion'],_0x19a343[_0x12e949]['isRemoveSuggestion']&&delete _0x19a343[_0x12e949]['isRemoveSuggestion'],_0x19a343[_0x12e949]['isRemoved']&&(_0x19a343[_0x12e949]['isIncorrect']=!0x0));}return _0x19a343['filter'](_0x5ab4f8=>!_0x5ab4f8['isIncorrect']);}['_makeModelFromTape'](_0x15b151,_0x338a0b,_0x178f22){const _0xa43928=new DocumentFragment$1(),_0x1ae2ef=[],_0x375ecb=new Map(),_0x48e143=this['editor']['model'],_0x263437=_0x48e143['schema'],_0xb08ffc=[_0xa43928],_0x5c3461={},_0x374a34={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x53b9cf=null;const _0x582e3e=[0x0];for(let _0x32dabc=0x0;_0x32dabc<_0x15b151['length'];_0x32dabc++)if('elementStart'===_0x15b151[_0x32dabc]['type']){_0x15b151[_0x32dabc]['previousPosition']=_0x48e143['createPositionFromPath'](_0xa43928,_0x582e3e);const _0x3e3a77=new Element$3(_0x15b151[_0x32dabc]['item']['name'],_0x15b151[_0x32dabc]['item']['getAttributes']());_0xb08ffc[0x0]['_appendChild'](_0x3e3a77),_0x582e3e['push'](0x0),_0xb08ffc['unshift'](_0x3e3a77),_0x15b151[_0x32dabc]['nextPosition']=_0x48e143['createPositionFromPath'](_0xa43928,_0x582e3e);}else'elementEnd'===_0x15b151[_0x32dabc]['type']?(_0xb08ffc['shift'](),_0x15b151[_0x32dabc]['previousPosition']=_0x48e143['createPositionFromPath'](_0xa43928,_0x582e3e),_0x582e3e['pop'](),_0x582e3e[_0x582e3e['length']-0x1]++,_0x15b151[_0x32dabc]['nextPosition']=_0x48e143['createPositionFromPath'](_0xa43928,_0x582e3e)):(_0x15b151[_0x32dabc]['previousPosition']=_0x48e143['createPositionFromPath'](_0xa43928,_0x582e3e),_0x53b9cf?_0x53b9cf['_data']+=_0x15b151[_0x32dabc]['item']['data']:_0x53b9cf=new Text$1(_0x15b151[_0x32dabc]['item']['data'],_0x15b151[_0x32dabc]['item']['getAttributes']()),_0x15b151[_0x32dabc+0x1]&&'text'===_0x15b151[_0x32dabc+0x1]['type']&&_0x3b2ca9(_0x53b9cf,_0x15b151[_0x32dabc+0x1]['item'])||(_0xb08ffc[0x0]['_appendChild'](_0x53b9cf),_0x53b9cf=null),_0x582e3e[_0x582e3e['length']-0x1]+=_0x15b151[_0x32dabc]['item']['offsetSize'],_0x15b151[_0x32dabc]['nextPosition']=_0x48e143['createPositionFromPath'](_0xa43928,_0x582e3e));for(let _0x1f8438=0x0;_0x1f8438<_0x15b151['length'];_0x1f8438++){const _0x425678=_0x15b151[_0x1f8438]['previousPosition'],_0x24702d=_0x15b151[_0x1f8438]['nextPosition'];for(const _0x5298e6 of _0x15b151[_0x1f8438]['markersStart'])_0x375ecb['set'](_0x5298e6,{'start':_0x425678,'end':null});_0x3cae94('isRemoveSuggestion',_0x1f8438,_0x425678,_0x24702d),_0x3cae94('isAddSuggestion',_0x1f8438,_0x425678,_0x24702d),_0x3cae94('isRemoved',_0x1f8438,_0x425678,_0x24702d),_0x3cae94('isAdded',_0x1f8438,_0x425678,_0x24702d);for(const _0xd8dbdc of _0x15b151[_0x1f8438]['markersEnd']){_0x375ecb['get'](_0xd8dbdc)['end']=_0x24702d;}}for(const [_0x249be6,_0x5b1a3c]of _0x375ecb){const _0x26e055=this['editor']['model']['createRange'](_0x5b1a3c['start'],_0x5b1a3c['end']);_0xa43928['markers']['set'](_0x249be6,_0x26e055);}return _0x1ae2ef['sort']((_0xc3fe2b,_0x5412c8)=>{const _0x54ff9d=_0xa43928['markers']['get']('revision:'+_0xc3fe2b['id']),_0x405c1c=_0xa43928['markers']['get']('revision:'+_0x5412c8['id']);return _0x54ff9d['start']['isBefore'](_0x405c1c['start'])?-0x1:_0x54ff9d['start']['isAfter'](_0x405c1c['start'])?0x1:_0x54ff9d['end']['isBefore'](_0x405c1c['end'])?-0x1:_0x54ff9d['end']['isAfter'](_0x405c1c['end'])?0x1:'add'===_0xc3fe2b['type']?-0x1:0x1;}),{'root':_0xa43928,'changes':_0x1ae2ef};function _0x3cae94(_0x286f1e,_0x2e27fe,_0x3512c4,_0x4c7543){const _0x2b98c6=!!_0x15b151[_0x2e27fe][_0x286f1e],_0x443a49=_0x2b98c6?_0x15b151[_0x2e27fe][_0x286f1e]['userId']:null,_0x5b5e=_0x2e27fe===_0x15b151['length']-0x1,_0x5995b8=_0x374a34[_0x286f1e][0x0],_0x26eb09=_0x263437['isObject'](_0x15b151[_0x2e27fe]['item']);!_0x5c3461[_0x286f1e]&&_0x2b98c6?_0x5c3461[_0x286f1e]={'start':_0x3512c4,'tapeItem':_0x15b151[_0x2e27fe],'userId':_0x443a49,'type':_0x286f1e}:_0x5c3461[_0x286f1e]&&!_0x2b98c6?(_0x5c3461[_0x286f1e]['end']=_0x3512c4,_0xa5813a(_0x5c3461[_0x286f1e]),_0x5c3461[_0x286f1e]=null):_0x5c3461[_0x286f1e]&&_0x2b98c6&&_0x5c3461[_0x286f1e]['userId']!==_0x443a49&&(_0x5c3461[_0x286f1e]['end']=_0x3512c4,_0x5995b8&&_0x5995b8['userId']===_0x5c3461[_0x286f1e]['userId']||_0xa5813a(_0x5c3461[_0x286f1e]),_0x5c3461[_0x286f1e]={'start':_0x3512c4,'tapeItem':_0x15b151[_0x2e27fe],'userId':_0x443a49,'type':_0x286f1e}),_0x5c3461[_0x286f1e]&&_0x26eb09&&('elementStart'!==_0x15b151[_0x2e27fe]['type']||_0x5995b8&&_0x5995b8['userId']===_0x443a49||_0x374a34[_0x286f1e]['unshift']({'userId':_0x443a49,'object':_0x15b151[_0x2e27fe]['item'],'change':_0x5c3461[_0x286f1e]}),'elementEnd'===_0x15b151[_0x2e27fe]['type']&&_0x5995b8&&_0x5995b8['object']===_0x15b151[_0x2e27fe]['item']&&(_0x374a34[_0x286f1e]['shift'](),_0x5c3461[_0x286f1e]=_0x5995b8['change'])),_0x5c3461[_0x286f1e]&&_0x5b5e&&(_0x5c3461[_0x286f1e]['end']=_0x4c7543,_0xa5813a(_0x5c3461[_0x286f1e]),_0x5c3461[_0x286f1e]=null);}function _0xa5813a({start:_0x26093a,end:_0x12b03a,tapeItem:_0x5d5be9,userId:_0x41e019,type:_0x1a4f0b}){const _0x3fc20e=_0x5d5be9['item'],_0x380d79=_0x48e143['schema']['isBlock'](_0x3fc20e)&&!_0x48e143['schema']['isLimit'](_0x3fc20e),_0x4ccf87=_0x26093a['nodeAfter']==_0x12b03a['parent']&&_0x12b03a['isAtStart'];if(_0x380d79&&_0x4ccf87)return;const _0x5a30bb=_0x48e143['createRange'](_0x26093a,_0x12b03a),_0x2b2ad8=_0x338a0b['get'](_0x41e019),_0x42b53d=new ChangeItem({'author':_0x2b2ad8,'type':'isAdded'==_0x1a4f0b||'isAddSuggestion'==_0x1a4f0b?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1a4f0b||'isRemoveSuggestion'==_0x1a4f0b},'createdAt':new Date(),'rootName':_0x178f22});_0x1ae2ef['push'](_0x42b53d),_0xa43928['markers']['set']('revision:'+_0x42b53d['id'],_0x5a30bb);}function _0x3b2ca9(_0xd2df35,_0x143cfd){const _0x5f0453=_0xd2df35['getAttributes'](),_0x525dff=_0x143cfd['getAttributes']();for(const _0x35ea0f of _0x5f0453){if(_0x35ea0f[0x1]!==_0x143cfd['getAttribute'](_0x35ea0f[0x0]))return!0x1;_0x525dff['next']();}return _0x525dff['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x575062=>{const _0x2d5702=_0x575062['markerName']['split'](':')[0x1],_0x595e57=this['_getChangeFromId'](_0x2d5702);if(!_0x595e57)return null;const _0x2913dc='add'==_0x595e57['type']?'insertion':'deletion',_0x219ce6=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2913dc];return _0x595e57['data']['isSuggestion']&&_0x219ce6['push']('ck-suggestion-marker-'+_0x2913dc+'-new'),this['activeChange']==_0x595e57&&_0x219ce6['push']('ck-suggestion-marker--active'),{'classes':_0x219ce6,'attributes':{'data-change-id':_0x2d5702}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5dbd93=>{_0x5dbd93['on']('element:pre',(_0x4a92dd,_0x1583cc,_0x395aac)=>{const _0x4ba8dd=_0x1583cc['viewItem']['getChild'](0x0);if(!_0x4ba8dd||!_0x4ba8dd['is']('element','code'))return;if(!_0x395aac['consumable']['consume'](_0x4ba8dd,{'attributes':['vid_start','vid_end']}))return;const _0x52b25e=_0x1583cc['modelRange']['start']['nodeAfter'];_0x395aac['writer']['setAttribute']('vid_start',_0x4ba8dd['getAttribute']('vid_start'),_0x52b25e),_0x395aac['writer']['setAttribute']('vid_end',_0x4ba8dd['getAttribute']('vid_end'),_0x52b25e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4e0c2a=>{_0x4e0c2a['on']('element',(_0x5c1717,_0x40f36a,_0x5a4ff2)=>{if(!_0x5a4ff2['consumable']['consume'](_0x40f36a['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x40f36a['modelRange']['isCollapsed'])return;const _0x3a8668=_0x40f36a['modelRange']['start']['nodeAfter'];_0x3a8668['hasAttribute']('vid_start')||_0x3a8668['hasAttribute']('vid')||(_0x5a4ff2['writer']['setAttribute']('vid_start',_0x40f36a['viewItem']['getAttribute']('vid_start'),_0x3a8668),_0x5a4ff2['writer']['setAttribute']('vid_end',_0x40f36a['viewItem']['getAttribute']('vid_end'),_0x3a8668));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2f085c=>_0x2f085c['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x31adb3,[,_0x454e3b])=>{['vid_start','vid_end','vid']['includes'](_0x454e3b)&&(_0x31adb3['return']=!0x0,_0x31adb3['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x58a89a=>{_0x58a89a['on']('attribute:vid',(_0x2af173,_0x44b1a2,_0x19a251)=>{if('\x20'!=_0x44b1a2['item']['data']||_0x44b1a2['item']['parent']['maxOffset']>0x1)return;if(!_0x19a251['consumable']['consume'](_0x44b1a2['item'],_0x2af173['name']))return;const _0x1d5694=_0x19a251['writer'],_0x5a8e8c=_0x19a251['mapper']['toViewRange'](_0x44b1a2['range']);_0x1d5694['wrap'](_0x5a8e8c,_0x1d5694['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',downcastSplitMergeMarker$2(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x137fca,_0x435518,_0x311d86)=>{const _0x26c82f=_0x311d86['mapper']['markerNameToElements'](_0x435518['markerName']);if(_0x26c82f){for(const _0xf96594 of _0x26c82f)(_0xf96594['hasClass']('ck-suggestion-marker-split')||_0xf96594['hasClass']('ck-suggestion-marker-merge'))&&(_0x311d86['mapper']['unbindElementFromMarkerName'](_0xf96594,_0x435518['markerName']),_0x311d86['writer']['remove'](_0xf96594));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5804bc,_0x5024e8,_0x5149d0)=>{const _0x5cf0a6=_0x5024e8['markerName']['split'](':')[0x1],_0x53faa6=this['_getChangeFromId'](_0x5cf0a6);if(!_0x53faa6)return null;const _0x5420f0='add'==_0x53faa6['type']?'split':'merge';if(_0x5149d0['consumable']['test'](_0x5024e8['markerRange'],_0x5804bc['name']))for(const _0x352f7c of _0x5024e8['markerRange']['getItems']()){if(!_0x352f7c['is']('element','softBreak'))continue;const _0x168090=_0x5149d0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5420f0}),_0x260771=_0x5149d0['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x352f7c));_0x53faa6['data']['isSuggestion']&&_0x5149d0['writer']['addClass']('ck-suggestion-marker-'+_0x5420f0+'-new',_0x168090),this['activeChange']==_0x53faa6&&_0x5149d0['writer']['addClass']('ck-suggestion-marker--active',_0x168090),_0x5149d0['writer']['insert'](_0x260771,_0x168090),_0x5149d0['mapper']['bindElementToMarker'](_0x168090,_0x5024e8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5dd93f=>{for(const _0x9c3160 of this['editor']['model']['document']['getRootNames']()){const _0x4bea5b=this['editor']['model']['document']['getRoot'](_0x9c3160),_0x12ae43=this['editor']['editing']['view']['document']['getRoot'](_0x9c3160);if(_0x12ae43){const _0x390ec1=_0x4bea5b['getAttribute']('revisionHistoryAttachChange');if(_0x5dd93f['removeAttribute']('data-change-id',_0x12ae43),_0x5dd93f['removeClass']('ck-revision-history-root-add',_0x12ae43),_0x5dd93f['removeClass']('ck-revision-history-root-remove',_0x12ae43),_0x5dd93f['removeClass']('ck-revision-history-root--active',_0x12ae43),_0x390ec1){const _0x4a45c0=this['_getChangeFromId'](_0x390ec1);if(!_0x4a45c0)return null;_0x5dd93f['setAttribute']('data-change-id',_0x390ec1,_0x12ae43),_0x5dd93f['addClass']('ck-revision-history-root-'+_0x4a45c0['type'],_0x12ae43),this['activeChange']==_0x4a45c0&&_0x5dd93f['addClass']('ck-revision-history-root--active',_0x12ae43);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5bd857=>'revision-comment:'+_0x5bd857,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5e1bd1=>'revision-suggestion:'+_0x5e1bd1,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x33d93a=>({'name':'suggestion:'+_0x33d93a,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5ea5ea=>{const _0x1aae62=_0x5ea5ea['markerName']['split'](':')[0x1];return'insertion'!=_0x1aae62&&'deletion'!=_0x1aae62?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1aae62]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',downcastSplitMergeMarkerSuggestion(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',downcastSplitMergeMarkerSuggestion(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x1cf961,_0x5bd063,_0x59284e)=>{const _0x1d2d09=_0x59284e['mapper']['markerNameToElements'](_0x5bd063['markerName']);if(_0x1d2d09){for(const _0x4dc733 of _0x1d2d09)_0x4dc733['is']('uiElement')&&(_0x59284e['mapper']['unbindElementFromMarkerName'](_0x4dc733,_0x5bd063['markerName']),_0x59284e['writer']['remove'](_0x4dc733));}},{'priority':'high'});}['_getChangeFromId'](_0x46eea6){return this['_changeIdToChange']['get'](_0x46eea6);}['_getViewForChange'](_0x59f5b7){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x59f5b7),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2d9379,_0x186243,_0x5d5aa7,_0x37fcb7)=>{_0x37fcb7&&this['_balloon']['remove'](_0x37fcb7),_0x5d5aa7&&(this['_balloon']['add']({'view':_0x5d5aa7,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xdc2335=this['editor']['editing'],_0x2a749d=this['_getChangeFromId'](_0x5d5aa7['changeId']);let _0x19186e;if(_0x2a749d['data']['isOnRoot']){const _0x5aec16=_0xdc2335['view']['getDomRoot'](_0x2a749d['rootName']);_0x19186e=Array['from'](_0x5aec16['getClientRects']());}else{const _0x1837be=this['editor']['model']['markers']['get']('revision:'+_0x5d5aa7['changeId']);_0x19186e=Array['from'](_0xdc2335['mapper']['markerNameToElements'](_0x1837be['name']))['map'](_0x44727b=>_0xdc2335['view']['domConverter']['mapViewToDom'](_0x44727b))['map'](_0x1beacd=>Array['from'](_0x1beacd['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x19186e[0x0];return _0x19186e['find'](_0xc98c25=>_0xc98c25['top']-0x3<=this['_activeViewTarget']['y']&&_0xc98c25['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xc98c25['left']-0x3<=this['_activeViewTarget']['x']&&_0xc98c25['right']+0x3>=this['_activeViewTarget']['x'])||_0x19186e[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x15a99c,_0x31bf39,_0x23924c,_0x2d71be)=>{this['activeView']=_0x23924c?this['_getViewForChange'](_0x23924c):null,this['editor']['model']['change'](()=>{const _0x218f52=this['editor']['editing'];_0x2d71be&&(_0x2d71be['data']['isOnRoot']?_0x218f52['view']['change'](_0x4d970e=>{_0x4d970e['removeClass']('ck-revision-history-root--active',_0x218f52['view']['document']['getRoot'](_0x2d71be['rootName']));}):_0x218f52['reconvertMarker']('revision:'+_0x2d71be['id'])),_0x23924c&&(_0x23924c['data']['isOnRoot']?_0x218f52['view']['change'](_0x337be1=>{_0x337be1['addClass']('ck-revision-history-root--active',_0x218f52['view']['document']['getRoot'](_0x23924c['rootName']));}):_0x218f52['reconvertMarker']('revision:'+_0x23924c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x492d5c,_0x2b9442)=>{if(this['activeChange'])return;const _0x3008d8=this['_findChangeIdFromDomTarget'](_0x2b9442['target']),_0x5ce1ff=this['_changeIdToChange']['get'](_0x3008d8);_0x5ce1ff?(this['_activeViewTarget']={'x':_0x2b9442['domEvent']['x'],'y':_0x2b9442['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5ce1ff)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3cdb14,_0x1818ea)=>{const _0x38d6b6=this['_findChangeIdFromDomTarget'](_0x1818ea['target']),_0x1a781a=this['_changeIdToChange']['get'](_0x38d6b6);_0x1a781a?(this['_activeViewTarget']={'x':_0x1818ea['domEvent']['x'],'y':_0x1818ea['domEvent']['y']},_0x1a781a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1a781a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x58f3a2){do{const _0x541aff=_0x58f3a2['getAttribute']('data-change-id');if(_0x541aff)return _0x541aff;_0x58f3a2=_0x58f3a2['parent'];}while(_0x58f3a2);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x79c69c=>{for(const _0x42aa5b of this['editor']['model']['markers'])_0x79c69c['removeMarker'](_0x42aa5b);});}}function downcastSplitMergeMarker$2(_0x19fdd6){const _0x5d2a24=_0x19fdd6['plugins']['get']('RevisionViewer');return(_0x16cef0,_0x666034,_0x5616b8)=>{const _0x26bd6e=_0x666034['markerName']['split'](':')[0x1],_0x4e4bb2=_0x5d2a24['_getChangeFromId'](_0x26bd6e);if(!_0x4e4bb2)return null;const _0x1ceb7d='add'==_0x4e4bb2['type']?'split':'merge';if(!_0x5616b8['consumable']['test'](_0x666034['markerRange'],_0x16cef0['name']))return;const _0xb9e066=_0x666034['markerRange']['getWalker'](),_0x4d55dc=_0x666034['markerRange']['start'],_0x5ab73d=_0x19fdd6['model']['schema'];let _0x3c48e8=null,_0x1e949f=null,_0x15805d=!0x1,_0x6d5d92=!0x1;for(const _0x293353 of _0xb9e066){const _0x4e5cb6=_0x293353['item'];_0x15805d=_0x15805d||_0x5ab73d['isContent'](_0x4e5cb6);const _0x2dd6f7=_0x5616b8['mapper']['toViewElement'](_0x4e5cb6);if(_0x2dd6f7&&_0x2dd6f7['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x293353['type']&&(_0x5ab73d['isBlock'](_0x4e5cb6)&&!_0x5ab73d['isLimit'](_0x4e5cb6)&&(_0x4e5cb6['nextSibling']||_0x4d55dc['isAtEnd']?_0x3c48e8&&_0x3c48e8['parent']==_0x4e5cb6||(_0x3c48e8=_0x4e5cb6,_0x1bc2eb(_0x293353['previousPosition']),_0x6d5d92=!0x0):_0x1e949f=_0x1e949f||_0x293353['previousPosition']));}function _0x1bc2eb(_0xc095b8){const _0x17ad34=_0x5616b8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1ceb7d}),_0x5e1a9d=_0x5616b8['mapper']['toViewPosition'](_0xc095b8);_0x4e4bb2['data']['isSuggestion']&&_0x5616b8['writer']['addClass']('ck-suggestion-marker-'+_0x1ceb7d+'-new',_0x17ad34),_0x5d2a24['activeChange']==_0x4e4bb2&&_0x5616b8['writer']['addClass']('ck-suggestion-marker--active',_0x17ad34),_0x5616b8['writer']['insert'](_0x5e1a9d,_0x17ad34),_0x5616b8['mapper']['bindElementToMarker'](_0x17ad34,_0x666034['markerName']);}_0x15805d||_0x6d5d92||!_0x1e949f||_0x1bc2eb(_0x1e949f);};}function downcastSplitMergeMarkerSuggestion(_0x3b87a0,_0x5736e){return(_0x105cc3,_0x1cac0a,_0x1df166)=>{if(!_0x1df166['consumable']['test'](_0x1cac0a['markerRange'],_0x105cc3['name']))return;const _0x2b3d9f=_0x1cac0a['markerRange']['getWalker'](),_0xcf4009=_0x1cac0a['markerRange']['start'],_0x1e02e3=_0x3b87a0['model']['schema'];let _0x3965ae=null,_0x4e36fe=null,_0x3d0d05=!0x1,_0x2537da=!0x1;for(const _0xa733ce of _0x2b3d9f){const _0x5095c4=_0xa733ce['item'];_0x3d0d05=_0x3d0d05||_0x1e02e3['isContent'](_0x5095c4);const _0x4dc34d=_0x1df166['mapper']['toViewElement'](_0x5095c4);if(_0x4dc34d&&_0x4dc34d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xa733ce['type']&&(_0x1e02e3['isBlock'](_0x5095c4)&&!_0x1e02e3['isLimit'](_0x5095c4)&&(_0x5095c4['nextSibling']||_0xcf4009['isAtEnd']?_0x3965ae&&_0x3965ae['parent']==_0x5095c4||(_0x3965ae=_0x5095c4,_0x2dc230(_0xa733ce['previousPosition']),_0x2537da=!0x0):_0x4e36fe=_0x4e36fe||_0xa733ce['previousPosition']));}function _0x2dc230(_0x74f568){const _0xceebb3=_0x1df166['mapper']['toViewPosition'](_0x74f568),_0x356d4b=_0x1df166['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5736e});_0x1df166['writer']['insert'](_0xceebb3,_0x356d4b),_0x1df166['mapper']['bindElementToMarker'](_0x356d4b,_0x1cac0a['markerName']);}_0x3d0d05||_0x2537da||!_0x4e36fe||_0x2dc230(_0x4e36fe);};}class RestoreRevisionCommand extends _0xa280c5{constructor(_0x8f1071){super(_0x8f1071);const _0x1cb880=_0x8f1071['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['listenTo'](_0x1cb880,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1cb880,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x229af2=this['editor'],_0x2d4848=_0x229af2['plugins']['get'](RevisionViewer),_0x500532=_0x2d4848['isReady']?_0x2d4848['diff']['newRevisionId']:null;_0x229af2['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x500532);}['refresh'](){const {isReady:_0xf4a0df,isEnabled:_0x5c8fe5,repository:_0x25b190,diff:_0xe65e58}=this['editor']['plugins']['get'](RevisionViewer),_0x204e7a=_0xe65e58&&_0x25b190['getLaterVisibleRevision'](_0xe65e58['newRevisionId']);this['isEnabled']=_0xf4a0df&&_0x5c8fe5&&Boolean(_0x204e7a);}}class ShowChangeCommand extends _0xa280c5{constructor(_0x223440,{direction:_0x3a5a88}){super(_0x223440);const _0x744e0d=_0x223440['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['_step']='forward'===_0x3a5a88?0x1:-0x1,this['listenTo'](_0x744e0d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x744e0d,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x744e0d,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x393e63=this['editor'],_0x5d2813=_0x393e63['plugins']['get'](RevisionViewer),{isNavigationMode:_0x4209ed,currentChangeNumber:_0x321afe}=_0x5d2813;let _0x1b4fe5;if(_0x5d2813['activeChange']=_0x4209ed?_0x5d2813['diff']['changes']['get'](_0x321afe+this['_step']):_0x5d2813['diff']['changes']['first'],_0x5d2813['activeChange']['data']['isOnRoot'])_0x1b4fe5=_0x393e63['editing']['view']['getDomRoot'](_0x5d2813['activeChange']['rootName']);else{const _0x24b0ee=_0x393e63['model']['markers']['get']('revision:'+_0x5d2813['activeChange']['id']);_0x1b4fe5=getMarkerDomElement(_0x393e63['editing'],_0x24b0ee);}scrollViewportToShowTarget({'target':_0x1b4fe5,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x150b0a,currentChangeNumber:_0xbf1d2c,numberOfChanges:_0x2ca45e,isReady:_0x579811,isEnabled:_0x49ef98}=this['editor']['plugins']['get'](RevisionViewer);this['isEnabled']=!!(_0x49ef98&&_0x579811&&_0x2ca45e)&&(!_0x150b0a||(0x1===this['_step']?_0xbf1d2c<_0x2ca45e-0x1:_0xbf1d2c>0x0));}}var arrowUpIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a',arrowDownIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a';class ChangesNavigationView extends View{constructor(_0x49bb49){super(_0x49bb49);const _0x5ec6a4=this['bindTemplate'],_0x1174ff=new ButtonView(_0x49bb49),_0x5b6b56=new ButtonView(_0x49bb49);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x3daf08,_0xa8a629)=>_0x3daf08&&_0xa8a629>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4e5762,_0x5179bf,_0x1e85f8,_0x123534)=>{if(!_0x4e5762)return getTranslation$5(_0x49bb49,'Loading...');if(!_0x1e85f8)return getTranslation$5(_0x49bb49,'No\x20changes');const _0x495f89=getTranslation$5(_0x49bb49,'NUMBER_OF_CHANGES',_0x1e85f8);return _0x123534?getTranslation$5(_0x49bb49,'X_OF_Y_CHANGES',[_0x5179bf+0x1,_0x1e85f8]):_0x495f89;}),_0x1174ff['set']({'label':getTranslation$5(_0x49bb49,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':arrowUpIcon}),_0x5b6b56['set']({'label':getTranslation$5(_0x49bb49,'Show\x20next\x20change'),'tooltip':!0x0,'icon':arrowDownIcon}),_0x1174ff['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5b6b56['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1174ff['on']('execute',()=>this['fire']('execute','backward')),_0x5b6b56['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x5ec6a4['if']('_isStatusLabelVisible','ck-hidden',_0x231fe2=>!_0x231fe2)]},'children':[{'text':_0x5ec6a4['to']('isNavigationMode',_0x41e81f=>_0x41e81f?getTranslation$5(_0x49bb49,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$5(_0x49bb49,'Total')+':\x20')}]},{'text':_0x5ec6a4['to']('_statusText')}]},new ToolbarSeparatorView(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1174ff,_0x5b6b56]}]});}}const OVERLAY_CSS_CLASS='ck-editor__editable__loading-overlay';class RevisionViewerLoadingOverlay extends Plugin{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x281963=this['editor']['editing']['view'];_0x281963['change'](_0x1e69da=>{for(const _0x55f1b9 of _0x281963['document']['roots'])_0x1e69da['addClass'](OVERLAY_CSS_CLASS,_0x55f1b9);});}['hide'](){const _0x5c8a95=this['editor']['editing']['view'];_0x5c8a95['change'](_0x261286=>{for(const _0x5d4e13 of _0x5c8a95['document']['roots'])_0x261286['removeClass'](OVERLAY_CSS_CLASS,_0x5d4e13);});}}class RevisionViewerUI extends Plugin{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer,RevisionViewerLoadingOverlay];}['init'](){const _0x24ff38=this['editor'],_0x1cac4d=_0x24ff38['plugins']['get'](RevisionViewer),_0x59cbe0=_0x24ff38['plugins']['get'](RevisionViewerLoadingOverlay);_0x24ff38['ui']['componentFactory']['add']('exitToEditing',_0x588c74=>{const _0x19e98a=new ButtonView(_0x588c74);return _0x19e98a['set']({'label':getTranslation$5(_0x588c74,'Back\x20to\x20editing'),'icon':_0x40ee59['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x19e98a,'execute',()=>{_0x24ff38['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x19e98a;}),_0x24ff38['ui']['componentFactory']['add']('restoreRevision',_0x5c50c0=>{const _0x57fc98=new ButtonView(_0x5c50c0);return _0x57fc98['set']({'label':getTranslation$5(_0x5c50c0,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x57fc98['bind']('isEnabled')['to'](_0x24ff38['commands']['get']('restoreRevision')),this['listenTo'](_0x57fc98,'execute',()=>_0x24ff38['execute']('restoreRevision')),_0x57fc98;}),_0x24ff38['ui']['componentFactory']['add']('changesNavigation',_0x225326=>{const _0x294723=new ChangesNavigationView(_0x225326),_0x30dbef=_0x24ff38['commands']['get']('showPreviousChange'),_0x3f373e=_0x24ff38['commands']['get']('showNextChange');return _0x294723['bind']('isBackwardNavigationEnabled')['to'](_0x30dbef,'isEnabled'),_0x294723['bind']('isForwardNavigationEnabled')['to'](_0x3f373e,'isEnabled'),_0x294723['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1cac4d),this['listenTo'](_0x294723,'execute',(_0x4ac0eb,_0x848e54)=>{_0x24ff38['execute']('forward'===_0x848e54?'showNextChange':'showPreviousChange');}),_0x294723;}),_0x59cbe0['show'](),_0x1cac4d['on']('change:isReady',(_0x51cc7c,_0x452341,_0x1de147)=>{_0x1de147?_0x59cbe0['hide']():_0x59cbe0['show']();});}}class RevisionNameView extends LabeledFieldView{constructor(_0x116b17,_0x1da1a1){super(_0x116b17,_0x1da1a1),this['_resizeObserver']=null;const _0x4c7270=this['bindTemplate'];this['set']({'label':getTranslation$5(_0x116b17,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$5(_0x116b17,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4c7270['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x103ceb(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x31febe=this['fieldView']['element'];this['_tooltipString']=_0x31febe['scrollWidth']>_0x31febe['clientWidth']&&_0x31febe['value']||'';}}var userIcon='<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a';class RevisionAuthorView extends View{constructor(_0x2cbeb2,_0x1d4436,_0x121953){super(_0x2cbeb2);const _0x333318=new IconView();_0x333318['set']({'content':userIcon,'viewBox':'0\x200\x2011\x2010'});const _0x4eea7e=['ck','ck-revision-history-sidebar__revision-author'];_0x121953&&_0x4eea7e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5ebed0=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$5(_0x2cbeb2,_0x121953?'Revision\x20creator':'Revision\x20author')},'children':[_0x333318,_0x1d4436['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4eea7e},'children':_0x5ebed0});}}function dateToPrettyFormat(_0x354408,_0x2517b8){return _0x2517b8['toLocaleDateString'](_0x354408,{'month':'long','day':'numeric'})+',\x20'+_0x2517b8['toLocaleTimeString'](_0x354408,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0xc2e03a,_0x402807){const _0x5ce537=_0xc2e03a['bindTemplate'],_0x4412c2=_0xc2e03a['locale'],_0x2de595=createDropdown(_0x4412c2);_0x2de595['panelPosition']='sw';const _0x288e02=_createDropdownOptions(_0xc2e03a,_0x402807);return _0xc2e03a['bind']('isActionsDropdownOpen')['to'](_0x2de595,'isOpen'),_0x2de595['buttonView']['set']({'label':getTranslation$5(_0x4412c2,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x40ee59['threeVerticalDots']}),_0x2de595['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5ce537['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5ce537['to'](_0x899aa8=>_0x899aa8['stopPropagation']())}}),_0x2de595['on']('execute',_0xeb312a=>{_0xc2e03a['isReady']&&'function'==typeof _0xeb312a['source']['_action']&&_0xeb312a['source']['_action'](_0xc2e03a);}),addListToDropdown(_0x2de595,_0x288e02,{'role':'menu'}),_0x2de595['listenTo'](_0xc2e03a,'change:isActionsDropdownOpen',(_0x11ee83,_0x571078,_0x3e3c61)=>{if(_0x3e3c61)for(const _0x376625 of _0x2de595['listView']['items']){const _0x530ce7=_0x376625['children']['first'],_0x5c89c9=_0x402807['find'](_0x121339=>_0x121339['action']===_0x530ce7['_action'])['isVisible'];_0x376625['isVisible']=void 0x0===_0x5c89c9||_0x5c89c9(_0xc2e03a);}}),_0x2de595;}function _createDropdownOptions(_0x3c49f5,_0x37114c){const _0x5f5b97=_getLocalizedOptions(_0x3c49f5,_0x37114c),_0x7ff219=new Collection();for(const _0x59f33c of _0x5f5b97){const _0x4dd9f7={'type':'button','model':new ViewModel({'label':_0x59f33c['name'],'class':_0x59f33c['class'],'withText':!0x0,'role':'menuitem','_action':_0x59f33c['action']})};_0x4dd9f7['model']['bind']('isEnabled')['to'](_0x3c49f5,'isActionsDropdownOpen',_0x514697=>'function'!=typeof _0x59f33c['isEnabled']||(!_0x514697||_0x59f33c['isEnabled'](_0x3c49f5))),_0x7ff219['add'](_0x4dd9f7);}return _0x7ff219;}function _getLocalizedOptions(_0x576f28,_0x67957a){const _0x5de824=_0x576f28['locale'],_0x1ae7ad={'Compare\x20against\x20selected':getTranslation$5(_0x5de824,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$5(_0x5de824,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$5(_0x5de824,'Restore\x20this\x20revision')};return _0x67957a['map'](_0x4db265=>{const _0xbf14c5=_0x1ae7ad[_0x4db265['name']];return _0xbf14c5&&_0xbf14c5!==_0x4db265['name']&&(_0x4db265['name']=_0xbf14c5),_0x4db265;});}class RevisionView extends/* #__PURE__ -- @preserve */
ConfirmMixin(View){constructor(_0x1ebcb9,_0x23d72b,_0x325e73,_0x3e2f8c){super(_0x1ebcb9);const _0x18dbf=this['bindTemplate'],_0x749310=getAuthorViews(_0x1ebcb9,_0x23d72b);this['id']=_0x23d72b['id'],this['_revision']=_0x23d72b,this['_requireRevisionName']=_0x3e2f8c,this['bind']('name','createdAt')['to'](_0x23d72b),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x294d19=>dateToPrettyFormat(_0x1ebcb9['uiLanguage'],_0x294d19)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new RevisionNameView(_0x1ebcb9,createLabeledInputText),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x331f55=>_0x331f55||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3daef0,_0x2be424)=>_0x3daef0&&_0x2be424),this['revisionActionsView']=_0x325e73&&_0x325e73['length']?createActionsDropdownView(this,_0x325e73):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x18dbf['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x18dbf['if']('isEnabled','ck-disabled',_0x3bb1a3=>!_0x3bb1a3),_0x18dbf['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x18dbf['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x18dbf['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x18dbf['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x749310}]},this['revisionActionsView']],'on':{'click':_0x18dbf['to'](_0x2b9e1a=>{_0x2b9e1a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x26b628=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x26b628,'change',()=>{this['_requireRevisionName']&&!_0x26b628['value']||this['fire']('setName',{'id':this['id'],'name':_0x26b628['value']}),_0x26b628['value']||(_0x26b628['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function getAuthorViews(_0x136363,_0x4bd797){const _0x25faf9=Array['from'](_0x4bd797['authors'])['filter'](_0x18e614=>_0x18e614!=_0x4bd797['creator']);return _0x4bd797['creator']&&_0x25faf9['unshift'](_0x4bd797['creator']),_0x25faf9['map'](_0x309df9=>new RevisionAuthorView(_0x136363,_0x309df9,_0x309df9==_0x4bd797['creator']));}function getDateTimePeriodInfo(_0x3472e1,_0x4789b0){const _0x1c5334=DateTime['fromJSDate'](_0x3472e1)['setLocale'](_0x4789b0),_0x1b3747=DateTime['local'](),_0x1b16d=_0x1b3747['minus']({'days':0x1})['startOf']('day');let _0x15efdf,_0x44851b;return _0x1c5334['hasSame'](_0x1b3747,'day')?(_0x15efdf=_0x1c5334['startOf']('day')['toJSDate'](),_0x44851b=_0x1c5334['toRelativeCalendar']()):_0x1c5334['hasSame'](_0x1b16d,'day')?(_0x15efdf=_0x1b16d['toJSDate'](),_0x44851b=_0x1c5334['toRelativeCalendar']()):_0x1c5334['hasSame'](_0x1b3747,'week')?(_0x15efdf=_0x1c5334['startOf']('week')['toJSDate'](),_0x44851b=_0x1c5334['weekdayLong']||''):_0x1c5334['hasSame'](_0x1b3747,'year')?(_0x15efdf=_0x1c5334['startOf']('month')['toJSDate'](),_0x44851b=_0x1c5334['monthLong']||''):(_0x15efdf=_0x1c5334['startOf']('year')['toJSDate'](),_0x44851b=String(_0x1c5334['year'])),{'startDate':_0x15efdf,'localizedPeriodName':_0x44851b};}class RevisionsSidebarTimePeriodView extends View{constructor(_0x2f0be7,_0x1b5447,_0x67afbf,_0x2af6ba){super(_0x2f0be7);const _0x3a1af2=getDateTimePeriodInfo(_0x1b5447,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1b5447,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x67afbf,this['_requireRevisionName']=_0x2af6ba,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x3a1af2}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x360940){const _0x5acfb0=new RevisionView(this['locale'],_0x360940,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5acfb0);}['removeRevision'](_0x562fa8){const _0x27338e=this['revisionViews']['find'](_0x1f4778=>_0x1f4778['id']===_0x562fa8['id']);this['revisionViews']['remove'](_0x27338e);}}class RevisionsSidebarHeaderView extends View{constructor(_0x249d89){super(_0x249d89);const _0xbdd31d=new IconView();_0xbdd31d['content']=_0x40ee59['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xbdd31d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$5(_0x249d89,'Revision\x20history')]}]});}}class RevisionsSidebarView extends View{constructor(_0x18cd07,_0x30698e,_0x45da2b,_0x50845b){super(_0x18cd07);const _0x387cd0=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x30698e,this['_revisionActions']=_0x45da2b,this['_requireRevisionName']=_0x50845b,this['on']('select',(_0x59b74c,_0x2bd042)=>{this['fire']('revisionSelected',_0x2bd042);}),this['on']('setName',(_0x1fa451,_0x314b87)=>{this['fire']('revisionSetName',_0x314b87);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new RevisionsSidebarHeaderView(_0x18cd07),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x387cd0['if']('isEnabled','ck-disabled',_0x3126ba=>!_0x3126ba)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3a627c of this['_revisions'])this['_addRevision'](_0x3a627c);this['_revisions']['on']('add',(_0x5f028f,_0x36a880)=>{this['_addRevision'](_0x36a880);}),this['_revisions']['on']('remove',(_0x56cec0,_0xebd86c)=>{this['_removeRevision'](_0xebd86c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x20ae72=>_0x20ae72['revisionViews']['map'](_0x5f4d1c=>_0x5f4d1c))['flat']();}['selectRevision'](_0x2d7965){for(const _0x4e5fdf of this['revisionViews'])_0x2d7965&&_0x2d7965['id']===_0x4e5fdf['id']?_0x4e5fdf['select']():_0x4e5fdf['deselect']();}['highlightRevisions'](_0x5d5995){for(const _0x2f047f of this['revisionViews'])_0x5d5995['some'](({id:_0x1cc647})=>_0x1cc647===_0x2f047f['id'])?_0x2f047f['highlight']():_0x2f047f['unhighlight']();}['_addRevision'](_0x22742a){const _0x237e3e=getDateTimePeriodInfo(_0x22742a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x51d224=this['timePeriodViews']['get'](0x0);_0x51d224&&_0x51d224['startDate']['getTime']()===_0x237e3e['getTime']()||(_0x51d224=new RevisionsSidebarTimePeriodView(this['locale'],_0x237e3e,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x51d224)),_0x51d224['addRevision'](_0x22742a);}['_removeRevision'](_0x1dace9){const _0x13a854=getDateTimePeriodInfo(_0x1dace9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x13a854)['removeRevision'](_0x1dace9);}['_getTimePeriodViewByStartDate'](_0x12f754){return this['timePeriodViews']['find'](_0x5ef441=>_0x5ef441['startDate']['getTime']()===_0x12f754['getTime']());}}class RevisionsSidebar extends Plugin{static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer];}constructor(_0xa76479){super(_0xa76479),this['_revisionViewer']=_0xa76479['plugins']['get'](RevisionViewer),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x21d002=this['_revisionsRepository']['_revisions'],_0x411b93=this['_createRevisionActions'](),_0x460d8e=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new RevisionsSidebarView(this['editor']['locale'],_0x21d002,_0x411b93,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x5ef546,_0x4c60b3)=>{_0x4c60b3['revisionViews']['on']('add',(_0x231cd0,_0xe1bb3e)=>{_0xe1bb3e['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x460d8e['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4c88b6=this['_revisionsRepository']['getRevision'](0x0);if(_0x4c88b6){const _0x59767a=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4c88b6['id']);this['_revisionViewer']['compare'](_0x4c88b6,_0x59767a);}}['_handleRevisionSelected'](_0x21a604,_0x19dbc6){const _0x51013f=this['_revisionsRepository']['getRevision'](_0x19dbc6['id']),_0x19e335=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x51013f['id']);this['_revisionViewer']['compare'](_0x51013f,_0x19e335);}['_handleRevisionSetName'](_0xda7c85,_0x17655d){this['_revisionsRepository']['getRevision'](_0x17655d['id'])['setName'](_0x17655d['name']);}['_handleDiffChange'](_0x303995,_0x5a8360,_0x95fc59){const _0x505181=this['_revisionsRepository']['getRevisionsInDiff'](_0x95fc59);_0x505181['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x505181),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x505181[0x0]));}['_createRevisionActions'](){const _0x24f6ba=this['editor'],_0x1c9cf0=RevisionsSidebar['availableRevisionActions'],_0x34acf0=_0x24f6ba['config']['get']('revisionHistory.revisionActions')||RevisionsSidebar['defaultRevisionActions'];if(_0x34acf0['length'])return _0x34acf0['map'](_0x235c54=>{const _0x2b9ed1='string'==typeof _0x235c54?Object['assign']({},_0x1c9cf0[_0x235c54]):_0x235c54;return _0x2b9ed1['action']=_0x2b9ed1['action']['bind'](this,_0x24f6ba),_0x2b9ed1['isVisible']&&(_0x2b9ed1['isVisible']=_0x2b9ed1['isVisible']['bind'](this,_0x24f6ba)),_0x2b9ed1;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4637cd},_0x267264)=>{const _0x369560=_0x4637cd['get'](RevisionViewer),_0xa83562=_0x369560['repository'];let _0x517ca3=_0x369560['diff']['newRevisionId'],_0x37a880=_0x267264['id'];_0xa83562['getIndex'](_0x517ca3)>_0xa83562['getIndex'](_0x37a880)&&([_0x517ca3,_0x37a880]=[_0x37a880,_0x517ca3]),_0x369560['compare'](_0x517ca3,_0x37a880);},'isVisible':({plugins:_0x12bdc5},_0x3594a8)=>{const _0x45ca28=_0x12bdc5['get'](RevisionViewer);return!(_0x45ca28['repository']['getRevisionsInDiff'](_0x45ca28['diff'])['length']>0x2)&&!_0x3594a8['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x58ddd0,{id:_0x4f9afc})=>{_0x58ddd0['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4f9afc);},'isVisible':({plugins:_0x44c863},_0xbd609c)=>!!_0x44c863['get'](RevisionViewer)['repository']['getLaterVisibleRevision'](_0xbd609c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xb81a4c},{id:_0x4ab777,revisionNameView:_0x59cad9})=>{const _0x108765=_0xb81a4c['get'](RevisionViewer),_0x565265=_0x108765['repository']['getEarlierVisibleRevision'](_0x4ab777);_0x108765['compare'](_0x4ab777,_0x565265),_0x59cad9['focus'](),_0x59cad9['fieldView']['select']();}}};}RevisionsSidebar['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'],RevisionsSidebar['availableRevisionActions']=availableRevisionActions();class RevisionViewerEditorUI extends EditorUI{get['view'](){return this['_view'];}constructor(_0x2a0392,_0x22e48f){super(_0x2a0392),this['_view']=_0x22e48f,this['_toolbarConfig']=normalizeToolbarConfig(_0x2a0392['config']['get']('toolbar')),this['_elementReplacer']=new ElementReplacer();}get['element'](){return this['view']['element'];}['init'](_0x5a666b){const _0x125aab=this['editor'],_0x4f78fd=this['view'],_0x31777f=_0x125aab['editing']['view'],_0x1bf153=_0x4f78fd['editable'],_0x164da0=_0x31777f['document']['getRoot']();_0x1bf153['name']=_0x164da0['rootName'],_0x4f78fd['render']();const _0x276daf=_0x1bf153['element'];this['setEditableElement'](_0x1bf153['name'],_0x276daf),_0x4f78fd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x31777f['attachDomRoot'](_0x276daf),this['_elementReplacer']['replace'](_0x5a666b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x57375e=this['view'],_0x679445=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x679445['detachDomRoot'](_0x57375e['editable']['name']),_0x57375e['destroy']();}['_initToolbar'](){const _0x8adae9=this['view'];_0x8adae9['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x8adae9['stickyPanel']['limiterElement']=_0x8adae9['element'],_0x8adae9['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x207202})=>_0x207202),_0x8adae9['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x8adae9['toolbar']);}}class RevisionViewerEditorUIView extends BoxedEditorUIView{get['editable'](){return this['_editable'];}constructor(_0x33465b,_0x58be1a,_0x3d77fe={}){super(_0x33465b),this['stickyPanel']=new StickyPanelView(_0x33465b),this['toolbar']=new ToolbarView(_0x33465b,{'shouldGroupWhenFull':_0x3d77fe['shouldToolbarGroupWhenFull']}),this['_editable']=new InlineEditableUIView(_0x33465b,_0x58be1a);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
ElementApiMixin(Editor){get['ui'](){return this['_ui'];}constructor(_0x2d5e03,_0x37cc43){super(_0x37cc43),this['sourceElement']=_0x2d5e03,this['model']['document']['createRoot']();const _0x4cf914=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x4cf914);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x52da91,_0x3448ac){const _0x5189e6=new this(_0x52da91,_0x3448ac);return await _0x5189e6['initPlugins'](),await _0x5189e6['ui']['init'](_0x52da91),await _0x5189e6['data']['init'](_0x5189e6['config']['get']('initialData')||''),_0x5189e6['fire']('ready'),_0x5189e6;}}const blackListedPlugins$1=['RevisionHistoryUI','RestrictedEditingMode'];class RevisionViewerIntegration extends Plugin{static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14c890){function _0x5b8036(_0x50e57f){return _0x50e57f['map'](_0x183ce3=>String['fromCharCode'](_0x183ce3))['join']('');}super(_0x14c890),this['result']='end',_0x14c890[_0x5b8036([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b8036([0x76,0x69,0x65,0x77])][_0x5b8036([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b8036([0x61,0x75,0x74,0x6f]),_0x14c890[_0x5b8036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5b8036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b8036([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5b8036([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5b8036([0x6f,0x6b])});}}class RevisionHistory extends Plugin{static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker,RevisionHistoryUI];}constructor(_0x29689e){if(super(_0x29689e),!this['editor']['config']['get']('revisionHistory'))throw new CKEditorError('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x3cee87=>this['_showRevisionViewer']({..._0x3cee87,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x33d9ea=>this['_closeRevisionViewer'](_0x33d9ea)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4196ee=>this['_restoreRevision'](_0x4196ee)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4467c3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4467c3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x594218){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x594218);}['getRevision'](_0x2955c9){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x2955c9);}['getRevisions'](_0x58bc21){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x58bc21||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xd28e76=this['editor'],_0x221162=sanitizeEditorConfig(_0xd28e76,blackListedPlugins$1),_0x1e1ba8=_0xd28e76['plugins']['get']('RevisionTracker'),_0x5b289c=_0xd28e76['plugins']['get']('Users')['users'];return _0x221162['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x221162['lazyRoots'],(_0x221162['plugins']['push'](RevisionViewerIntegration,RevisionViewer,RevisionViewerUI,class extends Plugin{static get['requires'](){return[RevisionViewer,'Users'];}['init'](){const _0x317e89=this['editor']['plugins']['get']('Users');for(const _0x19d453 of _0x5b289c)_0x19d453['isAnonymous']||_0x317e89['getUser'](_0x19d453['id'])||_0x317e89['addUser'](_0x19d453);const _0x2897ee=_0x1e1ba8['repository']['getRevisions']();let _0x327da1=null;const _0x2611df=this['editor']['plugins']['get']('RevisionViewer');_0x2611df['adapter']=_0x1e1ba8['adapter'],_0x2611df['bind']('isEnabled')['to'](_0x1e1ba8),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xd28e76,'isReadOnly',_0x4b85c7=>!_0x4b85c7);for(const _0x199a9e of _0x2897ee){const _0x1198af=null===_0x199a9e['creator'];if(_0x1198af&&_0x199a9e['toVersion']===_0x199a9e['fromVersion'])continue;const _0x14c81b=_0x199a9e['toJSON']();_0x2611df['addRevisionData'](_0x14c81b,(_0x4697a5,_0x510bbf,_0x156112)=>{if(_0x1198af){if(_0x327da1)_0x327da1['_update'](_0x4697a5,_0x510bbf);else{if(!_0x510bbf){const _0x23fe8b=_0x156112['toJSON']();_0x23fe8b['id']=uid(),_0x1e1ba8['saveRevision'](_0x23fe8b,_0x156112['toVersion'])['then'](_0x481172=>{_0x327da1=_0x481172;});}}}else _0x199a9e['_update'](_0x4697a5,_0x510bbf);});}}},RevisionsSidebar),_0x221162);}['_enhanceShowRevisionViewerCallback'](){const _0x5de2b4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x13590c=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x64a566=this['editor']['plugins']['get']('Autosave');await _0x64a566['save']();}else await _0x13590c['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x9be7f0=this['editor']['plugins']['get']('Dialog');_0x9be7f0['isOpen']&&_0x9be7f0['hide']();}const _0x497d4c=this['_getRevisionViewerEditorConfig']();return _0x5de2b4(_0x497d4c)['then'](_0xd3c36d=>{return(this['_viewerEditor']=_0xd3c36d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xd3c36d;})['catch'](_0xe5f463=>(console['error'](_0xe5f463),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x18fbfe=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x18fbfe(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x27d96b=this['editor']['plugins']['get']('Annotations');_0x27d96b['refreshVisibility'](),_0x27d96b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x49e683){const _0x3cf41a=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3e6153=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x170324=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x170324,_0x49e683)['then'](_0x40c132=>(_0x3e6153['style']['display']='block',_0x3cf41a['style']['display']='none',_0x40c132));}['_closeRevisionViewer'](_0x4defe6){const _0x4aa037=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4aa037['style']['display']='',_0x4defe6['destroy']();}async['_restoreRevision'](_0x101eab){const _0x42eac3=this['editor'],_0x552ec0=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xa11d0e=_0x42eac3['plugins']['get']('RevisionTracker'),_0x1f5fbd=_0x552ec0['repository']['getRevision'](_0x101eab);let _0x4d73f3,_0x41c24d,_0x4da42b;try{_0x4d73f3=await _0x552ec0['getRevisionData'](_0x1f5fbd),_0x41c24d=await _0x552ec0['getRevisionRootsAttributes'](_0x1f5fbd);}catch(_0xfaa0a){return void console['error'](_0xfaa0a);}_0x42eac3['model']['change'](_0x480f83=>{for(const _0x3db01c of Array['from'](_0x42eac3['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x480f83['removeMarker'](_0x3db01c);}),_0x552ec0['isReady']=!0x1,_0x42eac3['model']['enqueueChange'](_0x495179=>{_0x495179['setSelection'](null),_0x495179['removeSelectionAttribute'](_0x42eac3['model']['document']['selection']['getAttributeKeys']());const _0x21cdfa=Object['keys'](_0x4d73f3);for(const _0x2d95c2 of _0x42eac3['model']['document']['roots'])'$graveyard'!=_0x2d95c2['rootName']&&_0x2d95c2['isAttached']()&&!_0x21cdfa['includes'](_0x2d95c2['rootName'])&&_0x495179['detachRoot'](_0x2d95c2);for(const _0x4a25c8 of _0x21cdfa){let _0x1df0e2=_0x42eac3['model']['document']['getRoot'](_0x4a25c8);_0x1df0e2&&_0x1df0e2['isAttached']()||(_0x1df0e2=_0x495179['addRoot'](_0x4a25c8));const _0x17d67b=_0x41c24d[_0x4a25c8],_0x3b3237=Object['keys'](_0x17d67b),_0xc2bc42=_0x4d73f3[_0x4a25c8];for(const _0x945d4f of _0x1df0e2['getAttributeKeys']())_0x3b3237['includes'](_0x945d4f)||_0x495179['removeAttribute'](_0x945d4f,_0x1df0e2);for(const _0x11841c of _0x3b3237)_0x495179['setAttribute'](_0x11841c,_0x41c24d[_0x4a25c8][_0x11841c],_0x1df0e2);_0x495179['remove'](_0x495179['createRangeIn'](_0x1df0e2)),_0x495179['insert'](_0x42eac3['data']['parse'](_0xc2bc42,_0x1df0e2),_0x1df0e2,0x0);}});const _0x27e4f0=getTranslation$5(_0x42eac3['locale'],'Restored');if(_0x1f5fbd['name'])_0x4da42b=-0x1==_0x1f5fbd['name']['indexOf'](_0x27e4f0)?_0x27e4f0+':\x20'+_0x1f5fbd['name']:_0x1f5fbd['name'];else _0x4da42b=_0x27e4f0+':\x20'+(_0x1f5fbd['createdAt']['toLocaleDateString'](_0x42eac3['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1f5fbd['createdAt']['toLocaleTimeString'](_0x42eac3['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xa11d0e['saveRevision']({'name':_0x4da42b}),_0x552ec0['isReady']=!0x0,_0x42eac3['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}function getTranslation$4(_0x45acd5,_0x34ce3a){const t=_0x45acd5['t'],_0x49dbed=_0x45acd5['t'];switch(_0x34ce3a){case'AI\x20Assistant':return _0x49dbed('AI\x20Assistant');case'Block\x20quote':return _0x49dbed('Block\x20quote');case'Bulleted\x20list':return _0x49dbed('Bulleted\x20list');case'Insert\x20code\x20block':return _0x49dbed('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x49dbed('Open\x20file\x20manager');case'Insert\x20image':return _0x49dbed('Insert\x20image');case'Heading\x201':return _0x49dbed('Heading\x201');case'Heading\x202':return _0x49dbed('Heading\x202');case'Heading\x203':return _0x49dbed('Heading\x203');case'Heading\x204':return _0x49dbed('Heading\x204');case'Heading\x205':return _0x49dbed('Heading\x205');case'Heading\x206':return _0x49dbed('Heading\x206');case'Horizontal\x20line':return _0x49dbed('Horizontal\x20line');case'Insert\x20HTML':return _0x49dbed('Insert\x20HTML');case'Increase\x20indent':return _0x49dbed('Increase\x20indent');case'Insert\x20table':return _0x49dbed('Insert\x20table');case'Table\x20of\x20contents':return _0x49dbed('Table\x20of\x20contents');case'Numbered\x20list':return _0x49dbed('Numbered\x20list');case'Decrease\x20indent':return _0x49dbed('Decrease\x20indent');case'Paragraph':return _0x49dbed('Paragraph');case'To-do\x20list':return _0x49dbed('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');default:return _0x34ce3a;}}class SlashCommandConfig extends Plugin{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50a6c5){super(_0x50a6c5),this['_allowedCommands']=null;}['afterInit'](){const _0x52053d=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x2be845=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x4a3f8=this['getDefaultCommands']()['filter'](_0x7e59a=>!_0x2be845['includes'](_0x7e59a['id']));let _0x14473f=_0x4a3f8['filter'](_0x2fed64=>!_0x52053d['includes'](_0x2fed64['commandName']));const _0x5b518f=this['editor']['config']['get']('slashCommand.extraCommands');_0x5b518f&&_0x5b518f['length']&&(_0x14473f=_0x14473f['concat'](_0x5b518f));const _0x1e093a=this['editor']['config']['get']('template.definitions');_0x1e093a&&_0x1e093a['length']&&(_0x14473f=_0x14473f['concat'](mapTemplates(_0x1e093a)));const _0x1a0807=this['editor']['config']['get']('style.definitions');_0x1a0807&&_0x1a0807['length']&&(_0x14473f=_0x14473f['concat'](mapStyles(_0x1a0807)));const _0x408943=_0x14473f['filter'](_0x4487ad=>!_0x4487ad['commandName']||void 0x0!==this['editor']['commands']['get'](_0x4487ad['commandName'])),_0x2a6c5b=[];for(const _0x36db27 of _0x408943)_0x2a6c5b['push']({'id':_0x36db27['id'],'commandName':_0x36db27['commandName'],'title':'function'==typeof _0x36db27['title']?_0x36db27['title'](this['editor']):_0x36db27['title'],'description':_0x36db27['description'],'icon':_0x36db27['icon'],'isIconColorInherited':_0x36db27['isIconColorInherited'],'aliases':_0x36db27['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x36db27),'execute':()=>this['_proxyExecute'](_0x36db27)});this['_allowedCommands']=_0x2a6c5b['sort'](compareCommands),checkLicense$4(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x5aebc4=_0xf6ecb4=>getTranslation$4(this['editor']['locale'],_0xf6ecb4);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':icons['robotPencil'],'title':_0x5aebc4('AI\x20Assistant'),'description':_0x5aebc4('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x16e684=>{setTimeout(()=>_0x16e684['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x40ee59['quote'],'title':_0x5aebc4('Block\x20quote'),'description':_0x5aebc4('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x40ee59['bulletedList'],'title':_0x5aebc4('Bulleted\x20list'),'description':_0x5aebc4('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x40ee59['codeBlock'],'title':_0x5aebc4('Insert\x20code\x20block'),'description':_0x5aebc4('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x40ee59['browseFiles'],'title':_0x5aebc4('Open\x20file\x20manager'),'description':_0x5aebc4('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x40ee59['browseFiles'],'title':_0x5aebc4('Insert\x20image'),'description':_0x5aebc4('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x40ee59['emoji'],'title':_0x5aebc4('Emoji'),'description':_0x5aebc4('Insert\x20an\x20emoji'),'execute':_0x168685=>{setTimeout(()=>_0x168685['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x40ee59['heading1'],'title':_0x5aebc4('Heading\x201'),'description':_0x5aebc4('Create\x20a\x20heading\x20level\x201'),'execute':_0x4f38c1=>{_0x4f38c1['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x40ee59['heading2'],'title':_0x5aebc4('Heading\x202'),'description':_0x5aebc4('Create\x20a\x20heading\x20level\x202'),'execute':_0x12c99e=>{_0x12c99e['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x40ee59['heading3'],'title':_0x5aebc4('Heading\x203'),'description':_0x5aebc4('Create\x20a\x20heading\x20level\x203'),'execute':_0x5883db=>{_0x5883db['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x40ee59['heading4'],'title':_0x5aebc4('Heading\x204'),'description':_0x5aebc4('Create\x20a\x20heading\x20level\x204'),'execute':_0x5d1936=>{_0x5d1936['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x40ee59['heading5'],'title':_0x5aebc4('Heading\x205'),'description':_0x5aebc4('Create\x20a\x20heading\x20level\x205'),'execute':_0x368e97=>{_0x368e97['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x40ee59['heading6'],'title':_0x5aebc4('Heading\x206'),'description':_0x5aebc4('Create\x20a\x20heading\x20level\x206'),'execute':_0x19aa20=>{_0x19aa20['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x40ee59['horizontalLine'],'title':_0x5aebc4('Horizontal\x20line'),'description':_0x5aebc4('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x40ee59['html'],'title':_0x5aebc4('Insert\x20HTML'),'description':_0x5aebc4('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x40ee59['indent'],'title':_0x5aebc4('Increase\x20indent'),'description':_0x5aebc4('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x5aebc4('Insert\x20Mermaid\x20diagram'),'description':_0x5aebc4('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x40ee59['table'],'title':_0x5aebc4('Insert\x20table'),'description':_0x5aebc4('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':icons['tableOfContents'],'title':_0x5aebc4('Table\x20of\x20contents'),'description':_0x5aebc4('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x40ee59['numberedList'],'title':_0x5aebc4('Numbered\x20list'),'description':_0x5aebc4('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x40ee59['outdent'],'title':_0x5aebc4('Decrease\x20indent'),'description':_0x5aebc4('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x40ee59['paragraph'],'title':_0x5aebc4('Paragraph'),'description':_0x5aebc4('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x40ee59['todoList'],'title':_0x5aebc4('To-do\x20list'),'description':_0x5aebc4('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x24696f){return _0x24696f['isEnabled']?_0x24696f['isEnabled'](this['editor']):!_0x24696f['commandName']||this['editor']['commands']['get'](_0x24696f['commandName'])['isEnabled'];}['_proxyExecute'](_0x2fbfe5){if(_0x2fbfe5['execute'])_0x2fbfe5['execute'](this['editor']);else{if(!_0x2fbfe5['commandName'])throw new CKEditorError('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2fbfe5});this['editor']['execute'](_0x2fbfe5['commandName']);}}}function compareCommands(_0x192378,_0x37e759){return _0x192378['title']<_0x37e759['title']?-0x1:_0x192378['title']>_0x37e759['title']?0x1:0x0;}function convertTitleToId(_0x53f328,_0x5e9097){return _0x5e9097+'-'+_0x53f328['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x280afe){return _0x280afe['map'](_0x3f66d8=>{const {title:_0xa82dd,icon:_0x5dd525,description:_0x315d63,data:_0x4679a4}=_0x3f66d8,_0x119128={'id':convertTitleToId(_0xa82dd,'template'),'commandName':'insertTemplate','execute':_0x31e5a3=>{_0x31e5a3['execute']('insertTemplate',_0x4679a4);},'description':_0x315d63,'icon':_0x5dd525,'title':_0xa82dd};return _0x5dd525&&(_0x119128['isIconColorInherited']=!0x1),_0x119128;});}function mapStyles(_0x682593){return _0x682593['map'](_0x560ed1=>{const _0x3849b7={'id':convertTitleToId(_0x560ed1['name'],'style'),'commandName':'style','execute':_0x35d5c9=>{_0x35d5c9['execute']('style',{'styleName':_0x560ed1['name']});},'isEnabled':_0x25c394=>{const _0x2c466c=_0x25c394['commands']['get']('style');return _0x2c466c['isEnabled']&&_0x2c466c['enabledStyles']['includes'](_0x560ed1['name']);},'title':_0x560ed1['name']};return _0x3849b7;});}function getExcludedHeadings(_0x263799){let _0x58edf3=['heading4','heading5','heading6'];if(_0x263799){const _0x18a3cf=_0x263799['map'](_0x358d26=>_0x358d26['model']);_0x58edf3=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x268590=>!_0x18a3cf['includes'](_0x268590));}return _0x58edf3;}async function checkLicense$4(_0x363285){const _0x238378=_0x20e64a([0x35,0x73,0x6d,0x77,0x62,0x6a,0x31,0x36,0x53,0x72,0x68,0x4c,0x45,0x49,0x47,0x51,0x69,0x4d,0x79,0x71,0x4b,0x75,0x30,0x42,0x41,0x63,0x65,0x37,0x67,0x7a,0x50,0x44,0x38,0x4e,0x5a,0x32,0x61,0x46,0x39,0x4f,0x34,0x6e,0x57,0x6c,0x56,0x48,0x59,0x6f,0x64,0x43,0x78,0x74,0x54,0x58,0x76,0x66,0x6b,0x4a,0x55,0x52,0x33,0x70]),_0x20565a=window[_0x20e64a([0x44,0x61,0x74,0x65])][_0x20e64a([0x6e,0x6f,0x77])](),_0x150f7c=_0x363285[_0x20e64a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3bc888=new window[(_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbac4f7=>{_0x150f7c[_0x20e64a([0x6f,0x6e,0x63,0x65])](_0x20e64a([0x72,0x65,0x61,0x64,0x79]),_0xbac4f7);}),_0x4bbf67={[_0x20e64a([0x6b,0x74,0x79])]:_0x20e64a([0x45,0x43]),[_0x20e64a([0x75,0x73,0x65])]:_0x20e64a([0x73,0x69,0x67]),[_0x20e64a([0x63,0x72,0x76])]:_0x20e64a([0x50,0x2d,0x32,0x35,0x36]),[_0x20e64a([0x78])]:_0x20e64a([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]),[_0x20e64a([0x79])]:_0x20e64a([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]),[_0x20e64a([0x61,0x6c,0x67])]:_0x20e64a([0x45,0x53,0x32,0x35,0x36])},_0x3c8af1=_0x150f7c[_0x20e64a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20e64a([0x67,0x65,0x74])](_0x20e64a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4ce2c5=await(async function(){let _0x81d53b,_0x16d4ac=null,_0x5ebe26=null;try{if(_0x3c8af1==_0x20e64a([0x47,0x50,0x4c]))return _0x20e64a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x81d53b=(function(){const _0x1e5d94=_0x3c8af1[_0x20e64a([0x73,0x70,0x6c,0x69,0x74])](_0x20e64a([0x2e]));if(0x3!=_0x1e5d94[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x21adc8=_0x1e5d94[0x1];return _0x745484(_0x21adc8);function _0x745484(_0x26e7c5){const _0x4b4e19=_0x578f8d(_0x26e7c5);return _0x4b4e19&&_0x4faee0()?_0x4b4e19:null;function _0x4faee0(){const _0x242068=_0x4b4e19[_0x20e64a([0x6a,0x74,0x69])],_0x31a282=window[_0x20e64a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242068[_0x20e64a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242068[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3251ff={..._0x4b4e19,[_0x20e64a([0x6a,0x74,0x69])]:_0x242068[_0x20e64a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242068[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3251ff[_0x20e64a([0x76,0x63])],_0x31eb7c(_0x3251ff)==_0x31a282;}}}()),!_0x81d53b)return _0x20e64a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x81d53b[_0x20e64a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ebe26=function(_0x43d9c3,_0x13c52c){return new window[(_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9aca=>{if(_0x5cec6f())return _0x1d9aca(_0x20e64a([0x56,0x61,0x6c,0x69,0x64]));_0x39ed7c(),_0x150f7c[_0x20e64a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20e64a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x268a57=!0x1;const _0x24a411=uid();function _0xfc3c22(_0x5ae11f){return!!_0x5ae11f&&(typeof _0x5ae11f===_0x20e64a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ae11f===_0x20e64a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ae11f[_0x20e64a([0x74,0x68,0x65,0x6e])]===_0x20e64a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ae11f[_0x20e64a([0x63,0x61,0x74,0x63,0x68])]===_0x20e64a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x120447(_0x44ebb6){_0x34f4b1(_0x44ebb6)[_0x20e64a([0x74,0x68,0x65,0x6e])](_0x20063b=>{if(!_0x20063b||_0x20063b[_0x20e64a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20e64a([0x6f,0x6b]))return _0x20e64a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x596ae4(_0x31eb7c(_0x24a411+_0x13c52c))!=_0x20063b[_0x20e64a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20e64a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20e64a([0x56,0x61,0x6c,0x69,0x64]);})[_0x20e64a([0x74,0x68,0x65,0x6e])](_0x4ca91b=>(_0x5b04c6(),_0x4ca91b),()=>{const _0x5e5731=_0x45f3d0();return null==_0x5e5731?(_0x5b04c6(),_0x20e64a([0x56,0x61,0x6c,0x69,0x64])):_0x20e64a(_0x20565a-_0x5e5731>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20e64a([0x74,0x68,0x65,0x6e])](_0x1d9aca)[_0x20e64a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d9aca(_0x20e64a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e8e50=0x36ee80;function _0x5b04c6(){const _0x3489bd=_0x20e64a([0x6c,0x6c,0x63,0x74,0x2d])+_0x596ae4(_0x31eb7c(_0x43d9c3)),_0xce1372=_0x265236(_0x596ae4(window[_0x20e64a([0x4d,0x61,0x74,0x68])][_0x20e64a([0x63,0x65,0x69,0x6c])](_0x20565a/_0x5e8e50)));window[_0x20e64a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20e64a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3489bd,_0xce1372);}function _0x45f3d0(){const _0x3e8ce0=_0x20e64a([0x6c,0x6c,0x63,0x74,0x2d])+_0x596ae4(_0x31eb7c(_0x43d9c3)),_0x171349=window[_0x20e64a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20e64a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e8ce0);return _0x171349?window[_0x20e64a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x265236(_0x171349),0x10)*_0x5e8e50:null;}function _0x34f4b1(_0x58cf40){return new window[(_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f8780,_0x2f3f27)=>{_0x58cf40[_0x20e64a([0x74,0x68,0x65,0x6e])](_0x1f8780,_0x2f3f27),window[_0x20e64a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f3f27,0x1d4c0);});}}_0x150f7c[_0x20e64a([0x6f,0x6e])](_0x20e64a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d9d74,_0x3b678c)=>{if(_0x3b678c[0x0]!=_0x43d9c3)return _0x1d9aca(_0x20e64a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b678c[0x1]={..._0x3b678c[0x1],[_0x20e64a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24a411};},{[_0x20e64a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20e64a([0x68,0x69,0x67,0x68])}),_0x150f7c[_0x20e64a([0x6f,0x6e])](_0x20e64a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x358a7d=>{_0xfc3c22(_0x358a7d[_0x20e64a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x268a57=!0x0,_0x120447(_0x358a7d[_0x20e64a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20e64a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20e64a([0x6c,0x6f,0x77])}),_0x3bc888[_0x20e64a([0x74,0x68,0x65,0x6e])](()=>{_0x268a57||_0x1d9aca(_0x20e64a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5cec6f(){return _0x150f7c[_0x20e64a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20e64a([0x76,0x69,0x65,0x77])][_0x20e64a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20e64a([0x61,0x75,0x74,0x6f]);}function _0x39ed7c(){_0x150f7c[_0x20e64a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20e64a([0x76,0x69,0x65,0x77])][_0x20e64a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20e64a([0x61,0x75,0x74,0x6f]);}}(_0x81d53b[_0x20e64a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x81d53b[_0x20e64a([0x6a,0x74,0x69])]));const _0x5600f5=await(async function(){let _0x526995=!0x0;try{const _0x3b7c73=_0x3c8af1[_0x20e64a([0x73,0x70,0x6c,0x69,0x74])](_0x20e64a([0x2e])),[_0x23e364,_0x3c8ca3,_0x3a5ada]=_0x3b7c73;return _0x1284ec(_0x23e364),await _0xd145ef(_0x23e364,_0x3c8ca3,_0x3a5ada),_0x526995;}catch(_0x332d48){return!0x1;}function _0x1284ec(_0x2430d9){const _0x2d0c57=_0x578f8d(_0x2430d9);_0x2d0c57&&_0x2d0c57[_0x20e64a([0x61,0x6c,0x67])]==_0x20e64a([0x45,0x53,0x32,0x35,0x36])||(_0x526995=!0x1);}async function _0xd145ef(_0xa91bf5,_0x31153d,_0x37764f){const _0x23d726=window[_0x20e64a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20e64a([0x66,0x72,0x6f,0x6d])](_0xa75b7d(_0x37764f),_0x2a469c=>_0x2a469c[_0x20e64a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x142c46=new window[(_0x20e64a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20e64a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa91bf5+_0x20e64a([0x2e])+_0x31153d),_0x2b703d=window[_0x20e64a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20e64a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b703d)return;const _0x562141=await _0x2b703d[_0x20e64a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20e64a([0x6a,0x77,0x6b]),_0x4bbf67,{[_0x20e64a([0x6e,0x61,0x6d,0x65])]:_0x20e64a([0x45,0x43,0x44,0x53,0x41]),[_0x20e64a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20e64a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20e64a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b703d[_0x20e64a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20e64a([0x6e,0x61,0x6d,0x65])]:_0x20e64a([0x45,0x43,0x44,0x53,0x41]),[_0x20e64a([0x68,0x61,0x73,0x68])]:{[_0x20e64a([0x6e,0x61,0x6d,0x65])]:_0x20e64a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x562141,_0x23d726,_0x142c46)||(_0x526995=!0x1);}}());return _0x5600f5?(function(){const _0x4db803=_0x81d53b[_0x20e64a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4db803)return!0x1;if(_0x4db803[_0x20e64a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e64a([0x2a])))return!0x0;if(_0x4db803[_0x20e64a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e64a([0x53,0x43])))return!0x0;if(_0x4db803[_0x20e64a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e64a([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x2c3c09=[_0x20e64a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20e64a([0x74,0x72,0x69,0x61,0x6c])][_0x20e64a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81d53b[_0x20e64a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20565a/0x3e8:0x67b67080;return _0x81d53b[_0x20e64a([0x65,0x78,0x70])]<_0x2c3c09;}())?_0x20e64a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5b993f=_0x81d53b[_0x20e64a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b993f||0x0==_0x5b993f[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46fc0d}=new URL(window[_0x20e64a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b993f[_0x20e64a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46fc0d))return!0x0;const _0x3737e0=_0x46fc0d[_0x20e64a([0x73,0x70,0x6c,0x69,0x74])](_0x20e64a([0x2e]));return _0x5b993f[_0x20e64a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xde06ab=>_0xde06ab[_0x20e64a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e64a([0x2a])))[_0x20e64a([0x6d,0x61,0x70])](_0x470bc0=>_0x470bc0[_0x20e64a([0x73,0x70,0x6c,0x69,0x74])](_0x20e64a([0x2e])))[_0x20e64a([0x73,0x6f,0x6d,0x65])](_0x5d3786=>_0x3737e0[_0x20e64a([0x65,0x76,0x65,0x72,0x79])]((_0x117302,_0x1812ad)=>_0x5d3786[_0x1812ad]===_0x117302||_0x5d3786[_0x1812ad]===_0x20e64a([0x2a])));}())?(_0x81d53b[_0x20e64a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20e64a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16d4ac=_0x1b2e3a(_0x20e64a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x81d53b[_0x20e64a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20e64a([0x74,0x72,0x69,0x61,0x6c])&&(_0x16d4ac=_0x1b2e3a(_0x20e64a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x16d4ac&&_0x5ebe26)return new window[(_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb9c037,_0x4da515)=>{_0x16d4ac[_0x20e64a([0x74,0x68,0x65,0x6e])](_0xb9c037,_0x4da515),_0x5ebe26[_0x20e64a([0x74,0x68,0x65,0x6e])](_0x11f4b9=>{_0x11f4b9!=_0x20e64a([0x56,0x61,0x6c,0x69,0x64])&&_0xb9c037(_0x11f4b9);},_0x4da515);});return _0x16d4ac||_0x5ebe26||_0x20e64a([0x56,0x61,0x6c,0x69,0x64]);}())):_0x20e64a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20e64a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20e64a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3ec331){return _0x20e64a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1b2e3a(_0x5ddb91){const _0x183e5b=new window[(_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170e92=>setTimeout(_0x170e92,0x93ecc)),_0xd5dfad=_0x3bc888[_0x20e64a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1733=>{let _0x43ec8a=0x0;_0x150f7c[_0x20e64a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20e64a([0x6f,0x6e])](_0x20e64a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf81a36,_0x4fcc0e)=>{_0x4fcc0e[0x0][_0x20e64a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43ec8a++,0x1f8==_0x43ec8a&&(_0x3b1733(),_0xf81a36[_0x20e64a([0x6f,0x66,0x66])]());});})),_0x171ae3=[_0x183e5b,_0xd5dfad];return window[_0x20e64a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20e64a([0x72,0x61,0x63,0x65])](_0x171ae3)[_0x20e64a([0x74,0x68,0x65,0x6e])](()=>_0x5ddb91);}function _0x578f8d(_0x517c8f){return _0x517c8f[_0x20e64a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20e64a([0x65,0x79]))?JSON[_0x20e64a([0x70,0x61,0x72,0x73,0x65])](_0xa75b7d(_0x517c8f)):null;}function _0xa75b7d(_0x4c068c){return window[_0x20e64a([0x61,0x74,0x6f,0x62])](_0x4c068c[_0x20e64a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20e64a([0x2b]))[_0x20e64a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20e64a([0x2f])));}function _0x31eb7c(_0x1aab32){let _0x35c673=0x1505;function _0x4384d4(_0x3c528d){for(let _0x33d250=0x0;_0x33d250<_0x3c528d[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d250++){const _0x481491=_0x3c528d[_0x20e64a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33d250);_0x35c673=(_0x35c673<<0x5)+_0x35c673+_0x481491,_0x35c673&=_0x35c673;}}return function _0x1bc3b3(_0x498949){Array[_0x20e64a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x498949)?_0x498949[_0x20e64a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bc3b3):_0x498949&&typeof _0x498949==_0x20e64a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20e64a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x498949)[_0x20e64a([0x73,0x6f,0x72,0x74])]()[_0x20e64a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a9439,_0x34f56d])=>{_0x4384d4(_0x5a9439),_0x1bc3b3(_0x34f56d);}):_0x4384d4(window[_0x20e64a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x498949));}(_0x1aab32),_0x35c673>>>0x0;}function _0x596ae4(_0x47b0fb){return _0x47b0fb[_0x20e64a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20e64a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20e64a([0x30]));}function _0x265236(_0x5b2a14){return _0x5b2a14[_0x20e64a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20e64a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20e64a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1cf468(){}function _0x20e64a(_0x28997a){return _0x28997a['map'](_0x189b44=>String['fromCharCode'](_0x189b44))['join']('');}!function(_0x13c0e4){const _0x555827=(function(){const _0x577e88=window[_0x20e64a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20e64a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20e64a([0x6e,0x6f,0x77])]())[_0x20e64a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20e64a([0x2e]),'');let _0x5d8b22=_0x20e64a([0x73]);for(let _0x113a4f=0x0;_0x113a4f<_0x577e88[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x113a4f+=0x2){let _0x561753=window[_0x20e64a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x577e88[_0x20e64a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x113a4f,_0x113a4f+0x2));_0x561753>=_0x238378[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x561753-=_0x238378[_0x20e64a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d8b22+=_0x238378[_0x561753];}return _0x5d8b22;}());_0x150f7c[_0x555827]=_0x20e64a([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13c0e4,_0x13c0e4!=_0x20e64a([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3bc888,_0x150f7c[_0x20e64a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20e64a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1cf468,_0x150f7c[_0x20e64a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20e64a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1cf468,_0x150f7c[_0x20e64a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20e64a([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4ce2c5);}class SlashCommandEditing extends Plugin{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SlashCommandConfig];}['getMatchingCommands'](_0x10c844){const _0xf82148=_0x10c844&&_0x10c844['toLowerCase']();let _0x121575=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x121575=_0x121575['filter'](_0x4673ca=>_0x4673ca['isEnabled']()),_0xf82148){const _0x4bf23a=[],_0x554394=[],_0x51e466=[],_0x3af17d=[];for(const _0x50a428 of _0x121575)_0x50a428['id']['toLowerCase']()['includes'](_0xf82148)?_0x4bf23a['push'](_0x50a428):_0x50a428['title']['toLowerCase']()['includes'](_0xf82148)?_0x554394['push'](_0x50a428):_0x50a428['aliases']&&_0x50a428['aliases']['some'](_0x319168=>_0x319168['toLowerCase']()['includes'](_0xf82148))?_0x51e466['push'](_0x50a428):_0x50a428['description']&&_0x50a428['description']['toLowerCase']()['includes'](_0xf82148)&&_0x3af17d['push'](_0x50a428);_0x121575=_0x4bf23a['concat'](_0x554394,_0x51e466,_0x3af17d);}return _0x121575;}}var defaultIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M10\x2019a9\x209\x200\x201\x200\x200-18\x209\x209\x200\x200\x200\x200\x2018Zm3.45-9.872a1\x201\x200\x200\x201\x200\x201.744l-4.96\x202.79A1\x201\x200\x200\x201\x207\x2012.79V7.21a1\x201\x200\x200\x201\x201.49-.872l4.96\x202.79Z\x22/></svg>';class SlashCommandButtonView extends ButtonView{constructor(_0x578af1,_0x461c50){super(_0x578af1),this['textPartView']=this['_createTextPartView'](_0x578af1,_0x461c50),void 0x0!==_0x461c50['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x461c50['isIconColorInherited']),this['set']({'icon':_0x461c50['icon']||defaultIcon,'withText':!0x0,'label':_0x461c50['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x5d30e6,_0x5c760a){const _0x244f10=new View(_0x5d30e6);return _0x244f10['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5c760a['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5c760a['description']}]}]:[this['labelView']]}),_0x244f10;}}class SlashCommandUI extends Plugin{static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1d07ef){super(_0x1d07ef),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x155911=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa16473;for(const _0x1568c2 in _0x155911){const _0x3dc2c7=_0x1568c2,_0x210f06=_0x155911[_0x3dc2c7];if('slashCommandLicenseKeyValid'==_0x210f06||'slashCommandLicenseKeyInvalid'==_0x210f06||'slashCommandLicenseKeyExpired'==_0x210f06||'slashCommandLicenseKeyDomainLimit'==_0x210f06||'slashCommandLicenseKeyNotAllowed'==_0x210f06||'slashCommandLicenseKeyEvaluationLimit'==_0x210f06||'slashCommandLicenseKeyTrialLimit'==_0x210f06||'slashCommandLicenseKeyUsageLimit'==_0x210f06){delete _0x155911[_0x3dc2c7],_0xa16473=_0x210f06,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0xa16473&&_0x155911['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0xa16473&&_0x155911['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0xa16473&&_0x155911['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0xa16473&&_0x155911['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0xa16473&&_0x155911['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyTrialLimit'==_0xa16473&&_0x155911['_showLicenseError']('trialLimit'),'slashCommandLicenseKeyUsageLimit'==_0xa16473&&_0x155911['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x3b5ba6=this['editor'],_0x9c0f0b=this['editor']['plugins']['get']('SlashCommandEditing'),_0x64ed09=_0x3b5ba6['config']['get']('mention.feeds');_0x64ed09['push']({'marker':'/','feed':_0x2672a4=>_0x9c0f0b['getMatchingCommands'](_0x2672a4),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x3b5ba6['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x3b5ba6['config']['set']('mention.feeds',_0x64ed09);}['_overrideMentionExecuteListener'](){const _0x1e45da=this['editor'];_0x1e45da['commands']['get']('mention')['on']('execute',(_0x166238,_0x12f76d)=>{const _0x149367=_0x12f76d[0x0],_0x11d6ab=_0x1e45da['model'];'/'===_0x149367['marker']&&_0x11d6ab['change'](_0x8f3dc5=>{_0x8f3dc5['remove'](_0x149367['range']),_0x149367['mention']['execute'](),_0x166238['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x3af6bc){const _0x24add9=this['editor']['locale'],_0x337225=new SlashCommandButtonView(_0x24add9,_0x3af6bc);return _0x337225['render'](),_0x337225['element'];}}class SlashCommand extends Plugin{static get['requires'](){return['Mention',SlashCommandEditing,SlashCommandUI];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x387c2e,_0x1983a9){const t=_0x387c2e['t'];switch(_0x1983a9){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x1983a9;}}function getActiveRootName(_0x1f018d){const _0x5158fb=_0x1f018d['editing']['view']['document']['roots'],_0x244937=_0x5158fb['length'];if(0x0===_0x244937)throw new CKEditorError('source-editing-enhanced-editor-no-root',_0x1f018d);if(0x1===_0x244937)return _0x5158fb['first']['rootName'];return Array['from'](_0x1f018d['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x2ba9dc){return isHtml(_0x2ba9dc)?formatHtml(_0x2ba9dc):_0x2ba9dc;}function unformatSource(_0x47223c){return isHtml(_0x47223c['replace'](/^[\n\s]*/g,''))?_0x47223c['replace'](/\s+/g,''):_0x47223c;}function formatHtml(_0xf282bb){const _0x4417f5=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x402222=_0x4417f5['map'](_0x233046=>_0x233046['name'])['join']('|'),_0x21b0cd=_0xf282bb['replace'](new RegExp('</?('+_0x402222+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x1993b1=0x0,_0x174f75=!0x1;return _0x21b0cd['filter'](_0x30c8fa=>_0x30c8fa['length'])['map'](_0x1ebe25=>(_0x174f75=isPreformattedBlockLine(_0x1ebe25,_0x174f75),isNonVoidOpeningTag(_0x1ebe25,_0x4417f5)?indentLine(_0x1ebe25,_0x1993b1++):isClosingTag(_0x1ebe25,_0x4417f5)?indentLine(_0x1ebe25,--_0x1993b1):'middle'===_0x174f75||'last'===_0x174f75?_0x1ebe25:indentLine(_0x1ebe25,_0x1993b1)))['join']('\x0a');}function isHtml(_0x4aa587){return _0x4aa587['startsWith']('<');}function isNonVoidOpeningTag(_0x40c8dc,_0x3717cf){return _0x3717cf['some'](_0x3655db=>!_0x3655db['isVoid']&&!!new RegExp('<'+_0x3655db['name']+'(\x20.*?)?>')['test'](_0x40c8dc));}function isClosingTag(_0x2c4a2f,_0x35af0f){return _0x35af0f['some'](_0x2b6829=>new RegExp('</'+_0x2b6829['name']+'>')['test'](_0x2c4a2f));}function indentLine(_0x582faa,_0x5552fd,_0x2d07e6='\x20\x20\x20\x20'){return''+_0x2d07e6['repeat'](Math['max'](0x0,_0x5552fd))+_0x582faa;}function isPreformattedBlockLine(_0x8063f4,_0x4a3bbb){return new RegExp('<pre(\x20.*?)?>')['test'](_0x8063f4)?'first':new RegExp('</pre>')['test'](_0x8063f4)?'last':('first'===_0x4a3bbb||'middle'===_0x4a3bbb)&&'middle';}let rangeFrom=[],rangeTo=[];function isExtendingChar(_0x41286c){if(_0x41286c<0x300)return!0x1;for(let _0x27666b=0x0,_0x528674=rangeFrom['length'];;){let _0x324869=_0x27666b+_0x528674>>0x1;if(_0x41286c<rangeFrom[_0x324869])_0x528674=_0x324869;else{if(!(_0x41286c>=rangeTo[_0x324869]))return!0x0;_0x27666b=_0x324869+0x1;}if(_0x27666b==_0x528674)return!0x1;}}function isRegionalIndicator(_0x3b28d2){return _0x3b28d2>=0x1f1e6&&_0x3b28d2<=0x1f1ff;}((()=>{let _0x4fe43b='lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o'['split'](',')['map'](_0x599a40=>_0x599a40?parseInt(_0x599a40,0x24):0x1);for(let _0x2e3cbf=0x0,_0x36ee04=0x0;_0x2e3cbf<_0x4fe43b['length'];_0x2e3cbf++)(_0x2e3cbf%0x2?rangeTo:rangeFrom)['push'](_0x36ee04+=_0x4fe43b[_0x2e3cbf]);})());const ZWJ=0x200d;function findClusterBreak$1(_0x23d503,_0x26084d,_0x71147c=!0x0,_0x39791b=!0x0){return(_0x71147c?nextClusterBreak:prevClusterBreak)(_0x23d503,_0x26084d,_0x39791b);}function nextClusterBreak(_0x4fb870,_0x39e8b0,_0x50cf90){if(_0x39e8b0==_0x4fb870['length'])return _0x39e8b0;_0x39e8b0&&surrogateLow$1(_0x4fb870['charCodeAt'](_0x39e8b0))&&surrogateHigh$1(_0x4fb870['charCodeAt'](_0x39e8b0-0x1))&&_0x39e8b0--;let _0x10d0a2=codePointAt$1(_0x4fb870,_0x39e8b0);for(_0x39e8b0+=codePointSize$1(_0x10d0a2);_0x39e8b0<_0x4fb870['length'];){let _0x4e689f=codePointAt$1(_0x4fb870,_0x39e8b0);if(_0x10d0a2==ZWJ||_0x4e689f==ZWJ||_0x50cf90&&isExtendingChar(_0x4e689f))_0x39e8b0+=codePointSize$1(_0x4e689f),_0x10d0a2=_0x4e689f;else{if(!isRegionalIndicator(_0x4e689f))break;{let _0x574eee=0x0,_0x8066ab=_0x39e8b0-0x2;for(;_0x8066ab>=0x0&&isRegionalIndicator(codePointAt$1(_0x4fb870,_0x8066ab));)_0x574eee++,_0x8066ab-=0x2;if(_0x574eee%0x2==0x0)break;_0x39e8b0+=0x2;}}}return _0x39e8b0;}function prevClusterBreak(_0x5090f3,_0xb1628d,_0x463310){for(;_0xb1628d>0x0;){let _0x2f8f60=nextClusterBreak(_0x5090f3,_0xb1628d-0x2,_0x463310);if(_0x2f8f60<_0xb1628d)return _0x2f8f60;_0xb1628d--;}return 0x0;}function codePointAt$1(_0x27292c,_0x2c2e3b){let _0x36123b=_0x27292c['charCodeAt'](_0x2c2e3b);if(!surrogateHigh$1(_0x36123b)||_0x2c2e3b+0x1==_0x27292c['length'])return _0x36123b;let _0x15188a=_0x27292c['charCodeAt'](_0x2c2e3b+0x1);return surrogateLow$1(_0x15188a)?_0x15188a-0xdc00+(_0x36123b-0xd800<<0xa)+0x10000:_0x36123b;}function surrogateLow$1(_0x168bff){return _0x168bff>=0xdc00&&_0x168bff<0xe000;}function surrogateHigh$1(_0x4f145b){return _0x4f145b>=0xd800&&_0x4f145b<0xdc00;}function codePointSize$1(_0x374e22){return _0x374e22<0x10000?0x1:0x2;}class Text{['lineAt'](_0x59050a){if(_0x59050a<0x0||_0x59050a>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x59050a+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x59050a,!0x1,0x1,0x0);}['line'](_0x3b063d){if(_0x3b063d<0x1||_0x3b063d>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x3b063d+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x3b063d,!0x0,0x1,0x0);}['replace'](_0x3907f9,_0x1e185b,_0x115d9b){[_0x3907f9,_0x1e185b]=clip(this,_0x3907f9,_0x1e185b);let _0x1b0105=[];return this['decompose'](0x0,_0x3907f9,_0x1b0105,0x2),_0x115d9b['length']&&_0x115d9b['decompose'](0x0,_0x115d9b['length'],_0x1b0105,0x3),this['decompose'](_0x1e185b,this['length'],_0x1b0105,0x1),TextNode['from'](_0x1b0105,this['length']-(_0x1e185b-_0x3907f9)+_0x115d9b['length']);}['append'](_0x2fc5a1){return this['replace'](this['length'],this['length'],_0x2fc5a1);}['slice'](_0x1b38b8,_0x489067=this['length']){[_0x1b38b8,_0x489067]=clip(this,_0x1b38b8,_0x489067);let _0xb750aa=[];return this['decompose'](_0x1b38b8,_0x489067,_0xb750aa,0x0),TextNode['from'](_0xb750aa,_0x489067-_0x1b38b8);}['eq'](_0x4b89c7){if(_0x4b89c7==this)return!0x0;if(_0x4b89c7['length']!=this['length']||_0x4b89c7['lines']!=this['lines'])return!0x1;let _0x2c212b=this['scanIdentical'](_0x4b89c7,0x1),_0x359df5=this['length']-this['scanIdentical'](_0x4b89c7,-0x1),_0xfa6a59=new RawTextCursor(this),_0x11ca5e=new RawTextCursor(_0x4b89c7);for(let _0x54e9eb=_0x2c212b,_0x2b351c=_0x2c212b;;){if(_0xfa6a59['next'](_0x54e9eb),_0x11ca5e['next'](_0x54e9eb),_0x54e9eb=0x0,_0xfa6a59['lineBreak']!=_0x11ca5e['lineBreak']||_0xfa6a59['done']!=_0x11ca5e['done']||_0xfa6a59['value']!=_0x11ca5e['value'])return!0x1;if(_0x2b351c+=_0xfa6a59['value']['length'],_0xfa6a59['done']||_0x2b351c>=_0x359df5)return!0x0;}}['iter'](_0x1e6375=0x1){return new RawTextCursor(this,_0x1e6375);}['iterRange'](_0x1780b1,_0x4acc98=this['length']){return new PartialTextCursor(this,_0x1780b1,_0x4acc98);}['iterLines'](_0x4843f9,_0x5643a4){let _0x542f4f;if(null==_0x4843f9)_0x542f4f=this['iter']();else{null==_0x5643a4&&(_0x5643a4=this['lines']+0x1);let _0x3d8473=this['line'](_0x4843f9)['from'];_0x542f4f=this['iterRange'](_0x3d8473,Math['max'](_0x3d8473,_0x5643a4==this['lines']+0x1?this['length']:_0x5643a4<=0x1?0x0:this['line'](_0x5643a4-0x1)['to']));}return new LineCursor(_0x542f4f);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x49e117=[];return this['flatten'](_0x49e117),_0x49e117;}constructor(){}static['of'](_0x59a717){if(0x0==_0x59a717['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x59a717['length']||_0x59a717[0x0]?_0x59a717['length']<=0x20?new TextLeaf(_0x59a717):TextNode['from'](TextLeaf['split'](_0x59a717,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x5746f3,_0x47755b=textLength(_0x5746f3)){super(),this['text']=_0x5746f3,this['length']=_0x47755b;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x3919f4,_0x164f2a,_0x5519dd,_0x52d97a){for(let _0xd632f=0x0;;_0xd632f++){let _0x4bf312=this['text'][_0xd632f],_0x380a34=_0x52d97a+_0x4bf312['length'];if((_0x164f2a?_0x5519dd:_0x380a34)>=_0x3919f4)return new Line$1(_0x52d97a,_0x380a34,_0x5519dd,_0x4bf312);_0x52d97a=_0x380a34+0x1,_0x5519dd++;}}['decompose'](_0x33248,_0x5c240d,_0xa8610a,_0x294893){let _0x49471a=_0x33248<=0x0&&_0x5c240d>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x33248,_0x5c240d),Math['min'](_0x5c240d,this['length'])-Math['max'](0x0,_0x33248));if(0x1&_0x294893){let _0x4a3a1c=_0xa8610a['pop'](),_0x1a7818=appendText(_0x49471a['text'],_0x4a3a1c['text']['slice'](),0x0,_0x49471a['length']);if(_0x1a7818['length']<=0x20)_0xa8610a['push'](new TextLeaf(_0x1a7818,_0x4a3a1c['length']+_0x49471a['length']));else{let _0xa1e3e1=_0x1a7818['length']>>0x1;_0xa8610a['push'](new TextLeaf(_0x1a7818['slice'](0x0,_0xa1e3e1)),new TextLeaf(_0x1a7818['slice'](_0xa1e3e1)));}}else _0xa8610a['push'](_0x49471a);}['replace'](_0xce24a8,_0x457ddf,_0x5e8104){if(!(_0x5e8104 instanceof TextLeaf))return super['replace'](_0xce24a8,_0x457ddf,_0x5e8104);[_0xce24a8,_0x457ddf]=clip(this,_0xce24a8,_0x457ddf);let _0x43fdb8=appendText(this['text'],appendText(_0x5e8104['text'],sliceText(this['text'],0x0,_0xce24a8)),_0x457ddf),_0x56a98=this['length']+_0x5e8104['length']-(_0x457ddf-_0xce24a8);return _0x43fdb8['length']<=0x20?new TextLeaf(_0x43fdb8,_0x56a98):TextNode['from'](TextLeaf['split'](_0x43fdb8,[]),_0x56a98);}['sliceString'](_0x12e40b,_0x38d4df=this['length'],_0x7ee4ac='\x0a'){[_0x12e40b,_0x38d4df]=clip(this,_0x12e40b,_0x38d4df);let _0x29d949='';for(let _0x2d0fc4=0x0,_0x3c8c81=0x0;_0x2d0fc4<=_0x38d4df&&_0x3c8c81<this['text']['length'];_0x3c8c81++){let _0x476b5f=this['text'][_0x3c8c81],_0x1bd028=_0x2d0fc4+_0x476b5f['length'];_0x2d0fc4>_0x12e40b&&_0x3c8c81&&(_0x29d949+=_0x7ee4ac),_0x12e40b<_0x1bd028&&_0x38d4df>_0x2d0fc4&&(_0x29d949+=_0x476b5f['slice'](Math['max'](0x0,_0x12e40b-_0x2d0fc4),_0x38d4df-_0x2d0fc4)),_0x2d0fc4=_0x1bd028+0x1;}return _0x29d949;}['flatten'](_0x406060){for(let _0xf33aab of this['text'])_0x406060['push'](_0xf33aab);}['scanIdentical'](){return 0x0;}static['split'](_0x47570d,_0x5702dd){let _0x1ba7f8=[],_0x29a8bd=-0x1;for(let _0x2a9c48 of _0x47570d)_0x1ba7f8['push'](_0x2a9c48),_0x29a8bd+=_0x2a9c48['length']+0x1,0x20==_0x1ba7f8['length']&&(_0x5702dd['push'](new TextLeaf(_0x1ba7f8,_0x29a8bd)),_0x1ba7f8=[],_0x29a8bd=-0x1);return _0x29a8bd>-0x1&&_0x5702dd['push'](new TextLeaf(_0x1ba7f8,_0x29a8bd)),_0x5702dd;}}class TextNode extends Text{constructor(_0x1b0c7c,_0x2650e6){super(),this['children']=_0x1b0c7c,this['length']=_0x2650e6,this['lines']=0x0;for(let _0x4e7a4b of _0x1b0c7c)this['lines']+=_0x4e7a4b['lines'];}['lineInner'](_0x98c44e,_0x7bdc84,_0x1843a9,_0x566cec){for(let _0x3f8bcf=0x0;;_0x3f8bcf++){let _0x3512b5=this['children'][_0x3f8bcf],_0x317437=_0x566cec+_0x3512b5['length'],_0x32d484=_0x1843a9+_0x3512b5['lines']-0x1;if((_0x7bdc84?_0x32d484:_0x317437)>=_0x98c44e)return _0x3512b5['lineInner'](_0x98c44e,_0x7bdc84,_0x1843a9,_0x566cec);_0x566cec=_0x317437+0x1,_0x1843a9=_0x32d484+0x1;}}['decompose'](_0x4b9b64,_0x3d94a6,_0x18b67a,_0x7d4793){for(let _0x2d0299=0x0,_0x218e2f=0x0;_0x218e2f<=_0x3d94a6&&_0x2d0299<this['children']['length'];_0x2d0299++){let _0x96115c=this['children'][_0x2d0299],_0x10757e=_0x218e2f+_0x96115c['length'];if(_0x4b9b64<=_0x10757e&&_0x3d94a6>=_0x218e2f){let _0x4a7080=_0x7d4793&((_0x218e2f<=_0x4b9b64?0x1:0x0)|(_0x10757e>=_0x3d94a6?0x2:0x0));_0x218e2f>=_0x4b9b64&&_0x10757e<=_0x3d94a6&&!_0x4a7080?_0x18b67a['push'](_0x96115c):_0x96115c['decompose'](_0x4b9b64-_0x218e2f,_0x3d94a6-_0x218e2f,_0x18b67a,_0x4a7080);}_0x218e2f=_0x10757e+0x1;}}['replace'](_0x5e879f,_0x5c129e,_0xf41c9c){if([_0x5e879f,_0x5c129e]=clip(this,_0x5e879f,_0x5c129e),_0xf41c9c['lines']<this['lines'])for(let _0x45092f=0x0,_0x5eb89e=0x0;_0x45092f<this['children']['length'];_0x45092f++){let _0x61827=this['children'][_0x45092f],_0x243feb=_0x5eb89e+_0x61827['length'];if(_0x5e879f>=_0x5eb89e&&_0x5c129e<=_0x243feb){let _0x13b7dd=_0x61827['replace'](_0x5e879f-_0x5eb89e,_0x5c129e-_0x5eb89e,_0xf41c9c),_0x320455=this['lines']-_0x61827['lines']+_0x13b7dd['lines'];if(_0x13b7dd['lines']<_0x320455>>0x4&&_0x13b7dd['lines']>_0x320455>>0x6){let _0x364ce1=this['children']['slice']();return _0x364ce1[_0x45092f]=_0x13b7dd,new TextNode(_0x364ce1,this['length']-(_0x5c129e-_0x5e879f)+_0xf41c9c['length']);}return super['replace'](_0x5eb89e,_0x243feb,_0x13b7dd);}_0x5eb89e=_0x243feb+0x1;}return super['replace'](_0x5e879f,_0x5c129e,_0xf41c9c);}['sliceString'](_0x514d85,_0x2911ea=this['length'],_0x1d33fb='\x0a'){[_0x514d85,_0x2911ea]=clip(this,_0x514d85,_0x2911ea);let _0x17a1bd='';for(let _0x19a84f=0x0,_0x2eb935=0x0;_0x19a84f<this['children']['length']&&_0x2eb935<=_0x2911ea;_0x19a84f++){let _0x338365=this['children'][_0x19a84f],_0x17359b=_0x2eb935+_0x338365['length'];_0x2eb935>_0x514d85&&_0x19a84f&&(_0x17a1bd+=_0x1d33fb),_0x514d85<_0x17359b&&_0x2911ea>_0x2eb935&&(_0x17a1bd+=_0x338365['sliceString'](_0x514d85-_0x2eb935,_0x2911ea-_0x2eb935,_0x1d33fb)),_0x2eb935=_0x17359b+0x1;}return _0x17a1bd;}['flatten'](_0x4a2c14){for(let _0x5cb824 of this['children'])_0x5cb824['flatten'](_0x4a2c14);}['scanIdentical'](_0x488df2,_0x49bd79){if(!(_0x488df2 instanceof TextNode))return 0x0;let _0x31e450=0x0,[_0x363157,_0x54a700,_0x37ed72,_0x476b81]=_0x49bd79>0x0?[0x0,0x0,this['children']['length'],_0x488df2['children']['length']]:[this['children']['length']-0x1,_0x488df2['children']['length']-0x1,-0x1,-0x1];for(;;_0x363157+=_0x49bd79,_0x54a700+=_0x49bd79){if(_0x363157==_0x37ed72||_0x54a700==_0x476b81)return _0x31e450;let _0x57f28e=this['children'][_0x363157],_0x38ffaa=_0x488df2['children'][_0x54a700];if(_0x57f28e!=_0x38ffaa)return _0x31e450+_0x57f28e['scanIdentical'](_0x38ffaa,_0x49bd79);_0x31e450+=_0x57f28e['length']+0x1;}}static['from'](_0x4fe9b6,_0xc60444=_0x4fe9b6['reduce']((_0x5f3002,_0x398beb)=>_0x5f3002+_0x398beb['length']+0x1,-0x1)){let _0x224cac=0x0;for(let _0x116091 of _0x4fe9b6)_0x224cac+=_0x116091['lines'];if(_0x224cac<0x20){let _0x3767f8=[];for(let _0xf0a1de of _0x4fe9b6)_0xf0a1de['flatten'](_0x3767f8);return new TextLeaf(_0x3767f8,_0xc60444);}let _0x3f0a40=Math['max'](0x20,_0x224cac>>0x5),_0x4f4462=_0x3f0a40<<0x1,_0x5ad878=_0x3f0a40>>0x1,_0x1c1fa8=[],_0x551bd1=0x0,_0x8d4221=-0x1,_0x2320d1=[];function _0x5a83d1(_0x5454f0){let _0x437e83;if(_0x5454f0['lines']>_0x4f4462&&_0x5454f0 instanceof TextNode){for(let _0xa8a4fe of _0x5454f0['children'])_0x5a83d1(_0xa8a4fe);}else _0x5454f0['lines']>_0x5ad878&&(_0x551bd1>_0x5ad878||!_0x551bd1)?(_0x51d170(),_0x1c1fa8['push'](_0x5454f0)):_0x5454f0 instanceof TextLeaf&&_0x551bd1&&(_0x437e83=_0x2320d1[_0x2320d1['length']-0x1])instanceof TextLeaf&&_0x5454f0['lines']+_0x437e83['lines']<=0x20?(_0x551bd1+=_0x5454f0['lines'],_0x8d4221+=_0x5454f0['length']+0x1,_0x2320d1[_0x2320d1['length']-0x1]=new TextLeaf(_0x437e83['text']['concat'](_0x5454f0['text']),_0x437e83['length']+0x1+_0x5454f0['length'])):(_0x551bd1+_0x5454f0['lines']>_0x3f0a40&&_0x51d170(),_0x551bd1+=_0x5454f0['lines'],_0x8d4221+=_0x5454f0['length']+0x1,_0x2320d1['push'](_0x5454f0));}function _0x51d170(){0x0!=_0x551bd1&&(_0x1c1fa8['push'](0x1==_0x2320d1['length']?_0x2320d1[0x0]:TextNode['from'](_0x2320d1,_0x8d4221)),_0x8d4221=-0x1,_0x551bd1=_0x2320d1['length']=0x0);}for(let _0x161d53 of _0x4fe9b6)_0x5a83d1(_0x161d53);return _0x51d170(),0x1==_0x1c1fa8['length']?_0x1c1fa8[0x0]:new TextNode(_0x1c1fa8,_0xc60444);}}function textLength(_0x581c8d){let _0x2f8d12=-0x1;for(let _0x3c2ef8 of _0x581c8d)_0x2f8d12+=_0x3c2ef8['length']+0x1;return _0x2f8d12;}function appendText(_0x4fc72c,_0xb49cc8,_0x585869=0x0,_0x3f517a=0x3b9aca00){for(let _0x15e3ec=0x0,_0x2083cb=0x0,_0x1a8515=!0x0;_0x2083cb<_0x4fc72c['length']&&_0x15e3ec<=_0x3f517a;_0x2083cb++){let _0x4c53c3=_0x4fc72c[_0x2083cb],_0x5565d1=_0x15e3ec+_0x4c53c3['length'];_0x5565d1>=_0x585869&&(_0x5565d1>_0x3f517a&&(_0x4c53c3=_0x4c53c3['slice'](0x0,_0x3f517a-_0x15e3ec)),_0x15e3ec<_0x585869&&(_0x4c53c3=_0x4c53c3['slice'](_0x585869-_0x15e3ec)),_0x1a8515?(_0xb49cc8[_0xb49cc8['length']-0x1]+=_0x4c53c3,_0x1a8515=!0x1):_0xb49cc8['push'](_0x4c53c3)),_0x15e3ec=_0x5565d1+0x1;}return _0xb49cc8;}function sliceText(_0xce302f,_0x1ac1a8,_0x2c04da){return appendText(_0xce302f,[''],_0x1ac1a8,_0x2c04da);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x23c530,_0x4e5e33=0x1){this['dir']=_0x4e5e33,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x23c530],this['offsets']=[_0x4e5e33>0x0?0x1:(_0x23c530 instanceof TextLeaf?_0x23c530['text']['length']:_0x23c530['children']['length'])<<0x1];}['nextInner'](_0x184dc6,_0x448798){for(this['done']=this['lineBreak']=!0x1;;){let _0x51f3c=this['nodes']['length']-0x1,_0x1ee899=this['nodes'][_0x51f3c],_0x29e978=this['offsets'][_0x51f3c],_0x4e07a5=_0x29e978>>0x1,_0x3253da=_0x1ee899 instanceof TextLeaf?_0x1ee899['text']['length']:_0x1ee899['children']['length'];if(_0x4e07a5==(_0x448798>0x0?_0x3253da:0x0)){if(0x0==_0x51f3c)return this['done']=!0x0,this['value']='',this;_0x448798>0x0&&this['offsets'][_0x51f3c-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x29e978)==(_0x448798>0x0?0x0:0x1)){if(this['offsets'][_0x51f3c]+=_0x448798,0x0==_0x184dc6)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x184dc6--;}else{if(_0x1ee899 instanceof TextLeaf){let _0x1f9e18=_0x1ee899['text'][_0x4e07a5+(_0x448798<0x0?-0x1:0x0)];if(this['offsets'][_0x51f3c]+=_0x448798,_0x1f9e18['length']>Math['max'](0x0,_0x184dc6))return this['value']=0x0==_0x184dc6?_0x1f9e18:_0x448798>0x0?_0x1f9e18['slice'](_0x184dc6):_0x1f9e18['slice'](0x0,_0x1f9e18['length']-_0x184dc6),this;_0x184dc6-=_0x1f9e18['length'];}else{let _0x51247a=_0x1ee899['children'][_0x4e07a5+(_0x448798<0x0?-0x1:0x0)];_0x184dc6>_0x51247a['length']?(_0x184dc6-=_0x51247a['length'],this['offsets'][_0x51f3c]+=_0x448798):(_0x448798<0x0&&this['offsets'][_0x51f3c]--,this['nodes']['push'](_0x51247a),this['offsets']['push'](_0x448798>0x0?0x1:(_0x51247a instanceof TextLeaf?_0x51247a['text']['length']:_0x51247a['children']['length'])<<0x1));}}}}}['next'](_0x9f4dcb=0x0){return _0x9f4dcb<0x0&&(this['nextInner'](-_0x9f4dcb,-this['dir']),_0x9f4dcb=this['value']['length']),this['nextInner'](_0x9f4dcb,this['dir']);}}class PartialTextCursor{constructor(_0x646692,_0x3e4112,_0x28be87){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x646692,_0x3e4112>_0x28be87?-0x1:0x1),this['pos']=_0x3e4112>_0x28be87?_0x646692['length']:0x0,this['from']=Math['min'](_0x3e4112,_0x28be87),this['to']=Math['max'](_0x3e4112,_0x28be87);}['nextInner'](_0x5c4ab2,_0x5a99c6){if(_0x5a99c6<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x5c4ab2+=Math['max'](0x0,_0x5a99c6<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x40cf0c=_0x5a99c6<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x5c4ab2>_0x40cf0c&&(_0x5c4ab2=_0x40cf0c),_0x40cf0c-=_0x5c4ab2;let {value:_0x13ad69}=this['cursor']['next'](_0x5c4ab2);return this['pos']+=(_0x13ad69['length']+_0x5c4ab2)*_0x5a99c6,this['value']=_0x13ad69['length']<=_0x40cf0c?_0x13ad69:_0x5a99c6<0x0?_0x13ad69['slice'](_0x13ad69['length']-_0x40cf0c):_0x13ad69['slice'](0x0,_0x40cf0c),this['done']=!this['value'],this;}['next'](_0x17290a=0x0){return _0x17290a<0x0?_0x17290a=Math['max'](_0x17290a,this['from']-this['pos']):_0x17290a>0x0&&(_0x17290a=Math['min'](_0x17290a,this['to']-this['pos'])),this['nextInner'](_0x17290a,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class LineCursor{constructor(_0x646f9c){this['inner']=_0x646f9c,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x512261=0x0){let {done:_0x590ff8,lineBreak:_0x22918d,value:_0x2ea94d}=this['inner']['next'](_0x512261);return _0x590ff8&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x590ff8?(this['done']=!0x0,this['value']=''):_0x22918d?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x2ea94d,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Text['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=LineCursor['prototype'][Symbol['iterator']]=function(){return this;});let Line$1=class{constructor(_0x19bcd7,_0x4d6615,_0x4c611a,_0x301357){this['from']=_0x19bcd7,this['to']=_0x4d6615,this['number']=_0x4c611a,this['text']=_0x301357;}get['length'](){return this['to']-this['from'];}};function clip(_0x4073b7,_0x1114ce,_0x1c2734){return[_0x1114ce=Math['max'](0x0,Math['min'](_0x4073b7['length'],_0x1114ce)),Math['max'](_0x1114ce,Math['min'](_0x4073b7['length'],_0x1c2734))];}function findClusterBreak(_0x567e8e,_0x2caec0,_0x102afc=!0x0,_0xe0d049=!0x0){return findClusterBreak$1(_0x567e8e,_0x2caec0,_0x102afc,_0xe0d049);}function surrogateLow(_0x53dc9e){return _0x53dc9e>=0xdc00&&_0x53dc9e<0xe000;}function surrogateHigh(_0x1b43ba){return _0x1b43ba>=0xd800&&_0x1b43ba<0xdc00;}function codePointAt(_0x17ca68,_0x455afd){let _0x310ace=_0x17ca68['charCodeAt'](_0x455afd);if(!surrogateHigh(_0x310ace)||_0x455afd+0x1==_0x17ca68['length'])return _0x310ace;let _0xd59db4=_0x17ca68['charCodeAt'](_0x455afd+0x1);return surrogateLow(_0xd59db4)?_0xd59db4-0xdc00+(_0x310ace-0xd800<<0xa)+0x10000:_0x310ace;}function fromCodePoint(_0x462d06){return _0x462d06<=0xffff?String['fromCharCode'](_0x462d06):(_0x462d06-=0x10000,String['fromCharCode'](0xd800+(_0x462d06>>0xa),0xdc00+(0x3ff&_0x462d06)));}function codePointSize(_0x5b9d35){return _0x5b9d35<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var MapMode=function(_0x1f32f0){return _0x1f32f0[_0x1f32f0['Simple']=0x0]='Simple',_0x1f32f0[_0x1f32f0['TrackDel']=0x1]='TrackDel',_0x1f32f0[_0x1f32f0['TrackBefore']=0x2]='TrackBefore',_0x1f32f0[_0x1f32f0['TrackAfter']=0x3]='TrackAfter',_0x1f32f0;}(MapMode||(MapMode={}));class ChangeDesc{constructor(_0xb64623){this['sections']=_0xb64623;}get['length'](){let _0x1a606c=0x0;for(let _0x5cd038=0x0;_0x5cd038<this['sections']['length'];_0x5cd038+=0x2)_0x1a606c+=this['sections'][_0x5cd038];return _0x1a606c;}get['newLength'](){let _0x29fcd4=0x0;for(let _0x59464f=0x0;_0x59464f<this['sections']['length'];_0x59464f+=0x2){let _0x329389=this['sections'][_0x59464f+0x1];_0x29fcd4+=_0x329389<0x0?this['sections'][_0x59464f]:_0x329389;}return _0x29fcd4;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x5543ce){for(let _0x211ce9=0x0,_0x2259f7=0x0,_0x30001c=0x0;_0x211ce9<this['sections']['length'];){let _0x255dc9=this['sections'][_0x211ce9++],_0x112d5e=this['sections'][_0x211ce9++];_0x112d5e<0x0?(_0x5543ce(_0x2259f7,_0x30001c,_0x255dc9),_0x30001c+=_0x255dc9):_0x30001c+=_0x112d5e,_0x2259f7+=_0x255dc9;}}['iterChangedRanges'](_0x1ec0e2,_0x5a56b4=!0x1){iterChanges(this,_0x1ec0e2,_0x5a56b4);}get['invertedDesc'](){let _0x1a06b7=[];for(let _0x193c25=0x0;_0x193c25<this['sections']['length'];){let _0x56651e=this['sections'][_0x193c25++],_0x8ecf9b=this['sections'][_0x193c25++];_0x8ecf9b<0x0?_0x1a06b7['push'](_0x56651e,_0x8ecf9b):_0x1a06b7['push'](_0x8ecf9b,_0x56651e);}return new ChangeDesc(_0x1a06b7);}['composeDesc'](_0x316e6c){return this['empty']?_0x316e6c:_0x316e6c['empty']?this:composeSets(this,_0x316e6c);}['mapDesc'](_0x49e88f,_0x374d71=!0x1){return _0x49e88f['empty']?this:mapSet(this,_0x49e88f,_0x374d71);}['mapPos'](_0x411cb0,_0x5db816=-0x1,_0x42be29=MapMode['Simple']){let _0x3bd1e5=0x0,_0x680fd1=0x0;for(let _0x365299=0x0;_0x365299<this['sections']['length'];){let _0x1714c3=this['sections'][_0x365299++],_0x28ce86=this['sections'][_0x365299++],_0x467f89=_0x3bd1e5+_0x1714c3;if(_0x28ce86<0x0){if(_0x467f89>_0x411cb0)return _0x680fd1+(_0x411cb0-_0x3bd1e5);_0x680fd1+=_0x1714c3;}else{if(_0x42be29!=MapMode['Simple']&&_0x467f89>=_0x411cb0&&(_0x42be29==MapMode['TrackDel']&&_0x3bd1e5<_0x411cb0&&_0x467f89>_0x411cb0||_0x42be29==MapMode['TrackBefore']&&_0x3bd1e5<_0x411cb0||_0x42be29==MapMode['TrackAfter']&&_0x467f89>_0x411cb0))return null;if(_0x467f89>_0x411cb0||_0x467f89==_0x411cb0&&_0x5db816<0x0&&!_0x1714c3)return _0x411cb0==_0x3bd1e5||_0x5db816<0x0?_0x680fd1:_0x680fd1+_0x28ce86;_0x680fd1+=_0x28ce86;}_0x3bd1e5=_0x467f89;}if(_0x411cb0>_0x3bd1e5)throw new RangeError('Position\x20'+_0x411cb0+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x3bd1e5);return _0x680fd1;}['touchesRange'](_0x1e0756,_0x5ddd57=_0x1e0756){for(let _0x3d28ac=0x0,_0x1b0e66=0x0;_0x3d28ac<this['sections']['length']&&_0x1b0e66<=_0x5ddd57;){let _0x43d6a4=_0x1b0e66+this['sections'][_0x3d28ac++];if(this['sections'][_0x3d28ac++]>=0x0&&_0x1b0e66<=_0x5ddd57&&_0x43d6a4>=_0x1e0756)return!(_0x1b0e66<_0x1e0756&&_0x43d6a4>_0x5ddd57)||'cover';_0x1b0e66=_0x43d6a4;}return!0x1;}['toString'](){let _0xf8af6d='';for(let _0x5b1b4e=0x0;_0x5b1b4e<this['sections']['length'];){let _0x4b27d8=this['sections'][_0x5b1b4e++],_0x5f3c88=this['sections'][_0x5b1b4e++];_0xf8af6d+=(_0xf8af6d?'\x20':'')+_0x4b27d8+(_0x5f3c88>=0x0?':'+_0x5f3c88:'');}return _0xf8af6d;}['toJSON'](){return this['sections'];}static['fromJSON'](_0xfaeca7){if(!Array['isArray'](_0xfaeca7)||_0xfaeca7['length']%0x2||_0xfaeca7['some'](_0x44912e=>'number'!=typeof _0x44912e))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new ChangeDesc(_0xfaeca7);}static['create'](_0x553743){return new ChangeDesc(_0x553743);}}class ChangeSet extends ChangeDesc{constructor(_0x4aa585,_0x3467f7){super(_0x4aa585),this['inserted']=_0x3467f7;}['apply'](_0x109d04){if(this['length']!=_0x109d04['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x48c502,_0x35d349,_0x54e945,_0x4a4144,_0x1b900f)=>_0x109d04=_0x109d04['replace'](_0x54e945,_0x54e945+(_0x35d349-_0x48c502),_0x1b900f),!0x1),_0x109d04;}['mapDesc'](_0x5838b5,_0x5ad4b3=!0x1){return mapSet(this,_0x5838b5,_0x5ad4b3,!0x0);}['invert'](_0x38fe02){let _0x1f86d6=this['sections']['slice'](),_0x8cd1=[];for(let _0xf1521=0x0,_0x49755a=0x0;_0xf1521<_0x1f86d6['length'];_0xf1521+=0x2){let _0x34c6b1=_0x1f86d6[_0xf1521],_0x279aea=_0x1f86d6[_0xf1521+0x1];if(_0x279aea>=0x0){_0x1f86d6[_0xf1521]=_0x279aea,_0x1f86d6[_0xf1521+0x1]=_0x34c6b1;let _0x8c41ba=_0xf1521>>0x1;for(;_0x8cd1['length']<_0x8c41ba;)_0x8cd1['push'](Text['empty']);_0x8cd1['push'](_0x34c6b1?_0x38fe02['slice'](_0x49755a,_0x49755a+_0x34c6b1):Text['empty']);}_0x49755a+=_0x34c6b1;}return new ChangeSet(_0x1f86d6,_0x8cd1);}['compose'](_0x2c6c88){return this['empty']?_0x2c6c88:_0x2c6c88['empty']?this:composeSets(this,_0x2c6c88,!0x0);}['map'](_0x3ecde2,_0x5599e4=!0x1){return _0x3ecde2['empty']?this:mapSet(this,_0x3ecde2,_0x5599e4,!0x0);}['iterChanges'](_0x1960ff,_0x241176=!0x1){iterChanges(this,_0x1960ff,_0x241176);}get['desc'](){return ChangeDesc['create'](this['sections']);}['filter'](_0x210e36){let _0x4c12ad=[],_0x2beeca=[],_0x4832d4=[],_0x484a00=new SectionIter(this);t:for(let _0x4d4877=0x0,_0x41c30b=0x0;;){let _0x4f2118=_0x4d4877==_0x210e36['length']?0x3b9aca00:_0x210e36[_0x4d4877++];for(;_0x41c30b<_0x4f2118||_0x41c30b==_0x4f2118&&0x0==_0x484a00['len'];){if(_0x484a00['done'])break t;let _0x32461a=Math['min'](_0x484a00['len'],_0x4f2118-_0x41c30b);addSection(_0x4832d4,_0x32461a,-0x1);let _0x1fe3cf=-0x1==_0x484a00['ins']?-0x1:0x0==_0x484a00['off']?_0x484a00['ins']:0x0;addSection(_0x4c12ad,_0x32461a,_0x1fe3cf),_0x1fe3cf>0x0&&addInsert(_0x2beeca,_0x4c12ad,_0x484a00['text']),_0x484a00['forward'](_0x32461a),_0x41c30b+=_0x32461a;}let _0x1050bb=_0x210e36[_0x4d4877++];for(;_0x41c30b<_0x1050bb;){if(_0x484a00['done'])break t;let _0x4336d3=Math['min'](_0x484a00['len'],_0x1050bb-_0x41c30b);addSection(_0x4c12ad,_0x4336d3,-0x1),addSection(_0x4832d4,_0x4336d3,-0x1==_0x484a00['ins']?-0x1:0x0==_0x484a00['off']?_0x484a00['ins']:0x0),_0x484a00['forward'](_0x4336d3),_0x41c30b+=_0x4336d3;}}return{'changes':new ChangeSet(_0x4c12ad,_0x2beeca),'filtered':ChangeDesc['create'](_0x4832d4)};}['toJSON'](){let _0x3719e6=[];for(let _0x1e9d50=0x0;_0x1e9d50<this['sections']['length'];_0x1e9d50+=0x2){let _0x28075e=this['sections'][_0x1e9d50],_0x152166=this['sections'][_0x1e9d50+0x1];_0x152166<0x0?_0x3719e6['push'](_0x28075e):0x0==_0x152166?_0x3719e6['push']([_0x28075e]):_0x3719e6['push']([_0x28075e]['concat'](this['inserted'][_0x1e9d50>>0x1]['toJSON']()));}return _0x3719e6;}static['of'](_0x1907f0,_0x4ea2f5,_0x160888){let _0x47d37e=[],_0x3b6b8f=[],_0xb0fb68=0x0,_0x580e53=null;function _0x14deeb(_0x24b1ef=!0x1){if(!_0x24b1ef&&!_0x47d37e['length'])return;_0xb0fb68<_0x4ea2f5&&addSection(_0x47d37e,_0x4ea2f5-_0xb0fb68,-0x1);let _0x4474c0=new ChangeSet(_0x47d37e,_0x3b6b8f);_0x580e53=_0x580e53?_0x580e53['compose'](_0x4474c0['map'](_0x580e53)):_0x4474c0,_0x47d37e=[],_0x3b6b8f=[],_0xb0fb68=0x0;}return function _0x145d65(_0x3b0083){if(Array['isArray'](_0x3b0083)){for(let _0x5554f6 of _0x3b0083)_0x145d65(_0x5554f6);}else{if(_0x3b0083 instanceof ChangeSet){if(_0x3b0083['length']!=_0x4ea2f5)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x3b0083['length']+',\x20expected\x20'+_0x4ea2f5+')');_0x14deeb(),_0x580e53=_0x580e53?_0x580e53['compose'](_0x3b0083['map'](_0x580e53)):_0x3b0083;}else{let {from:_0x147651,to:_0x119159=_0x147651,insert:_0x4a3b76}=_0x3b0083;if(_0x147651>_0x119159||_0x147651<0x0||_0x119159>_0x4ea2f5)throw new RangeError('Invalid\x20change\x20range\x20'+_0x147651+'\x20to\x20'+_0x119159+'\x20(in\x20doc\x20of\x20length\x20'+_0x4ea2f5+')');let _0x57005c=_0x4a3b76?'string'==typeof _0x4a3b76?Text['of'](_0x4a3b76['split'](_0x160888||DefaultSplit)):_0x4a3b76:Text['empty'],_0x46c2d1=_0x57005c['length'];if(_0x147651==_0x119159&&0x0==_0x46c2d1)return;_0x147651<_0xb0fb68&&_0x14deeb(),_0x147651>_0xb0fb68&&addSection(_0x47d37e,_0x147651-_0xb0fb68,-0x1),addSection(_0x47d37e,_0x119159-_0x147651,_0x46c2d1),addInsert(_0x3b6b8f,_0x47d37e,_0x57005c),_0xb0fb68=_0x119159;}}}(_0x1907f0),_0x14deeb(!_0x580e53),_0x580e53;}static['empty'](_0x2cb4a9){return new ChangeSet(_0x2cb4a9?[_0x2cb4a9,-0x1]:[],[]);}static['fromJSON'](_0x1da2bf){if(!Array['isArray'](_0x1da2bf))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x31d315=[],_0x259b3c=[];for(let _0x107132=0x0;_0x107132<_0x1da2bf['length'];_0x107132++){let _0x2a39b4=_0x1da2bf[_0x107132];if('number'==typeof _0x2a39b4)_0x31d315['push'](_0x2a39b4,-0x1);else{if(!Array['isArray'](_0x2a39b4)||'number'!=typeof _0x2a39b4[0x0]||_0x2a39b4['some']((_0x33059a,_0x2ebe2c)=>_0x2ebe2c&&'string'!=typeof _0x33059a))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x2a39b4['length'])_0x31d315['push'](_0x2a39b4[0x0],0x0);else{for(;_0x259b3c['length']<_0x107132;)_0x259b3c['push'](Text['empty']);_0x259b3c[_0x107132]=Text['of'](_0x2a39b4['slice'](0x1)),_0x31d315['push'](_0x2a39b4[0x0],_0x259b3c[_0x107132]['length']);}}}return new ChangeSet(_0x31d315,_0x259b3c);}static['createSet'](_0x1bdd47,_0x27086f){return new ChangeSet(_0x1bdd47,_0x27086f);}}function addSection(_0x5c2069,_0x6dfbe,_0x1182f4,_0x4d919e=!0x1){if(0x0==_0x6dfbe&&_0x1182f4<=0x0)return;let _0x3568bf=_0x5c2069['length']-0x2;_0x3568bf>=0x0&&_0x1182f4<=0x0&&_0x1182f4==_0x5c2069[_0x3568bf+0x1]?_0x5c2069[_0x3568bf]+=_0x6dfbe:_0x3568bf>=0x0&&0x0==_0x6dfbe&&0x0==_0x5c2069[_0x3568bf]?_0x5c2069[_0x3568bf+0x1]+=_0x1182f4:_0x4d919e?(_0x5c2069[_0x3568bf]+=_0x6dfbe,_0x5c2069[_0x3568bf+0x1]+=_0x1182f4):_0x5c2069['push'](_0x6dfbe,_0x1182f4);}function addInsert(_0x2f19eb,_0x2428fd,_0x77a328){if(0x0==_0x77a328['length'])return;let _0x20c405=_0x2428fd['length']-0x2>>0x1;if(_0x20c405<_0x2f19eb['length'])_0x2f19eb[_0x2f19eb['length']-0x1]=_0x2f19eb[_0x2f19eb['length']-0x1]['append'](_0x77a328);else{for(;_0x2f19eb['length']<_0x20c405;)_0x2f19eb['push'](Text['empty']);_0x2f19eb['push'](_0x77a328);}}function iterChanges(_0x218225,_0x1598ba,_0x1f10e4){let _0x5c7554=_0x218225['inserted'];for(let _0x51c208=0x0,_0x427db8=0x0,_0x539403=0x0;_0x539403<_0x218225['sections']['length'];){let _0x59dd31=_0x218225['sections'][_0x539403++],_0x4003e3=_0x218225['sections'][_0x539403++];if(_0x4003e3<0x0)_0x51c208+=_0x59dd31,_0x427db8+=_0x59dd31;else{let _0x298509=_0x51c208,_0x1e89e5=_0x427db8,_0x5c805e=Text['empty'];for(;_0x298509+=_0x59dd31,_0x1e89e5+=_0x4003e3,_0x4003e3&&_0x5c7554&&(_0x5c805e=_0x5c805e['append'](_0x5c7554[_0x539403-0x2>>0x1])),!(_0x1f10e4||_0x539403==_0x218225['sections']['length']||_0x218225['sections'][_0x539403+0x1]<0x0);)_0x59dd31=_0x218225['sections'][_0x539403++],_0x4003e3=_0x218225['sections'][_0x539403++];_0x1598ba(_0x51c208,_0x298509,_0x427db8,_0x1e89e5,_0x5c805e),_0x51c208=_0x298509,_0x427db8=_0x1e89e5;}}}function mapSet(_0x3c2e97,_0x3edc70,_0x2baba0,_0x44af39=!0x1){let _0xacb398=[],_0x326086=_0x44af39?[]:null,_0x3534fa=new SectionIter(_0x3c2e97),_0xd2a47d=new SectionIter(_0x3edc70);for(let _0x22fd21=-0x1;;){if(_0x3534fa['done']&&_0xd2a47d['len']||_0xd2a47d['done']&&_0x3534fa['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x3534fa['ins']&&-0x1==_0xd2a47d['ins']){let _0x56554b=Math['min'](_0x3534fa['len'],_0xd2a47d['len']);addSection(_0xacb398,_0x56554b,-0x1),_0x3534fa['forward'](_0x56554b),_0xd2a47d['forward'](_0x56554b);}else{if(_0xd2a47d['ins']>=0x0&&(_0x3534fa['ins']<0x0||_0x22fd21==_0x3534fa['i']||0x0==_0x3534fa['off']&&(_0xd2a47d['len']<_0x3534fa['len']||_0xd2a47d['len']==_0x3534fa['len']&&!_0x2baba0))){let _0x34fe5e=_0xd2a47d['len'];for(addSection(_0xacb398,_0xd2a47d['ins'],-0x1);_0x34fe5e;){let _0x4ec020=Math['min'](_0x3534fa['len'],_0x34fe5e);_0x3534fa['ins']>=0x0&&_0x22fd21<_0x3534fa['i']&&_0x3534fa['len']<=_0x4ec020&&(addSection(_0xacb398,0x0,_0x3534fa['ins']),_0x326086&&addInsert(_0x326086,_0xacb398,_0x3534fa['text']),_0x22fd21=_0x3534fa['i']),_0x3534fa['forward'](_0x4ec020),_0x34fe5e-=_0x4ec020;}_0xd2a47d['next']();}else{if(!(_0x3534fa['ins']>=0x0)){if(_0x3534fa['done']&&_0xd2a47d['done'])return _0x326086?ChangeSet['createSet'](_0xacb398,_0x326086):ChangeDesc['create'](_0xacb398);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x54c6ef=0x0,_0x2d9298=_0x3534fa['len'];for(;_0x2d9298;)if(-0x1==_0xd2a47d['ins']){let _0x1363d3=Math['min'](_0x2d9298,_0xd2a47d['len']);_0x54c6ef+=_0x1363d3,_0x2d9298-=_0x1363d3,_0xd2a47d['forward'](_0x1363d3);}else{if(!(0x0==_0xd2a47d['ins']&&_0xd2a47d['len']<_0x2d9298))break;_0x2d9298-=_0xd2a47d['len'],_0xd2a47d['next']();}addSection(_0xacb398,_0x54c6ef,_0x22fd21<_0x3534fa['i']?_0x3534fa['ins']:0x0),_0x326086&&_0x22fd21<_0x3534fa['i']&&addInsert(_0x326086,_0xacb398,_0x3534fa['text']),_0x22fd21=_0x3534fa['i'],_0x3534fa['forward'](_0x3534fa['len']-_0x2d9298);}}}}}function composeSets(_0x1dd08c,_0x54b897,_0x4dad6c=!0x1){let _0x4dd74a=[],_0x5e6453=_0x4dad6c?[]:null,_0x2aa80c=new SectionIter(_0x1dd08c),_0x1274f6=new SectionIter(_0x54b897);for(let _0x1d1e99=!0x1;;){if(_0x2aa80c['done']&&_0x1274f6['done'])return _0x5e6453?ChangeSet['createSet'](_0x4dd74a,_0x5e6453):ChangeDesc['create'](_0x4dd74a);if(0x0==_0x2aa80c['ins'])addSection(_0x4dd74a,_0x2aa80c['len'],0x0,_0x1d1e99),_0x2aa80c['next']();else{if(0x0!=_0x1274f6['len']||_0x1274f6['done']){if(_0x2aa80c['done']||_0x1274f6['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x44603c=Math['min'](_0x2aa80c['len2'],_0x1274f6['len']),_0x227861=_0x4dd74a['length'];if(-0x1==_0x2aa80c['ins']){let _0x3d9f69=-0x1==_0x1274f6['ins']?-0x1:_0x1274f6['off']?0x0:_0x1274f6['ins'];addSection(_0x4dd74a,_0x44603c,_0x3d9f69,_0x1d1e99),_0x5e6453&&_0x3d9f69&&addInsert(_0x5e6453,_0x4dd74a,_0x1274f6['text']);}else-0x1==_0x1274f6['ins']?(addSection(_0x4dd74a,_0x2aa80c['off']?0x0:_0x2aa80c['len'],_0x44603c,_0x1d1e99),_0x5e6453&&addInsert(_0x5e6453,_0x4dd74a,_0x2aa80c['textBit'](_0x44603c))):(addSection(_0x4dd74a,_0x2aa80c['off']?0x0:_0x2aa80c['len'],_0x1274f6['off']?0x0:_0x1274f6['ins'],_0x1d1e99),_0x5e6453&&!_0x1274f6['off']&&addInsert(_0x5e6453,_0x4dd74a,_0x1274f6['text']));_0x1d1e99=(_0x2aa80c['ins']>_0x44603c||_0x1274f6['ins']>=0x0&&_0x1274f6['len']>_0x44603c)&&(_0x1d1e99||_0x4dd74a['length']>_0x227861),_0x2aa80c['forward2'](_0x44603c),_0x1274f6['forward'](_0x44603c);}}else addSection(_0x4dd74a,0x0,_0x1274f6['ins'],_0x1d1e99),_0x5e6453&&addInsert(_0x5e6453,_0x4dd74a,_0x1274f6['text']),_0x1274f6['next']();}}}class SectionIter{constructor(_0x41d303){this['set']=_0x41d303,this['i']=0x0,this['next']();}['next'](){let {sections:_0x1d7e42}=this['set'];this['i']<_0x1d7e42['length']?(this['len']=_0x1d7e42[this['i']++],this['ins']=_0x1d7e42[this['i']++]):(this['len']=0x0,this['ins']=-0x2),this['off']=0x0;}get['done'](){return-0x2==this['ins'];}get['len2'](){return this['ins']<0x0?this['len']:this['ins'];}get['text'](){let {inserted:_0x1a6bff}=this['set'],_0x37d275=this['i']-0x2>>0x1;return _0x37d275>=_0x1a6bff['length']?Text['empty']:_0x1a6bff[_0x37d275];}['textBit'](_0x526e4f){let {inserted:_0x8ef635}=this['set'],_0xcaf29f=this['i']-0x2>>0x1;return _0xcaf29f>=_0x8ef635['length']&&!_0x526e4f?Text['empty']:_0x8ef635[_0xcaf29f]['slice'](this['off'],null==_0x526e4f?void 0x0:this['off']+_0x526e4f);}['forward'](_0x3227e6){_0x3227e6==this['len']?this['next']():(this['len']-=_0x3227e6,this['off']+=_0x3227e6);}['forward2'](_0x151384){-0x1==this['ins']?this['forward'](_0x151384):_0x151384==this['ins']?this['next']():(this['ins']-=_0x151384,this['off']+=_0x151384);}}class SelectionRange{constructor(_0x13acf2,_0x13e523,_0xd06af1){this['from']=_0x13acf2,this['to']=_0x13e523,this['flags']=_0xd06af1;}get['anchor'](){return 0x20&this['flags']?this['to']:this['from'];}get['head'](){return 0x20&this['flags']?this['from']:this['to'];}get['empty'](){return this['from']==this['to'];}get['assoc'](){return 0x8&this['flags']?-0x1:0x10&this['flags']?0x1:0x0;}get['bidiLevel'](){let _0x232312=0x7&this['flags'];return 0x7==_0x232312?null:_0x232312;}get['goalColumn'](){let _0x3f3fbf=this['flags']>>0x6;return 0xffffff==_0x3f3fbf?void 0x0:_0x3f3fbf;}['map'](_0x494b2f,_0x51d47e=-0x1){let _0x188e62,_0x3f5f6c;return this['empty']?_0x188e62=_0x3f5f6c=_0x494b2f['mapPos'](this['from'],_0x51d47e):(_0x188e62=_0x494b2f['mapPos'](this['from'],0x1),_0x3f5f6c=_0x494b2f['mapPos'](this['to'],-0x1)),_0x188e62==this['from']&&_0x3f5f6c==this['to']?this:new SelectionRange(_0x188e62,_0x3f5f6c,this['flags']);}['extend'](_0x3b9d14,_0x4ea6af=_0x3b9d14){if(_0x3b9d14<=this['anchor']&&_0x4ea6af>=this['anchor'])return EditorSelection['range'](_0x3b9d14,_0x4ea6af);let _0x29a029=Math['abs'](_0x3b9d14-this['anchor'])>Math['abs'](_0x4ea6af-this['anchor'])?_0x3b9d14:_0x4ea6af;return EditorSelection['range'](this['anchor'],_0x29a029);}['eq'](_0x2dde9b,_0x2bef9b=!0x1){return!(this['anchor']!=_0x2dde9b['anchor']||this['head']!=_0x2dde9b['head']||_0x2bef9b&&this['empty']&&this['assoc']!=_0x2dde9b['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x3d1b45){if(!_0x3d1b45||'number'!=typeof _0x3d1b45['anchor']||'number'!=typeof _0x3d1b45['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x3d1b45['anchor'],_0x3d1b45['head']);}static['create'](_0x2e3444,_0x3e73f0,_0x964665){return new SelectionRange(_0x2e3444,_0x3e73f0,_0x964665);}}class EditorSelection{constructor(_0x541be1,_0x487eb3){this['ranges']=_0x541be1,this['mainIndex']=_0x487eb3;}['map'](_0xa6f1e3,_0x25f8d7=-0x1){return _0xa6f1e3['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x39a295=>_0x39a295['map'](_0xa6f1e3,_0x25f8d7)),this['mainIndex']);}['eq'](_0x12e82a,_0x1b2f8a=!0x1){if(this['ranges']['length']!=_0x12e82a['ranges']['length']||this['mainIndex']!=_0x12e82a['mainIndex'])return!0x1;for(let _0x47a4ae=0x0;_0x47a4ae<this['ranges']['length'];_0x47a4ae++)if(!this['ranges'][_0x47a4ae]['eq'](_0x12e82a['ranges'][_0x47a4ae],_0x1b2f8a))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x320220,_0x36fe65=!0x0){return EditorSelection['create']([_0x320220]['concat'](this['ranges']),_0x36fe65?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x3ea0fc,_0x36a01a=this['mainIndex']){let _0x222857=this['ranges']['slice']();return _0x222857[_0x36a01a]=_0x3ea0fc,EditorSelection['create'](_0x222857,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x16da76=>_0x16da76['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x59e9a9){if(!_0x59e9a9||!Array['isArray'](_0x59e9a9['ranges'])||'number'!=typeof _0x59e9a9['main']||_0x59e9a9['main']>=_0x59e9a9['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x59e9a9['ranges']['map'](_0xc3288d=>SelectionRange['fromJSON'](_0xc3288d)),_0x59e9a9['main']);}static['single'](_0x59b085,_0x2a74a9=_0x59b085){return new EditorSelection([EditorSelection['range'](_0x59b085,_0x2a74a9)],0x0);}static['create'](_0x559076,_0xfcf87e=0x0){if(0x0==_0x559076['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x432037=0x0,_0x3a441c=0x0;_0x3a441c<_0x559076['length'];_0x3a441c++){let _0x3477c8=_0x559076[_0x3a441c];if(_0x3477c8['empty']?_0x3477c8['from']<=_0x432037:_0x3477c8['from']<_0x432037)return EditorSelection['normalized'](_0x559076['slice'](),_0xfcf87e);_0x432037=_0x3477c8['to'];}return new EditorSelection(_0x559076,_0xfcf87e);}static['cursor'](_0x2c9d8c,_0x14177c=0x0,_0x1db649,_0x31bf56){return SelectionRange['create'](_0x2c9d8c,_0x2c9d8c,(0x0==_0x14177c?0x0:_0x14177c<0x0?0x8:0x10)|(null==_0x1db649?0x7:Math['min'](0x6,_0x1db649))|(null!=_0x31bf56?_0x31bf56:0xffffff)<<0x6);}static['range'](_0x259487,_0x44e3c8,_0x6d07bf,_0x22eb30){let _0x1d5a40=(null!=_0x6d07bf?_0x6d07bf:0xffffff)<<0x6|(null==_0x22eb30?0x7:Math['min'](0x6,_0x22eb30));return _0x44e3c8<_0x259487?SelectionRange['create'](_0x44e3c8,_0x259487,0x30|_0x1d5a40):SelectionRange['create'](_0x259487,_0x44e3c8,(_0x44e3c8>_0x259487?0x8:0x0)|_0x1d5a40);}static['normalized'](_0x4b7332,_0x466c27=0x0){let _0x243bea=_0x4b7332[_0x466c27];_0x4b7332['sort']((_0x579add,_0x4f9e5f)=>_0x579add['from']-_0x4f9e5f['from']),_0x466c27=_0x4b7332['indexOf'](_0x243bea);for(let _0x488e04=0x1;_0x488e04<_0x4b7332['length'];_0x488e04++){let _0x41cbe9=_0x4b7332[_0x488e04],_0x3b288f=_0x4b7332[_0x488e04-0x1];if(_0x41cbe9['empty']?_0x41cbe9['from']<=_0x3b288f['to']:_0x41cbe9['from']<_0x3b288f['to']){let _0x24e23c=_0x3b288f['from'],_0xafb770=Math['max'](_0x41cbe9['to'],_0x3b288f['to']);_0x488e04<=_0x466c27&&_0x466c27--,_0x4b7332['splice'](--_0x488e04,0x2,_0x41cbe9['anchor']>_0x41cbe9['head']?EditorSelection['range'](_0xafb770,_0x24e23c):EditorSelection['range'](_0x24e23c,_0xafb770));}}return new EditorSelection(_0x4b7332,_0x466c27);}}function checkSelection(_0x5adcf7,_0x485820){for(let _0x387f7b of _0x5adcf7['ranges'])if(_0x387f7b['to']>_0x485820)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x4fae88,_0x4fb8bc,_0x49a8e0,_0x4a8061,_0x22106e){this['combine']=_0x4fae88,this['compareInput']=_0x4fb8bc,this['compare']=_0x49a8e0,this['isStatic']=_0x4a8061,this['id']=nextID++,this['default']=_0x4fae88([]),this['extensions']='function'==typeof _0x22106e?_0x22106e(this):_0x22106e;}get['reader'](){return this;}static['define'](_0x58409b={}){return new Facet(_0x58409b['combine']||(_0x461824=>_0x461824),_0x58409b['compareInput']||((_0x54fbd6,_0x151680)=>_0x54fbd6===_0x151680),_0x58409b['compare']||(_0x58409b['combine']?(_0x3686f4,_0x13615f)=>_0x3686f4===_0x13615f:sameArray$1),!!_0x58409b['static'],_0x58409b['enables']);}['of'](_0x465db1){return new FacetProvider([],this,0x0,_0x465db1);}['compute'](_0x4e5871,_0x37c3a7){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x4e5871,this,0x1,_0x37c3a7);}['computeN'](_0x2dac44,_0x559c47){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x2dac44,this,0x2,_0x559c47);}['from'](_0x43343f,_0x4042c8){return _0x4042c8||(_0x4042c8=_0x56b9c1=>_0x56b9c1),this['compute']([_0x43343f],_0x265859=>_0x4042c8(_0x265859['field'](_0x43343f)));}}function sameArray$1(_0x3346d0,_0x39f6cd){return _0x3346d0==_0x39f6cd||_0x3346d0['length']==_0x39f6cd['length']&&_0x3346d0['every']((_0xd28ec1,_0x281db6)=>_0xd28ec1===_0x39f6cd[_0x281db6]);}class FacetProvider{constructor(_0x5f4486,_0x2a23a3,_0x3645a9,_0x20d711){this['dependencies']=_0x5f4486,this['facet']=_0x2a23a3,this['type']=_0x3645a9,this['value']=_0x20d711,this['id']=nextID++;}['dynamicSlot'](_0x9bf244){var _0x2af589;let _0x563ef5=this['value'],_0x441e5f=this['facet']['compareInput'],_0x53f40d=this['id'],_0x490e8d=_0x9bf244[_0x53f40d]>>0x1,_0x8f5dc9=0x2==this['type'],_0x153dc7=!0x1,_0xf1ea16=!0x1,_0x3f7bba=[];for(let _0x4ee9a4 of this['dependencies'])'doc'==_0x4ee9a4?_0x153dc7=!0x0:'selection'==_0x4ee9a4?_0xf1ea16=!0x0:0x1&(null!==(_0x2af589=_0x9bf244[_0x4ee9a4['id']])&&void 0x0!==_0x2af589?_0x2af589:0x1)||_0x3f7bba['push'](_0x9bf244[_0x4ee9a4['id']]);return{'create':_0x2f8678=>(_0x2f8678['values'][_0x490e8d]=_0x563ef5(_0x2f8678),0x1),'update'(_0x3d1ff6,_0x549c9e){if(_0x153dc7&&_0x549c9e['docChanged']||_0xf1ea16&&(_0x549c9e['docChanged']||_0x549c9e['selection'])||ensureAll(_0x3d1ff6,_0x3f7bba)){let _0x4e99b5=_0x563ef5(_0x3d1ff6);if(_0x8f5dc9?!compareArray(_0x4e99b5,_0x3d1ff6['values'][_0x490e8d],_0x441e5f):!_0x441e5f(_0x4e99b5,_0x3d1ff6['values'][_0x490e8d]))return _0x3d1ff6['values'][_0x490e8d]=_0x4e99b5,0x1;}return 0x0;},'reconfigure':(_0x2c1fb5,_0x111b23)=>{let _0x1cd23e,_0xf86ef9=_0x111b23['config']['address'][_0x53f40d];if(null!=_0xf86ef9){let _0x188bd9=getAddr(_0x111b23,_0xf86ef9);if(this['dependencies']['every'](_0x26de4e=>_0x26de4e instanceof Facet?_0x111b23['facet'](_0x26de4e)===_0x2c1fb5['facet'](_0x26de4e):!(_0x26de4e instanceof StateField)||_0x111b23['field'](_0x26de4e,!0x1)==_0x2c1fb5['field'](_0x26de4e,!0x1))||(_0x8f5dc9?compareArray(_0x1cd23e=_0x563ef5(_0x2c1fb5),_0x188bd9,_0x441e5f):_0x441e5f(_0x1cd23e=_0x563ef5(_0x2c1fb5),_0x188bd9)))return _0x2c1fb5['values'][_0x490e8d]=_0x188bd9,0x0;}else _0x1cd23e=_0x563ef5(_0x2c1fb5);return _0x2c1fb5['values'][_0x490e8d]=_0x1cd23e,0x1;}};}}function compareArray(_0x309965,_0x518edd,_0x5d085a){if(_0x309965['length']!=_0x518edd['length'])return!0x1;for(let _0x460ed3=0x0;_0x460ed3<_0x309965['length'];_0x460ed3++)if(!_0x5d085a(_0x309965[_0x460ed3],_0x518edd[_0x460ed3]))return!0x1;return!0x0;}function ensureAll(_0x318ce1,_0x9e874e){let _0x3b6eb6=!0x1;for(let _0x494299 of _0x9e874e)0x1&ensureAddr(_0x318ce1,_0x494299)&&(_0x3b6eb6=!0x0);return _0x3b6eb6;}function dynamicFacetSlot(_0x22a7e3,_0x4ac2c7,_0x439ab5){let _0x4f7224=_0x439ab5['map'](_0x403658=>_0x22a7e3[_0x403658['id']]),_0xbd0fd8=_0x439ab5['map'](_0x2eff97=>_0x2eff97['type']),_0xdac875=_0x4f7224['filter'](_0x2d0af2=>!(0x1&_0x2d0af2)),_0x5a9f96=_0x22a7e3[_0x4ac2c7['id']]>>0x1;function _0x8acfbb(_0x1216ed){let _0x5d2ed9=[];for(let _0x51e85d=0x0;_0x51e85d<_0x4f7224['length'];_0x51e85d++){let _0x334628=getAddr(_0x1216ed,_0x4f7224[_0x51e85d]);if(0x2==_0xbd0fd8[_0x51e85d]){for(let _0x306fc8 of _0x334628)_0x5d2ed9['push'](_0x306fc8);}else _0x5d2ed9['push'](_0x334628);}return _0x4ac2c7['combine'](_0x5d2ed9);}return{'create'(_0x36cfc1){for(let _0x15f72d of _0x4f7224)ensureAddr(_0x36cfc1,_0x15f72d);return _0x36cfc1['values'][_0x5a9f96]=_0x8acfbb(_0x36cfc1),0x1;},'update'(_0x52214a,_0x38de57){if(!ensureAll(_0x52214a,_0xdac875))return 0x0;let _0x51c313=_0x8acfbb(_0x52214a);return _0x4ac2c7['compare'](_0x51c313,_0x52214a['values'][_0x5a9f96])?0x0:(_0x52214a['values'][_0x5a9f96]=_0x51c313,0x1);},'reconfigure'(_0x45b31a,_0x313ed4){let _0x45a0cc=ensureAll(_0x45b31a,_0x4f7224),_0x3b2436=_0x313ed4['config']['facets'][_0x4ac2c7['id']],_0x3bba40=_0x313ed4['facet'](_0x4ac2c7);if(_0x3b2436&&!_0x45a0cc&&sameArray$1(_0x439ab5,_0x3b2436))return _0x45b31a['values'][_0x5a9f96]=_0x3bba40,0x0;let _0x5a8102=_0x8acfbb(_0x45b31a);return _0x4ac2c7['compare'](_0x5a8102,_0x3bba40)?(_0x45b31a['values'][_0x5a9f96]=_0x3bba40,0x0):(_0x45b31a['values'][_0x5a9f96]=_0x5a8102,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x4d419b,_0x543f32,_0x1591f3,_0x471aa0,_0xabf8c0){this['id']=_0x4d419b,this['createF']=_0x543f32,this['updateF']=_0x1591f3,this['compareF']=_0x471aa0,this['spec']=_0xabf8c0,this['provides']=void 0x0;}static['define'](_0x1b68a4){let _0x8c6175=new StateField(nextID++,_0x1b68a4['create'],_0x1b68a4['update'],_0x1b68a4['compare']||((_0x2cc07c,_0x10ef0c)=>_0x2cc07c===_0x10ef0c),_0x1b68a4);return _0x1b68a4['provide']&&(_0x8c6175['provides']=_0x1b68a4['provide'](_0x8c6175)),_0x8c6175;}['create'](_0x59108d){let _0x1cb053=_0x59108d['facet'](initField)['find'](_0x340a89=>_0x340a89['field']==this);return((null==_0x1cb053?void 0x0:_0x1cb053['create'])||this['createF'])(_0x59108d);}['slot'](_0x3c9d16){let _0x42e917=_0x3c9d16[this['id']]>>0x1;return{'create':_0xb03070=>(_0xb03070['values'][_0x42e917]=this['create'](_0xb03070),0x1),'update':(_0x37aea4,_0x12218d)=>{let _0x3f458f=_0x37aea4['values'][_0x42e917],_0x4653b8=this['updateF'](_0x3f458f,_0x12218d);return this['compareF'](_0x3f458f,_0x4653b8)?0x0:(_0x37aea4['values'][_0x42e917]=_0x4653b8,0x1);},'reconfigure':(_0x3b0a0b,_0x7fd8fe)=>{let _0x100439,_0xcd7919=_0x3b0a0b['facet'](initField),_0x2d5b24=_0x7fd8fe['facet'](initField);return(_0x100439=_0xcd7919['find'](_0x5ee0d0=>_0x5ee0d0['field']==this))&&_0x100439!=_0x2d5b24['find'](_0x112c04=>_0x112c04['field']==this)?(_0x3b0a0b['values'][_0x42e917]=_0x100439['create'](_0x3b0a0b),0x1):null!=_0x7fd8fe['config']['address'][this['id']]?(_0x3b0a0b['values'][_0x42e917]=_0x7fd8fe['field'](this),0x0):(_0x3b0a0b['values'][_0x42e917]=this['create'](_0x3b0a0b),0x1);}};}['init'](_0x58d480){return[this,initField['of']({'field':this,'create':_0x58d480})];}get['extension'](){return this;}}const Prec_={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function prec(_0x99c055){return _0x51c2db=>new PrecExtension(_0x51c2db,_0x99c055);}const Prec={'highest':prec(Prec_['highest']),'high':prec(Prec_['high']),'default':prec(Prec_['default']),'low':prec(Prec_['low']),'lowest':prec(Prec_['lowest'])};class PrecExtension{constructor(_0x435bf2,_0x2b2f1e){this['inner']=_0x435bf2,this['prec']=_0x2b2f1e;}}class Compartment{['of'](_0x237cf6){return new CompartmentInstance(this,_0x237cf6);}['reconfigure'](_0x5f25d7){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x5f25d7});}['get'](_0x5d0a20){return _0x5d0a20['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x4712f4,_0x42d5d0){this['compartment']=_0x4712f4,this['inner']=_0x42d5d0;}}class Configuration{constructor(_0x5b401d,_0x3336ea,_0x28f3e2,_0x336deb,_0x4d692d,_0xb5f8b5){for(this['base']=_0x5b401d,this['compartments']=_0x3336ea,this['dynamicSlots']=_0x28f3e2,this['address']=_0x336deb,this['staticValues']=_0x4d692d,this['facets']=_0xb5f8b5,this['statusTemplate']=[];this['statusTemplate']['length']<_0x28f3e2['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x486585){let _0x553219=this['address'][_0x486585['id']];return null==_0x553219?_0x486585['default']:this['staticValues'][_0x553219>>0x1];}static['resolve'](_0x59b73a,_0x5038cb,_0x21221b){let _0x9d79e7=[],_0x16fedb=Object['create'](null),_0x310b04=new Map();for(let _0x407f8f of flatten(_0x59b73a,_0x5038cb,_0x310b04))_0x407f8f instanceof StateField?_0x9d79e7['push'](_0x407f8f):(_0x16fedb[_0x407f8f['facet']['id']]||(_0x16fedb[_0x407f8f['facet']['id']]=[]))['push'](_0x407f8f);let _0x466c43=Object['create'](null),_0x4c6ff5=[],_0x2d2429=[];for(let _0x1889d8 of _0x9d79e7)_0x466c43[_0x1889d8['id']]=_0x2d2429['length']<<0x1,_0x2d2429['push'](_0x1724d3=>_0x1889d8['slot'](_0x1724d3));let _0x207e44=null==_0x21221b?void 0x0:_0x21221b['config']['facets'];for(let _0x20a1cf in _0x16fedb){let _0x3c94de=_0x16fedb[_0x20a1cf],_0x4b5a74=_0x3c94de[0x0]['facet'],_0x505d2=_0x207e44&&_0x207e44[_0x20a1cf]||[];if(_0x3c94de['every'](_0x1bea31=>0x0==_0x1bea31['type'])){if(_0x466c43[_0x4b5a74['id']]=_0x4c6ff5['length']<<0x1|0x1,sameArray$1(_0x505d2,_0x3c94de))_0x4c6ff5['push'](_0x21221b['facet'](_0x4b5a74));else{let _0xfc5918=_0x4b5a74['combine'](_0x3c94de['map'](_0xb09293=>_0xb09293['value']));_0x4c6ff5['push'](_0x21221b&&_0x4b5a74['compare'](_0xfc5918,_0x21221b['facet'](_0x4b5a74))?_0x21221b['facet'](_0x4b5a74):_0xfc5918);}}else{for(let _0x385b62 of _0x3c94de)0x0==_0x385b62['type']?(_0x466c43[_0x385b62['id']]=_0x4c6ff5['length']<<0x1|0x1,_0x4c6ff5['push'](_0x385b62['value'])):(_0x466c43[_0x385b62['id']]=_0x2d2429['length']<<0x1,_0x2d2429['push'](_0x4085c2=>_0x385b62['dynamicSlot'](_0x4085c2)));_0x466c43[_0x4b5a74['id']]=_0x2d2429['length']<<0x1,_0x2d2429['push'](_0x207751=>dynamicFacetSlot(_0x207751,_0x4b5a74,_0x3c94de));}}let _0x66b67f=_0x2d2429['map'](_0x5b6a05=>_0x5b6a05(_0x466c43));return new Configuration(_0x59b73a,_0x310b04,_0x66b67f,_0x466c43,_0x4c6ff5,_0x16fedb);}}function flatten(_0x551c5f,_0x2272db,_0x144f3e){let _0x170c55=[[],[],[],[],[]],_0x2f99eb=new Map();return function _0x4b8ff7(_0x58e06b,_0x1999ad){let _0x4e43c8=_0x2f99eb['get'](_0x58e06b);if(null!=_0x4e43c8){if(_0x4e43c8<=_0x1999ad)return;let _0x40e29=_0x170c55[_0x4e43c8]['indexOf'](_0x58e06b);_0x40e29>-0x1&&_0x170c55[_0x4e43c8]['splice'](_0x40e29,0x1),_0x58e06b instanceof CompartmentInstance&&_0x144f3e['delete'](_0x58e06b['compartment']);}if(_0x2f99eb['set'](_0x58e06b,_0x1999ad),Array['isArray'](_0x58e06b)){for(let _0x4b3ed7 of _0x58e06b)_0x4b8ff7(_0x4b3ed7,_0x1999ad);}else{if(_0x58e06b instanceof CompartmentInstance){if(_0x144f3e['has'](_0x58e06b['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x26a33c=_0x2272db['get'](_0x58e06b['compartment'])||_0x58e06b['inner'];_0x144f3e['set'](_0x58e06b['compartment'],_0x26a33c),_0x4b8ff7(_0x26a33c,_0x1999ad);}else{if(_0x58e06b instanceof PrecExtension)_0x4b8ff7(_0x58e06b['inner'],_0x58e06b['prec']);else{if(_0x58e06b instanceof StateField)_0x170c55[_0x1999ad]['push'](_0x58e06b),_0x58e06b['provides']&&_0x4b8ff7(_0x58e06b['provides'],_0x1999ad);else{if(_0x58e06b instanceof FacetProvider)_0x170c55[_0x1999ad]['push'](_0x58e06b),_0x58e06b['facet']['extensions']&&_0x4b8ff7(_0x58e06b['facet']['extensions'],Prec_['default']);else{let _0x2dcdf6=_0x58e06b['extension'];if(!_0x2dcdf6)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x58e06b+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x4b8ff7(_0x2dcdf6,_0x1999ad);}}}}}}(_0x551c5f,Prec_['default']),_0x170c55['reduce']((_0x361b82,_0x19ee5e)=>_0x361b82['concat'](_0x19ee5e));}function ensureAddr(_0x5c7aa,_0x47a28b){if(0x1&_0x47a28b)return 0x2;let _0x5541d4=_0x47a28b>>0x1,_0x550c33=_0x5c7aa['status'][_0x5541d4];if(0x4==_0x550c33)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x550c33)return _0x550c33;_0x5c7aa['status'][_0x5541d4]=0x4;let _0x208941=_0x5c7aa['computeSlot'](_0x5c7aa,_0x5c7aa['config']['dynamicSlots'][_0x5541d4]);return _0x5c7aa['status'][_0x5541d4]=0x2|_0x208941;}function getAddr(_0x2f286f,_0x401e1d){return 0x1&_0x401e1d?_0x2f286f['config']['staticValues'][_0x401e1d>>0x1]:_0x2f286f['values'][_0x401e1d>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x3e2cb4=>_0x3e2cb4['some'](_0x58a5d6=>_0x58a5d6),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x1adb60=>_0x1adb60['length']?_0x1adb60[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),readOnly=Facet['define']({'combine':_0x15a0c1=>!!_0x15a0c1['length']&&_0x15a0c1[0x0]});class Annotation{constructor(_0x8b97d0,_0x3482f1){this['type']=_0x8b97d0,this['value']=_0x3482f1;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x486edb){return new Annotation(this,_0x486edb);}}class StateEffectType{constructor(_0x189cd7){this['map']=_0x189cd7;}['of'](_0x193e44){return new StateEffect(this,_0x193e44);}}class StateEffect{constructor(_0x3b0f11,_0x6c4287){this['type']=_0x3b0f11,this['value']=_0x6c4287;}['map'](_0xb1216d){let _0xeaf1c2=this['type']['map'](this['value'],_0xb1216d);return void 0x0===_0xeaf1c2?void 0x0:_0xeaf1c2==this['value']?this:new StateEffect(this['type'],_0xeaf1c2);}['is'](_0x5f554f){return this['type']==_0x5f554f;}static['define'](_0x49812b={}){return new StateEffectType(_0x49812b['map']||(_0x11f680=>_0x11f680));}static['mapEffects'](_0x174d59,_0x3f56eb){if(!_0x174d59['length'])return _0x174d59;let _0x2e72dd=[];for(let _0x1955ca of _0x174d59){let _0x1fdaa1=_0x1955ca['map'](_0x3f56eb);_0x1fdaa1&&_0x2e72dd['push'](_0x1fdaa1);}return _0x2e72dd;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x4e7b1e,_0x19a242,_0x1db244,_0x45ede7,_0x380ccf,_0x30fb68){this['startState']=_0x4e7b1e,this['changes']=_0x19a242,this['selection']=_0x1db244,this['effects']=_0x45ede7,this['annotations']=_0x380ccf,this['scrollIntoView']=_0x30fb68,this['_doc']=null,this['_state']=null,_0x1db244&&checkSelection(_0x1db244,_0x19a242['newLength']),_0x380ccf['some'](_0x3f1e53=>_0x3f1e53['type']==Transaction['time'])||(this['annotations']=_0x380ccf['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x476920,_0x40348a,_0x31b0ab,_0x38ebbf,_0x19a16c,_0x169e3e){return new Transaction(_0x476920,_0x40348a,_0x31b0ab,_0x38ebbf,_0x19a16c,_0x169e3e);}get['newDoc'](){return this['_doc']||(this['_doc']=this['changes']['apply'](this['startState']['doc']));}get['newSelection'](){return this['selection']||this['startState']['selection']['map'](this['changes']);}get['state'](){return this['_state']||this['startState']['applyTransaction'](this),this['_state'];}['annotation'](_0x4ce8ce){for(let _0x22a053 of this['annotations'])if(_0x22a053['type']==_0x4ce8ce)return _0x22a053['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x14d9e0){let _0x27119d=this['annotation'](Transaction['userEvent']);return!(!_0x27119d||!(_0x27119d==_0x14d9e0||_0x27119d['length']>_0x14d9e0['length']&&_0x27119d['slice'](0x0,_0x14d9e0['length'])==_0x14d9e0&&'.'==_0x27119d[_0x14d9e0['length']]));}}function joinRanges(_0x364d02,_0x416a6b){let _0x4d7dff=[];for(let _0x404751=0x0,_0x3639be=0x0;;){let _0x3c35b3,_0x4c0a4e;if(_0x404751<_0x364d02['length']&&(_0x3639be==_0x416a6b['length']||_0x416a6b[_0x3639be]>=_0x364d02[_0x404751]))_0x3c35b3=_0x364d02[_0x404751++],_0x4c0a4e=_0x364d02[_0x404751++];else{if(!(_0x3639be<_0x416a6b['length']))return _0x4d7dff;_0x3c35b3=_0x416a6b[_0x3639be++],_0x4c0a4e=_0x416a6b[_0x3639be++];}!_0x4d7dff['length']||_0x4d7dff[_0x4d7dff['length']-0x1]<_0x3c35b3?_0x4d7dff['push'](_0x3c35b3,_0x4c0a4e):_0x4d7dff[_0x4d7dff['length']-0x1]<_0x4c0a4e&&(_0x4d7dff[_0x4d7dff['length']-0x1]=_0x4c0a4e);}}function mergeTransaction(_0x17439c,_0x5dcd7a,_0x46559f){var _0x2e6745;let _0x54e23d,_0x6016e5,_0x517bfc;return _0x46559f?(_0x54e23d=_0x5dcd7a['changes'],_0x6016e5=ChangeSet['empty'](_0x5dcd7a['changes']['length']),_0x517bfc=_0x17439c['changes']['compose'](_0x5dcd7a['changes'])):(_0x54e23d=_0x5dcd7a['changes']['map'](_0x17439c['changes']),_0x6016e5=_0x17439c['changes']['mapDesc'](_0x5dcd7a['changes'],!0x0),_0x517bfc=_0x17439c['changes']['compose'](_0x54e23d)),{'changes':_0x517bfc,'selection':_0x5dcd7a['selection']?_0x5dcd7a['selection']['map'](_0x6016e5):null===(_0x2e6745=_0x17439c['selection'])||void 0x0===_0x2e6745?void 0x0:_0x2e6745['map'](_0x54e23d),'effects':StateEffect['mapEffects'](_0x17439c['effects'],_0x54e23d)['concat'](StateEffect['mapEffects'](_0x5dcd7a['effects'],_0x6016e5)),'annotations':_0x17439c['annotations']['length']?_0x17439c['annotations']['concat'](_0x5dcd7a['annotations']):_0x5dcd7a['annotations'],'scrollIntoView':_0x17439c['scrollIntoView']||_0x5dcd7a['scrollIntoView']};}function resolveTransactionInner(_0x399f3d,_0x508ad1,_0x1ac0ec){let _0x3d1e6e=_0x508ad1['selection'],_0x2b108d=asArray$2(_0x508ad1['annotations']);return _0x508ad1['userEvent']&&(_0x2b108d=_0x2b108d['concat'](Transaction['userEvent']['of'](_0x508ad1['userEvent']))),{'changes':_0x508ad1['changes']instanceof ChangeSet?_0x508ad1['changes']:ChangeSet['of'](_0x508ad1['changes']||[],_0x1ac0ec,_0x399f3d['facet'](lineSeparator)),'selection':_0x3d1e6e&&(_0x3d1e6e instanceof EditorSelection?_0x3d1e6e:EditorSelection['single'](_0x3d1e6e['anchor'],_0x3d1e6e['head'])),'effects':asArray$2(_0x508ad1['effects']),'annotations':_0x2b108d,'scrollIntoView':!!_0x508ad1['scrollIntoView']};}function resolveTransaction(_0x40da12,_0xa1c380,_0x39edd1){let _0x542818=resolveTransactionInner(_0x40da12,_0xa1c380['length']?_0xa1c380[0x0]:{},_0x40da12['doc']['length']);_0xa1c380['length']&&!0x1===_0xa1c380[0x0]['filter']&&(_0x39edd1=!0x1);for(let _0x5613fb=0x1;_0x5613fb<_0xa1c380['length'];_0x5613fb++){!0x1===_0xa1c380[_0x5613fb]['filter']&&(_0x39edd1=!0x1);let _0x50bf38=!!_0xa1c380[_0x5613fb]['sequential'];_0x542818=mergeTransaction(_0x542818,resolveTransactionInner(_0x40da12,_0xa1c380[_0x5613fb],_0x50bf38?_0x542818['changes']['newLength']:_0x40da12['doc']['length']),_0x50bf38);}let _0x3471c3=Transaction['create'](_0x40da12,_0x542818['changes'],_0x542818['selection'],_0x542818['effects'],_0x542818['annotations'],_0x542818['scrollIntoView']);return extendTransaction(_0x39edd1?filterTransaction(_0x3471c3):_0x3471c3);}function filterTransaction(_0x4bcb28){let _0x196b49=_0x4bcb28['startState'],_0xb43520=!0x0;for(let _0x8ad35a of _0x196b49['facet'](changeFilter)){let _0x4cdf9c=_0x8ad35a(_0x4bcb28);if(!0x1===_0x4cdf9c){_0xb43520=!0x1;break;}Array['isArray'](_0x4cdf9c)&&(_0xb43520=!0x0===_0xb43520?_0x4cdf9c:joinRanges(_0xb43520,_0x4cdf9c));}if(!0x0!==_0xb43520){let _0x59c0d1,_0x3e7843;if(!0x1===_0xb43520)_0x3e7843=_0x4bcb28['changes']['invertedDesc'],_0x59c0d1=ChangeSet['empty'](_0x196b49['doc']['length']);else{let _0x3e9ea2=_0x4bcb28['changes']['filter'](_0xb43520);_0x59c0d1=_0x3e9ea2['changes'],_0x3e7843=_0x3e9ea2['filtered']['mapDesc'](_0x3e9ea2['changes'])['invertedDesc'];}_0x4bcb28=Transaction['create'](_0x196b49,_0x59c0d1,_0x4bcb28['selection']&&_0x4bcb28['selection']['map'](_0x3e7843),StateEffect['mapEffects'](_0x4bcb28['effects'],_0x3e7843),_0x4bcb28['annotations'],_0x4bcb28['scrollIntoView']);}let _0x1fe6ff=_0x196b49['facet'](transactionFilter);for(let _0x442e8d=_0x1fe6ff['length']-0x1;_0x442e8d>=0x0;_0x442e8d--){let _0x1cef5c=_0x1fe6ff[_0x442e8d](_0x4bcb28);_0x4bcb28=_0x1cef5c instanceof Transaction?_0x1cef5c:Array['isArray'](_0x1cef5c)&&0x1==_0x1cef5c['length']&&_0x1cef5c[0x0]instanceof Transaction?_0x1cef5c[0x0]:resolveTransaction(_0x196b49,asArray$2(_0x1cef5c),!0x1);}return _0x4bcb28;}function extendTransaction(_0x41c816){let _0x3361e9=_0x41c816['startState'],_0x3c055f=_0x3361e9['facet'](transactionExtender),_0x3ca0ea=_0x41c816;for(let _0x1b5406=_0x3c055f['length']-0x1;_0x1b5406>=0x0;_0x1b5406--){let _0x2db316=_0x3c055f[_0x1b5406](_0x41c816);_0x2db316&&Object['keys'](_0x2db316)['length']&&(_0x3ca0ea=mergeTransaction(_0x3ca0ea,resolveTransactionInner(_0x3361e9,_0x2db316,_0x41c816['changes']['newLength']),!0x0));}return _0x3ca0ea==_0x41c816?_0x41c816:Transaction['create'](_0x3361e9,_0x41c816['changes'],_0x41c816['selection'],_0x3ca0ea['effects'],_0x3ca0ea['annotations'],_0x3ca0ea['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const none$3=[];function asArray$2(_0x23e223){return null==_0x23e223?none$3:Array['isArray'](_0x23e223)?_0x23e223:[_0x23e223];}var CharCategory=function(_0x1f9ec9){return _0x1f9ec9[_0x1f9ec9['Word']=0x0]='Word',_0x1f9ec9[_0x1f9ec9['Space']=0x1]='Space',_0x1f9ec9[_0x1f9ec9['Other']=0x2]='Other',_0x1f9ec9;}(CharCategory||(CharCategory={}));const nonASCIISingleCaseWordChar=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let wordChar;try{wordChar=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0xebb190){}function hasWordChar(_0x35199f){if(wordChar)return wordChar['test'](_0x35199f);for(let _0x23a05d=0x0;_0x23a05d<_0x35199f['length'];_0x23a05d++){let _0x2902cc=_0x35199f[_0x23a05d];if(/\w/['test'](_0x2902cc)||_0x2902cc>'\u0080'&&(_0x2902cc['toUpperCase']()!=_0x2902cc['toLowerCase']()||nonASCIISingleCaseWordChar['test'](_0x2902cc)))return!0x0;}return!0x1;}function makeCategorizer(_0x4b213a){return _0x135d6c=>{if(!/\S/['test'](_0x135d6c))return CharCategory['Space'];if(hasWordChar(_0x135d6c))return CharCategory['Word'];for(let _0x32af40=0x0;_0x32af40<_0x4b213a['length'];_0x32af40++)if(_0x135d6c['indexOf'](_0x4b213a[_0x32af40])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x2f132b,_0x50f79c,_0x3a8081,_0x1fb448,_0x21a9ef,_0x18f1be){this['config']=_0x2f132b,this['doc']=_0x50f79c,this['selection']=_0x3a8081,this['values']=_0x1fb448,this['status']=_0x2f132b['statusTemplate']['slice'](),this['computeSlot']=_0x21a9ef,_0x18f1be&&(_0x18f1be['_state']=this);for(let _0x33d7f7=0x0;_0x33d7f7<this['config']['dynamicSlots']['length'];_0x33d7f7++)ensureAddr(this,_0x33d7f7<<0x1);this['computeSlot']=null;}['field'](_0x345388,_0x8f099e=!0x0){let _0x2f7de3=this['config']['address'][_0x345388['id']];if(null!=_0x2f7de3)return ensureAddr(this,_0x2f7de3),getAddr(this,_0x2f7de3);if(_0x8f099e)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x3a93c8){return resolveTransaction(this,_0x3a93c8,!0x0);}['applyTransaction'](_0x27ac4c){let _0x18cd66,_0x3dfd1=this['config'],{base:_0x528508,compartments:_0x2c32d4}=_0x3dfd1;for(let _0x82bff5 of _0x27ac4c['effects'])_0x82bff5['is'](Compartment['reconfigure'])?(_0x3dfd1&&(_0x2c32d4=new Map(),_0x3dfd1['compartments']['forEach']((_0xac4a2e,_0x5e6b12)=>_0x2c32d4['set'](_0x5e6b12,_0xac4a2e)),_0x3dfd1=null),_0x2c32d4['set'](_0x82bff5['value']['compartment'],_0x82bff5['value']['extension'])):_0x82bff5['is'](StateEffect['reconfigure'])?(_0x3dfd1=null,_0x528508=_0x82bff5['value']):_0x82bff5['is'](StateEffect['appendConfig'])&&(_0x3dfd1=null,_0x528508=asArray$2(_0x528508)['concat'](_0x82bff5['value']));if(_0x3dfd1)_0x18cd66=_0x27ac4c['startState']['values']['slice']();else _0x3dfd1=Configuration['resolve'](_0x528508,_0x2c32d4,this),_0x18cd66=new EditorState(_0x3dfd1,this['doc'],this['selection'],_0x3dfd1['dynamicSlots']['map'](()=>null),(_0x1add72,_0x2b830c)=>_0x2b830c['reconfigure'](_0x1add72,this),null)['values'];let _0x444d8a=_0x27ac4c['startState']['facet'](allowMultipleSelections)?_0x27ac4c['newSelection']:_0x27ac4c['newSelection']['asSingle']();new EditorState(_0x3dfd1,_0x27ac4c['newDoc'],_0x444d8a,_0x18cd66,(_0x39b4b7,_0x36a2a1)=>_0x36a2a1['update'](_0x39b4b7,_0x27ac4c),_0x27ac4c);}['replaceSelection'](_0xdf8b24){return'string'==typeof _0xdf8b24&&(_0xdf8b24=this['toText'](_0xdf8b24)),this['changeByRange'](_0x4d0f1c=>({'changes':{'from':_0x4d0f1c['from'],'to':_0x4d0f1c['to'],'insert':_0xdf8b24},'range':EditorSelection['cursor'](_0x4d0f1c['from']+_0xdf8b24['length'])}));}['changeByRange'](_0x33c4b7){let _0x54c926=this['selection'],_0x2fabfa=_0x33c4b7(_0x54c926['ranges'][0x0]),_0x10d8c4=this['changes'](_0x2fabfa['changes']),_0x5691c7=[_0x2fabfa['range']],_0x520e5b=asArray$2(_0x2fabfa['effects']);for(let _0x22bc78=0x1;_0x22bc78<_0x54c926['ranges']['length'];_0x22bc78++){let _0x1542cc=_0x33c4b7(_0x54c926['ranges'][_0x22bc78]),_0x8ba45b=this['changes'](_0x1542cc['changes']),_0x5a9572=_0x8ba45b['map'](_0x10d8c4);for(let _0x281f9c=0x0;_0x281f9c<_0x22bc78;_0x281f9c++)_0x5691c7[_0x281f9c]=_0x5691c7[_0x281f9c]['map'](_0x5a9572);let _0x21239d=_0x10d8c4['mapDesc'](_0x8ba45b,!0x0);_0x5691c7['push'](_0x1542cc['range']['map'](_0x21239d)),_0x10d8c4=_0x10d8c4['compose'](_0x5a9572),_0x520e5b=StateEffect['mapEffects'](_0x520e5b,_0x5a9572)['concat'](StateEffect['mapEffects'](asArray$2(_0x1542cc['effects']),_0x21239d));}return{'changes':_0x10d8c4,'selection':EditorSelection['create'](_0x5691c7,_0x54c926['mainIndex']),'effects':_0x520e5b};}['changes'](_0x5ad038=[]){return _0x5ad038 instanceof ChangeSet?_0x5ad038:ChangeSet['of'](_0x5ad038,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x339062){return Text['of'](_0x339062['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x511c1d=0x0,_0x43f4d8=this['doc']['length']){return this['doc']['sliceString'](_0x511c1d,_0x43f4d8,this['lineBreak']);}['facet'](_0x27522a){let _0x197d10=this['config']['address'][_0x27522a['id']];return null==_0x197d10?_0x27522a['default']:(ensureAddr(this,_0x197d10),getAddr(this,_0x197d10));}['toJSON'](_0xab9962){let _0x38238f={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0xab9962)for(let _0x4d991c in _0xab9962){let _0x1a3cd0=_0xab9962[_0x4d991c];_0x1a3cd0 instanceof StateField&&null!=this['config']['address'][_0x1a3cd0['id']]&&(_0x38238f[_0x4d991c]=_0x1a3cd0['spec']['toJSON'](this['field'](_0xab9962[_0x4d991c]),this));}return _0x38238f;}static['fromJSON'](_0x42afda,_0x3a8085={},_0x3f7e01){if(!_0x42afda||'string'!=typeof _0x42afda['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x3b3e66=[];if(_0x3f7e01){for(let _0x45ee10 in _0x3f7e01)if(Object['prototype']['hasOwnProperty']['call'](_0x42afda,_0x45ee10)){let _0x30ee1d=_0x3f7e01[_0x45ee10],_0x1c70f6=_0x42afda[_0x45ee10];_0x3b3e66['push'](_0x30ee1d['init'](_0x2030b6=>_0x30ee1d['spec']['fromJSON'](_0x1c70f6,_0x2030b6)));}}return EditorState['create']({'doc':_0x42afda['doc'],'selection':EditorSelection['fromJSON'](_0x42afda['selection']),'extensions':_0x3a8085['extensions']?_0x3b3e66['concat']([_0x3a8085['extensions']]):_0x3b3e66});}static['create'](_0x3cac7a={}){let _0x2513bd=Configuration['resolve'](_0x3cac7a['extensions']||[],new Map()),_0x421055=_0x3cac7a['doc']instanceof Text?_0x3cac7a['doc']:Text['of']((_0x3cac7a['doc']||'')['split'](_0x2513bd['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x35f7a4=_0x3cac7a['selection']?_0x3cac7a['selection']instanceof EditorSelection?_0x3cac7a['selection']:EditorSelection['single'](_0x3cac7a['selection']['anchor'],_0x3cac7a['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x35f7a4,_0x421055['length']),_0x2513bd['staticFacet'](allowMultipleSelections)||(_0x35f7a4=_0x35f7a4['asSingle']()),new EditorState(_0x2513bd,_0x421055,_0x35f7a4,_0x2513bd['dynamicSlots']['map'](()=>null),(_0x18e8c6,_0xbc0fdf)=>_0xbc0fdf['create'](_0x18e8c6),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](readOnly);}['phrase'](_0x9c4429,..._0x5deb88){for(let _0x3cb68f of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x3cb68f,_0x9c4429)){_0x9c4429=_0x3cb68f[_0x9c4429];break;}return _0x5deb88['length']&&(_0x9c4429=_0x9c4429['replace'](/\$(\$|\d*)/g,(_0x38fbd4,_0x422736)=>{if('$'==_0x422736)return'$';let _0x3cf069=+(_0x422736||0x1);return!_0x3cf069||_0x3cf069>_0x5deb88['length']?_0x38fbd4:_0x5deb88[_0x3cf069-0x1];})),_0x9c4429;}['languageDataAt'](_0x4d77c7,_0xe39351,_0x518732=-0x1){let _0x2b00b8=[];for(let _0x11fa2f of this['facet'](languageData))for(let _0x3b643a of _0x11fa2f(this,_0xe39351,_0x518732))Object['prototype']['hasOwnProperty']['call'](_0x3b643a,_0x4d77c7)&&_0x2b00b8['push'](_0x3b643a[_0x4d77c7]);return _0x2b00b8;}['charCategorizer'](_0x433935){return makeCategorizer(this['languageDataAt']('wordChars',_0x433935)['join'](''));}['wordAt'](_0xee009a){let {text:_0x3c9b6e,from:_0x150a49,length:_0x1599dd}=this['doc']['lineAt'](_0xee009a),_0x4f82ae=this['charCategorizer'](_0xee009a),_0x496315=_0xee009a-_0x150a49,_0x2da9bb=_0xee009a-_0x150a49;for(;_0x496315>0x0;){let _0xb2375d=findClusterBreak(_0x3c9b6e,_0x496315,!0x1);if(_0x4f82ae(_0x3c9b6e['slice'](_0xb2375d,_0x496315))!=CharCategory['Word'])break;_0x496315=_0xb2375d;}for(;_0x2da9bb<_0x1599dd;){let _0xf9af04=findClusterBreak(_0x3c9b6e,_0x2da9bb);if(_0x4f82ae(_0x3c9b6e['slice'](_0x2da9bb,_0xf9af04))!=CharCategory['Word'])break;_0x2da9bb=_0xf9af04;}return _0x496315==_0x2da9bb?null:EditorSelection['range'](_0x496315+_0x150a49,_0x2da9bb+_0x150a49);}}function combineConfig(_0x24f330,_0x46fa60,_0x2bf101={}){let _0xb1a16f={};for(let _0x721826 of _0x24f330)for(let _0x47678d of Object['keys'](_0x721826)){let _0x572879=_0x721826[_0x47678d],_0xa349ab=_0xb1a16f[_0x47678d];if(void 0x0===_0xa349ab)_0xb1a16f[_0x47678d]=_0x572879;else{if(_0xa349ab===_0x572879||void 0x0===_0x572879);else{if(!Object['hasOwnProperty']['call'](_0x2bf101,_0x47678d))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x47678d);_0xb1a16f[_0x47678d]=_0x2bf101[_0x47678d](_0xa349ab,_0x572879);}}}for(let _0x112b92 in _0x46fa60)void 0x0===_0xb1a16f[_0x112b92]&&(_0xb1a16f[_0x112b92]=_0x46fa60[_0x112b92]);return _0xb1a16f;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0x545b25=>_0x545b25['length']?_0x545b25[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=readOnly,EditorState['phrases']=Facet['define']({'compare'(_0x4b4240,_0x4e6e2b){let _0x1ebef4=Object['keys'](_0x4b4240),_0x39800b=Object['keys'](_0x4e6e2b);return _0x1ebef4['length']==_0x39800b['length']&&_0x1ebef4['every'](_0x358323=>_0x4b4240[_0x358323]==_0x4e6e2b[_0x358323]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class RangeValue{['eq'](_0xe71baf){return this==_0xe71baf;}['range'](_0x7f497c,_0x2f2341=_0x7f497c){return Range$1['create'](_0x7f497c,_0x2f2341,this);}}RangeValue['prototype']['startSide']=RangeValue['prototype']['endSide']=0x0,RangeValue['prototype']['point']=!0x1,RangeValue['prototype']['mapMode']=MapMode['TrackDel'];let Range$1=class e{constructor(_0x1fb6bc,_0x3689e4,_0x335ebc){this['from']=_0x1fb6bc,this['to']=_0x3689e4,this['value']=_0x335ebc;}static['create'](_0x33b1a4,_0x4aa9e0,_0x106f64){return new e(_0x33b1a4,_0x4aa9e0,_0x106f64);}};function cmpRange(_0x52a039,_0x4e1498){return _0x52a039['from']-_0x4e1498['from']||_0x52a039['value']['startSide']-_0x4e1498['value']['startSide'];}class Chunk{constructor(_0x32c66f,_0x4b12b5,_0x397f47,_0x400c96){this['from']=_0x32c66f,this['to']=_0x4b12b5,this['value']=_0x397f47,this['maxPoint']=_0x400c96;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x541285,_0x3db239,_0x4e92ce,_0x101d38=0x0){let _0x18d87b=_0x4e92ce?this['to']:this['from'];for(let _0x4eb326=_0x101d38,_0x1f7a83=_0x18d87b['length'];;){if(_0x4eb326==_0x1f7a83)return _0x4eb326;let _0x3974cc=_0x4eb326+_0x1f7a83>>0x1,_0x288572=_0x18d87b[_0x3974cc]-_0x541285||(_0x4e92ce?this['value'][_0x3974cc]['endSide']:this['value'][_0x3974cc]['startSide'])-_0x3db239;if(_0x3974cc==_0x4eb326)return _0x288572>=0x0?_0x4eb326:_0x1f7a83;_0x288572>=0x0?_0x1f7a83=_0x3974cc:_0x4eb326=_0x3974cc+0x1;}}['between'](_0x5b5e8f,_0x294b7c,_0x85bf21,_0x239709){for(let _0x4958a8=this['findIndex'](_0x294b7c,-0x3b9aca00,!0x0),_0x3621c7=this['findIndex'](_0x85bf21,0x3b9aca00,!0x1,_0x4958a8);_0x4958a8<_0x3621c7;_0x4958a8++)if(!0x1===_0x239709(this['from'][_0x4958a8]+_0x5b5e8f,this['to'][_0x4958a8]+_0x5b5e8f,this['value'][_0x4958a8]))return!0x1;}['map'](_0x295ed4,_0x545139){let _0x2c52ac=[],_0x58e31f=[],_0x2f948d=[],_0x4ddfdf=-0x1,_0x618cf6=-0x1;for(let _0x335eb8=0x0;_0x335eb8<this['value']['length'];_0x335eb8++){let _0x5d5017,_0x5e5768,_0x580cc4=this['value'][_0x335eb8],_0x4e847a=this['from'][_0x335eb8]+_0x295ed4,_0x28602e=this['to'][_0x335eb8]+_0x295ed4;if(_0x4e847a==_0x28602e){let _0x56de7=_0x545139['mapPos'](_0x4e847a,_0x580cc4['startSide'],_0x580cc4['mapMode']);if(null==_0x56de7)continue;if(_0x5d5017=_0x5e5768=_0x56de7,_0x580cc4['startSide']!=_0x580cc4['endSide']&&(_0x5e5768=_0x545139['mapPos'](_0x4e847a,_0x580cc4['endSide']),_0x5e5768<_0x5d5017))continue;}else{if(_0x5d5017=_0x545139['mapPos'](_0x4e847a,_0x580cc4['startSide']),_0x5e5768=_0x545139['mapPos'](_0x28602e,_0x580cc4['endSide']),_0x5d5017>_0x5e5768||_0x5d5017==_0x5e5768&&_0x580cc4['startSide']>0x0&&_0x580cc4['endSide']<=0x0)continue;}(_0x5e5768-_0x5d5017||_0x580cc4['endSide']-_0x580cc4['startSide'])<0x0||(_0x4ddfdf<0x0&&(_0x4ddfdf=_0x5d5017),_0x580cc4['point']&&(_0x618cf6=Math['max'](_0x618cf6,_0x5e5768-_0x5d5017)),_0x2c52ac['push'](_0x580cc4),_0x58e31f['push'](_0x5d5017-_0x4ddfdf),_0x2f948d['push'](_0x5e5768-_0x4ddfdf));}return{'mapped':_0x2c52ac['length']?new Chunk(_0x58e31f,_0x2f948d,_0x2c52ac,_0x618cf6):null,'pos':_0x4ddfdf};}}class RangeSet{constructor(_0x4c2512,_0x195f85,_0x1d7dbe,_0x190958){this['chunkPos']=_0x4c2512,this['chunk']=_0x195f85,this['nextLayer']=_0x1d7dbe,this['maxPoint']=_0x190958;}static['create'](_0x2c2430,_0x3b835d,_0x20c2c3,_0x21bfd8){return new RangeSet(_0x2c2430,_0x3b835d,_0x20c2c3,_0x21bfd8);}get['length'](){let _0x4cd51d=this['chunk']['length']-0x1;return _0x4cd51d<0x0?0x0:Math['max'](this['chunkEnd'](_0x4cd51d),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x18f2d4=this['nextLayer']['size'];for(let _0x1255ad of this['chunk'])_0x18f2d4+=_0x1255ad['value']['length'];return _0x18f2d4;}['chunkEnd'](_0x4e56a3){return this['chunkPos'][_0x4e56a3]+this['chunk'][_0x4e56a3]['length'];}['update'](_0x1ffd72){let {add:_0x3a4998=[],sort:_0x4a9cc6=!0x1,filterFrom:_0x2201ae=0x0,filterTo:_0x5416bc=this['length']}=_0x1ffd72,_0x23835d=_0x1ffd72['filter'];if(0x0==_0x3a4998['length']&&!_0x23835d)return this;if(_0x4a9cc6&&(_0x3a4998=_0x3a4998['slice']()['sort'](cmpRange)),this['isEmpty'])return _0x3a4998['length']?RangeSet['of'](_0x3a4998):this;let _0x4ab8c5=new LayerCursor(this,null,-0x1)['goto'](0x0),_0x2e6406=0x0,_0x3b0004=[],_0x570a7e=new RangeSetBuilder();for(;_0x4ab8c5['value']||_0x2e6406<_0x3a4998['length'];)if(_0x2e6406<_0x3a4998['length']&&(_0x4ab8c5['from']-_0x3a4998[_0x2e6406]['from']||_0x4ab8c5['startSide']-_0x3a4998[_0x2e6406]['value']['startSide'])>=0x0){let _0x402c94=_0x3a4998[_0x2e6406++];_0x570a7e['addInner'](_0x402c94['from'],_0x402c94['to'],_0x402c94['value'])||_0x3b0004['push'](_0x402c94);}else 0x1==_0x4ab8c5['rangeIndex']&&_0x4ab8c5['chunkIndex']<this['chunk']['length']&&(_0x2e6406==_0x3a4998['length']||this['chunkEnd'](_0x4ab8c5['chunkIndex'])<_0x3a4998[_0x2e6406]['from'])&&(!_0x23835d||_0x2201ae>this['chunkEnd'](_0x4ab8c5['chunkIndex'])||_0x5416bc<this['chunkPos'][_0x4ab8c5['chunkIndex']])&&_0x570a7e['addChunk'](this['chunkPos'][_0x4ab8c5['chunkIndex']],this['chunk'][_0x4ab8c5['chunkIndex']])?_0x4ab8c5['nextChunk']():((!_0x23835d||_0x2201ae>_0x4ab8c5['to']||_0x5416bc<_0x4ab8c5['from']||_0x23835d(_0x4ab8c5['from'],_0x4ab8c5['to'],_0x4ab8c5['value']))&&(_0x570a7e['addInner'](_0x4ab8c5['from'],_0x4ab8c5['to'],_0x4ab8c5['value'])||_0x3b0004['push'](Range$1['create'](_0x4ab8c5['from'],_0x4ab8c5['to'],_0x4ab8c5['value']))),_0x4ab8c5['next']());return _0x570a7e['finishInner'](this['nextLayer']['isEmpty']&&!_0x3b0004['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x3b0004,'filter':_0x23835d,'filterFrom':_0x2201ae,'filterTo':_0x5416bc}));}['map'](_0x30fb1e){if(_0x30fb1e['empty']||this['isEmpty'])return this;let _0x25ff9b=[],_0x1729f1=[],_0x29caf0=-0x1;for(let _0x50dbff=0x0;_0x50dbff<this['chunk']['length'];_0x50dbff++){let _0x2ecdd0=this['chunkPos'][_0x50dbff],_0x21665a=this['chunk'][_0x50dbff],_0x27449a=_0x30fb1e['touchesRange'](_0x2ecdd0,_0x2ecdd0+_0x21665a['length']);if(!0x1===_0x27449a)_0x29caf0=Math['max'](_0x29caf0,_0x21665a['maxPoint']),_0x25ff9b['push'](_0x21665a),_0x1729f1['push'](_0x30fb1e['mapPos'](_0x2ecdd0));else{if(!0x0===_0x27449a){let {mapped:_0x14e42d,pos:_0xab2753}=_0x21665a['map'](_0x2ecdd0,_0x30fb1e);_0x14e42d&&(_0x29caf0=Math['max'](_0x29caf0,_0x14e42d['maxPoint']),_0x25ff9b['push'](_0x14e42d),_0x1729f1['push'](_0xab2753));}}}let _0x3f0a57=this['nextLayer']['map'](_0x30fb1e);return 0x0==_0x25ff9b['length']?_0x3f0a57:new RangeSet(_0x1729f1,_0x25ff9b,_0x3f0a57||RangeSet['empty'],_0x29caf0);}['between'](_0x4267ef,_0x4cca44,_0x3b8ba5){if(!this['isEmpty']){for(let _0x20cc00=0x0;_0x20cc00<this['chunk']['length'];_0x20cc00++){let _0x43ac53=this['chunkPos'][_0x20cc00],_0x190ee2=this['chunk'][_0x20cc00];if(_0x4cca44>=_0x43ac53&&_0x4267ef<=_0x43ac53+_0x190ee2['length']&&!0x1===_0x190ee2['between'](_0x43ac53,_0x4267ef-_0x43ac53,_0x4cca44-_0x43ac53,_0x3b8ba5))return;}this['nextLayer']['between'](_0x4267ef,_0x4cca44,_0x3b8ba5);}}['iter'](_0x9ad4c8=0x0){return HeapCursor['from']([this])['goto'](_0x9ad4c8);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x5662c8,_0x38f86d=0x0){return HeapCursor['from'](_0x5662c8)['goto'](_0x38f86d);}static['compare'](_0x9dcfec,_0x14ffc0,_0x31b497,_0x2447f9,_0x22f9f0=-0x1){let _0xce243b=_0x9dcfec['filter'](_0x4e15b3=>_0x4e15b3['maxPoint']>0x0||!_0x4e15b3['isEmpty']&&_0x4e15b3['maxPoint']>=_0x22f9f0),_0x95613=_0x14ffc0['filter'](_0x1ee45c=>_0x1ee45c['maxPoint']>0x0||!_0x1ee45c['isEmpty']&&_0x1ee45c['maxPoint']>=_0x22f9f0),_0x2d4d18=findSharedChunks(_0xce243b,_0x95613,_0x31b497),_0x7d3711=new SpanCursor(_0xce243b,_0x2d4d18,_0x22f9f0),_0xa6c1ee=new SpanCursor(_0x95613,_0x2d4d18,_0x22f9f0);_0x31b497['iterGaps']((_0x33becf,_0xeca50f,_0x291b03)=>compare(_0x7d3711,_0x33becf,_0xa6c1ee,_0xeca50f,_0x291b03,_0x2447f9)),_0x31b497['empty']&&0x0==_0x31b497['length']&&compare(_0x7d3711,0x0,_0xa6c1ee,0x0,0x0,_0x2447f9);}static['eq'](_0x1c0cbb,_0xd9210a,_0x3063a9=0x0,_0x51de5c){null==_0x51de5c&&(_0x51de5c=0x3b9ac9ff);let _0x5152c3=_0x1c0cbb['filter'](_0xf4a10b=>!_0xf4a10b['isEmpty']&&_0xd9210a['indexOf'](_0xf4a10b)<0x0),_0x16895e=_0xd9210a['filter'](_0x244755=>!_0x244755['isEmpty']&&_0x1c0cbb['indexOf'](_0x244755)<0x0);if(_0x5152c3['length']!=_0x16895e['length'])return!0x1;if(!_0x5152c3['length'])return!0x0;let _0x4dce68=findSharedChunks(_0x5152c3,_0x16895e),_0x5be4ec=new SpanCursor(_0x5152c3,_0x4dce68,0x0)['goto'](_0x3063a9),_0x49567e=new SpanCursor(_0x16895e,_0x4dce68,0x0)['goto'](_0x3063a9);for(;;){if(_0x5be4ec['to']!=_0x49567e['to']||!sameValues(_0x5be4ec['active'],_0x49567e['active'])||_0x5be4ec['point']&&(!_0x49567e['point']||!_0x5be4ec['point']['eq'](_0x49567e['point'])))return!0x1;if(_0x5be4ec['to']>_0x51de5c)return!0x0;_0x5be4ec['next'](),_0x49567e['next']();}}static['spans'](_0x55ac78,_0x2a3f79,_0x359bb7,_0x4366cd,_0x2f2045=-0x1){let _0xfdd994=new SpanCursor(_0x55ac78,null,_0x2f2045)['goto'](_0x2a3f79),_0x3ec014=_0x2a3f79,_0x3b1414=_0xfdd994['openStart'];for(;;){let _0x32e056=Math['min'](_0xfdd994['to'],_0x359bb7);if(_0xfdd994['point']){let _0x3d83e=_0xfdd994['activeForPoint'](_0xfdd994['to']),_0x35275f=_0xfdd994['pointFrom']<_0x2a3f79?_0x3d83e['length']+0x1:_0xfdd994['point']['startSide']<0x0?_0x3d83e['length']:Math['min'](_0x3d83e['length'],_0x3b1414);_0x4366cd['point'](_0x3ec014,_0x32e056,_0xfdd994['point'],_0x3d83e,_0x35275f,_0xfdd994['pointRank']),_0x3b1414=Math['min'](_0xfdd994['openEnd'](_0x32e056),_0x3d83e['length']);}else _0x32e056>_0x3ec014&&(_0x4366cd['span'](_0x3ec014,_0x32e056,_0xfdd994['active'],_0x3b1414),_0x3b1414=_0xfdd994['openEnd'](_0x32e056));if(_0xfdd994['to']>_0x359bb7)return _0x3b1414+(_0xfdd994['point']&&_0xfdd994['to']>_0x359bb7?0x1:0x0);_0x3ec014=_0xfdd994['to'],_0xfdd994['next']();}}static['of'](_0x460b88,_0xd4ead0=!0x1){let _0x12a979=new RangeSetBuilder();for(let _0x49b4fd of _0x460b88 instanceof Range$1?[_0x460b88]:_0xd4ead0?lazySort(_0x460b88):_0x460b88)_0x12a979['add'](_0x49b4fd['from'],_0x49b4fd['to'],_0x49b4fd['value']);return _0x12a979['finish']();}static['join'](_0x3af90d){if(!_0x3af90d['length'])return RangeSet['empty'];let _0x4d1090=_0x3af90d[_0x3af90d['length']-0x1];for(let _0x1d01ee=_0x3af90d['length']-0x2;_0x1d01ee>=0x0;_0x1d01ee--)for(let _0x1b31d0=_0x3af90d[_0x1d01ee];_0x1b31d0!=RangeSet['empty'];_0x1b31d0=_0x1b31d0['nextLayer'])_0x4d1090=new RangeSet(_0x1b31d0['chunkPos'],_0x1b31d0['chunk'],_0x4d1090,Math['max'](_0x1b31d0['maxPoint'],_0x4d1090['maxPoint']));return _0x4d1090;}}function lazySort(_0x594c0e){if(_0x594c0e['length']>0x1)for(let _0x47ce77=_0x594c0e[0x0],_0x373fe6=0x1;_0x373fe6<_0x594c0e['length'];_0x373fe6++){let _0x4346b2=_0x594c0e[_0x373fe6];if(cmpRange(_0x47ce77,_0x4346b2)>0x0)return _0x594c0e['slice']()['sort'](cmpRange);_0x47ce77=_0x4346b2;}return _0x594c0e;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x510384){this['chunks']['push'](new Chunk(this['from'],this['to'],this['value'],this['maxPoint'])),this['chunkPos']['push'](this['chunkStart']),this['chunkStart']=-0x1,this['setMaxPoint']=Math['max'](this['setMaxPoint'],this['maxPoint']),this['maxPoint']=-0x1,_0x510384&&(this['from']=[],this['to']=[],this['value']=[]);}constructor(){this['chunks']=[],this['chunkPos']=[],this['chunkStart']=-0x1,this['last']=null,this['lastFrom']=-0x3b9aca00,this['lastTo']=-0x3b9aca00,this['from']=[],this['to']=[],this['value']=[],this['maxPoint']=-0x1,this['setMaxPoint']=-0x1,this['nextLayer']=null;}['add'](_0x4b9339,_0x46dabc,_0x13d554){this['addInner'](_0x4b9339,_0x46dabc,_0x13d554)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x4b9339,_0x46dabc,_0x13d554);}['addInner'](_0x8bcbcc,_0x196524,_0x239385){let _0x4682cf=_0x8bcbcc-this['lastTo']||_0x239385['startSide']-this['last']['endSide'];if(_0x4682cf<=0x0&&(_0x8bcbcc-this['lastFrom']||_0x239385['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x4682cf<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x8bcbcc),this['from']['push'](_0x8bcbcc-this['chunkStart']),this['to']['push'](_0x196524-this['chunkStart']),this['last']=_0x239385,this['lastFrom']=_0x8bcbcc,this['lastTo']=_0x196524,this['value']['push'](_0x239385),_0x239385['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x196524-_0x8bcbcc)),!0x0);}['addChunk'](_0xdd2469,_0x13080e){if((_0xdd2469-this['lastTo']||_0x13080e['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x13080e['maxPoint']),this['chunks']['push'](_0x13080e),this['chunkPos']['push'](_0xdd2469);let _0x27930f=_0x13080e['value']['length']-0x1;return this['last']=_0x13080e['value'][_0x27930f],this['lastFrom']=_0x13080e['from'][_0x27930f]+_0xdd2469,this['lastTo']=_0x13080e['to'][_0x27930f]+_0xdd2469,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x19c96e){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x19c96e;let _0x449386=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x19c96e):_0x19c96e,this['setMaxPoint']);return this['from']=null,_0x449386;}}function findSharedChunks(_0x1773e5,_0x2b4fa0,_0x5adbe8){let _0x4b7269=new Map();for(let _0xe12495 of _0x1773e5)for(let _0x33d56c=0x0;_0x33d56c<_0xe12495['chunk']['length'];_0x33d56c++)_0xe12495['chunk'][_0x33d56c]['maxPoint']<=0x0&&_0x4b7269['set'](_0xe12495['chunk'][_0x33d56c],_0xe12495['chunkPos'][_0x33d56c]);let _0x2005d8=new Set();for(let _0x725a49 of _0x2b4fa0)for(let _0x927d35=0x0;_0x927d35<_0x725a49['chunk']['length'];_0x927d35++){let _0x5f1f8f=_0x4b7269['get'](_0x725a49['chunk'][_0x927d35]);null==_0x5f1f8f||(_0x5adbe8?_0x5adbe8['mapPos'](_0x5f1f8f):_0x5f1f8f)!=_0x725a49['chunkPos'][_0x927d35]||(null==_0x5adbe8?void 0x0:_0x5adbe8['touchesRange'](_0x5f1f8f,_0x5f1f8f+_0x725a49['chunk'][_0x927d35]['length']))||_0x2005d8['add'](_0x725a49['chunk'][_0x927d35]);}return _0x2005d8;}class LayerCursor{constructor(_0x3b476b,_0x5d6135,_0x14be09,_0xe9abe9=0x0){this['layer']=_0x3b476b,this['skip']=_0x5d6135,this['minPoint']=_0x14be09,this['rank']=_0xe9abe9;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x8a17d3,_0x5b7549=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x8a17d3,_0x5b7549,!0x1),this;}['gotoInner'](_0x198e77,_0x4a61cd,_0x2c490c){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x5c975b=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x5c975b)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x198e77||_0x5c975b['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x2c490c=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x591069=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x198e77-this['layer']['chunkPos'][this['chunkIndex']],_0x4a61cd,!0x0);(!_0x2c490c||this['rangeIndex']<_0x591069)&&this['setRangeIndex'](_0x591069);}this['next']();}['forward'](_0x15d07f,_0x3df2c2){(this['to']-_0x15d07f||this['endSide']-_0x3df2c2)<0x0&&this['gotoInner'](_0x15d07f,_0x3df2c2,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x146cbf=this['layer']['chunkPos'][this['chunkIndex']],_0x980a87=this['layer']['chunk'][this['chunkIndex']],_0x5d6b89=_0x146cbf+_0x980a87['from'][this['rangeIndex']];if(this['from']=_0x5d6b89,this['to']=_0x146cbf+_0x980a87['to'][this['rangeIndex']],this['value']=_0x980a87['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x5568a9){if(_0x5568a9==this['layer']['chunk'][this['chunkIndex']]['value']['length']){if(this['chunkIndex']++,this['skip']){for(;this['chunkIndex']<this['layer']['chunk']['length']&&this['skip']['has'](this['layer']['chunk'][this['chunkIndex']]);)this['chunkIndex']++;}this['rangeIndex']=0x0;}else this['rangeIndex']=_0x5568a9;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x12711b){return this['from']-_0x12711b['from']||this['startSide']-_0x12711b['startSide']||this['rank']-_0x12711b['rank']||this['to']-_0x12711b['to']||this['endSide']-_0x12711b['endSide'];}}class HeapCursor{constructor(_0x708adc){this['heap']=_0x708adc;}static['from'](_0x1ca119,_0x3d3e1e=null,_0x39521d=-0x1){let _0x21faec=[];for(let _0x59dfa6=0x0;_0x59dfa6<_0x1ca119['length'];_0x59dfa6++)for(let _0x185ed8=_0x1ca119[_0x59dfa6];!_0x185ed8['isEmpty'];_0x185ed8=_0x185ed8['nextLayer'])_0x185ed8['maxPoint']>=_0x39521d&&_0x21faec['push'](new LayerCursor(_0x185ed8,_0x3d3e1e,_0x39521d,_0x59dfa6));return 0x1==_0x21faec['length']?_0x21faec[0x0]:new HeapCursor(_0x21faec);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x27a149,_0x48d68f=-0x3b9aca00){for(let _0xaa0d33 of this['heap'])_0xaa0d33['goto'](_0x27a149,_0x48d68f);for(let _0x2889eb=this['heap']['length']>>0x1;_0x2889eb>=0x0;_0x2889eb--)heapBubble(this['heap'],_0x2889eb);return this['next'](),this;}['forward'](_0x3a879d,_0xdce9){for(let _0x1865b1 of this['heap'])_0x1865b1['forward'](_0x3a879d,_0xdce9);for(let _0x3615d9=this['heap']['length']>>0x1;_0x3615d9>=0x0;_0x3615d9--)heapBubble(this['heap'],_0x3615d9);(this['to']-_0x3a879d||this['value']['endSide']-_0xdce9)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x19f58c=this['heap'][0x0];this['from']=_0x19f58c['from'],this['to']=_0x19f58c['to'],this['value']=_0x19f58c['value'],this['rank']=_0x19f58c['rank'],_0x19f58c['value']&&_0x19f58c['next'](),heapBubble(this['heap'],0x0);}}}function heapBubble(_0x3c201c,_0x2febe4){for(let _0x2f66ba=_0x3c201c[_0x2febe4];;){let _0x20e619=0x1+(_0x2febe4<<0x1);if(_0x20e619>=_0x3c201c['length'])break;let _0x70cfef=_0x3c201c[_0x20e619];if(_0x20e619+0x1<_0x3c201c['length']&&_0x70cfef['compare'](_0x3c201c[_0x20e619+0x1])>=0x0&&(_0x70cfef=_0x3c201c[_0x20e619+0x1],_0x20e619++),_0x2f66ba['compare'](_0x70cfef)<0x0)break;_0x3c201c[_0x20e619]=_0x2f66ba,_0x3c201c[_0x2febe4]=_0x70cfef,_0x2febe4=_0x20e619;}}class SpanCursor{constructor(_0x58c493,_0x24e64b,_0x15f284){this['minPoint']=_0x15f284,this['active']=[],this['activeTo']=[],this['activeRank']=[],this['minActive']=-0x1,this['point']=null,this['pointFrom']=0x0,this['pointRank']=0x0,this['to']=-0x3b9aca00,this['endSide']=0x0,this['openStart']=-0x1,this['cursor']=HeapCursor['from'](_0x58c493,_0x24e64b,_0x15f284);}['goto'](_0x2cbd8a,_0x3f0025=-0x3b9aca00){return this['cursor']['goto'](_0x2cbd8a,_0x3f0025),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x2cbd8a,this['endSide']=_0x3f0025,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x2b826a,_0x52c10b){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x2b826a||this['active'][this['minActive']]['endSide']-_0x52c10b)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x2b826a,_0x52c10b);}['removeActive'](_0xc493e2){remove(this['active'],_0xc493e2),remove(this['activeTo'],_0xc493e2),remove(this['activeRank'],_0xc493e2),this['minActive']=findMinIndex(this['active'],this['activeTo']);}['addActive'](_0x482975){let _0x128122=0x0,{value:_0x4fa354,to:_0x32a512,rank:_0x47f318}=this['cursor'];for(;_0x128122<this['activeRank']['length']&&(_0x47f318-this['activeRank'][_0x128122]||_0x32a512-this['activeTo'][_0x128122])>0x0;)_0x128122++;insert(this['active'],_0x128122,_0x4fa354),insert(this['activeTo'],_0x128122,_0x32a512),insert(this['activeRank'],_0x128122,_0x47f318),_0x482975&&insert(_0x482975,_0x128122,this['cursor']['from']),this['minActive']=findMinIndex(this['active'],this['activeTo']);}['next'](){let _0x852b72=this['to'],_0x270432=this['point'];this['point']=null;let _0x9e8737=this['openStart']<0x0?[]:null;for(;;){let _0x48398c=this['minActive'];if(_0x48398c>-0x1&&(this['activeTo'][_0x48398c]-this['cursor']['from']||this['active'][_0x48398c]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x48398c]>_0x852b72){this['to']=this['activeTo'][_0x48398c],this['endSide']=this['active'][_0x48398c]['endSide'];break;}this['removeActive'](_0x48398c),_0x9e8737&&remove(_0x9e8737,_0x48398c);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x852b72){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x1dc0aa=this['cursor']['value'];if(_0x1dc0aa['point']){if(!(_0x270432&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x1dc0aa,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x1dc0aa['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x9e8737),this['cursor']['next']();}}}if(_0x9e8737){this['openStart']=0x0;for(let _0x59829a=_0x9e8737['length']-0x1;_0x59829a>=0x0&&_0x9e8737[_0x59829a]<_0x852b72;_0x59829a--)this['openStart']++;}}['activeForPoint'](_0x8bc817){if(!this['active']['length'])return this['active'];let _0x1f2f25=[];for(let _0x567193=this['active']['length']-0x1;_0x567193>=0x0&&!(this['activeRank'][_0x567193]<this['pointRank']);_0x567193--)(this['activeTo'][_0x567193]>_0x8bc817||this['activeTo'][_0x567193]==_0x8bc817&&this['active'][_0x567193]['endSide']>=this['point']['endSide'])&&_0x1f2f25['push'](this['active'][_0x567193]);return _0x1f2f25['reverse']();}['openEnd'](_0x393cfe){let _0x4c4b1e=0x0;for(let _0x306fec=this['activeTo']['length']-0x1;_0x306fec>=0x0&&this['activeTo'][_0x306fec]>_0x393cfe;_0x306fec--)_0x4c4b1e++;return _0x4c4b1e;}}function compare(_0xc8e28a,_0x5a16f8,_0x390c0d,_0x424ce2,_0x1c4486,_0x320df7){_0xc8e28a['goto'](_0x5a16f8),_0x390c0d['goto'](_0x424ce2);let _0x152cdd=_0x424ce2+_0x1c4486,_0x433dbe=_0x424ce2,_0x59fe59=_0x424ce2-_0x5a16f8;for(;;){let _0x46807f=_0xc8e28a['to']+_0x59fe59-_0x390c0d['to'],_0xf26eab=_0x46807f||_0xc8e28a['endSide']-_0x390c0d['endSide'],_0x2d49ad=_0xf26eab<0x0?_0xc8e28a['to']+_0x59fe59:_0x390c0d['to'],_0x95918a=Math['min'](_0x2d49ad,_0x152cdd);if(_0xc8e28a['point']||_0x390c0d['point']?_0xc8e28a['point']&&_0x390c0d['point']&&(_0xc8e28a['point']==_0x390c0d['point']||_0xc8e28a['point']['eq'](_0x390c0d['point']))&&sameValues(_0xc8e28a['activeForPoint'](_0xc8e28a['to']),_0x390c0d['activeForPoint'](_0x390c0d['to']))||_0x320df7['comparePoint'](_0x433dbe,_0x95918a,_0xc8e28a['point'],_0x390c0d['point']):_0x95918a>_0x433dbe&&!sameValues(_0xc8e28a['active'],_0x390c0d['active'])&&_0x320df7['compareRange'](_0x433dbe,_0x95918a,_0xc8e28a['active'],_0x390c0d['active']),_0x2d49ad>_0x152cdd)break;(_0x46807f||_0xc8e28a['openEnd']!=_0x390c0d['openEnd'])&&_0x320df7['boundChange']&&_0x320df7['boundChange'](_0x2d49ad),_0x433dbe=_0x2d49ad,_0xf26eab<=0x0&&_0xc8e28a['next'](),_0xf26eab>=0x0&&_0x390c0d['next']();}}function sameValues(_0x1a8413,_0x40aac2){if(_0x1a8413['length']!=_0x40aac2['length'])return!0x1;for(let _0x2c9e95=0x0;_0x2c9e95<_0x1a8413['length'];_0x2c9e95++)if(_0x1a8413[_0x2c9e95]!=_0x40aac2[_0x2c9e95]&&!_0x1a8413[_0x2c9e95]['eq'](_0x40aac2[_0x2c9e95]))return!0x1;return!0x0;}function remove(_0x218e7e,_0x82ecf1){for(let _0x33e099=_0x82ecf1,_0x36ed2e=_0x218e7e['length']-0x1;_0x33e099<_0x36ed2e;_0x33e099++)_0x218e7e[_0x33e099]=_0x218e7e[_0x33e099+0x1];_0x218e7e['pop']();}function insert(_0x787fe5,_0x37a51d,_0x54a45d){for(let _0x30cfd2=_0x787fe5['length']-0x1;_0x30cfd2>=_0x37a51d;_0x30cfd2--)_0x787fe5[_0x30cfd2+0x1]=_0x787fe5[_0x30cfd2];_0x787fe5[_0x37a51d]=_0x54a45d;}function findMinIndex(_0x592f03,_0x29c578){let _0x7e763d=-0x1,_0x20ae9a=0x3b9aca00;for(let _0x4e8626=0x0;_0x4e8626<_0x29c578['length'];_0x4e8626++)(_0x29c578[_0x4e8626]-_0x20ae9a||_0x592f03[_0x4e8626]['endSide']-_0x592f03[_0x7e763d]['endSide'])<0x0&&(_0x7e763d=_0x4e8626,_0x20ae9a=_0x29c578[_0x4e8626]);return _0x7e763d;}function countColumn(_0x29cb5a,_0x5a077f,_0x56bb92=_0x29cb5a['length']){let _0x26fb41=0x0;for(let _0x3c027d=0x0;_0x3c027d<_0x56bb92&&_0x3c027d<_0x29cb5a['length'];)0x9==_0x29cb5a['charCodeAt'](_0x3c027d)?(_0x26fb41+=_0x5a077f-_0x26fb41%_0x5a077f,_0x3c027d++):(_0x26fb41++,_0x3c027d=findClusterBreak(_0x29cb5a,_0x3c027d));return _0x26fb41;}function findColumn(_0x41fff2,_0x502649,_0x486b5e,_0x366e7d){for(let _0x11a5e7=0x0,_0x1f78de=0x0;;){if(_0x1f78de>=_0x502649)return _0x11a5e7;if(_0x11a5e7==_0x41fff2['length'])break;_0x1f78de+=0x9==_0x41fff2['charCodeAt'](_0x11a5e7)?_0x486b5e-_0x1f78de%_0x486b5e:0x1,_0x11a5e7=findClusterBreak(_0x41fff2,_0x11a5e7);}return!0x0===_0x366e7d?-0x1:_0x41fff2['length'];}const C='ͼ',COUNT='undefined'==typeof Symbol?'__'+C:Symbol['for'](C),SET='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x1982c8,_0x4e2e7c){this['rules']=[];let {finish:_0x124d6d}=_0x4e2e7c||{};function _0x1c812d(_0x36a931){return/^@/['test'](_0x36a931)?[_0x36a931]:_0x36a931['split'](/,\s*/);}function _0x19cb6d(_0x351ba2,_0x28f9c0,_0x35420c,_0x45b826){let _0x5ea21e=[],_0x1f270a=/^@(\w+)\b/['exec'](_0x351ba2[0x0]),_0x158946=_0x1f270a&&'keyframes'==_0x1f270a[0x1];if(_0x1f270a&&null==_0x28f9c0)return _0x35420c['push'](_0x351ba2[0x0]+';');for(let _0x2ae2dc in _0x28f9c0){let _0x33b66e=_0x28f9c0[_0x2ae2dc];if(/&/['test'](_0x2ae2dc))_0x19cb6d(_0x2ae2dc['split'](/,\s*/)['map'](_0x15409e=>_0x351ba2['map'](_0x4c02ca=>_0x15409e['replace'](/&/,_0x4c02ca)))['reduce']((_0x14a4e7,_0x41f4a3)=>_0x14a4e7['concat'](_0x41f4a3)),_0x33b66e,_0x35420c);else{if(_0x33b66e&&'object'==typeof _0x33b66e){if(!_0x1f270a)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x2ae2dc+')\x20should\x20be\x20a\x20primitive\x20value.');_0x19cb6d(_0x1c812d(_0x2ae2dc),_0x33b66e,_0x5ea21e,_0x158946);}else null!=_0x33b66e&&_0x5ea21e['push'](_0x2ae2dc['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x401cb3=>'-'+_0x401cb3['toLowerCase']())+':\x20'+_0x33b66e+';');}}(_0x5ea21e['length']||_0x158946)&&_0x35420c['push']((!_0x124d6d||_0x1f270a||_0x45b826?_0x351ba2:_0x351ba2['map'](_0x124d6d))['join'](',\x20')+'\x20{'+_0x5ea21e['join']('\x20')+'}');}for(let _0x4a6198 in _0x1982c8)_0x19cb6d(_0x1c812d(_0x4a6198),_0x1982c8[_0x4a6198],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0xadab52=top[COUNT]||0x1;return top[COUNT]=_0xadab52+0x1,C+_0xadab52['toString'](0x24);}static['mount'](_0x1b3c24,_0x23364f,_0x24d68c){let _0x425c20=_0x1b3c24[SET],_0x1be86a=_0x24d68c&&_0x24d68c['nonce'];_0x425c20?_0x1be86a&&_0x425c20['setNonce'](_0x1be86a):_0x425c20=new StyleSet(_0x1b3c24,_0x1be86a),_0x425c20['mount'](Array['isArray'](_0x23364f)?_0x23364f:[_0x23364f],_0x1b3c24);}}let adoptedSet=new Map();class StyleSet{constructor(_0x2af715,_0x598967){let _0x38672a=_0x2af715['ownerDocument']||_0x2af715,_0x1e1e91=_0x38672a['defaultView'];if(!_0x2af715['head']&&_0x2af715['adoptedStyleSheets']&&_0x1e1e91['CSSStyleSheet']){let _0x8cb7b=adoptedSet['get'](_0x38672a);if(_0x8cb7b)return _0x2af715[SET]=_0x8cb7b;this['sheet']=new _0x1e1e91['CSSStyleSheet'](),adoptedSet['set'](_0x38672a,this);}else this['styleTag']=_0x38672a['createElement']('style'),_0x598967&&this['styleTag']['setAttribute']('nonce',_0x598967);this['modules']=[],_0x2af715[SET]=this;}['mount'](_0x3cd235,_0x319e16){let _0x117d57=this['sheet'],_0x40593e=0x0,_0x1511ff=0x0;for(let _0x10192e=0x0;_0x10192e<_0x3cd235['length'];_0x10192e++){let _0x5720e7=_0x3cd235[_0x10192e],_0xaa626=this['modules']['indexOf'](_0x5720e7);if(_0xaa626<_0x1511ff&&_0xaa626>-0x1&&(this['modules']['splice'](_0xaa626,0x1),_0x1511ff--,_0xaa626=-0x1),-0x1==_0xaa626){if(this['modules']['splice'](_0x1511ff++,0x0,_0x5720e7),_0x117d57){for(let _0x14e89b=0x0;_0x14e89b<_0x5720e7['rules']['length'];_0x14e89b++)_0x117d57['insertRule'](_0x5720e7['rules'][_0x14e89b],_0x40593e++);}}else{for(;_0x1511ff<_0xaa626;)_0x40593e+=this['modules'][_0x1511ff++]['rules']['length'];_0x40593e+=_0x5720e7['rules']['length'],_0x1511ff++;}}if(_0x117d57)_0x319e16['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x319e16['adoptedStyleSheets']=[this['sheet'],..._0x319e16['adoptedStyleSheets']]);else{let _0x203902='';for(let _0x497a1e=0x0;_0x497a1e<this['modules']['length'];_0x497a1e++)_0x203902+=this['modules'][_0x497a1e]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x203902;let _0x366d03=_0x319e16['head']||_0x319e16;this['styleTag']['parentNode']!=_0x366d03&&_0x366d03['insertBefore'](this['styleTag'],_0x366d03['firstChild']);}}['setNonce'](_0xb8fe7c){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0xb8fe7c&&this['styleTag']['setAttribute']('nonce',_0xb8fe7c);}}for(var base$2={0x8:'Backspace',0x9:'Tab',0xa:'Enter',0xc:'NumLock',0xd:'Enter',0x10:'Shift',0x11:'Control',0x12:'Alt',0x14:'CapsLock',0x1b:'Escape',0x20:'\x20',0x21:'PageUp',0x22:'PageDown',0x23:'End',0x24:'Home',0x25:'ArrowLeft',0x26:'ArrowUp',0x27:'ArrowRight',0x28:'ArrowDown',0x2c:'PrintScreen',0x2d:'Insert',0x2e:'Delete',0x3b:';',0x3d:'=',0x5b:'Meta',0x5c:'Meta',0x6a:'*',0x6b:'+',0x6c:',',0x6d:'-',0x6e:'.',0x6f:'/',0x90:'NumLock',0x91:'ScrollLock',0xa0:'Shift',0xa1:'Shift',0xa2:'Control',0xa3:'Control',0xa4:'Alt',0xa5:'Alt',0xad:'-',0xba:';',0xbb:'=',0xbc:',',0xbd:'-',0xbe:'.',0xbf:'/',0xc0:'`',0xdb:'[',0xdc:'\x5c',0xdd:']',0xde:'\x27'},shift={0x30:')',0x31:'!',0x32:'@',0x33:'#',0x34:'$',0x35:'%',0x36:'^',0x37:'&',0x38:'*',0x39:'(',0x3b:':',0x3d:'+',0xad:'_',0xba:':',0xbb:'+',0xbc:'<',0xbd:'_',0xbe:'>',0xbf:'?',0xc0:'~',0xdb:'{',0xdc:'|',0xdd:'}',0xde:'\x22'},mac='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),ie$1='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),i=0x0;i<0xa;i++)base$2[0x30+i]=base$2[0x60+i]=String(i);for(var i=0x1;i<=0x18;i++)base$2[i+0x6f]='F'+i;for(var i=0x41;i<=0x5a;i++)base$2[i]=String['fromCharCode'](i+0x20),shift[i]=String['fromCharCode'](i);for(var code in base$2)shift['hasOwnProperty'](code)||(shift[code]=base$2[code]);function keyName(_0x5bc25a){var _0x57c14f=!(mac&&_0x5bc25a['metaKey']&&_0x5bc25a['shiftKey']&&!_0x5bc25a['ctrlKey']&&!_0x5bc25a['altKey']||ie$1&&_0x5bc25a['shiftKey']&&_0x5bc25a['key']&&0x1==_0x5bc25a['key']['length']||'Unidentified'==_0x5bc25a['key'])&&_0x5bc25a['key']||(_0x5bc25a['shiftKey']?shift:base$2)[_0x5bc25a['keyCode']]||_0x5bc25a['key']||'Unidentified';return'Esc'==_0x57c14f&&(_0x57c14f='Escape'),'Del'==_0x57c14f&&(_0x57c14f='Delete'),'Left'==_0x57c14f&&(_0x57c14f='ArrowLeft'),'Up'==_0x57c14f&&(_0x57c14f='ArrowUp'),'Right'==_0x57c14f&&(_0x57c14f='ArrowRight'),'Down'==_0x57c14f&&(_0x57c14f='ArrowDown'),_0x57c14f;}function getSelection(_0x3a1356){let _0x273737;return _0x273737=0xb==_0x3a1356['nodeType']?_0x3a1356['getSelection']?_0x3a1356:_0x3a1356['ownerDocument']:_0x3a1356,_0x273737['getSelection']();}function contains(_0xede39c,_0x560bc6){return!!_0x560bc6&&(_0xede39c==_0x560bc6||_0xede39c['contains'](0x1!=_0x560bc6['nodeType']?_0x560bc6['parentNode']:_0x560bc6));}function hasSelection(_0x2c234a,_0x591758){if(!_0x591758['anchorNode'])return!0x1;try{return contains(_0x2c234a,_0x591758['anchorNode']);}catch(_0x119b3d){return!0x1;}}function clientRectsFor(_0x5216a5){return 0x3==_0x5216a5['nodeType']?textRange(_0x5216a5,0x0,_0x5216a5['nodeValue']['length'])['getClientRects']():0x1==_0x5216a5['nodeType']?_0x5216a5['getClientRects']():[];}function isEquivalentPosition(_0x31d396,_0x14dd15,_0x50ab4c,_0x2f61f0){return!!_0x50ab4c&&(scanFor(_0x31d396,_0x14dd15,_0x50ab4c,_0x2f61f0,-0x1)||scanFor(_0x31d396,_0x14dd15,_0x50ab4c,_0x2f61f0,0x1));}function domIndex(_0x437889){for(var _0x19e228=0x0;;_0x19e228++)if(!(_0x437889=_0x437889['previousSibling']))return _0x19e228;}function isBlockElement(_0x4dc2a5){return 0x1==_0x4dc2a5['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x4dc2a5['nodeName']);}function scanFor(_0x2e1603,_0x52e1ba,_0x5b6942,_0x113aef,_0x2f3bfc){for(;;){if(_0x2e1603==_0x5b6942&&_0x52e1ba==_0x113aef)return!0x0;if(_0x52e1ba==(_0x2f3bfc<0x0?0x0:maxOffset(_0x2e1603))){if('DIV'==_0x2e1603['nodeName'])return!0x1;let _0x2e05cd=_0x2e1603['parentNode'];if(!_0x2e05cd||0x1!=_0x2e05cd['nodeType'])return!0x1;_0x52e1ba=domIndex(_0x2e1603)+(_0x2f3bfc<0x0?0x0:0x1),_0x2e1603=_0x2e05cd;}else{if(0x1!=_0x2e1603['nodeType'])return!0x1;if(0x1==(_0x2e1603=_0x2e1603['childNodes'][_0x52e1ba+(_0x2f3bfc<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x2e1603['contentEditable'])return!0x1;_0x52e1ba=_0x2f3bfc<0x0?maxOffset(_0x2e1603):0x0;}}}function maxOffset(_0x1b2333){return 0x3==_0x1b2333['nodeType']?_0x1b2333['nodeValue']['length']:_0x1b2333['childNodes']['length'];}function flattenRect(_0x532cc5,_0x2f56a4){let _0x45aa8b=_0x2f56a4?_0x532cc5['left']:_0x532cc5['right'];return{'left':_0x45aa8b,'right':_0x45aa8b,'top':_0x532cc5['top'],'bottom':_0x532cc5['bottom']};}function windowRect(_0x8615dd){let _0xe933b=_0x8615dd['visualViewport'];return _0xe933b?{'left':0x0,'right':_0xe933b['width'],'top':0x0,'bottom':_0xe933b['height']}:{'left':0x0,'right':_0x8615dd['innerWidth'],'top':0x0,'bottom':_0x8615dd['innerHeight']};}function getScale(_0x4e380e,_0x23bc57){let _0x503433=_0x23bc57['width']/_0x4e380e['offsetWidth'],_0xcc35ad=_0x23bc57['height']/_0x4e380e['offsetHeight'];return(_0x503433>0.995&&_0x503433<1.005||!isFinite(_0x503433)||Math['abs'](_0x23bc57['width']-_0x4e380e['offsetWidth'])<0x1)&&(_0x503433=0x1),(_0xcc35ad>0.995&&_0xcc35ad<1.005||!isFinite(_0xcc35ad)||Math['abs'](_0x23bc57['height']-_0x4e380e['offsetHeight'])<0x1)&&(_0xcc35ad=0x1),{'scaleX':_0x503433,'scaleY':_0xcc35ad};}function scrollRectIntoView(_0xc05dbf,_0x5f355a,_0x58e6ed,_0x5b25e7,_0x284b14,_0x1e2750,_0x1bdffc,_0x1d699b){let _0x34a64c=_0xc05dbf['ownerDocument'],_0x46690e=_0x34a64c['defaultView']||window;for(let _0x5ccadb=_0xc05dbf,_0x35ec37=!0x1;_0x5ccadb&&!_0x35ec37;)if(0x1==_0x5ccadb['nodeType']){let _0x19270c,_0x445e95=_0x5ccadb==_0x34a64c['body'],_0x246e6a=0x1,_0x28c8a4=0x1;if(_0x445e95)_0x19270c=windowRect(_0x46690e);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x5ccadb)['position'])&&(_0x35ec37=!0x0),_0x5ccadb['scrollHeight']<=_0x5ccadb['clientHeight']&&_0x5ccadb['scrollWidth']<=_0x5ccadb['clientWidth']){_0x5ccadb=_0x5ccadb['assignedSlot']||_0x5ccadb['parentNode'];continue;}let _0x1498e0=_0x5ccadb['getBoundingClientRect']();({scaleX:_0x246e6a,scaleY:_0x28c8a4}=getScale(_0x5ccadb,_0x1498e0),_0x19270c={'left':_0x1498e0['left'],'right':_0x1498e0['left']+_0x5ccadb['clientWidth']*_0x246e6a,'top':_0x1498e0['top'],'bottom':_0x1498e0['top']+_0x5ccadb['clientHeight']*_0x28c8a4});}let _0x3f6b83=0x0,_0xfe1b00=0x0;if('nearest'==_0x284b14)_0x5f355a['top']<_0x19270c['top']?(_0xfe1b00=-(_0x19270c['top']-_0x5f355a['top']+_0x1bdffc),_0x58e6ed>0x0&&_0x5f355a['bottom']>_0x19270c['bottom']+_0xfe1b00&&(_0xfe1b00=_0x5f355a['bottom']-_0x19270c['bottom']+_0xfe1b00+_0x1bdffc)):_0x5f355a['bottom']>_0x19270c['bottom']&&(_0xfe1b00=_0x5f355a['bottom']-_0x19270c['bottom']+_0x1bdffc,_0x58e6ed<0x0&&_0x5f355a['top']-_0xfe1b00<_0x19270c['top']&&(_0xfe1b00=-(_0x19270c['top']+_0xfe1b00-_0x5f355a['top']+_0x1bdffc)));else{let _0x56ecd9=_0x5f355a['bottom']-_0x5f355a['top'],_0x2c0887=_0x19270c['bottom']-_0x19270c['top'];_0xfe1b00=('center'==_0x284b14&&_0x56ecd9<=_0x2c0887?_0x5f355a['top']+_0x56ecd9/0x2-_0x2c0887/0x2:'start'==_0x284b14||'center'==_0x284b14&&_0x58e6ed<0x0?_0x5f355a['top']-_0x1bdffc:_0x5f355a['bottom']-_0x2c0887+_0x1bdffc)-_0x19270c['top'];}if('nearest'==_0x5b25e7)_0x5f355a['left']<_0x19270c['left']?(_0x3f6b83=-(_0x19270c['left']-_0x5f355a['left']+_0x1e2750),_0x58e6ed>0x0&&_0x5f355a['right']>_0x19270c['right']+_0x3f6b83&&(_0x3f6b83=_0x5f355a['right']-_0x19270c['right']+_0x3f6b83+_0x1e2750)):_0x5f355a['right']>_0x19270c['right']&&(_0x3f6b83=_0x5f355a['right']-_0x19270c['right']+_0x1e2750,_0x58e6ed<0x0&&_0x5f355a['left']<_0x19270c['left']+_0x3f6b83&&(_0x3f6b83=-(_0x19270c['left']+_0x3f6b83-_0x5f355a['left']+_0x1e2750)));else _0x3f6b83=('center'==_0x5b25e7?_0x5f355a['left']+(_0x5f355a['right']-_0x5f355a['left'])/0x2-(_0x19270c['right']-_0x19270c['left'])/0x2:'start'==_0x5b25e7==_0x1d699b?_0x5f355a['left']-_0x1e2750:_0x5f355a['right']-(_0x19270c['right']-_0x19270c['left'])+_0x1e2750)-_0x19270c['left'];if(_0x3f6b83||_0xfe1b00){if(_0x445e95)_0x46690e['scrollBy'](_0x3f6b83,_0xfe1b00);else{let _0x11f382=0x0,_0x417fdf=0x0;if(_0xfe1b00){let _0x44bff2=_0x5ccadb['scrollTop'];_0x5ccadb['scrollTop']+=_0xfe1b00/_0x28c8a4,_0x417fdf=(_0x5ccadb['scrollTop']-_0x44bff2)*_0x28c8a4;}if(_0x3f6b83){let _0x44d3b6=_0x5ccadb['scrollLeft'];_0x5ccadb['scrollLeft']+=_0x3f6b83/_0x246e6a,_0x11f382=(_0x5ccadb['scrollLeft']-_0x44d3b6)*_0x246e6a;}_0x5f355a={'left':_0x5f355a['left']-_0x11f382,'top':_0x5f355a['top']-_0x417fdf,'right':_0x5f355a['right']-_0x11f382,'bottom':_0x5f355a['bottom']-_0x417fdf},_0x11f382&&Math['abs'](_0x11f382-_0x3f6b83)<0x1&&(_0x5b25e7='nearest'),_0x417fdf&&Math['abs'](_0x417fdf-_0xfe1b00)<0x1&&(_0x284b14='nearest');}}if(_0x445e95)break;_0x5ccadb=_0x5ccadb['assignedSlot']||_0x5ccadb['parentNode'];}else{if(0xb!=_0x5ccadb['nodeType'])break;_0x5ccadb=_0x5ccadb['host'];}}function scrollableParents(_0x5bf61d){let _0x19c09a,_0x94c7e0,_0x32b15b=_0x5bf61d['ownerDocument'];for(let _0x5adc02=_0x5bf61d['parentNode'];_0x5adc02&&!(_0x5adc02==_0x32b15b['body']||_0x19c09a&&_0x94c7e0);)if(0x1==_0x5adc02['nodeType'])!_0x94c7e0&&_0x5adc02['scrollHeight']>_0x5adc02['clientHeight']&&(_0x94c7e0=_0x5adc02),!_0x19c09a&&_0x5adc02['scrollWidth']>_0x5adc02['clientWidth']&&(_0x19c09a=_0x5adc02),_0x5adc02=_0x5adc02['assignedSlot']||_0x5adc02['parentNode'];else{if(0xb!=_0x5adc02['nodeType'])break;_0x5adc02=_0x5adc02['host'];}return{'x':_0x19c09a,'y':_0x94c7e0};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x24b832){return this['anchorNode']==_0x24b832['anchorNode']&&this['anchorOffset']==_0x24b832['anchorOffset']&&this['focusNode']==_0x24b832['focusNode']&&this['focusOffset']==_0x24b832['focusOffset'];}['setRange'](_0x30215c){let {anchorNode:_0x1e1e46,focusNode:_0x302070}=_0x30215c;this['set'](_0x1e1e46,Math['min'](_0x30215c['anchorOffset'],_0x1e1e46?maxOffset(_0x1e1e46):0x0),_0x302070,Math['min'](_0x30215c['focusOffset'],_0x302070?maxOffset(_0x302070):0x0));}['set'](_0x4efd0c,_0x235d42,_0xd3c064,_0x49c1a7){this['anchorNode']=_0x4efd0c,this['anchorOffset']=_0x235d42,this['focusNode']=_0xd3c064,this['focusOffset']=_0x49c1a7;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x43b70e){if(_0x43b70e['setActive'])return _0x43b70e['setActive']();if(preventScrollSupported)return _0x43b70e['focus'](preventScrollSupported);let _0x51645=[];for(let _0x54646c=_0x43b70e;_0x54646c&&(_0x51645['push'](_0x54646c,_0x54646c['scrollTop'],_0x54646c['scrollLeft']),_0x54646c!=_0x54646c['ownerDocument']);_0x54646c=_0x54646c['parentNode']);if(_0x43b70e['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x5a5829=0x0;_0x5a5829<_0x51645['length'];){let _0x1a559e=_0x51645[_0x5a5829++],_0x3234=_0x51645[_0x5a5829++],_0x343e4c=_0x51645[_0x5a5829++];_0x1a559e['scrollTop']!=_0x3234&&(_0x1a559e['scrollTop']=_0x3234),_0x1a559e['scrollLeft']!=_0x343e4c&&(_0x1a559e['scrollLeft']=_0x343e4c);}}}function textRange(_0x1e7208,_0x5402ae,_0x2b1050=_0x5402ae){let _0x2a2610=scratchRange||(scratchRange=document['createRange']());return _0x2a2610['setEnd'](_0x1e7208,_0x2b1050),_0x2a2610['setStart'](_0x1e7208,_0x5402ae),_0x2a2610;}function dispatchKey(_0x24bb7a,_0x472e15,_0x58a7a9,_0x4c347f){let _0x44a230={'key':_0x472e15,'code':_0x472e15,'keyCode':_0x58a7a9,'which':_0x58a7a9,'cancelable':!0x0};_0x4c347f&&({altKey:_0x44a230['altKey'],ctrlKey:_0x44a230['ctrlKey'],shiftKey:_0x44a230['shiftKey'],metaKey:_0x44a230['metaKey']}=_0x4c347f);let _0x268c99=new KeyboardEvent('keydown',_0x44a230);_0x268c99['synthetic']=!0x0,_0x24bb7a['dispatchEvent'](_0x268c99);let _0x41ce7b=new KeyboardEvent('keyup',_0x44a230);return _0x41ce7b['synthetic']=!0x0,_0x24bb7a['dispatchEvent'](_0x41ce7b),_0x268c99['defaultPrevented']||_0x41ce7b['defaultPrevented'];}function getRoot(_0x4349fd){for(;_0x4349fd;){if(_0x4349fd&&(0x9==_0x4349fd['nodeType']||0xb==_0x4349fd['nodeType']&&_0x4349fd['host']))return _0x4349fd;_0x4349fd=_0x4349fd['assignedSlot']||_0x4349fd['parentNode'];}return null;}function clearAttributes(_0x3e56d1){for(;_0x3e56d1['attributes']['length'];)_0x3e56d1['removeAttributeNode'](_0x3e56d1['attributes'][0x0]);}function atElementStart(_0x2f9a18,_0x32126c){let _0x56d554=_0x32126c['focusNode'],_0x1ca4d9=_0x32126c['focusOffset'];if(!_0x56d554||_0x32126c['anchorNode']!=_0x56d554||_0x32126c['anchorOffset']!=_0x1ca4d9)return!0x1;for(_0x1ca4d9=Math['min'](_0x1ca4d9,maxOffset(_0x56d554));;)if(_0x1ca4d9){if(0x1!=_0x56d554['nodeType'])return!0x1;let _0x2dc650=_0x56d554['childNodes'][_0x1ca4d9-0x1];'false'==_0x2dc650['contentEditable']?_0x1ca4d9--:(_0x56d554=_0x2dc650,_0x1ca4d9=maxOffset(_0x56d554));}else{if(_0x56d554==_0x2f9a18)return!0x0;_0x1ca4d9=domIndex(_0x56d554),_0x56d554=_0x56d554['parentNode'];}}function isScrolledToBottom(_0x566563){return _0x566563['scrollTop']>Math['max'](0x1,_0x566563['scrollHeight']-_0x566563['clientHeight']-0x4);}function textNodeBefore(_0x187820,_0x37302d){for(let _0x210798=_0x187820,_0x1180a5=_0x37302d;;){if(0x3==_0x210798['nodeType']&&_0x1180a5>0x0)return{'node':_0x210798,'offset':_0x1180a5};if(0x1==_0x210798['nodeType']&&_0x1180a5>0x0){if('false'==_0x210798['contentEditable'])return null;_0x210798=_0x210798['childNodes'][_0x1180a5-0x1],_0x1180a5=maxOffset(_0x210798);}else{if(!_0x210798['parentNode']||isBlockElement(_0x210798))return null;_0x1180a5=domIndex(_0x210798),_0x210798=_0x210798['parentNode'];}}}function textNodeAfter(_0x54744e,_0x16b77b){for(let _0x563c7c=_0x54744e,_0x44aee6=_0x16b77b;;){if(0x3==_0x563c7c['nodeType']&&_0x44aee6<_0x563c7c['nodeValue']['length'])return{'node':_0x563c7c,'offset':_0x44aee6};if(0x1==_0x563c7c['nodeType']&&_0x44aee6<_0x563c7c['childNodes']['length']){if('false'==_0x563c7c['contentEditable'])return null;_0x563c7c=_0x563c7c['childNodes'][_0x44aee6],_0x44aee6=0x0;}else{if(!_0x563c7c['parentNode']||isBlockElement(_0x563c7c))return null;_0x44aee6=domIndex(_0x563c7c)+0x1,_0x563c7c=_0x563c7c['parentNode'];}}}class DOMPos{constructor(_0x247ffe,_0x3445c9,_0x227b25=!0x0){this['node']=_0x247ffe,this['offset']=_0x3445c9,this['precise']=_0x227b25;}static['before'](_0x4c9ab7,_0x3f31f6){return new DOMPos(_0x4c9ab7['parentNode'],domIndex(_0x4c9ab7),_0x3f31f6);}static['after'](_0xde83ae,_0x2f3cec){return new DOMPos(_0xde83ae['parentNode'],domIndex(_0xde83ae)+0x1,_0x2f3cec);}}const noChildren=[];class ContentView{constructor(){this['parent']=null,this['dom']=null,this['flags']=0x2;}get['overrideDOMText'](){return null;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x1c2385){let _0x23cd9c=this['posAtStart'];for(let _0x2ec898 of this['children']){if(_0x2ec898==_0x1c2385)return _0x23cd9c;_0x23cd9c+=_0x2ec898['length']+_0x2ec898['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x1926bb){return this['posBefore'](_0x1926bb)+_0x1926bb['length'];}['sync'](_0x32eac8,_0x23b268){if(0x2&this['flags']){let _0x3a6dea,_0x2840f4=this['dom'],_0x506140=null;for(let _0x274ca3 of this['children']){if(0x7&_0x274ca3['flags']){if(!_0x274ca3['dom']&&(_0x3a6dea=_0x506140?_0x506140['nextSibling']:_0x2840f4['firstChild'])){let _0x527627=ContentView['get'](_0x3a6dea);(!_0x527627||!_0x527627['parent']&&_0x527627['canReuseDOM'](_0x274ca3))&&_0x274ca3['reuseDOM'](_0x3a6dea);}_0x274ca3['sync'](_0x32eac8,_0x23b268),_0x274ca3['flags']&=-0x8;}if(_0x3a6dea=_0x506140?_0x506140['nextSibling']:_0x2840f4['firstChild'],_0x23b268&&!_0x23b268['written']&&_0x23b268['node']==_0x2840f4&&_0x3a6dea!=_0x274ca3['dom']&&(_0x23b268['written']=!0x0),_0x274ca3['dom']['parentNode']==_0x2840f4){for(;_0x3a6dea&&_0x3a6dea!=_0x274ca3['dom'];)_0x3a6dea=rm$1(_0x3a6dea);}else _0x2840f4['insertBefore'](_0x274ca3['dom'],_0x3a6dea);_0x506140=_0x274ca3['dom'];}for(_0x3a6dea=_0x506140?_0x506140['nextSibling']:_0x2840f4['firstChild'],_0x3a6dea&&_0x23b268&&_0x23b268['node']==_0x2840f4&&(_0x23b268['written']=!0x0);_0x3a6dea;)_0x3a6dea=rm$1(_0x3a6dea);}else{if(0x1&this['flags']){for(let _0x595a81 of this['children'])0x7&_0x595a81['flags']&&(_0x595a81['sync'](_0x32eac8,_0x23b268),_0x595a81['flags']&=-0x8);}}}['reuseDOM'](_0x588483){}['localPosFromDOM'](_0x5d152a,_0x978790){let _0x38f066;if(_0x5d152a==this['dom'])_0x38f066=this['dom']['childNodes'][_0x978790];else{let _0x2006af=0x0==maxOffset(_0x5d152a)?0x0:0x0==_0x978790?-0x1:0x1;for(;;){let _0x250b49=_0x5d152a['parentNode'];if(_0x250b49==this['dom'])break;0x0==_0x2006af&&_0x250b49['firstChild']!=_0x250b49['lastChild']&&(_0x2006af=_0x5d152a==_0x250b49['firstChild']?-0x1:0x1),_0x5d152a=_0x250b49;}_0x38f066=_0x2006af<0x0?_0x5d152a:_0x5d152a['nextSibling'];}if(_0x38f066==this['dom']['firstChild'])return 0x0;for(;_0x38f066&&!ContentView['get'](_0x38f066);)_0x38f066=_0x38f066['nextSibling'];if(!_0x38f066)return this['length'];for(let _0x4ef598=0x0,_0x2033c8=0x0;;_0x4ef598++){let _0x177e65=this['children'][_0x4ef598];if(_0x177e65['dom']==_0x38f066)return _0x2033c8;_0x2033c8+=_0x177e65['length']+_0x177e65['breakAfter'];}}['domBoundsAround'](_0x16c0dc,_0x39619f,_0x491bce=0x0){let _0x39d35a=-0x1,_0x1ed867=-0x1,_0x5d0f29=-0x1,_0x3d4a13=-0x1;for(let _0x2d9c34=0x0,_0x16c92b=_0x491bce,_0x163d77=_0x491bce;_0x2d9c34<this['children']['length'];_0x2d9c34++){let _0x4f0d04=this['children'][_0x2d9c34],_0x370863=_0x16c92b+_0x4f0d04['length'];if(_0x16c92b<_0x16c0dc&&_0x370863>_0x39619f)return _0x4f0d04['domBoundsAround'](_0x16c0dc,_0x39619f,_0x16c92b);if(_0x370863>=_0x16c0dc&&-0x1==_0x39d35a&&(_0x39d35a=_0x2d9c34,_0x1ed867=_0x16c92b),_0x16c92b>_0x39619f&&_0x4f0d04['dom']['parentNode']==this['dom']){_0x5d0f29=_0x2d9c34,_0x3d4a13=_0x163d77;break;}_0x163d77=_0x370863,_0x16c92b=_0x370863+_0x4f0d04['breakAfter'];}return{'from':_0x1ed867,'to':_0x3d4a13<0x0?_0x491bce+this['length']:_0x3d4a13,'startDOM':(_0x39d35a?this['children'][_0x39d35a-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x5d0f29<this['children']['length']&&_0x5d0f29>=0x0?this['children'][_0x5d0f29]['dom']:null};}['markDirty'](_0x291ef4=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x291ef4);}['markParentsDirty'](_0x2ae742){for(let _0x142bf9=this['parent'];_0x142bf9;_0x142bf9=_0x142bf9['parent']){if(_0x2ae742&&(_0x142bf9['flags']|=0x2),0x1&_0x142bf9['flags'])return;_0x142bf9['flags']|=0x1,_0x2ae742=!0x1;}}['setParent'](_0x2d9d00){this['parent']!=_0x2d9d00&&(this['parent']=_0x2d9d00,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x2a2ff9){this['dom']!=_0x2a2ff9&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x2a2ff9,_0x2a2ff9['cmView']=this);}get['rootView'](){for(let _0x16b93c=this;;){let _0x2bbdb1=_0x16b93c['parent'];if(!_0x2bbdb1)return _0x16b93c;_0x16b93c=_0x2bbdb1;}}['replaceChildren'](_0x1e29c7,_0x5d5dca,_0x23d1c6=noChildren){this['markDirty']();for(let _0x19b6ca=_0x1e29c7;_0x19b6ca<_0x5d5dca;_0x19b6ca++){let _0x4ba214=this['children'][_0x19b6ca];_0x4ba214['parent']==this&&_0x23d1c6['indexOf'](_0x4ba214)<0x0&&_0x4ba214['destroy']();}_0x23d1c6['length']<0xfa?this['children']['splice'](_0x1e29c7,_0x5d5dca-_0x1e29c7,..._0x23d1c6):this['children']=[]['concat'](this['children']['slice'](0x0,_0x1e29c7),_0x23d1c6,this['children']['slice'](_0x5d5dca));for(let _0xf65e67=0x0;_0xf65e67<_0x23d1c6['length'];_0xf65e67++)_0x23d1c6[_0xf65e67]['setParent'](this);}['ignoreMutation'](_0x100957){return!0x1;}['ignoreEvent'](_0x28544c){return!0x1;}['childCursor'](_0xb48e9c=this['length']){return new ChildCursor(this['children'],_0xb48e9c,this['children']['length']);}['childPos'](_0x38acb0,_0x5ace17=0x1){return this['childCursor']()['findPos'](_0x38acb0,_0x5ace17);}['toString'](){let _0x19d5e5=this['constructor']['name']['replace']('View','');return _0x19d5e5+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x19d5e5?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x3ca667){return _0x3ca667['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x170406,_0x41e4c8,_0x4863f5,_0x207511,_0x49b4ba,_0x10ca13){return!0x1;}['become'](_0x2fa347){return!0x1;}['canReuseDOM'](_0x440213){return _0x440213['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x440213['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x44098b of this['children'])_0x44098b['parent']==this&&_0x44098b['destroy']();this['parent']=null;}}function rm$1(_0x2be8e2){let _0x3ae031=_0x2be8e2['nextSibling'];return _0x2be8e2['parentNode']['removeChild'](_0x2be8e2),_0x3ae031;}ContentView['prototype']['breakAfter']=0x0;class ChildCursor{constructor(_0x52265a,_0xfc69cf,_0x33af79){this['children']=_0x52265a,this['pos']=_0xfc69cf,this['i']=_0x33af79,this['off']=0x0;}['findPos'](_0x2774f2,_0x230cbf=0x1){for(;;){if(_0x2774f2>this['pos']||_0x2774f2==this['pos']&&(_0x230cbf>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x2774f2-this['pos'],this;let _0x4b1e1c=this['children'][--this['i']];this['pos']-=_0x4b1e1c['length']+_0x4b1e1c['breakAfter'];}}}function replaceRange(_0x388c45,_0x1fb3be,_0x183d8e,_0x4aa4a2,_0x4bcd01,_0x2de8db,_0x3d831d,_0x3f22fe,_0x2cd326){let {children:_0x595259}=_0x388c45,_0xd69f23=_0x595259['length']?_0x595259[_0x1fb3be]:null,_0x164893=_0x2de8db['length']?_0x2de8db[_0x2de8db['length']-0x1]:null,_0x56aaaa=_0x164893?_0x164893['breakAfter']:_0x3d831d;if(!(_0x1fb3be==_0x4aa4a2&&_0xd69f23&&!_0x3d831d&&!_0x56aaaa&&_0x2de8db['length']<0x2&&_0xd69f23['merge'](_0x183d8e,_0x4bcd01,_0x2de8db['length']?_0x164893:null,0x0==_0x183d8e,_0x3f22fe,_0x2cd326))){if(_0x4aa4a2<_0x595259['length']){let _0x485d1c=_0x595259[_0x4aa4a2];_0x485d1c&&(_0x4bcd01<_0x485d1c['length']||_0x485d1c['breakAfter']&&(null==_0x164893?void 0x0:_0x164893['breakAfter']))?(_0x1fb3be==_0x4aa4a2&&(_0x485d1c=_0x485d1c['split'](_0x4bcd01),_0x4bcd01=0x0),!_0x56aaaa&&_0x164893&&_0x485d1c['merge'](0x0,_0x4bcd01,_0x164893,!0x0,0x0,_0x2cd326)?_0x2de8db[_0x2de8db['length']-0x1]=_0x485d1c:((_0x4bcd01||_0x485d1c['children']['length']&&!_0x485d1c['children'][0x0]['length'])&&_0x485d1c['merge'](0x0,_0x4bcd01,null,!0x1,0x0,_0x2cd326),_0x2de8db['push'](_0x485d1c))):(null==_0x485d1c?void 0x0:_0x485d1c['breakAfter'])&&(_0x164893?_0x164893['breakAfter']=0x1:_0x3d831d=0x1),_0x4aa4a2++;}for(_0xd69f23&&(_0xd69f23['breakAfter']=_0x3d831d,_0x183d8e>0x0&&(!_0x3d831d&&_0x2de8db['length']&&_0xd69f23['merge'](_0x183d8e,_0xd69f23['length'],_0x2de8db[0x0],!0x1,_0x3f22fe,0x0)?_0xd69f23['breakAfter']=_0x2de8db['shift']()['breakAfter']:(_0x183d8e<_0xd69f23['length']||_0xd69f23['children']['length']&&0x0==_0xd69f23['children'][_0xd69f23['children']['length']-0x1]['length'])&&_0xd69f23['merge'](_0x183d8e,_0xd69f23['length'],null,!0x1,_0x3f22fe,0x0),_0x1fb3be++));_0x1fb3be<_0x4aa4a2&&_0x2de8db['length'];)if(_0x595259[_0x4aa4a2-0x1]['become'](_0x2de8db[_0x2de8db['length']-0x1]))_0x4aa4a2--,_0x2de8db['pop'](),_0x2cd326=_0x2de8db['length']?0x0:_0x3f22fe;else{if(!_0x595259[_0x1fb3be]['become'](_0x2de8db[0x0]))break;_0x1fb3be++,_0x2de8db['shift'](),_0x3f22fe=_0x2de8db['length']?0x0:_0x2cd326;}!_0x2de8db['length']&&_0x1fb3be&&_0x4aa4a2<_0x595259['length']&&!_0x595259[_0x1fb3be-0x1]['breakAfter']&&_0x595259[_0x4aa4a2]['merge'](0x0,0x0,_0x595259[_0x1fb3be-0x1],!0x1,_0x3f22fe,_0x2cd326)&&_0x1fb3be--,(_0x1fb3be<_0x4aa4a2||_0x2de8db['length'])&&_0x388c45['replaceChildren'](_0x1fb3be,_0x4aa4a2,_0x2de8db);}}function mergeChildrenInto(_0xaa4fe9,_0x2146d3,_0x342d04,_0x211d77,_0x2ea9e8,_0x3b4481){let _0x2b9269=_0xaa4fe9['childCursor'](),{i:_0x23fe34,off:_0x6c3beb}=_0x2b9269['findPos'](_0x342d04,0x1),{i:_0x53b488,off:_0x285c44}=_0x2b9269['findPos'](_0x2146d3,-0x1),_0x3effe0=_0x2146d3-_0x342d04;for(let _0x214ebc of _0x211d77)_0x3effe0+=_0x214ebc['length'];_0xaa4fe9['length']+=_0x3effe0,replaceRange(_0xaa4fe9,_0x53b488,_0x285c44,_0x23fe34,_0x6c3beb,_0x211d77,0x0,_0x2ea9e8,_0x3b4481);}let nav='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},doc='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const ie_edge=/Edge\/(\d+)/['exec'](nav['userAgent']),ie_upto10=/MSIE \d/['test'](nav['userAgent']),ie_11up=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](nav['userAgent']),ie=!!(ie_upto10||ie_11up||ie_edge),gecko=!ie&&/gecko\/(\d+)/i['test'](nav['userAgent']),chrome=!ie&&/Chrome\/(\d+)/['exec'](nav['userAgent']),webkit='webkitFontSmoothing'in doc['documentElement']['style'],safari=!ie&&/Apple Computer/['test'](nav['vendor']),ios=safari&&(/Mobile\/\w+/['test'](nav['userAgent'])||nav['maxTouchPoints']>0x2);var browser={'mac':ios||/Mac/['test'](nav['platform']),'windows':/Win/['test'](nav['platform']),'linux':/Linux|X11/['test'](nav['platform']),'ie':ie,'ie_version':ie_upto10?doc['documentMode']||0x6:ie_11up?+ie_11up[0x1]:ie_edge?+ie_edge[0x1]:0x0,'gecko':gecko,'gecko_version':gecko?+(/Firefox\/(\d+)/['exec'](nav['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!chrome,'chrome_version':chrome?+chrome[0x1]:0x0,'ios':ios,'android':/Android\b/['test'](nav['userAgent']),'webkit':webkit,'safari':safari,'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](nav['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=doc['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};const MaxJoinLen=0x100;class TextView extends ContentView{constructor(_0x3204d9){super(),this['text']=_0x3204d9;}get['length'](){return this['text']['length'];}['createDOM'](_0x2a2d88){this['setDOM'](_0x2a2d88||document['createTextNode'](this['text']));}['sync'](_0xfa041f,_0x490fdc){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x490fdc&&_0x490fdc['node']==this['dom']&&(_0x490fdc['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x555290){0x3==_0x555290['nodeType']&&this['createDOM'](_0x555290);}['merge'](_0x447713,_0x220f7,_0xae9aff){return!(0x8&this['flags']||_0xae9aff&&(!(_0xae9aff instanceof TextView)||this['length']-(_0x220f7-_0x447713)+_0xae9aff['length']>MaxJoinLen||0x8&_0xae9aff['flags']))&&(this['text']=this['text']['slice'](0x0,_0x447713)+(_0xae9aff?_0xae9aff['text']:'')+this['text']['slice'](_0x220f7),this['markDirty'](),!0x0);}['split'](_0x8fc54f){let _0x33191f=new TextView(this['text']['slice'](_0x8fc54f));return this['text']=this['text']['slice'](0x0,_0x8fc54f),this['markDirty'](),_0x33191f['flags']|=0x8&this['flags'],_0x33191f;}['localPosFromDOM'](_0x56ce6e,_0x446fb7){return _0x56ce6e==this['dom']?_0x446fb7:_0x446fb7?this['text']['length']:0x0;}['domAtPos'](_0x58e4bc){return new DOMPos(this['dom'],_0x58e4bc);}['domBoundsAround'](_0xfb0559,_0x4eabb0,_0x1f6b99){return{'from':_0x1f6b99,'to':_0x1f6b99+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x5754f0,_0xb0ae31){return textCoords(this['dom'],_0x5754f0,_0xb0ae31);}}class MarkView extends ContentView{constructor(_0x15306b,_0x3a4ae4=[],_0x3aebab=0x0){super(),this['mark']=_0x15306b,this['children']=_0x3a4ae4,this['length']=_0x3aebab;for(let _0x28adb4 of _0x3a4ae4)_0x28adb4['setParent'](this);}['setAttrs'](_0x53c622){if(clearAttributes(_0x53c622),this['mark']['class']&&(_0x53c622['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x31e802 in this['mark']['attrs'])_0x53c622['setAttribute'](_0x31e802,this['mark']['attrs'][_0x31e802]);}return _0x53c622;}['canReuseDOM'](_0x2ed9b4){return super['canReuseDOM'](_0x2ed9b4)&&!(0x8&(this['flags']|_0x2ed9b4['flags']));}['reuseDOM'](_0x4891b7){_0x4891b7['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x4891b7),this['flags']|=0x6);}['sync'](_0x5a2ef2,_0x14d8ee){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x5a2ef2,_0x14d8ee);}['merge'](_0x6e53e8,_0x59755f,_0x984997,_0x423b22,_0x3db88f,_0x3dd28a){return(!_0x984997||!(!(_0x984997 instanceof MarkView&&_0x984997['mark']['eq'](this['mark']))||_0x6e53e8&&_0x3db88f<=0x0||_0x59755f<this['length']&&_0x3dd28a<=0x0))&&(mergeChildrenInto(this,_0x6e53e8,_0x59755f,_0x984997?_0x984997['children']['slice']():[],_0x3db88f-0x1,_0x3dd28a-0x1),this['markDirty'](),!0x0);}['split'](_0xb4729d){let _0x94165b=[],_0x2cdd1c=0x0,_0x467910=-0x1,_0x1ce6e6=0x0;for(let _0x148023 of this['children']){let _0x29194f=_0x2cdd1c+_0x148023['length'];_0x29194f>_0xb4729d&&_0x94165b['push'](_0x2cdd1c<_0xb4729d?_0x148023['split'](_0xb4729d-_0x2cdd1c):_0x148023),_0x467910<0x0&&_0x2cdd1c>=_0xb4729d&&(_0x467910=_0x1ce6e6),_0x2cdd1c=_0x29194f,_0x1ce6e6++;}let _0x3be904=this['length']-_0xb4729d;return this['length']=_0xb4729d,_0x467910>-0x1&&(this['children']['length']=_0x467910,this['markDirty']()),new MarkView(this['mark'],_0x94165b,_0x3be904);}['domAtPos'](_0x5df22b){return inlineDOMAtPos(this,_0x5df22b);}['coordsAt'](_0x52fa8f,_0x2e3251){return coordsInChildren(this,_0x52fa8f,_0x2e3251);}}function textCoords(_0x36a0aa,_0x5642aa,_0x37668a){let _0x367001=_0x36a0aa['nodeValue']['length'];_0x5642aa>_0x367001&&(_0x5642aa=_0x367001);let _0x2a0a49=_0x5642aa,_0x20f510=_0x5642aa,_0x2e53c2=0x0;0x0==_0x5642aa&&_0x37668a<0x0||_0x5642aa==_0x367001&&_0x37668a>=0x0?browser['chrome']||browser['gecko']||(_0x5642aa?(_0x2a0a49--,_0x2e53c2=0x1):_0x20f510<_0x367001&&(_0x20f510++,_0x2e53c2=-0x1)):_0x37668a<0x0?_0x2a0a49--:_0x20f510<_0x367001&&_0x20f510++;let _0x413be3=textRange(_0x36a0aa,_0x2a0a49,_0x20f510)['getClientRects']();if(!_0x413be3['length'])return null;let _0x1ef3fa=_0x413be3[(_0x2e53c2?_0x2e53c2<0x0:_0x37668a>=0x0)?0x0:_0x413be3['length']-0x1];return browser['safari']&&!_0x2e53c2&&0x0==_0x1ef3fa['width']&&(_0x1ef3fa=Array['prototype']['find']['call'](_0x413be3,_0xf44f3e=>_0xf44f3e['width'])||_0x1ef3fa),_0x2e53c2?flattenRect(_0x1ef3fa,_0x2e53c2<0x0):_0x1ef3fa||null;}class WidgetView extends ContentView{static['create'](_0x1057a2,_0x3a787c,_0xc3b015){return new WidgetView(_0x1057a2,_0x3a787c,_0xc3b015);}constructor(_0x428244,_0x39fcda,_0x2a32fc){super(),this['widget']=_0x428244,this['length']=_0x39fcda,this['side']=_0x2a32fc,this['prevWidget']=null;}['split'](_0x3316f2){let _0x1ada38=WidgetView['create'](this['widget'],this['length']-_0x3316f2,this['side']);return this['length']-=_0x3316f2,_0x1ada38;}['sync'](_0x186437){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x186437)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x186437)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x8ee7b2,_0x5c916d,_0x489c84,_0x24a184,_0x1430a2,_0x363244){return!(_0x489c84&&(!(_0x489c84 instanceof WidgetView&&this['widget']['compare'](_0x489c84['widget']))||_0x8ee7b2>0x0&&_0x1430a2<=0x0||_0x5c916d<this['length']&&_0x363244<=0x0))&&(this['length']=_0x8ee7b2+(_0x489c84?_0x489c84['length']:0x0)+(this['length']-_0x5c916d),!0x0);}['become'](_0x31f75c){return _0x31f75c instanceof WidgetView&&_0x31f75c['side']==this['side']&&this['widget']['constructor']==_0x31f75c['widget']['constructor']&&(this['widget']['compare'](_0x31f75c['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x31f75c['widget'],this['length']=_0x31f75c['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x20ae16){return this['widget']['ignoreEvent'](_0x20ae16);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x2a913a=this;for(;_0x2a913a['parent'];)_0x2a913a=_0x2a913a['parent'];let {view:_0x183477}=_0x2a913a,_0x19f42b=_0x183477&&_0x183477['state']['doc'],_0x35b907=this['posAtStart'];return _0x19f42b?_0x19f42b['slice'](_0x35b907,_0x35b907+this['length']):Text['empty'];}['domAtPos'](_0x2f86b7){return(this['length']?0x0==_0x2f86b7:this['side']>0x0)?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x2f86b7==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x1926ba,_0x4bc6e3){let _0x33c879=this['widget']['coordsAt'](this['dom'],_0x1926ba,_0x4bc6e3);if(_0x33c879)return _0x33c879;let _0x409d07=this['dom']['getClientRects'](),_0x4ff7f6=null;if(!_0x409d07['length'])return null;let _0x574b1b=this['side']?this['side']<0x0:_0x1926ba>0x0;for(let _0x3cae2d=_0x574b1b?_0x409d07['length']-0x1:0x0;_0x4ff7f6=_0x409d07[_0x3cae2d],!(_0x1926ba>0x0?0x0==_0x3cae2d:_0x3cae2d==_0x409d07['length']-0x1||_0x4ff7f6['top']<_0x4ff7f6['bottom']);_0x3cae2d+=_0x574b1b?-0x1:0x1);return flattenRect(_0x4ff7f6,!_0x574b1b);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}}class WidgetBufferView extends ContentView{constructor(_0x16213b){super(),this['side']=_0x16213b;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x1ff4a6){return _0x1ff4a6 instanceof WidgetBufferView&&_0x1ff4a6['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x2b595d=document['createElement']('img');_0x2b595d['className']='cm-widgetBuffer',_0x2b595d['setAttribute']('aria-hidden','true'),this['setDOM'](_0x2b595d);}}['getSide'](){return this['side'];}['domAtPos'](_0x570eff){return this['side']>0x0?DOMPos['before'](this['dom']):DOMPos['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x1631cc){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x35d166,_0x410a0b){let _0x4e65e5=_0x35d166['dom'],{children:_0x5d886d}=_0x35d166,_0x219f6d=0x0;for(let _0x489111=0x0;_0x219f6d<_0x5d886d['length'];_0x219f6d++){let _0x4479ea=_0x5d886d[_0x219f6d],_0x568bab=_0x489111+_0x4479ea['length'];if(!(_0x568bab==_0x489111&&_0x4479ea['getSide']()<=0x0)){if(_0x410a0b>_0x489111&&_0x410a0b<_0x568bab&&_0x4479ea['dom']['parentNode']==_0x4e65e5)return _0x4479ea['domAtPos'](_0x410a0b-_0x489111);if(_0x410a0b<=_0x489111)break;_0x489111=_0x568bab;}}for(let _0x403239=_0x219f6d;_0x403239>0x0;_0x403239--){let _0x2665d3=_0x5d886d[_0x403239-0x1];if(_0x2665d3['dom']['parentNode']==_0x4e65e5)return _0x2665d3['domAtPos'](_0x2665d3['length']);}for(let _0x179858=_0x219f6d;_0x179858<_0x5d886d['length'];_0x179858++){let _0x7915d0=_0x5d886d[_0x179858];if(_0x7915d0['dom']['parentNode']==_0x4e65e5)return _0x7915d0['domAtPos'](0x0);}return new DOMPos(_0x4e65e5,0x0);}function joinInlineInto(_0xf21677,_0x561a11,_0xca4801){let _0x577d7d,{children:_0x785257}=_0xf21677;_0xca4801>0x0&&_0x561a11 instanceof MarkView&&_0x785257['length']&&(_0x577d7d=_0x785257[_0x785257['length']-0x1])instanceof MarkView&&_0x577d7d['mark']['eq'](_0x561a11['mark'])?joinInlineInto(_0x577d7d,_0x561a11['children'][0x0],_0xca4801-0x1):(_0x785257['push'](_0x561a11),_0x561a11['setParent'](_0xf21677)),_0xf21677['length']+=_0x561a11['length'];}function coordsInChildren(_0x487246,_0x3bce86,_0x9180ab){let _0x344e9c=null,_0x523d66=-0x1,_0x506ab7=null,_0x30de87=-0x1;!function _0x5a0239(_0x38f0c4,_0x30970e){for(let _0x169453=0x0,_0x2848ab=0x0;_0x169453<_0x38f0c4['children']['length']&&_0x2848ab<=_0x30970e;_0x169453++){let _0x3f3bb2=_0x38f0c4['children'][_0x169453],_0x251a21=_0x2848ab+_0x3f3bb2['length'];_0x251a21>=_0x30970e&&(_0x3f3bb2['children']['length']?_0x5a0239(_0x3f3bb2,_0x30970e-_0x2848ab):(!_0x506ab7||_0x506ab7['isHidden']&&_0x9180ab>0x0)&&(_0x251a21>_0x30970e||_0x2848ab==_0x251a21&&_0x3f3bb2['getSide']()>0x0)?(_0x506ab7=_0x3f3bb2,_0x30de87=_0x30970e-_0x2848ab):(_0x2848ab<_0x30970e||_0x2848ab==_0x251a21&&_0x3f3bb2['getSide']()<0x0&&!_0x3f3bb2['isHidden'])&&(_0x344e9c=_0x3f3bb2,_0x523d66=_0x30970e-_0x2848ab)),_0x2848ab=_0x251a21;}}(_0x487246,_0x3bce86);let _0x1100be=(_0x9180ab<0x0?_0x344e9c:_0x506ab7)||_0x344e9c||_0x506ab7;return _0x1100be?_0x1100be['coordsAt'](Math['max'](0x0,_0x1100be==_0x344e9c?_0x523d66:_0x30de87),_0x9180ab):fallbackRect(_0x487246);}function fallbackRect(_0x137769){let _0x5048f5=_0x137769['dom']['lastChild'];if(!_0x5048f5)return _0x137769['dom']['getBoundingClientRect']();let _0x33f9a3=clientRectsFor(_0x5048f5);return _0x33f9a3[_0x33f9a3['length']-0x1]||null;}function combineAttrs(_0x1146e9,_0x5ed0fe){for(let _0x4f488 in _0x1146e9)'class'==_0x4f488&&_0x5ed0fe['class']?_0x5ed0fe['class']+='\x20'+_0x1146e9['class']:'style'==_0x4f488&&_0x5ed0fe['style']?_0x5ed0fe['style']+=';'+_0x1146e9['style']:_0x5ed0fe[_0x4f488]=_0x1146e9[_0x4f488];return _0x5ed0fe;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=noChildren;const noAttrs$1=Object['create'](null);function attrsEq(_0x1f7c91,_0x3b2c5a,_0x3dde9d){if(_0x1f7c91==_0x3b2c5a)return!0x0;_0x1f7c91||(_0x1f7c91=noAttrs$1),_0x3b2c5a||(_0x3b2c5a=noAttrs$1);let _0x3018b2=Object['keys'](_0x1f7c91),_0x4422bb=Object['keys'](_0x3b2c5a);if(_0x3018b2['length']-(_0x3dde9d&&_0x3018b2['indexOf'](_0x3dde9d)>-0x1?0x1:0x0)!=_0x4422bb['length']-(_0x3dde9d&&_0x4422bb['indexOf'](_0x3dde9d)>-0x1?0x1:0x0))return!0x1;for(let _0xa3a93c of _0x3018b2)if(_0xa3a93c!=_0x3dde9d&&(-0x1==_0x4422bb['indexOf'](_0xa3a93c)||_0x1f7c91[_0xa3a93c]!==_0x3b2c5a[_0xa3a93c]))return!0x1;return!0x0;}function updateAttrs(_0x475722,_0x4b72c4,_0x4b9ea3){let _0x16ae11=!0x1;if(_0x4b72c4){for(let _0x5ce76e in _0x4b72c4)_0x4b9ea3&&_0x5ce76e in _0x4b9ea3||(_0x16ae11=!0x0,'style'==_0x5ce76e?_0x475722['style']['cssText']='':_0x475722['removeAttribute'](_0x5ce76e));}if(_0x4b9ea3){for(let _0x1f256a in _0x4b9ea3)_0x4b72c4&&_0x4b72c4[_0x1f256a]==_0x4b9ea3[_0x1f256a]||(_0x16ae11=!0x0,'style'==_0x1f256a?_0x475722['style']['cssText']=_0x4b9ea3[_0x1f256a]:_0x475722['setAttribute'](_0x1f256a,_0x4b9ea3[_0x1f256a]));}return _0x16ae11;}function getAttrs$1(_0x394a79){let _0x54f7a8=Object['create'](null);for(let _0x50d8a6=0x0;_0x50d8a6<_0x394a79['attributes']['length'];_0x50d8a6++){let _0x199fe4=_0x394a79['attributes'][_0x50d8a6];_0x54f7a8[_0x199fe4['name']]=_0x199fe4['value'];}return _0x54f7a8;}class WidgetType{['eq'](_0x9e6e68){return!0x1;}['updateDOM'](_0x28fd18,_0x170254){return!0x1;}['compare'](_0x378e45){return this==_0x378e45||this['constructor']==_0x378e45['constructor']&&this['eq'](_0x378e45);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x454b86){return!0x0;}['coordsAt'](_0xc832ec,_0x125972,_0x10ba9d){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x5eba4b){}}var BlockType=function(_0x4d453b){return _0x4d453b[_0x4d453b['Text']=0x0]='Text',_0x4d453b[_0x4d453b['WidgetBefore']=0x1]='WidgetBefore',_0x4d453b[_0x4d453b['WidgetAfter']=0x2]='WidgetAfter',_0x4d453b[_0x4d453b['WidgetRange']=0x3]='WidgetRange',_0x4d453b;}(BlockType||(BlockType={}));class Decoration extends RangeValue{constructor(_0x47ea25,_0x4e0f17,_0x444f85,_0x42dafa){super(),this['startSide']=_0x47ea25,this['endSide']=_0x4e0f17,this['widget']=_0x444f85,this['spec']=_0x42dafa;}get['heightRelevant'](){return!0x1;}static['mark'](_0x19031f){return new MarkDecoration(_0x19031f);}static['widget'](_0xcd29ec){let _0x1fd8a0=Math['max'](-0x2710,Math['min'](0x2710,_0xcd29ec['side']||0x0)),_0x2ea3fc=!!_0xcd29ec['block'];return _0x1fd8a0+=_0x2ea3fc&&!_0xcd29ec['inlineOrder']?_0x1fd8a0>0x0?0x11e1a300:-0x17d78400:_0x1fd8a0>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0xcd29ec,_0x1fd8a0,_0x1fd8a0,_0x2ea3fc,_0xcd29ec['widget']||null,!0x1);}static['replace'](_0x5efff0){let _0x13ba0c,_0x1ecf90,_0x52294e=!!_0x5efff0['block'];if(_0x5efff0['isBlockGap'])_0x13ba0c=-0x1dcd6500,_0x1ecf90=0x17d78400;else{let {start:_0x53d2a4,end:_0xa91de5}=getInclusive(_0x5efff0,_0x52294e);_0x13ba0c=(_0x53d2a4?_0x52294e?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x1ecf90=0x1+(_0xa91de5?_0x52294e?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x5efff0,_0x13ba0c,_0x1ecf90,_0x52294e,_0x5efff0['widget']||null,!0x0);}static['line'](_0x4bc309){return new LineDecoration(_0x4bc309);}static['set'](_0x229623,_0x5a89f0=!0x1){return RangeSet['of'](_0x229623,_0x5a89f0);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x4bf980){let {start:_0x4305d1,end:_0x3527a2}=getInclusive(_0x4bf980);super(_0x4305d1?-0x1:0x1dcd6500,_0x3527a2?0x1:-0x23c34600,null,_0x4bf980),this['tagName']=_0x4bf980['tagName']||'span',this['class']=_0x4bf980['class']||'',this['attrs']=_0x4bf980['attributes']||null;}['eq'](_0xba1501){var _0x4ab37a,_0x6c9342;return this==_0xba1501||_0xba1501 instanceof MarkDecoration&&this['tagName']==_0xba1501['tagName']&&(this['class']||(null===(_0x4ab37a=this['attrs'])||void 0x0===_0x4ab37a?void 0x0:_0x4ab37a['class']))==(_0xba1501['class']||(null===(_0x6c9342=_0xba1501['attrs'])||void 0x0===_0x6c9342?void 0x0:_0x6c9342['class']))&&attrsEq(this['attrs'],_0xba1501['attrs'],'class');}['range'](_0x24b3b5,_0x376d12=_0x24b3b5){if(_0x24b3b5>=_0x376d12)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x24b3b5,_0x376d12);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x20e12d){super(-0xbebc200,-0xbebc200,null,_0x20e12d);}['eq'](_0x315183){return _0x315183 instanceof LineDecoration&&this['spec']['class']==_0x315183['spec']['class']&&attrsEq(this['spec']['attributes'],_0x315183['spec']['attributes']);}['range'](_0x5854cc,_0x30170c=_0x5854cc){if(_0x30170c!=_0x5854cc)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x5854cc,_0x30170c);}}LineDecoration['prototype']['mapMode']=MapMode['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x2540af,_0x27f851,_0x128c28,_0x236791,_0x1894e5,_0x5026d6){super(_0x27f851,_0x128c28,_0x1894e5,_0x2540af),this['block']=_0x236791,this['isReplace']=_0x5026d6,this['mapMode']=_0x236791?_0x27f851<=0x0?MapMode['TrackBefore']:MapMode['TrackAfter']:MapMode['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?BlockType['WidgetRange']:this['startSide']<=0x0?BlockType['WidgetBefore']:BlockType['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0xdc85bc){return _0xdc85bc instanceof PointDecoration&&widgetsEq(this['widget'],_0xdc85bc['widget'])&&this['block']==_0xdc85bc['block']&&this['startSide']==_0xdc85bc['startSide']&&this['endSide']==_0xdc85bc['endSide'];}['range'](_0xe09b31,_0x4ce828=_0xe09b31){if(this['isReplace']&&(_0xe09b31>_0x4ce828||_0xe09b31==_0x4ce828&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x4ce828!=_0xe09b31)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0xe09b31,_0x4ce828);}}function getInclusive(_0xaca54f,_0x23c3f1=!0x1){let {inclusiveStart:_0x12069c,inclusiveEnd:_0x558e42}=_0xaca54f;return null==_0x12069c&&(_0x12069c=_0xaca54f['inclusive']),null==_0x558e42&&(_0x558e42=_0xaca54f['inclusive']),{'start':null!=_0x12069c?_0x12069c:_0x23c3f1,'end':null!=_0x558e42?_0x558e42:_0x23c3f1};}function widgetsEq(_0x58aeb7,_0x42bf1f){return _0x58aeb7==_0x42bf1f||!!(_0x58aeb7&&_0x42bf1f&&_0x58aeb7['compare'](_0x42bf1f));}function addRange(_0x5b3cab,_0x197968,_0x5b235b,_0x32eb2f=0x0){let _0x16aabb=_0x5b235b['length']-0x1;_0x16aabb>=0x0&&_0x5b235b[_0x16aabb]+_0x32eb2f>=_0x5b3cab?_0x5b235b[_0x16aabb]=Math['max'](_0x5b235b[_0x16aabb],_0x197968):_0x5b235b['push'](_0x5b3cab,_0x197968);}PointDecoration['prototype']['point']=!0x0;class LineView extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x401698,_0x260eb2,_0x1d489b,_0x17ba7e,_0x5eab78,_0x540404){if(_0x1d489b){if(!(_0x1d489b instanceof LineView))return!0x1;this['dom']||_0x1d489b['transferDOM'](this);}return _0x17ba7e&&this['setDeco'](_0x1d489b?_0x1d489b['attrs']:null),mergeChildrenInto(this,_0x401698,_0x260eb2,_0x1d489b?_0x1d489b['children']['slice']():[],_0x5eab78,_0x540404),!0x0;}['split'](_0x90186){let _0x433d2f=new LineView();if(_0x433d2f['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x433d2f;let {i:_0x299dd8,off:_0x394127}=this['childPos'](_0x90186);_0x394127&&(_0x433d2f['append'](this['children'][_0x299dd8]['split'](_0x394127),0x0),this['children'][_0x299dd8]['merge'](_0x394127,this['children'][_0x299dd8]['length'],null,!0x1,0x0,0x0),_0x299dd8++);for(let _0x43901d=_0x299dd8;_0x43901d<this['children']['length'];_0x43901d++)_0x433d2f['append'](this['children'][_0x43901d],0x0);for(;_0x299dd8>0x0&&0x0==this['children'][_0x299dd8-0x1]['length'];)this['children'][--_0x299dd8]['destroy']();return this['children']['length']=_0x299dd8,this['markDirty'](),this['length']=_0x90186,_0x433d2f;}['transferDOM'](_0x319bc0){this['dom']&&(this['markDirty'](),_0x319bc0['setDOM'](this['dom']),_0x319bc0['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x25b93b){attrsEq(this['attrs'],_0x25b93b)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x25b93b);}['append'](_0x471496,_0x46e2ab){joinInlineInto(this,_0x471496,_0x46e2ab);}['addLineDeco'](_0x2ecfc4){let _0x4e6e46=_0x2ecfc4['spec']['attributes'],_0x5a27fc=_0x2ecfc4['spec']['class'];_0x4e6e46&&(this['attrs']=combineAttrs(_0x4e6e46,this['attrs']||{})),_0x5a27fc&&(this['attrs']=combineAttrs({'class':_0x5a27fc},this['attrs']||{}));}['domAtPos'](_0x14f9f6){return inlineDOMAtPos(this,_0x14f9f6);}['reuseDOM'](_0xd331a1){'DIV'==_0xd331a1['nodeName']&&(this['setDOM'](_0xd331a1),this['flags']|=0x6);}['sync'](_0x4169af,_0x509e89){var _0x70099a;this['dom']?0x4&this['flags']&&(clearAttributes(this['dom']),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0):(this['setDOM'](document['createElement']('div')),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0),void 0x0!==this['prevAttrs']&&(updateAttrs(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x4169af,_0x509e89);let _0x374487=this['dom']['lastChild'];for(;_0x374487&&ContentView['get'](_0x374487)instanceof MarkView;)_0x374487=_0x374487['lastChild'];if(!(_0x374487&&this['length']&&('BR'==_0x374487['nodeName']||0x0!=(null===(_0x70099a=ContentView['get'](_0x374487))||void 0x0===_0x70099a?void 0x0:_0x70099a['isEditable'])||browser['ios']&&this['children']['some'](_0x202bea=>_0x202bea instanceof TextView)))){let _0x4c4e58=document['createElement']('BR');_0x4c4e58['cmIgnore']=!0x0,this['dom']['appendChild'](_0x4c4e58);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x28a5da,_0x5a0fd1=0x0;for(let _0x3d8965 of this['children']){if(!(_0x3d8965 instanceof TextView)||/[^ -~]/['test'](_0x3d8965['text']))return null;let _0x1f45c6=clientRectsFor(_0x3d8965['dom']);if(0x1!=_0x1f45c6['length'])return null;_0x5a0fd1+=_0x1f45c6[0x0]['width'],_0x28a5da=_0x1f45c6[0x0]['height'];}return _0x5a0fd1?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x5a0fd1/this['length'],'textHeight':_0x28a5da}:null;}['coordsAt'](_0x5572d2,_0x429997){let _0x3dc216=coordsInChildren(this,_0x5572d2,_0x429997);if(!this['children']['length']&&_0x3dc216&&this['parent']){let {heightOracle:_0xf917be}=this['parent']['view']['viewState'],_0x512cfc=_0x3dc216['bottom']-_0x3dc216['top'];if(Math['abs'](_0x512cfc-_0xf917be['lineHeight'])<0x2&&_0xf917be['textHeight']<_0x512cfc){let _0x29eb8a=(_0x512cfc-_0xf917be['textHeight'])/0x2;return{'top':_0x3dc216['top']+_0x29eb8a,'bottom':_0x3dc216['bottom']-_0x29eb8a,'left':_0x3dc216['left'],'right':_0x3dc216['left']};}}return _0x3dc216;}['become'](_0x321b7a){return _0x321b7a instanceof LineView&&0x0==this['children']['length']&&0x0==_0x321b7a['children']['length']&&attrsEq(this['attrs'],_0x321b7a['attrs'])&&this['breakAfter']==_0x321b7a['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x3f06a3,_0x21dc77){for(let _0x558320=0x0,_0xa4fb0b=0x0;_0x558320<_0x3f06a3['children']['length'];_0x558320++){let _0xc89469=_0x3f06a3['children'][_0x558320],_0x11b9a4=_0xa4fb0b+_0xc89469['length'];if(_0x11b9a4>=_0x21dc77){if(_0xc89469 instanceof LineView)return _0xc89469;if(_0x11b9a4>_0x21dc77)break;}_0xa4fb0b=_0x11b9a4+_0xc89469['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x3e16fa,_0x5192c6,_0x59602c){super(),this['widget']=_0x3e16fa,this['length']=_0x5192c6,this['deco']=_0x59602c,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x3a4301,_0x1f7209,_0x259427,_0x33c65b,_0x4e042b,_0x4996ba){return!(_0x259427&&(!(_0x259427 instanceof BlockWidgetView&&this['widget']['compare'](_0x259427['widget']))||_0x3a4301>0x0&&_0x4e042b<=0x0||_0x1f7209<this['length']&&_0x4996ba<=0x0))&&(this['length']=_0x3a4301+(_0x259427?_0x259427['length']:0x0)+(this['length']-_0x1f7209),!0x0);}['domAtPos'](_0x2a3de7){return 0x0==_0x2a3de7?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x2a3de7==this['length']);}['split'](_0x4543e1){let _0x3f450b=this['length']-_0x4543e1;this['length']=_0x4543e1;let _0x3f03bc=new BlockWidgetView(this['widget'],_0x3f450b,this['deco']);return _0x3f03bc['breakAfter']=this['breakAfter'],_0x3f03bc;}get['children'](){return noChildren;}['sync'](_0x464b6a){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x464b6a)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x464b6a)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Text['empty'];}['domBoundsAround'](){return null;}['become'](_0x46a92a){return _0x46a92a instanceof BlockWidgetView&&_0x46a92a['widget']['constructor']==this['widget']['constructor']&&(_0x46a92a['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x46a92a['widget'],this['length']=_0x46a92a['length'],this['deco']=_0x46a92a['deco'],this['breakAfter']=_0x46a92a['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x484807){return this['widget']['ignoreEvent'](_0x484807);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x41dafc,_0x2d452f){let _0x1a8c56=this['widget']['coordsAt'](this['dom'],_0x41dafc,_0x2d452f);return _0x1a8c56||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x41dafc:_0x2d452f<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x6ebb09){let {startSide:_0x46a785,endSide:_0x38c6c0}=this['deco'];return _0x46a785!=_0x38c6c0&&(_0x6ebb09<0x0?_0x46a785<0x0:_0x38c6c0>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x5dc618){super(),this['height']=_0x5dc618;}['toDOM'](){let _0x570a99=document['createElement']('div');return _0x570a99['className']='cm-gap',this['updateDOM'](_0x570a99),_0x570a99;}['eq'](_0x5274b7){return _0x5274b7['height']==this['height'];}['updateDOM'](_0x382f34){return _0x382f34['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x223456,_0x1e2b1d,_0xd631bc,_0x2aa151){this['doc']=_0x223456,this['pos']=_0x1e2b1d,this['end']=_0xd631bc,this['disallowBlockEffectsFor']=_0x2aa151,this['content']=[],this['curLine']=null,this['breakAtStart']=0x0,this['pendingBuffer']=0x0,this['bufferMarks']=[],this['atCursorPos']=!0x0,this['openStart']=-0x1,this['openEnd']=-0x1,this['text']='',this['textOff']=0x0,this['cursor']=_0x223456['iter'](),this['skip']=_0x1e2b1d;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x260c01=this['content'][this['content']['length']-0x1];return!(_0x260c01['breakAfter']||_0x260c01 instanceof BlockWidgetView&&_0x260c01['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new LineView()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x385547=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](wrapMarks(new WidgetBufferView(-0x1),_0x385547),_0x385547['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x5ca7aa){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x5ca7aa);}['finish'](_0x12ae86){this['pendingBuffer']&&_0x12ae86<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x12ae86&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x24f7b0,_0x5d883f,_0x29686e){for(;_0x24f7b0>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x343a5a,lineBreak:_0x2cda67,done:_0x386020}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x386020)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x2cda67){this['posCovered']()||this['getLine'](),this['content']['length']?this['content'][this['content']['length']-0x1]['breakAfter']=0x1:this['breakAtStart']=0x1,this['flushBuffer'](),this['curLine']=null,this['atCursorPos']=!0x0,_0x24f7b0--;continue;}this['text']=_0x343a5a,this['textOff']=0x0;}let _0x43fad9=Math['min'](this['text']['length']-this['textOff'],_0x24f7b0,0x200);this['flushBuffer'](_0x5d883f['slice'](_0x5d883f['length']-_0x29686e)),this['getLine']()['append'](wrapMarks(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x43fad9)),_0x5d883f),_0x29686e),this['atCursorPos']=!0x0,this['textOff']+=_0x43fad9,_0x24f7b0-=_0x43fad9,_0x29686e=0x0;}}['span'](_0x1f306a,_0x523456,_0x1e1f35,_0x5cc352){this['buildText'](_0x523456-_0x1f306a,_0x1e1f35,_0x5cc352),this['pos']=_0x523456,this['openStart']<0x0&&(this['openStart']=_0x5cc352);}['point'](_0x46c3cf,_0x50f762,_0x5e04bc,_0x4473b6,_0x2ec167,_0x4f4737){if(this['disallowBlockEffectsFor'][_0x4f4737]&&_0x5e04bc instanceof PointDecoration){if(_0x5e04bc['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x50f762>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x1ea95a=_0x50f762-_0x46c3cf;if(_0x5e04bc instanceof PointDecoration){if(_0x5e04bc['block'])_0x5e04bc['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x5e04bc['widget']||NullWidget['block'],_0x1ea95a,_0x5e04bc));else{let _0xa9ef04=WidgetView['create'](_0x5e04bc['widget']||NullWidget['inline'],_0x1ea95a,_0x1ea95a?0x0:_0x5e04bc['startSide']),_0x113b88=this['atCursorPos']&&!_0xa9ef04['isEditable']&&_0x2ec167<=_0x4473b6['length']&&(_0x46c3cf<_0x50f762||_0x5e04bc['startSide']>0x0),_0x54c4f0=!_0xa9ef04['isEditable']&&(_0x46c3cf<_0x50f762||_0x2ec167>_0x4473b6['length']||_0x5e04bc['startSide']<=0x0),_0x534ceb=this['getLine']();0x2!=this['pendingBuffer']||_0x113b88||_0xa9ef04['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x4473b6),_0x113b88&&(_0x534ceb['append'](wrapMarks(new WidgetBufferView(0x1),_0x4473b6),_0x2ec167),_0x2ec167=_0x4473b6['length']+Math['max'](0x0,_0x2ec167-_0x4473b6['length'])),_0x534ceb['append'](wrapMarks(_0xa9ef04,_0x4473b6),_0x2ec167),this['atCursorPos']=_0x54c4f0,this['pendingBuffer']=_0x54c4f0?_0x46c3cf<_0x50f762||_0x2ec167>_0x4473b6['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x4473b6['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x5e04bc);_0x1ea95a&&(this['textOff']+_0x1ea95a<=this['text']['length']?this['textOff']+=_0x1ea95a:(this['skip']+=_0x1ea95a-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x50f762),this['openStart']<0x0&&(this['openStart']=_0x2ec167);}static['build'](_0x4d6192,_0x1dfe11,_0x3092eb,_0x225154,_0x59bc0a){let _0x4858e2=new ContentBuilder(_0x4d6192,_0x1dfe11,_0x3092eb,_0x59bc0a);return _0x4858e2['openEnd']=RangeSet['spans'](_0x225154,_0x1dfe11,_0x3092eb,_0x4858e2),_0x4858e2['openStart']<0x0&&(_0x4858e2['openStart']=_0x4858e2['openEnd']),_0x4858e2['finish'](_0x4858e2['openEnd']),_0x4858e2;}}function wrapMarks(_0x3bef80,_0x276e0c){for(let _0x4885e7 of _0x276e0c)_0x3bef80=new MarkView(_0x4885e7,[_0x3bef80],_0x3bef80['length']);return _0x3bef80;}class NullWidget extends WidgetType{constructor(_0x32e127){super(),this['tag']=_0x32e127;}['eq'](_0x932ce9){return _0x932ce9['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x321400){return _0x321400['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x2190f8){return _0x2190f8[_0x2190f8['LTR']=0x0]='LTR',_0x2190f8[_0x2190f8['RTL']=0x1]='RTL',_0x2190f8;}(Direction||(Direction={}));const LTR=Direction['LTR'],RTL=Direction['RTL'];function dec(_0x35f95d){let _0x13cff0=[];for(let _0x63cbfb=0x0;_0x63cbfb<_0x35f95d['length'];_0x63cbfb++)_0x13cff0['push'](0x1<<+_0x35f95d[_0x63cbfb]);return _0x13cff0;}const LowTypes=dec('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),ArabicTypes=dec('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let e of['()','[]','{}']){let i=e['charCodeAt'](0x0),n=e['charCodeAt'](0x1);Brackets[i]=n,Brackets[n]=-i;}function charType(_0x508d3b){return _0x508d3b<=0xf7?LowTypes[_0x508d3b]:0x590<=_0x508d3b&&_0x508d3b<=0x5f4?0x2:0x600<=_0x508d3b&&_0x508d3b<=0x6f9?ArabicTypes[_0x508d3b-0x600]:0x6ee<=_0x508d3b&&_0x508d3b<=0x8ac?0x4:0x2000<=_0x508d3b&&_0x508d3b<=0x200c?0x100:0xfb50<=_0x508d3b&&_0x508d3b<=0xfdff?0x4:0x1;}const BidiRE=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class BidiSpan{get['dir'](){return this['level']%0x2?RTL:LTR;}constructor(_0x54146d,_0x13561d,_0x2edca3){this['from']=_0x54146d,this['to']=_0x13561d,this['level']=_0x2edca3;}['side'](_0x29bc90,_0x54b6ec){return this['dir']==_0x54b6ec==_0x29bc90?this['to']:this['from'];}['forward'](_0x205363,_0x4aad47){return _0x205363==(this['dir']==_0x4aad47);}static['find'](_0x5cf9b4,_0x2fb30c,_0x4e2c74,_0x3ed1be){let _0x2925f4=-0x1;for(let _0x2d031c=0x0;_0x2d031c<_0x5cf9b4['length'];_0x2d031c++){let _0x4a0ffe=_0x5cf9b4[_0x2d031c];if(_0x4a0ffe['from']<=_0x2fb30c&&_0x4a0ffe['to']>=_0x2fb30c){if(_0x4a0ffe['level']==_0x4e2c74)return _0x2d031c;(_0x2925f4<0x0||(0x0!=_0x3ed1be?_0x3ed1be<0x0?_0x4a0ffe['from']<_0x2fb30c:_0x4a0ffe['to']>_0x2fb30c:_0x5cf9b4[_0x2925f4]['level']>_0x4a0ffe['level']))&&(_0x2925f4=_0x2d031c);}}if(_0x2925f4<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x2925f4;}}function isolatesEq(_0x5d4a7e,_0x295201){if(_0x5d4a7e['length']!=_0x295201['length'])return!0x1;for(let _0x550d45=0x0;_0x550d45<_0x5d4a7e['length'];_0x550d45++){let _0xd1b82f=_0x5d4a7e[_0x550d45],_0x9a2460=_0x295201[_0x550d45];if(_0xd1b82f['from']!=_0x9a2460['from']||_0xd1b82f['to']!=_0x9a2460['to']||_0xd1b82f['direction']!=_0x9a2460['direction']||!isolatesEq(_0xd1b82f['inner'],_0x9a2460['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x4c5639,_0x4e95ea,_0x4272d7,_0x2080ac,_0x1cad03){for(let _0x294c6a=0x0;_0x294c6a<=_0x2080ac['length'];_0x294c6a++){let _0x2e3f82=_0x294c6a?_0x2080ac[_0x294c6a-0x1]['to']:_0x4e95ea,_0x5a2ced=_0x294c6a<_0x2080ac['length']?_0x2080ac[_0x294c6a]['from']:_0x4272d7,_0x314a87=_0x294c6a?0x100:_0x1cad03;for(let _0x651a00=_0x2e3f82,_0x5ebb1a=_0x314a87,_0x3380a6=_0x314a87;_0x651a00<_0x5a2ced;_0x651a00++){let _0x873fc7=charType(_0x4c5639['charCodeAt'](_0x651a00));0x200==_0x873fc7?_0x873fc7=_0x5ebb1a:0x8==_0x873fc7&&0x4==_0x3380a6&&(_0x873fc7=0x10),types[_0x651a00]=0x4==_0x873fc7?0x2:_0x873fc7,0x7&_0x873fc7&&(_0x3380a6=_0x873fc7),_0x5ebb1a=_0x873fc7;}for(let _0x363d70=_0x2e3f82,_0x592123=_0x314a87,_0x228329=_0x314a87;_0x363d70<_0x5a2ced;_0x363d70++){let _0x43567a=types[_0x363d70];if(0x80==_0x43567a)_0x363d70<_0x5a2ced-0x1&&_0x592123==types[_0x363d70+0x1]&&0x18&_0x592123?_0x43567a=types[_0x363d70]=_0x592123:types[_0x363d70]=0x100;else{if(0x40==_0x43567a){let _0x4a3ae0=_0x363d70+0x1;for(;_0x4a3ae0<_0x5a2ced&&0x40==types[_0x4a3ae0];)_0x4a3ae0++;let _0xb5edc2=_0x363d70&&0x8==_0x592123||_0x4a3ae0<_0x4272d7&&0x8==types[_0x4a3ae0]?0x1==_0x228329?0x1:0x8:0x100;for(let _0x1f5016=_0x363d70;_0x1f5016<_0x4a3ae0;_0x1f5016++)types[_0x1f5016]=_0xb5edc2;_0x363d70=_0x4a3ae0-0x1;}else 0x8==_0x43567a&&0x1==_0x228329&&(types[_0x363d70]=0x1);}_0x592123=_0x43567a,0x7&_0x43567a&&(_0x228329=_0x43567a);}}}function processBracketPairs(_0x24a237,_0x39d40b,_0x267c32,_0x3e51e5,_0x1985a3){let _0x19208b=0x1==_0x1985a3?0x2:0x1;for(let _0x4b53ef=0x0,_0x259c67=0x0,_0x5520fb=0x0;_0x4b53ef<=_0x3e51e5['length'];_0x4b53ef++){let _0x49a393=_0x4b53ef?_0x3e51e5[_0x4b53ef-0x1]['to']:_0x39d40b,_0x2657b0=_0x4b53ef<_0x3e51e5['length']?_0x3e51e5[_0x4b53ef]['from']:_0x267c32;for(let _0x2702ed,_0x5af468,_0x49b648,_0x36d271=_0x49a393;_0x36d271<_0x2657b0;_0x36d271++)if(_0x5af468=Brackets[_0x2702ed=_0x24a237['charCodeAt'](_0x36d271)]){if(_0x5af468<0x0){for(let _0x113683=_0x259c67-0x3;_0x113683>=0x0;_0x113683-=0x3)if(BracketStack[_0x113683+0x1]==-_0x5af468){let _0x5411d8=BracketStack[_0x113683+0x2],_0x302917=0x2&_0x5411d8?_0x1985a3:0x4&_0x5411d8?0x1&_0x5411d8?_0x19208b:_0x1985a3:0x0;_0x302917&&(types[_0x36d271]=types[BracketStack[_0x113683]]=_0x302917),_0x259c67=_0x113683;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x259c67++]=_0x36d271,BracketStack[_0x259c67++]=_0x2702ed,BracketStack[_0x259c67++]=_0x5520fb;}}else{if(0x2==(_0x49b648=types[_0x36d271])||0x1==_0x49b648){let _0x308c2e=_0x49b648==_0x1985a3;_0x5520fb=_0x308c2e?0x0:0x1;for(let _0x3acb06=_0x259c67-0x3;_0x3acb06>=0x0;_0x3acb06-=0x3){let _0x438fff=BracketStack[_0x3acb06+0x2];if(0x2&_0x438fff)break;if(_0x308c2e)BracketStack[_0x3acb06+0x2]|=0x2;else{if(0x4&_0x438fff)break;BracketStack[_0x3acb06+0x2]|=0x4;}}}}}}function processNeutrals(_0x105381,_0x37ee5f,_0x356b45,_0x3fbb6f){for(let _0x7ddf1a=0x0,_0x5509da=_0x3fbb6f;_0x7ddf1a<=_0x356b45['length'];_0x7ddf1a++){let _0x52cb48=_0x7ddf1a?_0x356b45[_0x7ddf1a-0x1]['to']:_0x105381,_0x38880b=_0x7ddf1a<_0x356b45['length']?_0x356b45[_0x7ddf1a]['from']:_0x37ee5f;for(let _0x344c60=_0x52cb48;_0x344c60<_0x38880b;){let _0x4e855f=types[_0x344c60];if(0x100==_0x4e855f){let _0x3a3265=_0x344c60+0x1;for(;;)if(_0x3a3265==_0x38880b){if(_0x7ddf1a==_0x356b45['length'])break;_0x3a3265=_0x356b45[_0x7ddf1a++]['to'],_0x38880b=_0x7ddf1a<_0x356b45['length']?_0x356b45[_0x7ddf1a]['from']:_0x37ee5f;}else{if(0x100!=types[_0x3a3265])break;_0x3a3265++;}let _0x4a2823=0x1==_0x5509da,_0x533532=_0x4a2823==(0x1==(_0x3a3265<_0x37ee5f?types[_0x3a3265]:_0x3fbb6f))?_0x4a2823?0x1:0x2:_0x3fbb6f;for(let _0x255d01=_0x3a3265,_0x4ef098=_0x7ddf1a,_0x1720b3=_0x4ef098?_0x356b45[_0x4ef098-0x1]['to']:_0x105381;_0x255d01>_0x344c60;)_0x255d01==_0x1720b3&&(_0x255d01=_0x356b45[--_0x4ef098]['from'],_0x1720b3=_0x4ef098?_0x356b45[_0x4ef098-0x1]['to']:_0x105381),types[--_0x255d01]=_0x533532;_0x344c60=_0x3a3265;}else _0x5509da=_0x4e855f,_0x344c60++;}}}function emitSpans(_0x4e5419,_0x27211c,_0x3c911e,_0x12a788,_0x1edd20,_0x1d829c,_0x4cd9ac){let _0x140a17=_0x12a788%0x2?0x2:0x1;if(_0x12a788%0x2==_0x1edd20%0x2)for(let _0x414872=_0x27211c,_0x370872=0x0;_0x414872<_0x3c911e;){let _0x3c330a=!0x0,_0x4fb2d7=!0x1;if(_0x370872==_0x1d829c['length']||_0x414872<_0x1d829c[_0x370872]['from']){let _0x35dbd7=types[_0x414872];_0x35dbd7!=_0x140a17&&(_0x3c330a=!0x1,_0x4fb2d7=0x10==_0x35dbd7);}let _0x41a7e2=_0x3c330a||0x1!=_0x140a17?null:[],_0x70e491=_0x3c330a?_0x12a788:_0x12a788+0x1,_0x4f459e=_0x414872;t:for(;;)if(_0x370872<_0x1d829c['length']&&_0x4f459e==_0x1d829c[_0x370872]['from']){if(_0x4fb2d7)break t;let _0x4686df=_0x1d829c[_0x370872];if(!_0x3c330a)for(let _0x9ec7e5=_0x4686df['to'],_0x473ba2=_0x370872+0x1;;){if(_0x9ec7e5==_0x3c911e)break t;if(!(_0x473ba2<_0x1d829c['length']&&_0x1d829c[_0x473ba2]['from']==_0x9ec7e5)){if(types[_0x9ec7e5]==_0x140a17)break t;break;}_0x9ec7e5=_0x1d829c[_0x473ba2++]['to'];}if(_0x370872++,_0x41a7e2)_0x41a7e2['push'](_0x4686df);else _0x4686df['from']>_0x414872&&_0x4cd9ac['push'](new BidiSpan(_0x414872,_0x4686df['from'],_0x70e491)),computeSectionOrder(_0x4e5419,_0x4686df['direction']==LTR!=!(_0x70e491%0x2)?_0x12a788+0x1:_0x12a788,_0x1edd20,_0x4686df['inner'],_0x4686df['from'],_0x4686df['to'],_0x4cd9ac),_0x414872=_0x4686df['to'];_0x4f459e=_0x4686df['to'];}else{if(_0x4f459e==_0x3c911e||(_0x3c330a?types[_0x4f459e]!=_0x140a17:types[_0x4f459e]==_0x140a17))break;_0x4f459e++;}_0x41a7e2?emitSpans(_0x4e5419,_0x414872,_0x4f459e,_0x12a788+0x1,_0x1edd20,_0x41a7e2,_0x4cd9ac):_0x414872<_0x4f459e&&_0x4cd9ac['push'](new BidiSpan(_0x414872,_0x4f459e,_0x70e491)),_0x414872=_0x4f459e;}else for(let _0x539a91=_0x3c911e,_0x56a4b2=_0x1d829c['length'];_0x539a91>_0x27211c;){let _0x492f6b=!0x0,_0x56dea5=!0x1;if(!_0x56a4b2||_0x539a91>_0x1d829c[_0x56a4b2-0x1]['to']){let _0x16f828=types[_0x539a91-0x1];_0x16f828!=_0x140a17&&(_0x492f6b=!0x1,_0x56dea5=0x10==_0x16f828);}let _0x1ee844=_0x492f6b||0x1!=_0x140a17?null:[],_0x10fd05=_0x492f6b?_0x12a788:_0x12a788+0x1,_0x52711a=_0x539a91;t:for(;;)if(_0x56a4b2&&_0x52711a==_0x1d829c[_0x56a4b2-0x1]['to']){if(_0x56dea5)break t;let _0x4b5cb7=_0x1d829c[--_0x56a4b2];if(!_0x492f6b)for(let _0x44eb76=_0x4b5cb7['from'],_0x2ebeab=_0x56a4b2;;){if(_0x44eb76==_0x27211c)break t;if(!_0x2ebeab||_0x1d829c[_0x2ebeab-0x1]['to']!=_0x44eb76){if(types[_0x44eb76-0x1]==_0x140a17)break t;break;}_0x44eb76=_0x1d829c[--_0x2ebeab]['from'];}if(_0x1ee844)_0x1ee844['push'](_0x4b5cb7);else _0x4b5cb7['to']<_0x539a91&&_0x4cd9ac['push'](new BidiSpan(_0x4b5cb7['to'],_0x539a91,_0x10fd05)),computeSectionOrder(_0x4e5419,_0x4b5cb7['direction']==LTR!=!(_0x10fd05%0x2)?_0x12a788+0x1:_0x12a788,_0x1edd20,_0x4b5cb7['inner'],_0x4b5cb7['from'],_0x4b5cb7['to'],_0x4cd9ac),_0x539a91=_0x4b5cb7['from'];_0x52711a=_0x4b5cb7['from'];}else{if(_0x52711a==_0x27211c||(_0x492f6b?types[_0x52711a-0x1]!=_0x140a17:types[_0x52711a-0x1]==_0x140a17))break;_0x52711a--;}_0x1ee844?emitSpans(_0x4e5419,_0x52711a,_0x539a91,_0x12a788+0x1,_0x1edd20,_0x1ee844,_0x4cd9ac):_0x52711a<_0x539a91&&_0x4cd9ac['push'](new BidiSpan(_0x52711a,_0x539a91,_0x10fd05)),_0x539a91=_0x52711a;}}function computeSectionOrder(_0x35782d,_0x176c64,_0x24d1fd,_0x326b3b,_0x42d4be,_0x406dcf,_0x425658){let _0x5cc9ad=_0x176c64%0x2?0x2:0x1;computeCharTypes(_0x35782d,_0x42d4be,_0x406dcf,_0x326b3b,_0x5cc9ad),processBracketPairs(_0x35782d,_0x42d4be,_0x406dcf,_0x326b3b,_0x5cc9ad),processNeutrals(_0x42d4be,_0x406dcf,_0x326b3b,_0x5cc9ad),emitSpans(_0x35782d,_0x42d4be,_0x406dcf,_0x176c64,_0x24d1fd,_0x326b3b,_0x425658);}function computeOrder(_0x3ede55,_0x1d8dbf,_0x425c22){if(!_0x3ede55)return[new BidiSpan(0x0,0x0,_0x1d8dbf==RTL?0x1:0x0)];if(_0x1d8dbf==LTR&&!_0x425c22['length']&&!BidiRE['test'](_0x3ede55))return trivialOrder(_0x3ede55['length']);if(_0x425c22['length']){for(;_0x3ede55['length']>types['length'];)types[types['length']]=0x100;}let _0x245f95=[],_0x27a551=_0x1d8dbf==LTR?0x0:0x1;return computeSectionOrder(_0x3ede55,_0x27a551,_0x27a551,_0x425c22,0x0,_0x3ede55['length'],_0x245f95),_0x245f95;}function trivialOrder(_0x1c6a8b){return[new BidiSpan(0x0,_0x1c6a8b,0x0)];}let movedOver='';function moveVisually(_0x8d81ec,_0x5640a9,_0x14aa88,_0x26efef,_0xf8773c){var _0x8a554b;let _0x45c804=_0x26efef['head']-_0x8d81ec['from'],_0x44c8c2=BidiSpan['find'](_0x5640a9,_0x45c804,null!==(_0x8a554b=_0x26efef['bidiLevel'])&&void 0x0!==_0x8a554b?_0x8a554b:-0x1,_0x26efef['assoc']),_0x557c71=_0x5640a9[_0x44c8c2],_0x3ad776=_0x557c71['side'](_0xf8773c,_0x14aa88);if(_0x45c804==_0x3ad776){let _0x1ca157=_0x44c8c2+=_0xf8773c?0x1:-0x1;if(_0x1ca157<0x0||_0x1ca157>=_0x5640a9['length'])return null;_0x557c71=_0x5640a9[_0x44c8c2=_0x1ca157],_0x45c804=_0x557c71['side'](!_0xf8773c,_0x14aa88),_0x3ad776=_0x557c71['side'](_0xf8773c,_0x14aa88);}let _0x3b4684=findClusterBreak(_0x8d81ec['text'],_0x45c804,_0x557c71['forward'](_0xf8773c,_0x14aa88));(_0x3b4684<_0x557c71['from']||_0x3b4684>_0x557c71['to'])&&(_0x3b4684=_0x3ad776),movedOver=_0x8d81ec['text']['slice'](Math['min'](_0x45c804,_0x3b4684),Math['max'](_0x45c804,_0x3b4684));let _0xaf3142=_0x44c8c2==(_0xf8773c?_0x5640a9['length']-0x1:0x0)?null:_0x5640a9[_0x44c8c2+(_0xf8773c?0x1:-0x1)];return _0xaf3142&&_0x3b4684==_0x3ad776&&_0xaf3142['level']+(_0xf8773c?0x0:0x1)<_0x557c71['level']?EditorSelection['cursor'](_0xaf3142['side'](!_0xf8773c,_0x14aa88)+_0x8d81ec['from'],_0xaf3142['forward'](_0xf8773c,_0x14aa88)?0x1:-0x1,_0xaf3142['level']):EditorSelection['cursor'](_0x3b4684+_0x8d81ec['from'],_0x557c71['forward'](_0xf8773c,_0x14aa88)?-0x1:0x1,_0x557c71['level']);}function autoDirection(_0x2a4919,_0x58964b,_0x4467b0){for(let _0x32939f=_0x58964b;_0x32939f<_0x4467b0;_0x32939f++){let _0x2819a8=charType(_0x2a4919['charCodeAt'](_0x32939f));if(0x1==_0x2819a8)return LTR;if(0x2==_0x2819a8||0x4==_0x2819a8)return RTL;}return LTR;}const clickAddsSelectionRange=Facet['define'](),dragMovesSelection$1=Facet['define'](),mouseSelectionStyle=Facet['define'](),exceptionSink=Facet['define'](),updateListener=Facet['define'](),inputHandler$1=Facet['define'](),focusChangeEffect=Facet['define'](),clipboardInputFilter=Facet['define'](),clipboardOutputFilter=Facet['define'](),perLineTextDirection=Facet['define']({'combine':_0x3058b7=>_0x3058b7['some'](_0x7cba29=>_0x7cba29)}),nativeSelectionHidden=Facet['define']({'combine':_0x2c913b=>_0x2c913b['some'](_0x235532=>_0x235532)}),scrollHandler=Facet['define']();class ScrollTarget{constructor(_0x49d695,_0x59837e='nearest',_0x4ea697='nearest',_0x4a4451=0x5,_0x19c16e=0x5,_0x5ce1e3=!0x1){this['range']=_0x49d695,this['y']=_0x59837e,this['x']=_0x4ea697,this['yMargin']=_0x4a4451,this['xMargin']=_0x19c16e,this['isSnapshot']=_0x5ce1e3;}['map'](_0x1eeb85){return _0x1eeb85['empty']?this:new ScrollTarget(this['range']['map'](_0x1eeb85),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x559f35){return this['range']['to']<=_0x559f35['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x559f35['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x38747c)=>t['map'](_0x38747c)}),setEditContextFormatting=StateEffect['define']();function logException(_0x58949b,_0xf34d2,_0x1433b7){let _0x119d6e=_0x58949b['facet'](exceptionSink);_0x119d6e['length']?_0x119d6e[0x0](_0xf34d2):window['onerror']?window['onerror'](String(_0xf34d2),_0x1433b7,void 0x0,void 0x0,_0xf34d2):_0x1433b7?console['error'](_0x1433b7+':',_0xf34d2):console['error'](_0xf34d2);}const editable=Facet['define']({'combine':_0xe7be67=>!_0xe7be67['length']||_0xe7be67[0x0]});let nextPluginID=0x0;const viewPlugin=Facet['define']();class ViewPlugin{constructor(_0x401fcf,_0x91e30d,_0x20df83,_0x50939f,_0x4d9696){this['id']=_0x401fcf,this['create']=_0x91e30d,this['domEventHandlers']=_0x20df83,this['domEventObservers']=_0x50939f,this['extension']=_0x4d9696(this);}static['define'](_0x54bd7c,_0x408ed2){const {eventHandlers:_0x3a580e,eventObservers:_0x2c9e59,provide:_0x27534e,decorations:_0x1157d8}=_0x408ed2||{};return new ViewPlugin(nextPluginID++,_0x54bd7c,_0x3a580e,_0x2c9e59,_0x36df10=>{let _0x13f5cf=[viewPlugin['of'](_0x36df10)];return _0x1157d8&&_0x13f5cf['push'](decorations['of'](_0xeaed13=>{let _0x3cfc9c=_0xeaed13['plugin'](_0x36df10);return _0x3cfc9c?_0x1157d8(_0x3cfc9c):Decoration['none'];})),_0x27534e&&_0x13f5cf['push'](_0x27534e(_0x36df10)),_0x13f5cf;});}static['fromClass'](_0x3c50d7,_0xeb307){return ViewPlugin['define'](_0x2de11d=>new _0x3c50d7(_0x2de11d),_0xeb307);}}class PluginInstance{constructor(_0x4b76a1){this['spec']=_0x4b76a1,this['mustUpdate']=null,this['value']=null;}['update'](_0xb6b402){if(this['value']){if(this['mustUpdate']){let _0x2a7f24=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x2a7f24);}catch(_0x232354){if(logException(_0x2a7f24['state'],_0x232354,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x2a146a){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['create'](_0xb6b402);}catch(_0x54d5be){logException(_0xb6b402['state'],_0x54d5be,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x49b93c){var _0x48baff;if(null===(_0x48baff=this['value'])||void 0x0===_0x48baff?void 0x0:_0x48baff['destroy'])try{this['value']['destroy']();}catch(_0x30aec7){logException(_0x49b93c['state'],_0x30aec7,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const editorAttributes=Facet['define'](),contentAttributes=Facet['define'](),decorations=Facet['define'](),outerDecorations=Facet['define'](),atomicRanges=Facet['define'](),bidiIsolatedRanges=Facet['define']();function getIsolatedRanges(_0x5059cd,_0x2df7e0){let _0xeb6be7=_0x5059cd['state']['facet'](bidiIsolatedRanges);if(!_0xeb6be7['length'])return _0xeb6be7;let _0x9ef79d=_0xeb6be7['map'](_0x207da3=>_0x207da3 instanceof Function?_0x207da3(_0x5059cd):_0x207da3),_0x1e8298=[];return RangeSet['spans'](_0x9ef79d,_0x2df7e0['from'],_0x2df7e0['to'],{'point'(){},'span'(_0x4792ab,_0x339004,_0x4cc470,_0x56a643){let _0x30db81=_0x4792ab-_0x2df7e0['from'],_0x1ee9e5=_0x339004-_0x2df7e0['from'],_0x2b6317=_0x1e8298;for(let _0xb08d86=_0x4cc470['length']-0x1;_0xb08d86>=0x0;_0xb08d86--,_0x56a643--){let _0x38177b,_0x209d48=_0x4cc470[_0xb08d86]['spec']['bidiIsolate'];if(null==_0x209d48&&(_0x209d48=autoDirection(_0x2df7e0['text'],_0x30db81,_0x1ee9e5)),_0x56a643>0x0&&_0x2b6317['length']&&(_0x38177b=_0x2b6317[_0x2b6317['length']-0x1])['to']==_0x30db81&&_0x38177b['direction']==_0x209d48)_0x38177b['to']=_0x1ee9e5,_0x2b6317=_0x38177b['inner'];else{let _0x495ab9={'from':_0x30db81,'to':_0x1ee9e5,'direction':_0x209d48,'inner':[]};_0x2b6317['push'](_0x495ab9),_0x2b6317=_0x495ab9['inner'];}}}}),_0x1e8298;}const scrollMargins=Facet['define']();function getScrollMargins(_0x2057ad){let _0x24c0bd=0x0,_0x2d0a48=0x0,_0x509756=0x0,_0x235ccd=0x0;for(let _0x2d7e6b of _0x2057ad['state']['facet'](scrollMargins)){let _0x388a7b=_0x2d7e6b(_0x2057ad);_0x388a7b&&(null!=_0x388a7b['left']&&(_0x24c0bd=Math['max'](_0x24c0bd,_0x388a7b['left'])),null!=_0x388a7b['right']&&(_0x2d0a48=Math['max'](_0x2d0a48,_0x388a7b['right'])),null!=_0x388a7b['top']&&(_0x509756=Math['max'](_0x509756,_0x388a7b['top'])),null!=_0x388a7b['bottom']&&(_0x235ccd=Math['max'](_0x235ccd,_0x388a7b['bottom'])));}return{'left':_0x24c0bd,'right':_0x2d0a48,'top':_0x509756,'bottom':_0x235ccd};}const styleModule=Facet['define']();class ChangedRange{constructor(_0x58e654,_0xba55b0,_0x4de245,_0x2b8efe){this['fromA']=_0x58e654,this['toA']=_0xba55b0,this['fromB']=_0x4de245,this['toB']=_0x2b8efe;}['join'](_0x518530){return new ChangedRange(Math['min'](this['fromA'],_0x518530['fromA']),Math['max'](this['toA'],_0x518530['toA']),Math['min'](this['fromB'],_0x518530['fromB']),Math['max'](this['toB'],_0x518530['toB']));}['addToSet'](_0x324bad){let _0x2ce772=_0x324bad['length'],_0x558821=this;for(;_0x2ce772>0x0;_0x2ce772--){let _0x4a6222=_0x324bad[_0x2ce772-0x1];if(!(_0x4a6222['fromA']>_0x558821['toA'])){if(_0x4a6222['toA']<_0x558821['fromA'])break;_0x558821=_0x558821['join'](_0x4a6222),_0x324bad['splice'](_0x2ce772-0x1,0x1);}}return _0x324bad['splice'](_0x2ce772,0x0,_0x558821),_0x324bad;}static['extendWithRanges'](_0x341306,_0x426e3d){if(0x0==_0x426e3d['length'])return _0x341306;let _0x281e19=[];for(let _0x19f941=0x0,_0x478b03=0x0,_0x35c857=0x0,_0x2af5b1=0x0;;_0x19f941++){let _0x44a70d=_0x19f941==_0x341306['length']?null:_0x341306[_0x19f941],_0x12b73f=_0x35c857-_0x2af5b1,_0x426040=_0x44a70d?_0x44a70d['fromB']:0x3b9aca00;for(;_0x478b03<_0x426e3d['length']&&_0x426e3d[_0x478b03]<_0x426040;){let _0x25ca36=_0x426e3d[_0x478b03],_0x3409b6=_0x426e3d[_0x478b03+0x1],_0x21adbf=Math['max'](_0x2af5b1,_0x25ca36),_0x2eef6b=Math['min'](_0x426040,_0x3409b6);if(_0x21adbf<=_0x2eef6b&&new ChangedRange(_0x21adbf+_0x12b73f,_0x2eef6b+_0x12b73f,_0x21adbf,_0x2eef6b)['addToSet'](_0x281e19),_0x3409b6>_0x426040)break;_0x478b03+=0x2;}if(!_0x44a70d)return _0x281e19;new ChangedRange(_0x44a70d['fromA'],_0x44a70d['toA'],_0x44a70d['fromB'],_0x44a70d['toB'])['addToSet'](_0x281e19),_0x35c857=_0x44a70d['toA'],_0x2af5b1=_0x44a70d['toB'];}}}class ViewUpdate{constructor(_0x52ef42,_0x12bce6,_0x15afd3){this['view']=_0x52ef42,this['state']=_0x12bce6,this['transactions']=_0x15afd3,this['flags']=0x0,this['startState']=_0x52ef42['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x1e8d85 of _0x15afd3)this['changes']=this['changes']['compose'](_0x1e8d85['changes']);let _0x158cad=[];this['changes']['iterChangedRanges']((_0x546c88,_0x461407,_0x2ce411,_0x22a743)=>_0x158cad['push'](new ChangedRange(_0x546c88,_0x461407,_0x2ce411,_0x22a743))),this['changedRanges']=_0x158cad;}static['create'](_0x2e4dfd,_0x2d9ce9,_0x1a230c){return new ViewUpdate(_0x2e4dfd,_0x2d9ce9,_0x1a230c);}get['viewportChanged'](){return(0x4&this['flags'])>0x0;}get['viewportMoved'](){return(0x8&this['flags'])>0x0;}get['heightChanged'](){return(0x2&this['flags'])>0x0;}get['geometryChanged'](){return this['docChanged']||(0x12&this['flags'])>0x0;}get['focusChanged'](){return(0x1&this['flags'])>0x0;}get['docChanged'](){return!this['changes']['empty'];}get['selectionSet'](){return this['transactions']['some'](_0x29387e=>_0x29387e['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class DocView extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x5357b9){super(),this['view']=_0x5357b9,this['decorations']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['markedForComposition']=new Set(),this['editContextFormatting']=Decoration['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['setDOM'](_0x5357b9['contentDOM']),this['children']=[new LineView()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new ChangedRange(0x0,0x0,0x0,_0x5357b9['state']['doc']['length'])],0x0,null);}['update'](_0x3e289d){var _0x1da3de;let _0x30a2ca=_0x3e289d['changedRanges'];this['minWidth']>0x0&&_0x30a2ca['length']&&(_0x30a2ca['every'](({fromA:_0x36ec0f,toA:_0x588893})=>_0x588893<this['minWidthFrom']||_0x36ec0f>this['minWidthTo'])?(this['minWidthFrom']=_0x3e289d['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x3e289d['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x3e289d);let _0x2ce97b=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x1da3de=this['domChanged'])||void 0x0===_0x1da3de?void 0x0:_0x1da3de['newSel'])?_0x2ce97b=this['domChanged']['newSel']['head']:touchesComposition(_0x3e289d['changes'],this['hasComposition'])||_0x3e289d['selectionSet']||(_0x2ce97b=_0x3e289d['state']['selection']['main']['head']));let _0x5f4376=_0x2ce97b>-0x1?findCompositionRange(this['view'],_0x3e289d['changes'],_0x2ce97b):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x3a01bf,to:_0x530330}=this['hasComposition'];_0x30a2ca=new ChangedRange(_0x3a01bf,_0x530330,_0x3e289d['changes']['mapPos'](_0x3a01bf,-0x1),_0x3e289d['changes']['mapPos'](_0x530330,0x1))['addToSet'](_0x30a2ca['slice']());}this['hasComposition']=_0x5f4376?{'from':_0x5f4376['range']['fromB'],'to':_0x5f4376['range']['toB']}:null,(browser['ie']||browser['chrome'])&&!_0x5f4376&&_0x3e289d&&_0x3e289d['state']['doc']['lines']!=_0x3e289d['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x22345e=findChangedDeco(this['decorations'],this['updateDeco'](),_0x3e289d['changes']);return _0x30a2ca=ChangedRange['extendWithRanges'](_0x30a2ca,_0x22345e),!!(0x7&this['flags']||0x0!=_0x30a2ca['length'])&&(this['updateInner'](_0x30a2ca,_0x3e289d['startState']['doc']['length'],_0x5f4376),_0x3e289d['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x368b1b,_0x1a0fe2,_0x198396){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x368b1b,_0x1a0fe2,_0x198396);let {observer:_0x29cb10}=this['view'];_0x29cb10['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x26e264=browser['chrome']||browser['ios']?{'node':_0x29cb10['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x26e264),this['flags']&=-0x8,_0x26e264&&(_0x26e264['written']||_0x29cb10['selectionRange']['focusNode']!=_0x26e264['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x4ec2c5=>_0x4ec2c5['flags']&=-0x9);let _0x20d73c=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x5e248f of this['children'])_0x5e248f instanceof BlockWidgetView&&_0x5e248f['widget']instanceof BlockGapWidget&&_0x20d73c['push'](_0x5e248f['dom']);}_0x29cb10['updateGaps'](_0x20d73c);}['updateChildren'](_0x58af9a,_0x8daf22,_0x57da62){let _0x22b59b=_0x57da62?_0x57da62['range']['addToSet'](_0x58af9a['slice']()):_0x58af9a,_0x4c9b8b=this['childCursor'](_0x8daf22);for(let _0x3fa9da=_0x22b59b['length']-0x1;;_0x3fa9da--){let _0xbec31f=_0x3fa9da>=0x0?_0x22b59b[_0x3fa9da]:null;if(!_0xbec31f)break;let _0x2f8cfd,_0x4b0459,_0x4a43e2,_0x3f822d,{fromA:_0x96b9df,toA:_0x154a8e,fromB:_0x52e745,toB:_0x60ce29}=_0xbec31f;if(_0x57da62&&_0x57da62['range']['fromB']<_0x60ce29&&_0x57da62['range']['toB']>_0x52e745){let _0xa7bb03=ContentBuilder['build'](this['view']['state']['doc'],_0x52e745,_0x57da62['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0xeb218f=ContentBuilder['build'](this['view']['state']['doc'],_0x57da62['range']['toB'],_0x60ce29,this['decorations'],this['dynamicDecorationMap']);_0x4b0459=_0xa7bb03['breakAtStart'],_0x4a43e2=_0xa7bb03['openStart'],_0x3f822d=_0xeb218f['openEnd'];let _0x1157e4=this['compositionView'](_0x57da62);_0xeb218f['breakAtStart']?_0x1157e4['breakAfter']=0x1:_0xeb218f['content']['length']&&_0x1157e4['merge'](_0x1157e4['length'],_0x1157e4['length'],_0xeb218f['content'][0x0],!0x1,_0xeb218f['openStart'],0x0)&&(_0x1157e4['breakAfter']=_0xeb218f['content'][0x0]['breakAfter'],_0xeb218f['content']['shift']()),_0xa7bb03['content']['length']&&_0x1157e4['merge'](0x0,0x0,_0xa7bb03['content'][_0xa7bb03['content']['length']-0x1],!0x0,0x0,_0xa7bb03['openEnd'])&&_0xa7bb03['content']['pop'](),_0x2f8cfd=_0xa7bb03['content']['concat'](_0x1157e4)['concat'](_0xeb218f['content']);}else({content:_0x2f8cfd,breakAtStart:_0x4b0459,openStart:_0x4a43e2,openEnd:_0x3f822d}=ContentBuilder['build'](this['view']['state']['doc'],_0x52e745,_0x60ce29,this['decorations'],this['dynamicDecorationMap']));let {i:_0x27891f,off:_0x39020d}=_0x4c9b8b['findPos'](_0x154a8e,0x1),{i:_0x35a08f,off:_0x1ce0c8}=_0x4c9b8b['findPos'](_0x96b9df,-0x1);replaceRange(this,_0x35a08f,_0x1ce0c8,_0x27891f,_0x39020d,_0x2f8cfd,_0x4b0459,_0x4a43e2,_0x3f822d);}_0x57da62&&this['fixCompositionDOM'](_0x57da62);}['updateEditContextFormatting'](_0x423394){this['editContextFormatting']=this['editContextFormatting']['map'](_0x423394['changes']);for(let _0x248c6a of _0x423394['transactions'])for(let _0x387f6f of _0x248c6a['effects'])_0x387f6f['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x387f6f['value']);}['compositionView'](_0x357b2c){let _0x3c6dcc=new TextView(_0x357b2c['text']['nodeValue']);_0x3c6dcc['flags']|=0x8;for(let {deco:_0x3fd595}of _0x357b2c['marks'])_0x3c6dcc=new MarkView(_0x3fd595,[_0x3c6dcc],_0x3c6dcc['length']);let _0x17e89e=new LineView();return _0x17e89e['append'](_0x3c6dcc,0x0),_0x17e89e;}['fixCompositionDOM'](_0x382496){let _0x3d1d87=(_0x571a89,_0x5e723c)=>{_0x5e723c['flags']|=0x8|(_0x5e723c['children']['some'](_0x3793fa=>0x7&_0x3793fa['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x5e723c);let _0x212fb9=ContentView['get'](_0x571a89);_0x212fb9&&_0x212fb9!=_0x5e723c&&(_0x212fb9['dom']=null),_0x5e723c['setDOM'](_0x571a89);},_0x11146d=this['childPos'](_0x382496['range']['fromB'],0x1),_0x1fcb84=this['children'][_0x11146d['i']];_0x3d1d87(_0x382496['line'],_0x1fcb84);for(let _0x3fb4e=_0x382496['marks']['length']-0x1;_0x3fb4e>=-0x1;_0x3fb4e--)_0x11146d=_0x1fcb84['childPos'](_0x11146d['off'],0x1),_0x1fcb84=_0x1fcb84['children'][_0x11146d['i']],_0x3d1d87(_0x3fb4e>=0x0?_0x382496['marks'][_0x3fb4e]['node']:_0x382496['text'],_0x1fcb84);}['updateSelection'](_0x58cad3=!0x1,_0x611379=!0x1){!_0x58cad3&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x346456=this['view']['root']['activeElement'],_0x269a2f=_0x346456==this['dom'],_0xd272d8=!_0x269a2f&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x346456&&this['dom']['contains'](_0x346456));if(!(_0x269a2f||_0x611379||_0xd272d8))return;let _0xffd2ac=this['forceSelection'];this['forceSelection']=!0x1;let _0x22461f=this['view']['state']['selection']['main'],_0x32976e=this['moveToLine'](this['domAtPos'](_0x22461f['anchor'])),_0x19ff6c=_0x22461f['empty']?_0x32976e:this['moveToLine'](this['domAtPos'](_0x22461f['head']));if(browser['gecko']&&_0x22461f['empty']&&!this['hasComposition']&&betweenUneditable(_0x32976e)){let _0x9b1716=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x32976e['node']['insertBefore'](_0x9b1716,_0x32976e['node']['childNodes'][_0x32976e['offset']]||null)),_0x32976e=_0x19ff6c=new DOMPos(_0x9b1716,0x0),_0xffd2ac=!0x0;}let _0x3f6c03=this['view']['observer']['selectionRange'];!_0xffd2ac&&_0x3f6c03['focusNode']&&(isEquivalentPosition(_0x32976e['node'],_0x32976e['offset'],_0x3f6c03['anchorNode'],_0x3f6c03['anchorOffset'])&&isEquivalentPosition(_0x19ff6c['node'],_0x19ff6c['offset'],_0x3f6c03['focusNode'],_0x3f6c03['focusOffset'])||this['suppressWidgetCursorChange'](_0x3f6c03,_0x22461f))||(this['view']['observer']['ignore'](()=>{browser['android']&&browser['chrome']&&this['dom']['contains'](_0x3f6c03['focusNode'])&&inUneditable(_0x3f6c03['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x5c26fb=getSelection(this['view']['root']);if(_0x5c26fb){if(_0x22461f['empty']){if(browser['gecko']){let _0x6c041f=nextToUneditable(_0x32976e['node'],_0x32976e['offset']);if(_0x6c041f&&0x3!=_0x6c041f){let _0x2e8c4f=(0x1==_0x6c041f?textNodeBefore:textNodeAfter)(_0x32976e['node'],_0x32976e['offset']);_0x2e8c4f&&(_0x32976e=new DOMPos(_0x2e8c4f['node'],_0x2e8c4f['offset']));}}_0x5c26fb['collapse'](_0x32976e['node'],_0x32976e['offset']),null!=_0x22461f['bidiLevel']&&void 0x0!==_0x5c26fb['caretBidiLevel']&&(_0x5c26fb['caretBidiLevel']=_0x22461f['bidiLevel']);}else{if(_0x5c26fb['extend']){_0x5c26fb['collapse'](_0x32976e['node'],_0x32976e['offset']);try{_0x5c26fb['extend'](_0x19ff6c['node'],_0x19ff6c['offset']);}catch(_0x136e1e){}}else{let _0x143c50=document['createRange']();_0x22461f['anchor']>_0x22461f['head']&&([_0x32976e,_0x19ff6c]=[_0x19ff6c,_0x32976e]),_0x143c50['setEnd'](_0x19ff6c['node'],_0x19ff6c['offset']),_0x143c50['setStart'](_0x32976e['node'],_0x32976e['offset']),_0x5c26fb['removeAllRanges'](),_0x5c26fb['addRange'](_0x143c50);}}}else;_0xd272d8&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x346456&&_0x346456['focus']());}),this['view']['observer']['setSelectionRange'](_0x32976e,_0x19ff6c)),this['impreciseAnchor']=_0x32976e['precise']?null:new DOMPos(_0x3f6c03['anchorNode'],_0x3f6c03['anchorOffset']),this['impreciseHead']=_0x19ff6c['precise']?null:new DOMPos(_0x3f6c03['focusNode'],_0x3f6c03['focusOffset']);}['suppressWidgetCursorChange'](_0x14249a,_0x255978){return this['hasComposition']&&_0x255978['empty']&&isEquivalentPosition(_0x14249a['focusNode'],_0x14249a['focusOffset'],_0x14249a['anchorNode'],_0x14249a['anchorOffset'])&&this['posFromDOM'](_0x14249a['focusNode'],_0x14249a['focusOffset'])==_0x255978['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x2ce6d5}=this,_0xe281be=_0x2ce6d5['state']['selection']['main'],_0x87db05=getSelection(_0x2ce6d5['root']),{anchorNode:_0x5590b1,anchorOffset:_0x553540}=_0x2ce6d5['observer']['selectionRange'];if(!(_0x87db05&&_0xe281be['empty']&&_0xe281be['assoc']&&_0x87db05['modify']))return;let _0x5d75c1=LineView['find'](this,_0xe281be['head']);if(!_0x5d75c1)return;let _0x84ae09=_0x5d75c1['posAtStart'];if(_0xe281be['head']==_0x84ae09||_0xe281be['head']==_0x84ae09+_0x5d75c1['length'])return;let _0x298828=this['coordsAt'](_0xe281be['head'],-0x1),_0x125af4=this['coordsAt'](_0xe281be['head'],0x1);if(!_0x298828||!_0x125af4||_0x298828['bottom']>_0x125af4['top'])return;let _0x549766=this['domAtPos'](_0xe281be['head']+_0xe281be['assoc']);_0x87db05['collapse'](_0x549766['node'],_0x549766['offset']),_0x87db05['modify']('move',_0xe281be['assoc']<0x0?'forward':'backward','lineboundary'),_0x2ce6d5['observer']['readSelectionRange']();let _0x3aa64b=_0x2ce6d5['observer']['selectionRange'];_0x2ce6d5['docView']['posFromDOM'](_0x3aa64b['anchorNode'],_0x3aa64b['anchorOffset'])!=_0xe281be['from']&&_0x87db05['collapse'](_0x5590b1,_0x553540);}['moveToLine'](_0x5e3371){let _0x3e4ff7,_0x8df460=this['dom'];if(_0x5e3371['node']!=_0x8df460)return _0x5e3371;for(let _0x520a0e=_0x5e3371['offset'];!_0x3e4ff7&&_0x520a0e<_0x8df460['childNodes']['length'];_0x520a0e++){let _0x2548e0=ContentView['get'](_0x8df460['childNodes'][_0x520a0e]);_0x2548e0 instanceof LineView&&(_0x3e4ff7=_0x2548e0['domAtPos'](0x0));}for(let _0x49c07f=_0x5e3371['offset']-0x1;!_0x3e4ff7&&_0x49c07f>=0x0;_0x49c07f--){let _0x1da6b4=ContentView['get'](_0x8df460['childNodes'][_0x49c07f]);_0x1da6b4 instanceof LineView&&(_0x3e4ff7=_0x1da6b4['domAtPos'](_0x1da6b4['length']));}return _0x3e4ff7?new DOMPos(_0x3e4ff7['node'],_0x3e4ff7['offset'],!0x0):_0x5e3371;}['nearest'](_0x31fdc5){for(let _0x64c4aa=_0x31fdc5;_0x64c4aa;){let _0x6b394c=ContentView['get'](_0x64c4aa);if(_0x6b394c&&_0x6b394c['rootView']==this)return _0x6b394c;_0x64c4aa=_0x64c4aa['parentNode'];}return null;}['posFromDOM'](_0x49c9f8,_0x5d1825){let _0x20f68e=this['nearest'](_0x49c9f8);if(!_0x20f68e)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x20f68e['localPosFromDOM'](_0x49c9f8,_0x5d1825)+_0x20f68e['posAtStart'];}['domAtPos'](_0x13b906){let {i:_0x4fa1bb,off:_0x39f2ee}=this['childCursor']()['findPos'](_0x13b906,-0x1);for(;_0x4fa1bb<this['children']['length']-0x1;){let _0x3d64e2=this['children'][_0x4fa1bb];if(_0x39f2ee<_0x3d64e2['length']||_0x3d64e2 instanceof LineView)break;_0x4fa1bb++,_0x39f2ee=0x0;}return this['children'][_0x4fa1bb]['domAtPos'](_0x39f2ee);}['coordsAt'](_0x5830f2,_0xab70e1){let _0x4f88e6=null,_0x365325=0x0;for(let _0x28b12e=this['length'],_0x3cdd79=this['children']['length']-0x1;_0x3cdd79>=0x0;_0x3cdd79--){let _0x1789a8=this['children'][_0x3cdd79],_0x12ba94=_0x28b12e-_0x1789a8['breakAfter'],_0x3a3757=_0x12ba94-_0x1789a8['length'];if(_0x12ba94<_0x5830f2)break;if(_0x3a3757<=_0x5830f2&&(_0x3a3757<_0x5830f2||_0x1789a8['covers'](-0x1))&&(_0x12ba94>_0x5830f2||_0x1789a8['covers'](0x1))&&(!_0x4f88e6||_0x1789a8 instanceof LineView&&!(_0x4f88e6 instanceof LineView&&_0xab70e1>=0x0)))_0x4f88e6=_0x1789a8,_0x365325=_0x3a3757;else{if(_0x4f88e6&&_0x3a3757==_0x5830f2&&_0x12ba94==_0x5830f2&&_0x1789a8 instanceof BlockWidgetView&&Math['abs'](_0xab70e1)<0x2){if(_0x1789a8['deco']['startSide']<0x0)break;_0x3cdd79&&(_0x4f88e6=null);}}_0x28b12e=_0x3a3757;}return _0x4f88e6?_0x4f88e6['coordsAt'](_0x5830f2-_0x365325,_0xab70e1):null;}['coordsForChar'](_0x5767a9){let {i:_0x141b4c,off:_0x2a6f70}=this['childPos'](_0x5767a9,0x1),_0x2a2721=this['children'][_0x141b4c];if(!(_0x2a2721 instanceof LineView))return null;for(;_0x2a2721['children']['length'];){let {i:_0x1165fe,off:_0x367340}=_0x2a2721['childPos'](_0x2a6f70,0x1);for(;;_0x1165fe++){if(_0x1165fe==_0x2a2721['children']['length'])return null;if((_0x2a2721=_0x2a2721['children'][_0x1165fe])['length'])break;}_0x2a6f70=_0x367340;}if(!(_0x2a2721 instanceof TextView))return null;let _0x52bfd7=findClusterBreak(_0x2a2721['text'],_0x2a6f70);if(_0x52bfd7==_0x2a6f70)return null;let _0x36548a=textRange(_0x2a2721['dom'],_0x2a6f70,_0x52bfd7)['getClientRects']();for(let _0x243e84=0x0;_0x243e84<_0x36548a['length'];_0x243e84++){let _0x15a0af=_0x36548a[_0x243e84];if(_0x243e84==_0x36548a['length']-0x1||_0x15a0af['top']<_0x15a0af['bottom']&&_0x15a0af['left']<_0x15a0af['right'])return _0x15a0af;}return null;}['measureVisibleLineHeights'](_0xc2a477){let _0x230608=[],{from:_0x10e35f,to:_0x2fbd62}=_0xc2a477,_0x899a65=this['view']['contentDOM']['clientWidth'],_0x2e1afd=_0x899a65>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x283f10=-0x1,_0x2d85a0=this['view']['textDirection']==Direction['LTR'];for(let _0x5551de=0x0,_0x5293df=0x0;_0x5293df<this['children']['length'];_0x5293df++){let _0x583051=this['children'][_0x5293df],_0x338d37=_0x5551de+_0x583051['length'];if(_0x338d37>_0x2fbd62)break;if(_0x5551de>=_0x10e35f){let _0x5e17b4=_0x583051['dom']['getBoundingClientRect']();if(_0x230608['push'](_0x5e17b4['height']),_0x2e1afd){let _0x114e94=_0x583051['dom']['lastChild'],_0x3983bf=_0x114e94?clientRectsFor(_0x114e94):[];if(_0x3983bf['length']){let _0x1651e1=_0x3983bf[_0x3983bf['length']-0x1],_0x442cde=_0x2d85a0?_0x1651e1['right']-_0x5e17b4['left']:_0x5e17b4['right']-_0x1651e1['left'];_0x442cde>_0x283f10&&(_0x283f10=_0x442cde,this['minWidth']=_0x899a65,this['minWidthFrom']=_0x5551de,this['minWidthTo']=_0x338d37);}}}_0x5551de=_0x338d37+_0x583051['breakAfter'];}return _0x230608;}['textDirectionAt'](_0x442a55){let {i:_0x58bc04}=this['childPos'](_0x442a55,0x1);return'rtl'==getComputedStyle(this['children'][_0x58bc04]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x2ce9cb of this['children'])if(_0x2ce9cb instanceof LineView){let _0x41a14e=_0x2ce9cb['measureTextSize']();if(_0x41a14e)return _0x41a14e;}let _0x3ec29a,_0xcde127,_0x5fdab9,_0x5e7c8b=document['createElement']('div');return _0x5e7c8b['className']='cm-line',_0x5e7c8b['style']['width']='99999px',_0x5e7c8b['style']['position']='absolute',_0x5e7c8b['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x5e7c8b);let _0x38de3c=clientRectsFor(_0x5e7c8b['firstChild'])[0x0];_0x3ec29a=_0x5e7c8b['getBoundingClientRect']()['height'],_0xcde127=_0x38de3c?_0x38de3c['width']/0x1b:0x7,_0x5fdab9=_0x38de3c?_0x38de3c['height']:_0x3ec29a,_0x5e7c8b['remove']();}),{'lineHeight':_0x3ec29a,'charWidth':_0xcde127,'textHeight':_0x5fdab9};}['childCursor'](_0x439ccd=this['length']){let _0x362bec=this['children']['length'];return _0x362bec&&(_0x439ccd-=this['children'][--_0x362bec]['length']),new ChildCursor(this['children'],_0x439ccd,_0x362bec);}['computeBlockGapDeco'](){let _0x3ad718=[],_0x5975ee=this['view']['viewState'];for(let _0x1fbbd8=0x0,_0x346ea6=0x0;;_0x346ea6++){let _0x268373=_0x346ea6==_0x5975ee['viewports']['length']?null:_0x5975ee['viewports'][_0x346ea6],_0x2daa05=_0x268373?_0x268373['from']-0x1:this['length'];if(_0x2daa05>_0x1fbbd8){let _0x45a388=(_0x5975ee['lineBlockAt'](_0x2daa05)['bottom']-_0x5975ee['lineBlockAt'](_0x1fbbd8)['top'])/this['view']['scaleY'];_0x3ad718['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x45a388),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x1fbbd8,_0x2daa05));}if(!_0x268373)break;_0x1fbbd8=_0x268373['to']+0x1;}return Decoration['set'](_0x3ad718);}['updateDeco'](){let _0x2ce1a5=0x1,_0x4cddc5=this['view']['state']['facet'](decorations)['map'](_0xb79523=>(this['dynamicDecorationMap'][_0x2ce1a5++]='function'==typeof _0xb79523)?_0xb79523(this['view']):_0xb79523),_0x1207d6=!0x1,_0x54ccc8=this['view']['state']['facet'](outerDecorations)['map']((_0x52b01e,_0x5515fe)=>{let _0x5721ea='function'==typeof _0x52b01e;return _0x5721ea&&(_0x1207d6=!0x0),_0x5721ea?_0x52b01e(this['view']):_0x52b01e;});for(_0x54ccc8['length']&&(this['dynamicDecorationMap'][_0x2ce1a5++]=_0x1207d6,_0x4cddc5['push'](RangeSet['join'](_0x54ccc8))),this['decorations']=[this['editContextFormatting'],..._0x4cddc5,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x2ce1a5<this['decorations']['length'];)this['dynamicDecorationMap'][_0x2ce1a5++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x4e06d5){if(_0x4e06d5['isSnapshot']){let _0x206e87=this['view']['viewState']['lineBlockAt'](_0x4e06d5['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x206e87['top']-_0x4e06d5['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x4e06d5['xMargin']);}for(let _0x485185 of this['view']['state']['facet'](scrollHandler))try{if(_0x485185(this['view'],_0x4e06d5['range'],_0x4e06d5))return!0x0;}catch(_0x16549e){logException(this['view']['state'],_0x16549e,'scroll\x20handler');}let _0x4bee85,{range:_0x1d69fa}=_0x4e06d5,_0xd9ecc9=this['coordsAt'](_0x1d69fa['head'],_0x1d69fa['empty']?_0x1d69fa['assoc']:_0x1d69fa['head']>_0x1d69fa['anchor']?-0x1:0x1);if(!_0xd9ecc9)return;!_0x1d69fa['empty']&&(_0x4bee85=this['coordsAt'](_0x1d69fa['anchor'],_0x1d69fa['anchor']>_0x1d69fa['head']?-0x1:0x1))&&(_0xd9ecc9={'left':Math['min'](_0xd9ecc9['left'],_0x4bee85['left']),'top':Math['min'](_0xd9ecc9['top'],_0x4bee85['top']),'right':Math['max'](_0xd9ecc9['right'],_0x4bee85['right']),'bottom':Math['max'](_0xd9ecc9['bottom'],_0x4bee85['bottom'])});let _0x2d6d7d=getScrollMargins(this['view']),_0x503582={'left':_0xd9ecc9['left']-_0x2d6d7d['left'],'top':_0xd9ecc9['top']-_0x2d6d7d['top'],'right':_0xd9ecc9['right']+_0x2d6d7d['right'],'bottom':_0xd9ecc9['bottom']+_0x2d6d7d['bottom']},{offsetWidth:_0x32c99b,offsetHeight:_0x707581}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x503582,_0x1d69fa['head']<_0x1d69fa['anchor']?-0x1:0x1,_0x4e06d5['x'],_0x4e06d5['y'],Math['max'](Math['min'](_0x4e06d5['xMargin'],_0x32c99b),-_0x32c99b),Math['max'](Math['min'](_0x4e06d5['yMargin'],_0x707581),-_0x707581),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x37d8f6){return 0x1==_0x37d8f6['node']['nodeType']&&_0x37d8f6['node']['firstChild']&&(0x0==_0x37d8f6['offset']||'false'==_0x37d8f6['node']['childNodes'][_0x37d8f6['offset']-0x1]['contentEditable'])&&(_0x37d8f6['offset']==_0x37d8f6['node']['childNodes']['length']||'false'==_0x37d8f6['node']['childNodes'][_0x37d8f6['offset']]['contentEditable']);}function findCompositionNode(_0x564559,_0x165141){let _0x429476=_0x564559['observer']['selectionRange'];if(!_0x429476['focusNode'])return null;let _0x20d92e=textNodeBefore(_0x429476['focusNode'],_0x429476['focusOffset']),_0x33be33=textNodeAfter(_0x429476['focusNode'],_0x429476['focusOffset']),_0xb746b9=_0x20d92e||_0x33be33;if(_0x33be33&&_0x20d92e&&_0x33be33['node']!=_0x20d92e['node']){let _0x47c1ac=ContentView['get'](_0x33be33['node']);if(!_0x47c1ac||_0x47c1ac instanceof TextView&&_0x47c1ac['text']!=_0x33be33['node']['nodeValue'])_0xb746b9=_0x33be33;else{if(_0x564559['docView']['lastCompositionAfterCursor']){let _0x2f3b06=ContentView['get'](_0x20d92e['node']);!_0x2f3b06||_0x2f3b06 instanceof TextView&&_0x2f3b06['text']!=_0x20d92e['node']['nodeValue']||(_0xb746b9=_0x33be33);}}}if(_0x564559['docView']['lastCompositionAfterCursor']=_0xb746b9!=_0x20d92e,!_0xb746b9)return null;let _0xfd9892=_0x165141-_0xb746b9['offset'];return{'from':_0xfd9892,'to':_0xfd9892+_0xb746b9['node']['nodeValue']['length'],'node':_0xb746b9['node']};}function findCompositionRange(_0x496991,_0xe15e4f,_0x5ae088){let _0x35ccd8=findCompositionNode(_0x496991,_0x5ae088);if(!_0x35ccd8)return null;let {node:_0x3aaa51,from:_0x3ff0b5,to:_0x104606}=_0x35ccd8,_0x1dd7d1=_0x3aaa51['nodeValue'];if(/[\n\r]/['test'](_0x1dd7d1))return null;if(_0x496991['state']['doc']['sliceString'](_0x35ccd8['from'],_0x35ccd8['to'])!=_0x1dd7d1)return null;let _0x498d78=_0xe15e4f['invertedDesc'],_0x46a8fe=new ChangedRange(_0x498d78['mapPos'](_0x3ff0b5),_0x498d78['mapPos'](_0x104606),_0x3ff0b5,_0x104606),_0x49db69=[];for(let _0x25bee8=_0x3aaa51['parentNode'];;_0x25bee8=_0x25bee8['parentNode']){let _0x910104=ContentView['get'](_0x25bee8);if(_0x910104 instanceof MarkView)_0x49db69['push']({'node':_0x25bee8,'deco':_0x910104['mark']});else{if(_0x910104 instanceof LineView||'DIV'==_0x25bee8['nodeName']&&_0x25bee8['parentNode']==_0x496991['contentDOM'])return{'range':_0x46a8fe,'text':_0x3aaa51,'marks':_0x49db69,'line':_0x25bee8};if(_0x25bee8==_0x496991['contentDOM'])return null;_0x49db69['push']({'node':_0x25bee8,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x25bee8),'tagName':_0x25bee8['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0x16a198,_0x7145eb){return 0x1!=_0x16a198['nodeType']?0x0:(_0x7145eb&&'false'==_0x16a198['childNodes'][_0x7145eb-0x1]['contentEditable']?0x1:0x0)|(_0x7145eb<_0x16a198['childNodes']['length']&&'false'==_0x16a198['childNodes'][_0x7145eb]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x4ac1f0,_0x463021){addRange(_0x4ac1f0,_0x463021,this['changes']);}['comparePoint'](_0xb8bd6e,_0xd8a01){addRange(_0xb8bd6e,_0xd8a01,this['changes']);}['boundChange'](_0x53110a){addRange(_0x53110a,_0x53110a,this['changes']);}};function findChangedDeco(_0x20f17b,_0x3a705e,_0x285926){let _0xa5c851=new DecorationComparator$1();return RangeSet['compare'](_0x20f17b,_0x3a705e,_0x285926,_0xa5c851),_0xa5c851['changes'];}function inUneditable(_0x26b25a,_0x20ad7c){for(let _0x346ba4=_0x26b25a;_0x346ba4&&_0x346ba4!=_0x20ad7c;_0x346ba4=_0x346ba4['assignedSlot']||_0x346ba4['parentNode'])if(0x1==_0x346ba4['nodeType']&&'false'==_0x346ba4['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x124da5,_0x4e3e2a){let _0x509839=!0x1;return _0x4e3e2a&&_0x124da5['iterChangedRanges']((_0x362f57,_0x45bf88)=>{_0x362f57<_0x4e3e2a['to']&&_0x45bf88>_0x4e3e2a['from']&&(_0x509839=!0x0);}),_0x509839;}function groupAt(_0xd0e4e3,_0x5b8760,_0x2a84cf=0x1){let _0x565676=_0xd0e4e3['charCategorizer'](_0x5b8760),_0x58ef04=_0xd0e4e3['doc']['lineAt'](_0x5b8760),_0x3101b2=_0x5b8760-_0x58ef04['from'];if(0x0==_0x58ef04['length'])return EditorSelection['cursor'](_0x5b8760);0x0==_0x3101b2?_0x2a84cf=0x1:_0x3101b2==_0x58ef04['length']&&(_0x2a84cf=-0x1);let _0x5ef14a=_0x3101b2,_0x2ac80c=_0x3101b2;_0x2a84cf<0x0?_0x5ef14a=findClusterBreak(_0x58ef04['text'],_0x3101b2,!0x1):_0x2ac80c=findClusterBreak(_0x58ef04['text'],_0x3101b2);let _0xd22113=_0x565676(_0x58ef04['text']['slice'](_0x5ef14a,_0x2ac80c));for(;_0x5ef14a>0x0;){let _0x38fd32=findClusterBreak(_0x58ef04['text'],_0x5ef14a,!0x1);if(_0x565676(_0x58ef04['text']['slice'](_0x38fd32,_0x5ef14a))!=_0xd22113)break;_0x5ef14a=_0x38fd32;}for(;_0x2ac80c<_0x58ef04['length'];){let _0x12b644=findClusterBreak(_0x58ef04['text'],_0x2ac80c);if(_0x565676(_0x58ef04['text']['slice'](_0x2ac80c,_0x12b644))!=_0xd22113)break;_0x2ac80c=_0x12b644;}return EditorSelection['range'](_0x5ef14a+_0x58ef04['from'],_0x2ac80c+_0x58ef04['from']);}function getdx(_0x7d5caa,_0x4ab3b3){return _0x4ab3b3['left']>_0x7d5caa?_0x4ab3b3['left']-_0x7d5caa:Math['max'](0x0,_0x7d5caa-_0x4ab3b3['right']);}function getdy(_0x23649b,_0x543c15){return _0x543c15['top']>_0x23649b?_0x543c15['top']-_0x23649b:Math['max'](0x0,_0x23649b-_0x543c15['bottom']);}function yOverlap(_0x158639,_0x52d7a9){return _0x158639['top']<_0x52d7a9['bottom']-0x1&&_0x158639['bottom']>_0x52d7a9['top']+0x1;}function upTop(_0x341a09,_0x480cda){return _0x480cda<_0x341a09['top']?{'top':_0x480cda,'left':_0x341a09['left'],'right':_0x341a09['right'],'bottom':_0x341a09['bottom']}:_0x341a09;}function upBot(_0xf06d14,_0xa800ab){return _0xa800ab>_0xf06d14['bottom']?{'top':_0xf06d14['top'],'left':_0xf06d14['left'],'right':_0xf06d14['right'],'bottom':_0xa800ab}:_0xf06d14;}function domPosAtCoords(_0x31bacd,_0x30994b,_0x4c3bfe){let _0x1b84b8,_0x406d8a,_0xacd2ec,_0x55c172,_0x4c9027,_0x2db972,_0x3dbae8,_0xcf185d,_0x17eaa8=!0x1;for(let _0x434068=_0x31bacd['firstChild'];_0x434068;_0x434068=_0x434068['nextSibling']){let _0x7c81b3=clientRectsFor(_0x434068);for(let _0x54f69f=0x0;_0x54f69f<_0x7c81b3['length'];_0x54f69f++){let _0x2a7cd9=_0x7c81b3[_0x54f69f];_0x406d8a&&yOverlap(_0x406d8a,_0x2a7cd9)&&(_0x2a7cd9=upTop(upBot(_0x2a7cd9,_0x406d8a['bottom']),_0x406d8a['top']));let _0x38a576=getdx(_0x30994b,_0x2a7cd9),_0xa51073=getdy(_0x4c3bfe,_0x2a7cd9);if(0x0==_0x38a576&&0x0==_0xa51073)return 0x3==_0x434068['nodeType']?domPosInText(_0x434068,_0x30994b,_0x4c3bfe):domPosAtCoords(_0x434068,_0x30994b,_0x4c3bfe);if(!_0x1b84b8||_0x55c172>_0xa51073||_0x55c172==_0xa51073&&_0xacd2ec>_0x38a576){_0x1b84b8=_0x434068,_0x406d8a=_0x2a7cd9,_0xacd2ec=_0x38a576,_0x55c172=_0xa51073;let _0x44c18d=_0xa51073?_0x4c3bfe<_0x2a7cd9['top']?-0x1:0x1:_0x38a576?_0x30994b<_0x2a7cd9['left']?-0x1:0x1:0x0;_0x17eaa8=!_0x44c18d||(_0x44c18d>0x0?_0x54f69f<_0x7c81b3['length']-0x1:_0x54f69f>0x0);}0x0==_0x38a576?_0x4c3bfe>_0x2a7cd9['bottom']&&(!_0x3dbae8||_0x3dbae8['bottom']<_0x2a7cd9['bottom'])?(_0x4c9027=_0x434068,_0x3dbae8=_0x2a7cd9):_0x4c3bfe<_0x2a7cd9['top']&&(!_0xcf185d||_0xcf185d['top']>_0x2a7cd9['top'])&&(_0x2db972=_0x434068,_0xcf185d=_0x2a7cd9):_0x3dbae8&&yOverlap(_0x3dbae8,_0x2a7cd9)?_0x3dbae8=upBot(_0x3dbae8,_0x2a7cd9['bottom']):_0xcf185d&&yOverlap(_0xcf185d,_0x2a7cd9)&&(_0xcf185d=upTop(_0xcf185d,_0x2a7cd9['top']));}}if(_0x3dbae8&&_0x3dbae8['bottom']>=_0x4c3bfe?(_0x1b84b8=_0x4c9027,_0x406d8a=_0x3dbae8):_0xcf185d&&_0xcf185d['top']<=_0x4c3bfe&&(_0x1b84b8=_0x2db972,_0x406d8a=_0xcf185d),!_0x1b84b8)return{'node':_0x31bacd,'offset':0x0};let _0x1b55d2=Math['max'](_0x406d8a['left'],Math['min'](_0x406d8a['right'],_0x30994b));return 0x3==_0x1b84b8['nodeType']?domPosInText(_0x1b84b8,_0x1b55d2,_0x4c3bfe):_0x17eaa8&&'false'!=_0x1b84b8['contentEditable']?domPosAtCoords(_0x1b84b8,_0x1b55d2,_0x4c3bfe):{'node':_0x31bacd,'offset':Array['prototype']['indexOf']['call'](_0x31bacd['childNodes'],_0x1b84b8)+(_0x30994b>=(_0x406d8a['left']+_0x406d8a['right'])/0x2?0x1:0x0)};}function domPosInText(_0x4b4c22,_0x19008c,_0x1cad2f){let _0x48341e=_0x4b4c22['nodeValue']['length'],_0x5ef531=-0x1,_0x99726f=0x3b9aca00,_0x24426f=0x0;for(let _0x3e742b=0x0;_0x3e742b<_0x48341e;_0x3e742b++){let _0x404dcd=textRange(_0x4b4c22,_0x3e742b,_0x3e742b+0x1)['getClientRects']();for(let _0x36c224=0x0;_0x36c224<_0x404dcd['length'];_0x36c224++){let _0xde738b=_0x404dcd[_0x36c224];if(_0xde738b['top']==_0xde738b['bottom'])continue;_0x24426f||(_0x24426f=_0x19008c-_0xde738b['left']);let _0x59320b=(_0xde738b['top']>_0x1cad2f?_0xde738b['top']-_0x1cad2f:_0x1cad2f-_0xde738b['bottom'])-0x1;if(_0xde738b['left']-0x1<=_0x19008c&&_0xde738b['right']+0x1>=_0x19008c&&_0x59320b<_0x99726f){let _0x39dd52=_0x19008c>=(_0xde738b['left']+_0xde738b['right'])/0x2,_0x3ff6b2=_0x39dd52;(browser['chrome']||browser['gecko'])&&(textRange(_0x4b4c22,_0x3e742b)['getBoundingClientRect']()['left']==_0xde738b['right']&&(_0x3ff6b2=!_0x39dd52));if(_0x59320b<=0x0)return{'node':_0x4b4c22,'offset':_0x3e742b+(_0x3ff6b2?0x1:0x0)};_0x5ef531=_0x3e742b+(_0x3ff6b2?0x1:0x0),_0x99726f=_0x59320b;}}}return{'node':_0x4b4c22,'offset':_0x5ef531>-0x1?_0x5ef531:_0x24426f>0x0?_0x4b4c22['nodeValue']['length']:0x0};}function posAtCoords(_0x2ec6c8,_0x18aee4,_0x59bf59,_0x1329ee=-0x1){var _0x321740,_0x3e7a1c;let _0x5cf206,_0x4dcf21=_0x2ec6c8['contentDOM']['getBoundingClientRect'](),_0x3b4a17=_0x4dcf21['top']+_0x2ec6c8['viewState']['paddingTop'],{docHeight:_0x1f4ce3}=_0x2ec6c8['viewState'],{x:_0xf02476,y:_0x1c2785}=_0x18aee4,_0x4aa70f=_0x1c2785-_0x3b4a17;if(_0x4aa70f<0x0)return 0x0;if(_0x4aa70f>_0x1f4ce3)return _0x2ec6c8['state']['doc']['length'];for(let _0x16e7ae=_0x2ec6c8['viewState']['heightOracle']['textHeight']/0x2,_0xa856dd=!0x1;_0x5cf206=_0x2ec6c8['elementAtHeight'](_0x4aa70f),_0x5cf206['type']!=BlockType['Text'];)for(;_0x4aa70f=_0x1329ee>0x0?_0x5cf206['bottom']+_0x16e7ae:_0x5cf206['top']-_0x16e7ae,!(_0x4aa70f>=0x0&&_0x4aa70f<=_0x1f4ce3);){if(_0xa856dd)return _0x59bf59?null:0x0;_0xa856dd=!0x0,_0x1329ee=-_0x1329ee;}_0x1c2785=_0x3b4a17+_0x4aa70f;let _0x5cd094=_0x5cf206['from'];if(_0x5cd094<_0x2ec6c8['viewport']['from'])return 0x0==_0x2ec6c8['viewport']['from']?0x0:_0x59bf59?null:posAtCoordsImprecise(_0x2ec6c8,_0x4dcf21,_0x5cf206,_0xf02476,_0x1c2785);if(_0x5cd094>_0x2ec6c8['viewport']['to'])return _0x2ec6c8['viewport']['to']==_0x2ec6c8['state']['doc']['length']?_0x2ec6c8['state']['doc']['length']:_0x59bf59?null:posAtCoordsImprecise(_0x2ec6c8,_0x4dcf21,_0x5cf206,_0xf02476,_0x1c2785);let _0x3a97a6=_0x2ec6c8['dom']['ownerDocument'],_0x20e66e=_0x2ec6c8['root']['elementFromPoint']?_0x2ec6c8['root']:_0x3a97a6,_0x75c04d=_0x20e66e['elementFromPoint'](_0xf02476,_0x1c2785);_0x75c04d&&!_0x2ec6c8['contentDOM']['contains'](_0x75c04d)&&(_0x75c04d=null),_0x75c04d||(_0xf02476=Math['max'](_0x4dcf21['left']+0x1,Math['min'](_0x4dcf21['right']-0x1,_0xf02476)),_0x75c04d=_0x20e66e['elementFromPoint'](_0xf02476,_0x1c2785),_0x75c04d&&!_0x2ec6c8['contentDOM']['contains'](_0x75c04d)&&(_0x75c04d=null));let _0x1779d8,_0x275d69=-0x1;if(_0x75c04d&&0x0!=(null===(_0x321740=_0x2ec6c8['docView']['nearest'](_0x75c04d))||void 0x0===_0x321740?void 0x0:_0x321740['isEditable'])){if(_0x3a97a6['caretPositionFromPoint']){let _0x437bff=_0x3a97a6['caretPositionFromPoint'](_0xf02476,_0x1c2785);_0x437bff&&({offsetNode:_0x1779d8,offset:_0x275d69}=_0x437bff);}else{if(_0x3a97a6['caretRangeFromPoint']){let _0x3c3e51=_0x3a97a6['caretRangeFromPoint'](_0xf02476,_0x1c2785);_0x3c3e51&&({startContainer:_0x1779d8,startOffset:_0x275d69}=_0x3c3e51,(!_0x2ec6c8['contentDOM']['contains'](_0x1779d8)||browser['safari']&&isSuspiciousSafariCaretResult(_0x1779d8,_0x275d69,_0xf02476)||browser['chrome']&&isSuspiciousChromeCaretResult(_0x1779d8,_0x275d69,_0xf02476))&&(_0x1779d8=void 0x0));}}_0x1779d8&&(_0x275d69=Math['min'](maxOffset(_0x1779d8),_0x275d69));}if(!_0x1779d8||!_0x2ec6c8['docView']['dom']['contains'](_0x1779d8)){let _0x58dbd9=LineView['find'](_0x2ec6c8['docView'],_0x5cd094);if(!_0x58dbd9)return _0x4aa70f>_0x5cf206['top']+_0x5cf206['height']/0x2?_0x5cf206['to']:_0x5cf206['from'];({node:_0x1779d8,offset:_0x275d69}=domPosAtCoords(_0x58dbd9['dom'],_0xf02476,_0x1c2785));}let _0x314c06=_0x2ec6c8['docView']['nearest'](_0x1779d8);if(!_0x314c06)return null;if(_0x314c06['isWidget']&&0x1==(null===(_0x3e7a1c=_0x314c06['dom'])||void 0x0===_0x3e7a1c?void 0x0:_0x3e7a1c['nodeType'])){let _0x47466d=_0x314c06['dom']['getBoundingClientRect']();return _0x18aee4['y']<_0x47466d['top']||_0x18aee4['y']<=_0x47466d['bottom']&&_0x18aee4['x']<=(_0x47466d['left']+_0x47466d['right'])/0x2?_0x314c06['posAtStart']:_0x314c06['posAtEnd'];}return _0x314c06['localPosFromDOM'](_0x1779d8,_0x275d69)+_0x314c06['posAtStart'];}function posAtCoordsImprecise(_0x539279,_0x2fff13,_0x267ac4,_0x5cd45d,_0x5c584e){let _0x51fe68=Math['round']((_0x5cd45d-_0x2fff13['left'])*_0x539279['defaultCharacterWidth']);if(_0x539279['lineWrapping']&&_0x267ac4['height']>1.5*_0x539279['defaultLineHeight']){let _0xd50f2b=_0x539279['viewState']['heightOracle']['textHeight'];_0x51fe68+=Math['floor']((_0x5c584e-_0x267ac4['top']-0.5*(_0x539279['defaultLineHeight']-_0xd50f2b))/_0xd50f2b)*_0x539279['viewState']['heightOracle']['lineLength'];}let _0x51cf4d=_0x539279['state']['sliceDoc'](_0x267ac4['from'],_0x267ac4['to']);return _0x267ac4['from']+findColumn(_0x51cf4d,_0x51fe68,_0x539279['state']['tabSize']);}function isSuspiciousSafariCaretResult(_0x18e4b7,_0x299920,_0x39e724){let _0x31c6f0;if(0x3!=_0x18e4b7['nodeType']||_0x299920!=(_0x31c6f0=_0x18e4b7['nodeValue']['length']))return!0x1;for(let _0x56e689=_0x18e4b7['nextSibling'];_0x56e689;_0x56e689=_0x56e689['nextSibling'])if(0x1!=_0x56e689['nodeType']||'BR'!=_0x56e689['nodeName'])return!0x1;return textRange(_0x18e4b7,_0x31c6f0-0x1,_0x31c6f0)['getBoundingClientRect']()['left']>_0x39e724;}function isSuspiciousChromeCaretResult(_0x25fa29,_0x53418f,_0x382d27){if(0x0!=_0x53418f)return!0x1;for(let _0x3a6d42=_0x25fa29;;){let _0x103bde=_0x3a6d42['parentNode'];if(!_0x103bde||0x1!=_0x103bde['nodeType']||_0x103bde['firstChild']!=_0x3a6d42)return!0x1;if(_0x103bde['classList']['contains']('cm-line'))break;_0x3a6d42=_0x103bde;}return _0x382d27-(0x1==_0x25fa29['nodeType']?_0x25fa29['getBoundingClientRect']():textRange(_0x25fa29,0x0,Math['max'](_0x25fa29['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x54d041,_0x3c4a38){let _0x398308=_0x54d041['lineBlockAt'](_0x3c4a38);if(Array['isArray'](_0x398308['type'])){for(let _0x38bb7c of _0x398308['type'])if(_0x38bb7c['to']>_0x3c4a38||_0x38bb7c['to']==_0x3c4a38&&(_0x38bb7c['to']==_0x398308['to']||_0x38bb7c['type']==BlockType['Text']))return _0x38bb7c;}return _0x398308;}function moveToLineBoundary(_0x951128,_0x36ac0c,_0x3cfe85,_0x3f6f6b){let _0x84bd7f=blockAt(_0x951128,_0x36ac0c['head']),_0x49536e=_0x3f6f6b&&_0x84bd7f['type']==BlockType['Text']&&(_0x951128['lineWrapping']||_0x84bd7f['widgetLineBreaks'])?_0x951128['coordsAtPos'](_0x36ac0c['assoc']<0x0&&_0x36ac0c['head']>_0x84bd7f['from']?_0x36ac0c['head']-0x1:_0x36ac0c['head']):null;if(_0x49536e){let _0x44fe01=_0x951128['dom']['getBoundingClientRect'](),_0x3f610c=_0x951128['textDirectionAt'](_0x84bd7f['from']),_0x2cbff6=_0x951128['posAtCoords']({'x':_0x3cfe85==(_0x3f610c==Direction['LTR'])?_0x44fe01['right']-0x1:_0x44fe01['left']+0x1,'y':(_0x49536e['top']+_0x49536e['bottom'])/0x2});if(null!=_0x2cbff6)return EditorSelection['cursor'](_0x2cbff6,_0x3cfe85?-0x1:0x1);}return EditorSelection['cursor'](_0x3cfe85?_0x84bd7f['to']:_0x84bd7f['from'],_0x3cfe85?-0x1:0x1);}function moveByChar(_0x24092e,_0x4649c7,_0x5ef8a0,_0x29b104){let _0x2f2910=_0x24092e['state']['doc']['lineAt'](_0x4649c7['head']),_0x738494=_0x24092e['bidiSpans'](_0x2f2910),_0x17fffe=_0x24092e['textDirectionAt'](_0x2f2910['from']);for(let _0x409377=_0x4649c7,_0x2dee57=null;;){let _0xbaa5a2=moveVisually(_0x2f2910,_0x738494,_0x17fffe,_0x409377,_0x5ef8a0),_0x5e7902=movedOver;if(!_0xbaa5a2){if(_0x2f2910['number']==(_0x5ef8a0?_0x24092e['state']['doc']['lines']:0x1))return _0x409377;_0x5e7902='\x0a',_0x2f2910=_0x24092e['state']['doc']['line'](_0x2f2910['number']+(_0x5ef8a0?0x1:-0x1)),_0x738494=_0x24092e['bidiSpans'](_0x2f2910),_0xbaa5a2=_0x24092e['visualLineSide'](_0x2f2910,!_0x5ef8a0);}if(_0x2dee57){if(!_0x2dee57(_0x5e7902))return _0x409377;}else{if(!_0x29b104)return _0xbaa5a2;_0x2dee57=_0x29b104(_0x5e7902);}_0x409377=_0xbaa5a2;}}function byGroup(_0x29745a,_0x1457c7,_0x10a9a8){let _0x1aab12=_0x29745a['state']['charCategorizer'](_0x1457c7),_0x184f76=_0x1aab12(_0x10a9a8);return _0x5f1800=>{let _0x262b02=_0x1aab12(_0x5f1800);return _0x184f76==CharCategory['Space']&&(_0x184f76=_0x262b02),_0x184f76==_0x262b02;};}function moveVertically(_0x24ce49,_0x59d5ad,_0x48f403,_0x2b7c3c){let _0xe10b38=_0x59d5ad['head'],_0x2327f6=_0x48f403?0x1:-0x1;if(_0xe10b38==(_0x48f403?_0x24ce49['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0xe10b38,_0x59d5ad['assoc']);let _0x382334,_0x581c5a=_0x59d5ad['goalColumn'],_0x5c8ca7=_0x24ce49['contentDOM']['getBoundingClientRect'](),_0x5d3915=_0x24ce49['coordsAtPos'](_0xe10b38,_0x59d5ad['assoc']||-0x1),_0x595f6a=_0x24ce49['documentTop'];if(_0x5d3915)null==_0x581c5a&&(_0x581c5a=_0x5d3915['left']-_0x5c8ca7['left']),_0x382334=_0x2327f6<0x0?_0x5d3915['top']:_0x5d3915['bottom'];else{let _0x30816f=_0x24ce49['viewState']['lineBlockAt'](_0xe10b38);null==_0x581c5a&&(_0x581c5a=Math['min'](_0x5c8ca7['right']-_0x5c8ca7['left'],_0x24ce49['defaultCharacterWidth']*(_0xe10b38-_0x30816f['from']))),_0x382334=(_0x2327f6<0x0?_0x30816f['top']:_0x30816f['bottom'])+_0x595f6a;}let _0x470059=_0x5c8ca7['left']+_0x581c5a,_0x4b6952=null!=_0x2b7c3c?_0x2b7c3c:_0x24ce49['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x1afb08=0x0;;_0x1afb08+=0xa){let _0x32471f=_0x382334+(_0x4b6952+_0x1afb08)*_0x2327f6,_0x54eb72=posAtCoords(_0x24ce49,{'x':_0x470059,'y':_0x32471f},!0x1,_0x2327f6);if(_0x32471f<_0x5c8ca7['top']||_0x32471f>_0x5c8ca7['bottom']||(_0x2327f6<0x0?_0x54eb72<_0xe10b38:_0x54eb72>_0xe10b38)){let _0x1c038c=_0x24ce49['docView']['coordsForChar'](_0x54eb72),_0x102cf0=!_0x1c038c||_0x32471f<_0x1c038c['top']?-0x1:0x1;return EditorSelection['cursor'](_0x54eb72,_0x102cf0,void 0x0,_0x581c5a);}}}function skipAtomicRanges(_0x5c1a01,_0x2eb7cd,_0x404bd1){for(;;){let _0x273800=0x0;for(let _0x4b354e of _0x5c1a01)_0x4b354e['between'](_0x2eb7cd-0x1,_0x2eb7cd+0x1,(_0x408583,_0x3f6abc,_0x4da54e)=>{if(_0x2eb7cd>_0x408583&&_0x2eb7cd<_0x3f6abc){let _0x5c23b8=_0x273800||_0x404bd1||(_0x2eb7cd-_0x408583<_0x3f6abc-_0x2eb7cd?-0x1:0x1);_0x2eb7cd=_0x5c23b8<0x0?_0x408583:_0x3f6abc,_0x273800=_0x5c23b8;}});if(!_0x273800)return _0x2eb7cd;}}function skipAtoms(_0x58a418,_0x117d77,_0x54dc83){let _0x8a6f3a=skipAtomicRanges(_0x58a418['state']['facet'](atomicRanges)['map'](_0x1dc4a4=>_0x1dc4a4(_0x58a418)),_0x54dc83['from'],_0x117d77['head']>_0x54dc83['from']?-0x1:0x1);return _0x8a6f3a==_0x54dc83['from']?_0x54dc83:EditorSelection['cursor'](_0x8a6f3a,_0x8a6f3a<_0x54dc83['from']?0x1:-0x1);}const LineBreakPlaceholder='';class DOMReader{constructor(_0x1a484a,_0x2675dc){this['points']=_0x1a484a,this['text']='',this['lineSeparator']=_0x2675dc['facet'](EditorState['lineSeparator']);}['append'](_0xb06956){this['text']+=_0xb06956;}['lineBreak'](){this['text']+=LineBreakPlaceholder;}['readRange'](_0x914b9a,_0x39d01a){if(!_0x914b9a)return this;let _0x451bf3=_0x914b9a['parentNode'];for(let _0x4d225d=_0x914b9a;;){this['findPointBefore'](_0x451bf3,_0x4d225d);let _0x15727b=this['text']['length'];this['readNode'](_0x4d225d);let _0x41d86a=_0x4d225d['nextSibling'];if(_0x41d86a==_0x39d01a)break;let _0x3e2650=ContentView['get'](_0x4d225d),_0x32a2dc=ContentView['get'](_0x41d86a);(_0x3e2650&&_0x32a2dc?_0x3e2650['breakAfter']:(_0x3e2650?_0x3e2650['breakAfter']:isBlockElement(_0x4d225d))||isBlockElement(_0x41d86a)&&('BR'!=_0x4d225d['nodeName']||_0x4d225d['cmIgnore'])&&this['text']['length']>_0x15727b)&&this['lineBreak'](),_0x4d225d=_0x41d86a;}return this['findPointBefore'](_0x451bf3,_0x39d01a),this;}['readTextNode'](_0x40e613){let _0x1cdcf9=_0x40e613['nodeValue'];for(let _0x3de290 of this['points'])_0x3de290['node']==_0x40e613&&(_0x3de290['pos']=this['text']['length']+Math['min'](_0x3de290['offset'],_0x1cdcf9['length']));for(let _0x52db0d=0x0,_0x2e44c7=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x1887c4,_0x310cf7=-0x1,_0x95a5e5=0x1;if(this['lineSeparator']?(_0x310cf7=_0x1cdcf9['indexOf'](this['lineSeparator'],_0x52db0d),_0x95a5e5=this['lineSeparator']['length']):(_0x1887c4=_0x2e44c7['exec'](_0x1cdcf9))&&(_0x310cf7=_0x1887c4['index'],_0x95a5e5=_0x1887c4[0x0]['length']),this['append'](_0x1cdcf9['slice'](_0x52db0d,_0x310cf7<0x0?_0x1cdcf9['length']:_0x310cf7)),_0x310cf7<0x0)break;if(this['lineBreak'](),_0x95a5e5>0x1){for(let _0x2e31b8 of this['points'])_0x2e31b8['node']==_0x40e613&&_0x2e31b8['pos']>this['text']['length']&&(_0x2e31b8['pos']-=_0x95a5e5-0x1);}_0x52db0d=_0x310cf7+_0x95a5e5;}}['readNode'](_0x52054d){if(_0x52054d['cmIgnore'])return;let _0x120957=ContentView['get'](_0x52054d),_0x47ae2d=_0x120957&&_0x120957['overrideDOMText'];if(null!=_0x47ae2d){this['findPointInside'](_0x52054d,_0x47ae2d['length']);for(let _0x20c398=_0x47ae2d['iter']();!_0x20c398['next']()['done'];)_0x20c398['lineBreak']?this['lineBreak']():this['append'](_0x20c398['value']);}else 0x3==_0x52054d['nodeType']?this['readTextNode'](_0x52054d):'BR'==_0x52054d['nodeName']?_0x52054d['nextSibling']&&this['lineBreak']():0x1==_0x52054d['nodeType']&&this['readRange'](_0x52054d['firstChild'],null);}['findPointBefore'](_0x5dc76d,_0x464c42){for(let _0x2f6817 of this['points'])_0x2f6817['node']==_0x5dc76d&&_0x5dc76d['childNodes'][_0x2f6817['offset']]==_0x464c42&&(_0x2f6817['pos']=this['text']['length']);}['findPointInside'](_0xbe0fac,_0x5b8cf8){for(let _0x174a52 of this['points'])(0x3==_0xbe0fac['nodeType']?_0x174a52['node']==_0xbe0fac:_0xbe0fac['contains'](_0x174a52['node']))&&(_0x174a52['pos']=this['text']['length']+(isAtEnd(_0xbe0fac,_0x174a52['node'],_0x174a52['offset'])?_0x5b8cf8:0x0));}}function isAtEnd(_0x3fdf58,_0x3d31af,_0x5f5cc7){for(;;){if(!_0x3d31af||_0x5f5cc7<maxOffset(_0x3d31af))return!0x1;if(_0x3d31af==_0x3fdf58)return!0x0;_0x5f5cc7=domIndex(_0x3d31af)+0x1,_0x3d31af=_0x3d31af['parentNode'];}}class DOMPoint{constructor(_0xd7d0ed,_0x3461c8){this['node']=_0xd7d0ed,this['offset']=_0x3461c8,this['pos']=-0x1;}}class DOMChange{constructor(_0x39ed12,_0x468374,_0x4f9a71,_0x511d37){this['typeOver']=_0x511d37,this['bounds']=null,this['text']='',this['domChanged']=_0x468374>-0x1;let {impreciseHead:_0x35108f,impreciseAnchor:_0x4a036d}=_0x39ed12['docView'];if(_0x39ed12['state']['readOnly']&&_0x468374>-0x1)this['newSel']=null;else{if(_0x468374>-0x1&&(this['bounds']=_0x39ed12['docView']['domBoundsAround'](_0x468374,_0x4f9a71,0x0))){let _0x13f41b=_0x35108f||_0x4a036d?[]:selectionPoints(_0x39ed12),_0x2dcfd9=new DOMReader(_0x13f41b,_0x39ed12['state']);_0x2dcfd9['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x2dcfd9['text'],this['newSel']=selectionFromPoints(_0x13f41b,this['bounds']['from']);}else{let _0x2b789d=_0x39ed12['observer']['selectionRange'],_0xcd3716=_0x35108f&&_0x35108f['node']==_0x2b789d['focusNode']&&_0x35108f['offset']==_0x2b789d['focusOffset']||!contains(_0x39ed12['contentDOM'],_0x2b789d['focusNode'])?_0x39ed12['state']['selection']['main']['head']:_0x39ed12['docView']['posFromDOM'](_0x2b789d['focusNode'],_0x2b789d['focusOffset']),_0xccd90c=_0x4a036d&&_0x4a036d['node']==_0x2b789d['anchorNode']&&_0x4a036d['offset']==_0x2b789d['anchorOffset']||!contains(_0x39ed12['contentDOM'],_0x2b789d['anchorNode'])?_0x39ed12['state']['selection']['main']['anchor']:_0x39ed12['docView']['posFromDOM'](_0x2b789d['anchorNode'],_0x2b789d['anchorOffset']),_0x1ad449=_0x39ed12['viewport'];if((browser['ios']||browser['chrome'])&&_0x39ed12['state']['selection']['main']['empty']&&_0xcd3716!=_0xccd90c&&(_0x1ad449['from']>0x0||_0x1ad449['to']<_0x39ed12['state']['doc']['length'])){let _0x17743d=Math['min'](_0xcd3716,_0xccd90c),_0x53a9f2=Math['max'](_0xcd3716,_0xccd90c),_0x47757a=_0x1ad449['from']-_0x17743d,_0x43bf22=_0x1ad449['to']-_0x53a9f2;0x0!=_0x47757a&&0x1!=_0x47757a&&0x0!=_0x17743d||0x0!=_0x43bf22&&-0x1!=_0x43bf22&&_0x53a9f2!=_0x39ed12['state']['doc']['length']||(_0xcd3716=0x0,_0xccd90c=_0x39ed12['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0xccd90c,_0xcd3716);}}}}function applyDOMChange(_0x2a7437,_0x218958){let _0x1cb395,{newSel:_0x22f48b}=_0x218958,_0x2a10e9=_0x2a7437['state']['selection']['main'],_0x39c8f8=_0x2a7437['inputState']['lastKeyTime']>Date['now']()-0x64?_0x2a7437['inputState']['lastKeyCode']:-0x1;if(_0x218958['bounds']){let {from:_0x511eb9,to:_0x56b585}=_0x218958['bounds'],_0xb92e3f=_0x2a10e9['from'],_0x5aafe8=null;(0x8===_0x39c8f8||browser['android']&&_0x218958['text']['length']<_0x56b585-_0x511eb9)&&(_0xb92e3f=_0x2a10e9['to'],_0x5aafe8='end');let _0x4be88e=findDiff(_0x2a7437['state']['doc']['sliceString'](_0x511eb9,_0x56b585,LineBreakPlaceholder),_0x218958['text'],_0xb92e3f-_0x511eb9,_0x5aafe8);_0x4be88e&&(browser['chrome']&&0xd==_0x39c8f8&&_0x4be88e['toB']==_0x4be88e['from']+0x2&&_0x218958['text']['slice'](_0x4be88e['from'],_0x4be88e['toB'])==LineBreakPlaceholder+LineBreakPlaceholder&&_0x4be88e['toB']--,_0x1cb395={'from':_0x511eb9+_0x4be88e['from'],'to':_0x511eb9+_0x4be88e['toA'],'insert':Text['of'](_0x218958['text']['slice'](_0x4be88e['from'],_0x4be88e['toB'])['split'](LineBreakPlaceholder))});}else _0x22f48b&&(!_0x2a7437['hasFocus']&&_0x2a7437['state']['facet'](editable)||_0x22f48b['main']['eq'](_0x2a10e9))&&(_0x22f48b=null);if(!_0x1cb395&&!_0x22f48b)return!0x1;if(!_0x1cb395&&_0x218958['typeOver']&&!_0x2a10e9['empty']&&_0x22f48b&&_0x22f48b['main']['empty']?_0x1cb395={'from':_0x2a10e9['from'],'to':_0x2a10e9['to'],'insert':_0x2a7437['state']['doc']['slice'](_0x2a10e9['from'],_0x2a10e9['to'])}:(browser['mac']||browser['android'])&&_0x1cb395&&_0x1cb395['from']==_0x1cb395['to']&&_0x1cb395['from']==_0x2a10e9['head']-0x1&&/^\. ?$/['test'](_0x1cb395['insert']['toString']())&&'off'==_0x2a7437['contentDOM']['getAttribute']('autocorrect')?(_0x22f48b&&0x2==_0x1cb395['insert']['length']&&(_0x22f48b=EditorSelection['single'](_0x22f48b['main']['anchor']-0x1,_0x22f48b['main']['head']-0x1)),_0x1cb395={'from':_0x1cb395['from'],'to':_0x1cb395['to'],'insert':Text['of']([_0x1cb395['insert']['toString']()['replace']('.','\x20')])}):_0x1cb395&&_0x1cb395['from']>=_0x2a10e9['from']&&_0x1cb395['to']<=_0x2a10e9['to']&&(_0x1cb395['from']!=_0x2a10e9['from']||_0x1cb395['to']!=_0x2a10e9['to'])&&_0x2a10e9['to']-_0x2a10e9['from']-(_0x1cb395['to']-_0x1cb395['from'])<=0x4?_0x1cb395={'from':_0x2a10e9['from'],'to':_0x2a10e9['to'],'insert':_0x2a7437['state']['doc']['slice'](_0x2a10e9['from'],_0x1cb395['from'])['append'](_0x1cb395['insert'])['append'](_0x2a7437['state']['doc']['slice'](_0x1cb395['to'],_0x2a10e9['to']))}:browser['chrome']&&_0x1cb395&&_0x1cb395['from']==_0x1cb395['to']&&_0x1cb395['from']==_0x2a10e9['head']&&'\x0a\x20'==_0x1cb395['insert']['toString']()&&_0x2a7437['lineWrapping']&&(_0x22f48b&&(_0x22f48b=EditorSelection['single'](_0x22f48b['main']['anchor']-0x1,_0x22f48b['main']['head']-0x1)),_0x1cb395={'from':_0x2a10e9['from'],'to':_0x2a10e9['to'],'insert':Text['of'](['\x20'])}),_0x1cb395)return applyDOMChangeInner(_0x2a7437,_0x1cb395,_0x22f48b,_0x39c8f8);if(_0x22f48b&&!_0x22f48b['main']['eq'](_0x2a10e9)){let _0x53e51c=!0x1,_0x2d453c='select';return _0x2a7437['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x2a7437['inputState']['lastSelectionOrigin']&&(_0x53e51c=!0x0),_0x2d453c=_0x2a7437['inputState']['lastSelectionOrigin']),_0x2a7437['dispatch']({'selection':_0x22f48b,'scrollIntoView':_0x53e51c,'userEvent':_0x2d453c}),!0x0;}return!0x1;}function applyDOMChangeInner(_0x4911c6,_0x3236dd,_0x177a94,_0x24d90e=-0x1){if(browser['ios']&&_0x4911c6['inputState']['flushIOSKey'](_0x3236dd))return!0x0;let _0x2e6889=_0x4911c6['state']['selection']['main'];if(browser['android']&&(_0x3236dd['to']==_0x2e6889['to']&&(_0x3236dd['from']==_0x2e6889['from']||_0x3236dd['from']==_0x2e6889['from']-0x1&&'\x20'==_0x4911c6['state']['sliceDoc'](_0x3236dd['from'],_0x2e6889['from']))&&0x1==_0x3236dd['insert']['length']&&0x2==_0x3236dd['insert']['lines']&&dispatchKey(_0x4911c6['contentDOM'],'Enter',0xd)||(_0x3236dd['from']==_0x2e6889['from']-0x1&&_0x3236dd['to']==_0x2e6889['to']&&0x0==_0x3236dd['insert']['length']||0x8==_0x24d90e&&_0x3236dd['insert']['length']<_0x3236dd['to']-_0x3236dd['from']&&_0x3236dd['to']>_0x2e6889['head'])&&dispatchKey(_0x4911c6['contentDOM'],'Backspace',0x8)||_0x3236dd['from']==_0x2e6889['from']&&_0x3236dd['to']==_0x2e6889['to']+0x1&&0x0==_0x3236dd['insert']['length']&&dispatchKey(_0x4911c6['contentDOM'],'Delete',0x2e)))return!0x0;let _0x4d8691,_0x893e7f=_0x3236dd['insert']['toString']();_0x4911c6['inputState']['composing']>=0x0&&_0x4911c6['inputState']['composing']++;let _0x105445=()=>_0x4d8691||(_0x4d8691=applyDefaultInsert(_0x4911c6,_0x3236dd,_0x177a94));return _0x4911c6['state']['facet'](inputHandler$1)['some'](_0xc8d32c=>_0xc8d32c(_0x4911c6,_0x3236dd['from'],_0x3236dd['to'],_0x893e7f,_0x105445))||_0x4911c6['dispatch'](_0x105445()),!0x0;}function applyDefaultInsert(_0x3db668,_0x135716,_0x445e8f){let _0x136165,_0xdf8e27=_0x3db668['state'],_0x1edf6c=_0xdf8e27['selection']['main'];if(_0x135716['from']>=_0x1edf6c['from']&&_0x135716['to']<=_0x1edf6c['to']&&_0x135716['to']-_0x135716['from']>=(_0x1edf6c['to']-_0x1edf6c['from'])/0x3&&(!_0x445e8f||_0x445e8f['main']['empty']&&_0x445e8f['main']['from']==_0x135716['from']+_0x135716['insert']['length'])&&_0x3db668['inputState']['composing']<0x0){let _0x153e5c=_0x1edf6c['from']<_0x135716['from']?_0xdf8e27['sliceDoc'](_0x1edf6c['from'],_0x135716['from']):'',_0x59176c=_0x1edf6c['to']>_0x135716['to']?_0xdf8e27['sliceDoc'](_0x135716['to'],_0x1edf6c['to']):'';_0x136165=_0xdf8e27['replaceSelection'](_0x3db668['state']['toText'](_0x153e5c+_0x135716['insert']['sliceString'](0x0,void 0x0,_0x3db668['state']['lineBreak'])+_0x59176c));}else{let _0x158d65=_0xdf8e27['changes'](_0x135716),_0x5e1468=_0x445e8f&&_0x445e8f['main']['to']<=_0x158d65['newLength']?_0x445e8f['main']:void 0x0;if(_0xdf8e27['selection']['ranges']['length']>0x1&&_0x3db668['inputState']['composing']>=0x0&&_0x135716['to']<=_0x1edf6c['to']&&_0x135716['to']>=_0x1edf6c['to']-0xa){let _0x27e700,_0x496951=_0x3db668['state']['sliceDoc'](_0x135716['from'],_0x135716['to']),_0x4de94a=_0x445e8f&&findCompositionNode(_0x3db668,_0x445e8f['main']['head']);if(_0x4de94a){let _0xf2748e=_0x135716['insert']['length']-(_0x135716['to']-_0x135716['from']);_0x27e700={'from':_0x4de94a['from'],'to':_0x4de94a['to']-_0xf2748e};}else _0x27e700=_0x3db668['state']['doc']['lineAt'](_0x1edf6c['head']);let _0x5d1eb7=_0x1edf6c['to']-_0x135716['to'],_0x292941=_0x1edf6c['to']-_0x1edf6c['from'];_0x136165=_0xdf8e27['changeByRange'](_0x4c0604=>{if(_0x4c0604['from']==_0x1edf6c['from']&&_0x4c0604['to']==_0x1edf6c['to'])return{'changes':_0x158d65,'range':_0x5e1468||_0x4c0604['map'](_0x158d65)};let _0x1446a9=_0x4c0604['to']-_0x5d1eb7,_0x43748b=_0x1446a9-_0x496951['length'];if(_0x4c0604['to']-_0x4c0604['from']!=_0x292941||_0x3db668['state']['sliceDoc'](_0x43748b,_0x1446a9)!=_0x496951||_0x4c0604['to']>=_0x27e700['from']&&_0x4c0604['from']<=_0x27e700['to'])return{'range':_0x4c0604};let _0x357d82=_0xdf8e27['changes']({'from':_0x43748b,'to':_0x1446a9,'insert':_0x135716['insert']}),_0x125f26=_0x4c0604['to']-_0x1edf6c['to'];return{'changes':_0x357d82,'range':_0x5e1468?EditorSelection['range'](Math['max'](0x0,_0x5e1468['anchor']+_0x125f26),Math['max'](0x0,_0x5e1468['head']+_0x125f26)):_0x4c0604['map'](_0x357d82)};});}else _0x136165={'changes':_0x158d65,'selection':_0x5e1468&&_0xdf8e27['selection']['replaceRange'](_0x5e1468)};}let _0x5b0062='input.type';return(_0x3db668['composing']||_0x3db668['inputState']['compositionPendingChange']&&_0x3db668['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3db668['inputState']['compositionPendingChange']=!0x1,_0x5b0062+='.compose',_0x3db668['inputState']['compositionFirstChange']&&(_0x5b0062+='.start',_0x3db668['inputState']['compositionFirstChange']=!0x1)),_0xdf8e27['update'](_0x136165,{'userEvent':_0x5b0062,'scrollIntoView':!0x0});}function findDiff(_0x5554d7,_0x57be78,_0x395aad,_0x4a2595){let _0x5886cd=Math['min'](_0x5554d7['length'],_0x57be78['length']),_0x16dd40=0x0;for(;_0x16dd40<_0x5886cd&&_0x5554d7['charCodeAt'](_0x16dd40)==_0x57be78['charCodeAt'](_0x16dd40);)_0x16dd40++;if(_0x16dd40==_0x5886cd&&_0x5554d7['length']==_0x57be78['length'])return null;let _0x341f1b=_0x5554d7['length'],_0xba2495=_0x57be78['length'];for(;_0x341f1b>0x0&&_0xba2495>0x0&&_0x5554d7['charCodeAt'](_0x341f1b-0x1)==_0x57be78['charCodeAt'](_0xba2495-0x1);)_0x341f1b--,_0xba2495--;'end'==_0x4a2595&&(_0x395aad-=_0x341f1b+Math['max'](0x0,_0x16dd40-Math['min'](_0x341f1b,_0xba2495))-_0x16dd40);if(_0x341f1b<_0x16dd40&&_0x5554d7['length']<_0x57be78['length'])_0x16dd40-=_0x395aad<=_0x16dd40&&_0x395aad>=_0x341f1b?_0x16dd40-_0x395aad:0x0,_0xba2495=_0x16dd40+(_0xba2495-_0x341f1b),_0x341f1b=_0x16dd40;else _0xba2495<_0x16dd40&&(_0x16dd40-=_0x395aad<=_0x16dd40&&_0x395aad>=_0xba2495?_0x16dd40-_0x395aad:0x0,_0x341f1b=_0x16dd40+(_0x341f1b-_0xba2495),_0xba2495=_0x16dd40);return{'from':_0x16dd40,'toA':_0x341f1b,'toB':_0xba2495};}function selectionPoints(_0x52c208){let _0x460032=[];if(_0x52c208['root']['activeElement']!=_0x52c208['contentDOM'])return _0x460032;let {anchorNode:_0x17bdd1,anchorOffset:_0xdb6f36,focusNode:_0x1940b2,focusOffset:_0x69c7c}=_0x52c208['observer']['selectionRange'];return _0x17bdd1&&(_0x460032['push'](new DOMPoint(_0x17bdd1,_0xdb6f36)),_0x1940b2==_0x17bdd1&&_0x69c7c==_0xdb6f36||_0x460032['push'](new DOMPoint(_0x1940b2,_0x69c7c))),_0x460032;}function selectionFromPoints(_0x502d23,_0x1e9f77){if(0x0==_0x502d23['length'])return null;let _0x488ae8=_0x502d23[0x0]['pos'],_0x216737=0x2==_0x502d23['length']?_0x502d23[0x1]['pos']:_0x488ae8;return _0x488ae8>-0x1&&_0x216737>-0x1?EditorSelection['single'](_0x488ae8+_0x1e9f77,_0x216737+_0x1e9f77):null;}class InputState{['setSelectionOrigin'](_0x1f64c3){this['lastSelectionOrigin']=_0x1f64c3,this['lastSelectionTime']=Date['now']();}constructor(_0x372e2a){this['view']=_0x372e2a,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x372e2a['hasFocus'],browser['safari']&&_0x372e2a['contentDOM']['addEventListener']('input',()=>null),browser['gecko']&&firefoxCopyCutHack(_0x372e2a['contentDOM']['ownerDocument']);}['handleEvent'](_0x108d81){eventBelongsToEditor(this['view'],_0x108d81)&&!this['ignoreDuringComposition'](_0x108d81)&&('keydown'==_0x108d81['type']&&this['keydown'](_0x108d81)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x108d81['type'],_0x108d81)):this['runHandlers'](_0x108d81['type'],_0x108d81)));}['runHandlers'](_0x1bc1c3,_0x54e113){let _0x2bcce3=this['handlers'][_0x1bc1c3];if(_0x2bcce3){for(let _0x4b898c of _0x2bcce3['observers'])_0x4b898c(this['view'],_0x54e113);for(let _0x5466be of _0x2bcce3['handlers']){if(_0x54e113['defaultPrevented'])break;if(_0x5466be(this['view'],_0x54e113)){_0x54e113['preventDefault']();break;}}}}['ensureHandlers'](_0x18fab6){let _0x44536a=computeHandlers(_0x18fab6),_0x303bdb=this['handlers'],_0x5c1352=this['view']['contentDOM'];for(let _0x5cdd31 in _0x44536a)if('scroll'!=_0x5cdd31){let _0xcfd4ab=!_0x44536a[_0x5cdd31]['handlers']['length'],_0x4ba3d1=_0x303bdb[_0x5cdd31];_0x4ba3d1&&_0xcfd4ab!=!_0x4ba3d1['handlers']['length']&&(_0x5c1352['removeEventListener'](_0x5cdd31,this['handleEvent']),_0x4ba3d1=null),_0x4ba3d1||_0x5c1352['addEventListener'](_0x5cdd31,this['handleEvent'],{'passive':_0xcfd4ab});}for(let _0x214558 in _0x303bdb)'scroll'==_0x214558||_0x44536a[_0x214558]||_0x5c1352['removeEventListener'](_0x214558,this['handleEvent']);this['handlers']=_0x44536a;}['keydown'](_0x2c68cd){if(this['lastKeyCode']=_0x2c68cd['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x2c68cd['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x2c68cd['keyCode']&&modifierCodes['indexOf'](_0x2c68cd['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),browser['android']&&browser['chrome']&&!_0x2c68cd['synthetic']&&(0xd==_0x2c68cd['keyCode']||0x8==_0x2c68cd['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x2c68cd['key'],_0x2c68cd['keyCode']),!0x0;let _0x298d83;return!browser['ios']||_0x2c68cd['synthetic']||_0x2c68cd['altKey']||_0x2c68cd['metaKey']||!((_0x298d83=PendingKeys['find'](_0x1ba73d=>_0x1ba73d['keyCode']==_0x2c68cd['keyCode']))&&!_0x2c68cd['ctrlKey']||EmacsyPendingKeys['indexOf'](_0x2c68cd['key'])>-0x1&&_0x2c68cd['ctrlKey']&&!_0x2c68cd['shiftKey'])?(0xe5!=_0x2c68cd['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x298d83||_0x2c68cd,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x3742b4){let _0xe800cf=this['pendingIOSKey'];return!!_0xe800cf&&(!('Enter'==_0xe800cf['key']&&_0x3742b4&&_0x3742b4['from']<_0x3742b4['to']&&/^\S+$/['test'](_0x3742b4['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0xe800cf['key'],_0xe800cf['keyCode'],_0xe800cf instanceof KeyboardEvent?_0xe800cf:void 0x0)));}['ignoreDuringComposition'](_0x40d5ca){return!!/^key/['test'](_0x40d5ca['type'])&&(this['composing']>0x0||!!(browser['safari']&&!browser['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x577b37){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x577b37;}['update'](_0x2abb24){this['view']['observer']['update'](_0x2abb24),this['mouseSelection']&&this['mouseSelection']['update'](_0x2abb24),this['draggedContent']&&_0x2abb24['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x2abb24['changes'])),_0x2abb24['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function bindHandler(_0x2af7d6,_0xb2cdc0){return(_0x4628d2,_0x37018a)=>{try{return _0xb2cdc0['call'](_0x2af7d6,_0x37018a,_0x4628d2);}catch(_0x5dc668){logException(_0x4628d2['state'],_0x5dc668);}};}function computeHandlers(_0x135d59){let _0x26c14c=Object['create'](null);function _0x58de46(_0x110f62){return _0x26c14c[_0x110f62]||(_0x26c14c[_0x110f62]={'observers':[],'handlers':[]});}for(let _0x148c8d of _0x135d59){let _0xa3d5d7=_0x148c8d['spec'];if(_0xa3d5d7&&_0xa3d5d7['domEventHandlers'])for(let _0x515f5c in _0xa3d5d7['domEventHandlers']){let _0x317e1d=_0xa3d5d7['domEventHandlers'][_0x515f5c];_0x317e1d&&_0x58de46(_0x515f5c)['handlers']['push'](bindHandler(_0x148c8d['value'],_0x317e1d));}if(_0xa3d5d7&&_0xa3d5d7['domEventObservers'])for(let _0x2da781 in _0xa3d5d7['domEventObservers']){let _0x1a8e2f=_0xa3d5d7['domEventObservers'][_0x2da781];_0x1a8e2f&&_0x58de46(_0x2da781)['observers']['push'](bindHandler(_0x148c8d['value'],_0x1a8e2f));}}for(let _0x6cf002 in handlers)_0x58de46(_0x6cf002)['handlers']['push'](handlers[_0x6cf002]);for(let _0x24e104 in observers)_0x58de46(_0x24e104)['observers']['push'](observers[_0x24e104]);return _0x26c14c;}const PendingKeys=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],EmacsyPendingKeys='dthko',modifierCodes=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],dragScrollMargin=0x6;function dragScrollSpeed(_0xa7b797){return 0.7*Math['max'](0x0,_0xa7b797)+0x8;}function dist(_0x365d8d,_0x4c4486){return Math['max'](Math['abs'](_0x365d8d['clientX']-_0x4c4486['clientX']),Math['abs'](_0x365d8d['clientY']-_0x4c4486['clientY']));}class MouseSelection{constructor(_0xd77e6e,_0x46ee64,_0x4a3433,_0x1a5de5){this['view']=_0xd77e6e,this['startEvent']=_0x46ee64,this['style']=_0x4a3433,this['mustSelect']=_0x1a5de5,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x46ee64,this['scrollParents']=scrollableParents(_0xd77e6e['contentDOM']),this['atoms']=_0xd77e6e['state']['facet'](atomicRanges)['map'](_0x57c068=>_0x57c068(_0xd77e6e));let _0x1fb67f=_0xd77e6e['contentDOM']['ownerDocument'];_0x1fb67f['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x1fb67f['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x46ee64['shiftKey'],this['multiple']=_0xd77e6e['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0xd77e6e,_0x46ee64),this['dragging']=!(!isInPrimarySelection(_0xd77e6e,_0x46ee64)||0x1!=getClickType(_0x46ee64))&&null;}['start'](_0x5c113c){!0x1===this['dragging']&&this['select'](_0x5c113c);}['move'](_0x552281){if(0x0==_0x552281['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x552281)<0xa)return;this['select'](this['lastEvent']=_0x552281);let _0x3a6867=0x0,_0x3c6adb=0x0,_0x1bd902=0x0,_0x2f63c4=0x0,_0x300ab5=this['view']['win']['innerWidth'],_0x3bfbcf=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x1bd902,right:_0x300ab5}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x2f63c4,bottom:_0x3bfbcf}=this['scrollParents']['y']['getBoundingClientRect']());let _0x2845ff=getScrollMargins(this['view']);_0x552281['clientX']-_0x2845ff['left']<=_0x1bd902+dragScrollMargin?_0x3a6867=-dragScrollSpeed(_0x1bd902-_0x552281['clientX']):_0x552281['clientX']+_0x2845ff['right']>=_0x300ab5-dragScrollMargin&&(_0x3a6867=dragScrollSpeed(_0x552281['clientX']-_0x300ab5)),_0x552281['clientY']-_0x2845ff['top']<=_0x2f63c4+dragScrollMargin?_0x3c6adb=-dragScrollSpeed(_0x2f63c4-_0x552281['clientY']):_0x552281['clientY']+_0x2845ff['bottom']>=_0x3bfbcf-dragScrollMargin&&(_0x3c6adb=dragScrollSpeed(_0x552281['clientY']-_0x3bfbcf)),this['setScrollSpeed'](_0x3a6867,_0x3c6adb);}['up'](_0x1176c6){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x1176c6['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x4b9003=this['view']['contentDOM']['ownerDocument'];_0x4b9003['removeEventListener']('mousemove',this['move']),_0x4b9003['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x47269a,_0x1820c9){this['scrollSpeed']={'x':_0x47269a,'y':_0x1820c9},_0x47269a||_0x1820c9?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x202784,y:_0x34a93b}=this['scrollSpeed'];_0x202784&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x202784,_0x202784=0x0),_0x34a93b&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x34a93b,_0x34a93b=0x0),(_0x202784||_0x34a93b)&&this['view']['win']['scrollBy'](_0x202784,_0x34a93b),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['skipAtoms'](_0x3a0879){let _0x23eaa9=null;for(let _0x12c8ea=0x0;_0x12c8ea<_0x3a0879['ranges']['length'];_0x12c8ea++){let _0x54cfc1=_0x3a0879['ranges'][_0x12c8ea],_0x5e3d84=null;if(_0x54cfc1['empty']){let _0x238639=skipAtomicRanges(this['atoms'],_0x54cfc1['from'],0x0);_0x238639!=_0x54cfc1['from']&&(_0x5e3d84=EditorSelection['cursor'](_0x238639,-0x1));}else{let _0x535beb=skipAtomicRanges(this['atoms'],_0x54cfc1['from'],-0x1),_0x5cb65b=skipAtomicRanges(this['atoms'],_0x54cfc1['to'],0x1);_0x535beb==_0x54cfc1['from']&&_0x5cb65b==_0x54cfc1['to']||(_0x5e3d84=EditorSelection['range'](_0x54cfc1['from']==_0x54cfc1['anchor']?_0x535beb:_0x5cb65b,_0x54cfc1['from']==_0x54cfc1['head']?_0x535beb:_0x5cb65b));}_0x5e3d84&&(_0x23eaa9||(_0x23eaa9=_0x3a0879['ranges']['slice']()),_0x23eaa9[_0x12c8ea]=_0x5e3d84);}return _0x23eaa9?EditorSelection['create'](_0x23eaa9,_0x3a0879['mainIndex']):_0x3a0879;}['select'](_0x102947){let {view:_0x1241c1}=this,_0x1fd618=this['skipAtoms'](this['style']['get'](_0x102947,this['extend'],this['multiple']));!this['mustSelect']&&_0x1fd618['eq'](_0x1241c1['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x1fd618,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x4e4d08){_0x4e4d08['transactions']['some'](_0x2dd97d=>_0x2dd97d['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x4e4d08)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x4c5e80,_0x3973d8){let _0x462fd5=_0x4c5e80['state']['facet'](clickAddsSelectionRange);return _0x462fd5['length']?_0x462fd5[0x0](_0x3973d8):browser['mac']?_0x3973d8['metaKey']:_0x3973d8['ctrlKey'];}function dragMovesSelection(_0xa41d44,_0x4dfdc7){let _0x6e32c9=_0xa41d44['state']['facet'](dragMovesSelection$1);return _0x6e32c9['length']?_0x6e32c9[0x0](_0x4dfdc7):browser['mac']?!_0x4dfdc7['altKey']:!_0x4dfdc7['ctrlKey'];}function isInPrimarySelection(_0x29aead,_0x1b26ab){let {main:_0x3460cd}=_0x29aead['state']['selection'];if(_0x3460cd['empty'])return!0x1;let _0x5660c0=getSelection(_0x29aead['root']);if(!_0x5660c0||0x0==_0x5660c0['rangeCount'])return!0x0;let _0x234435=_0x5660c0['getRangeAt'](0x0)['getClientRects']();for(let _0x8dc959=0x0;_0x8dc959<_0x234435['length'];_0x8dc959++){let _0x46af36=_0x234435[_0x8dc959];if(_0x46af36['left']<=_0x1b26ab['clientX']&&_0x46af36['right']>=_0x1b26ab['clientX']&&_0x46af36['top']<=_0x1b26ab['clientY']&&_0x46af36['bottom']>=_0x1b26ab['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x24ec53,_0x433fe0){if(!_0x433fe0['bubbles'])return!0x0;if(_0x433fe0['defaultPrevented'])return!0x1;for(let _0x428dfd,_0x2e404b=_0x433fe0['target'];_0x2e404b!=_0x24ec53['contentDOM'];_0x2e404b=_0x2e404b['parentNode'])if(!_0x2e404b||0xb==_0x2e404b['nodeType']||(_0x428dfd=ContentView['get'](_0x2e404b))&&_0x428dfd['ignoreEvent'](_0x433fe0))return!0x1;return!0x0;}const handlers=Object['create'](null),observers=Object['create'](null),brokenClipboardAPI=browser['ie']&&browser['ie_version']<0xf||browser['ios']&&browser['webkit_version']<0x25c;function capturePaste(_0x4fd124){let _0xbb563e=_0x4fd124['dom']['parentNode'];if(!_0xbb563e)return;let _0x55e7b4=_0xbb563e['appendChild'](document['createElement']('textarea'));_0x55e7b4['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x55e7b4['focus'](),setTimeout(()=>{_0x4fd124['focus'](),_0x55e7b4['remove'](),doPaste(_0x4fd124,_0x55e7b4['value']);},0x32);}function textFilter(_0x469d07,_0x3ff9f2,_0x546918){for(let _0x1c7236 of _0x469d07['facet'](_0x3ff9f2))_0x546918=_0x1c7236(_0x546918,_0x469d07);return _0x546918;}function doPaste(_0x5a51f3,_0x5829e3){_0x5829e3=textFilter(_0x5a51f3['state'],clipboardInputFilter,_0x5829e3);let _0x57c4e6,{state:_0x479c0c}=_0x5a51f3,_0x5eee65=0x1,_0x54cad2=_0x479c0c['toText'](_0x5829e3),_0x565629=_0x54cad2['lines']==_0x479c0c['selection']['ranges']['length'],_0x1b241b=null!=lastLinewiseCopy&&_0x479c0c['selection']['ranges']['every'](_0x4eb163=>_0x4eb163['empty'])&&lastLinewiseCopy==_0x54cad2['toString']();if(_0x1b241b){let _0x5bfa77=-0x1;_0x57c4e6=_0x479c0c['changeByRange'](_0x165844=>{let _0x423d57=_0x479c0c['doc']['lineAt'](_0x165844['from']);if(_0x423d57['from']==_0x5bfa77)return{'range':_0x165844};_0x5bfa77=_0x423d57['from'];let _0x5117f3=_0x479c0c['toText']((_0x565629?_0x54cad2['line'](_0x5eee65++)['text']:_0x5829e3)+_0x479c0c['lineBreak']);return{'changes':{'from':_0x423d57['from'],'insert':_0x5117f3},'range':EditorSelection['cursor'](_0x165844['from']+_0x5117f3['length'])};});}else _0x57c4e6=_0x565629?_0x479c0c['changeByRange'](_0x2fdfe0=>{let _0x54612c=_0x54cad2['line'](_0x5eee65++);return{'changes':{'from':_0x2fdfe0['from'],'to':_0x2fdfe0['to'],'insert':_0x54612c['text']},'range':EditorSelection['cursor'](_0x2fdfe0['from']+_0x54612c['length'])};}):_0x479c0c['replaceSelection'](_0x54cad2);_0x5a51f3['dispatch'](_0x57c4e6,{'userEvent':'input.paste','scrollIntoView':!0x0});}function rangeForClick(_0x2dcd87,_0x203f2e,_0x4414e1,_0x33c2e0){if(0x1==_0x33c2e0)return EditorSelection['cursor'](_0x203f2e,_0x4414e1);if(0x2==_0x33c2e0)return groupAt(_0x2dcd87['state'],_0x203f2e,_0x4414e1);{let _0x5f1a2a=LineView['find'](_0x2dcd87['docView'],_0x203f2e),_0x311ff6=_0x2dcd87['state']['doc']['lineAt'](_0x5f1a2a?_0x5f1a2a['posAtEnd']:_0x203f2e),_0x35e6af=_0x5f1a2a?_0x5f1a2a['posAtStart']:_0x311ff6['from'],_0x4fd9f0=_0x5f1a2a?_0x5f1a2a['posAtEnd']:_0x311ff6['to'];return _0x4fd9f0<_0x2dcd87['state']['doc']['length']&&_0x4fd9f0==_0x311ff6['to']&&_0x4fd9f0++,EditorSelection['range'](_0x35e6af,_0x4fd9f0);}}observers['scroll']=_0x101c38=>{_0x101c38['inputState']['lastScrollTop']=_0x101c38['scrollDOM']['scrollTop'],_0x101c38['inputState']['lastScrollLeft']=_0x101c38['scrollDOM']['scrollLeft'];},handlers['keydown']=(_0x3cb7ca,_0x591322)=>(_0x3cb7ca['inputState']['setSelectionOrigin']('select'),0x1b==_0x591322['keyCode']&&0x0!=_0x3cb7ca['inputState']['tabFocusMode']&&(_0x3cb7ca['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),observers['touchstart']=(_0x478b87,_0x501121)=>{_0x478b87['inputState']['lastTouchTime']=Date['now'](),_0x478b87['inputState']['setSelectionOrigin']('select.pointer');},observers['touchmove']=_0x12219a=>{_0x12219a['inputState']['setSelectionOrigin']('select.pointer');},handlers['mousedown']=(_0x38e1a5,_0x2df7a1)=>{if(_0x38e1a5['observer']['flush'](),_0x38e1a5['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x15e160=null;for(let _0x17356b of _0x38e1a5['state']['facet'](mouseSelectionStyle))if(_0x15e160=_0x17356b(_0x38e1a5,_0x2df7a1),_0x15e160)break;if(_0x15e160||0x0!=_0x2df7a1['button']||(_0x15e160=basicMouseSelection(_0x38e1a5,_0x2df7a1)),_0x15e160){let _0x212bed=!_0x38e1a5['hasFocus'];_0x38e1a5['inputState']['startMouseSelection'](new MouseSelection(_0x38e1a5,_0x2df7a1,_0x15e160,_0x212bed)),_0x212bed&&_0x38e1a5['observer']['ignore'](()=>{focusPreventScroll(_0x38e1a5['contentDOM']);let _0x25b01a=_0x38e1a5['root']['activeElement'];_0x25b01a&&!_0x25b01a['contains'](_0x38e1a5['contentDOM'])&&_0x25b01a['blur']();});let _0x1ab6ef=_0x38e1a5['inputState']['mouseSelection'];if(_0x1ab6ef)return _0x1ab6ef['start'](_0x2df7a1),!0x1===_0x1ab6ef['dragging'];}return!0x1;};let inside=(_0x5e0a70,_0x6d1f2e,_0x45ed2d)=>_0x6d1f2e>=_0x45ed2d['top']&&_0x6d1f2e<=_0x45ed2d['bottom']&&_0x5e0a70>=_0x45ed2d['left']&&_0x5e0a70<=_0x45ed2d['right'];function findPositionSide(_0x34ac2e,_0x464351,_0x34dc52,_0x3679d2){let _0x3646fe=LineView['find'](_0x34ac2e['docView'],_0x464351);if(!_0x3646fe)return 0x1;let _0x31a8de=_0x464351-_0x3646fe['posAtStart'];if(0x0==_0x31a8de)return 0x1;if(_0x31a8de==_0x3646fe['length'])return-0x1;let _0x17a462=_0x3646fe['coordsAt'](_0x31a8de,-0x1);if(_0x17a462&&inside(_0x34dc52,_0x3679d2,_0x17a462))return-0x1;let _0x2f7c24=_0x3646fe['coordsAt'](_0x31a8de,0x1);return _0x2f7c24&&inside(_0x34dc52,_0x3679d2,_0x2f7c24)?0x1:_0x17a462&&_0x17a462['bottom']>=_0x3679d2?-0x1:0x1;}function queryPos(_0x290b2e,_0x1475ff){let _0x38a75d=_0x290b2e['posAtCoords']({'x':_0x1475ff['clientX'],'y':_0x1475ff['clientY']},!0x1);return{'pos':_0x38a75d,'bias':findPositionSide(_0x290b2e,_0x38a75d,_0x1475ff['clientX'],_0x1475ff['clientY'])};}const BadMouseDetail=browser['ie']&&browser['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x537acf){if(!BadMouseDetail)return _0x537acf['detail'];let _0x45e3ca=lastMouseDown,_0x32e09c=lastMouseDownTime;return lastMouseDown=_0x537acf,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x45e3ca||_0x32e09c>Date['now']()-0x190&&Math['abs'](_0x45e3ca['clientX']-_0x537acf['clientX'])<0x2&&Math['abs'](_0x45e3ca['clientY']-_0x537acf['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x1452d2,_0x485c3f){let _0x4d11bd=queryPos(_0x1452d2,_0x485c3f),_0x5a8ec7=getClickType(_0x485c3f),_0x3e139c=_0x1452d2['state']['selection'];return{'update'(_0x493b95){_0x493b95['docChanged']&&(_0x4d11bd['pos']=_0x493b95['changes']['mapPos'](_0x4d11bd['pos']),_0x3e139c=_0x3e139c['map'](_0x493b95['changes']));},'get'(_0x5b1b4a,_0xe3c439,_0x40d01){let _0x1ba03d,_0x3cbd25=queryPos(_0x1452d2,_0x5b1b4a),_0x56b74c=rangeForClick(_0x1452d2,_0x3cbd25['pos'],_0x3cbd25['bias'],_0x5a8ec7);if(_0x4d11bd['pos']!=_0x3cbd25['pos']&&!_0xe3c439){let _0x158559=rangeForClick(_0x1452d2,_0x4d11bd['pos'],_0x4d11bd['bias'],_0x5a8ec7),_0x8ac1fb=Math['min'](_0x158559['from'],_0x56b74c['from']),_0xf3a5fb=Math['max'](_0x158559['to'],_0x56b74c['to']);_0x56b74c=_0x8ac1fb<_0x56b74c['from']?EditorSelection['range'](_0x8ac1fb,_0xf3a5fb):EditorSelection['range'](_0xf3a5fb,_0x8ac1fb);}return _0xe3c439?_0x3e139c['replaceRange'](_0x3e139c['main']['extend'](_0x56b74c['from'],_0x56b74c['to'])):_0x40d01&&0x1==_0x5a8ec7&&_0x3e139c['ranges']['length']>0x1&&(_0x1ba03d=removeRangeAround(_0x3e139c,_0x3cbd25['pos']))?_0x1ba03d:_0x40d01?_0x3e139c['addRange'](_0x56b74c):EditorSelection['create']([_0x56b74c]);}};}function removeRangeAround(_0x20caae,_0x12ca1d){for(let _0x344167=0x0;_0x344167<_0x20caae['ranges']['length'];_0x344167++){let {from:_0x36d901,to:_0x46b7d0}=_0x20caae['ranges'][_0x344167];if(_0x36d901<=_0x12ca1d&&_0x46b7d0>=_0x12ca1d)return EditorSelection['create'](_0x20caae['ranges']['slice'](0x0,_0x344167)['concat'](_0x20caae['ranges']['slice'](_0x344167+0x1)),_0x20caae['mainIndex']==_0x344167?0x0:_0x20caae['mainIndex']-(_0x20caae['mainIndex']>_0x344167?0x1:0x0));}return null;}function dropText(_0x5aeb4b,_0x573515,_0xbb8de4,_0x146f25){if(!(_0xbb8de4=textFilter(_0x5aeb4b['state'],clipboardInputFilter,_0xbb8de4)))return;let _0x97cf9a=_0x5aeb4b['posAtCoords']({'x':_0x573515['clientX'],'y':_0x573515['clientY']},!0x1),{draggedContent:_0x434001}=_0x5aeb4b['inputState'],_0x269fce=_0x146f25&&_0x434001&&dragMovesSelection(_0x5aeb4b,_0x573515)?{'from':_0x434001['from'],'to':_0x434001['to']}:null,_0x51b284={'from':_0x97cf9a,'insert':_0xbb8de4},_0x528fd0=_0x5aeb4b['state']['changes'](_0x269fce?[_0x269fce,_0x51b284]:_0x51b284);_0x5aeb4b['focus'](),_0x5aeb4b['dispatch']({'changes':_0x528fd0,'selection':{'anchor':_0x528fd0['mapPos'](_0x97cf9a,-0x1),'head':_0x528fd0['mapPos'](_0x97cf9a,0x1)},'userEvent':_0x269fce?'move.drop':'input.drop'}),_0x5aeb4b['inputState']['draggedContent']=null;}function captureCopy(_0x27bee8,_0x1a8a83){let _0x519f5a=_0x27bee8['dom']['parentNode'];if(!_0x519f5a)return;let _0x4c4a0c=_0x519f5a['appendChild'](document['createElement']('textarea'));_0x4c4a0c['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x4c4a0c['value']=_0x1a8a83,_0x4c4a0c['focus'](),_0x4c4a0c['selectionEnd']=_0x1a8a83['length'],_0x4c4a0c['selectionStart']=0x0,setTimeout(()=>{_0x4c4a0c['remove'](),_0x27bee8['focus']();},0x32);}function copiedRange(_0x1ad38f){let _0x4f128f=[],_0x1e905e=[],_0x126bc0=!0x1;for(let _0x57a941 of _0x1ad38f['selection']['ranges'])_0x57a941['empty']||(_0x4f128f['push'](_0x1ad38f['sliceDoc'](_0x57a941['from'],_0x57a941['to'])),_0x1e905e['push'](_0x57a941));if(!_0x4f128f['length']){let _0x1ad7c8=-0x1;for(let {from:_0xda620e}of _0x1ad38f['selection']['ranges']){let _0x47a1a8=_0x1ad38f['doc']['lineAt'](_0xda620e);_0x47a1a8['number']>_0x1ad7c8&&(_0x4f128f['push'](_0x47a1a8['text']),_0x1e905e['push']({'from':_0x47a1a8['from'],'to':Math['min'](_0x1ad38f['doc']['length'],_0x47a1a8['to']+0x1)})),_0x1ad7c8=_0x47a1a8['number'];}_0x126bc0=!0x0;}return{'text':textFilter(_0x1ad38f,clipboardOutputFilter,_0x4f128f['join'](_0x1ad38f['lineBreak'])),'ranges':_0x1e905e,'linewise':_0x126bc0};}handlers['dragstart']=(_0x144194,_0x9112f2)=>{let {selection:{main:_0x51a59c}}=_0x144194['state'];if(_0x9112f2['target']['draggable']){let _0x47380d=_0x144194['docView']['nearest'](_0x9112f2['target']);if(_0x47380d&&_0x47380d['isWidget']){let _0x11a0ed=_0x47380d['posAtStart'],_0x34e00d=_0x11a0ed+_0x47380d['length'];(_0x11a0ed>=_0x51a59c['to']||_0x34e00d<=_0x51a59c['from'])&&(_0x51a59c=EditorSelection['range'](_0x11a0ed,_0x34e00d));}}let {inputState:_0x17f694}=_0x144194;return _0x17f694['mouseSelection']&&(_0x17f694['mouseSelection']['dragging']=!0x0),_0x17f694['draggedContent']=_0x51a59c,_0x9112f2['dataTransfer']&&(_0x9112f2['dataTransfer']['setData']('Text',textFilter(_0x144194['state'],clipboardOutputFilter,_0x144194['state']['sliceDoc'](_0x51a59c['from'],_0x51a59c['to']))),_0x9112f2['dataTransfer']['effectAllowed']='copyMove'),!0x1;},handlers['dragend']=_0x5babca=>(_0x5babca['inputState']['draggedContent']=null,!0x1),handlers['drop']=(_0x23e29d,_0x430077)=>{if(!_0x430077['dataTransfer'])return!0x1;if(_0x23e29d['state']['readOnly'])return!0x0;let _0x120f97=_0x430077['dataTransfer']['files'];if(_0x120f97&&_0x120f97['length']){let _0x425df5=Array(_0x120f97['length']),_0x10a182=0x0,_0x51dd18=()=>{++_0x10a182==_0x120f97['length']&&dropText(_0x23e29d,_0x430077,_0x425df5['filter'](_0x2ac8ab=>null!=_0x2ac8ab)['join'](_0x23e29d['state']['lineBreak']),!0x1);};for(let _0x2e8d52=0x0;_0x2e8d52<_0x120f97['length'];_0x2e8d52++){let _0x43b1e8=new FileReader();_0x43b1e8['onerror']=_0x51dd18,_0x43b1e8['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x43b1e8['result'])||(_0x425df5[_0x2e8d52]=_0x43b1e8['result']),_0x51dd18();},_0x43b1e8['readAsText'](_0x120f97[_0x2e8d52]);}return!0x0;}{let _0x2c6a4=_0x430077['dataTransfer']['getData']('Text');if(_0x2c6a4)return dropText(_0x23e29d,_0x430077,_0x2c6a4,!0x0),!0x0;}return!0x1;},handlers['paste']=(_0x6a5a39,_0x32c976)=>{if(_0x6a5a39['state']['readOnly'])return!0x0;_0x6a5a39['observer']['flush']();let _0x4a00da=brokenClipboardAPI?null:_0x32c976['clipboardData'];return _0x4a00da?(doPaste(_0x6a5a39,_0x4a00da['getData']('text/plain')||_0x4a00da['getData']('text/uri-list')),!0x0):(capturePaste(_0x6a5a39),!0x1);};let lastLinewiseCopy=null;handlers['copy']=handlers['cut']=(_0x2a8a86,_0xe15e36)=>{let {text:_0x20339f,ranges:_0x1487f0,linewise:_0xbf3177}=copiedRange(_0x2a8a86['state']);if(!_0x20339f&&!_0xbf3177)return!0x1;lastLinewiseCopy=_0xbf3177?_0x20339f:null,'cut'!=_0xe15e36['type']||_0x2a8a86['state']['readOnly']||_0x2a8a86['dispatch']({'changes':_0x1487f0,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x83083=brokenClipboardAPI?null:_0xe15e36['clipboardData'];return _0x83083?(_0x83083['clearData'](),_0x83083['setData']('text/plain',_0x20339f),!0x0):(captureCopy(_0x2a8a86,_0x20339f),!0x1);};const isFocusChange=Annotation['define']();function focusChangeTransaction(_0x4fd07e,_0x172e30){let _0x52412e=[];for(let _0x87c71d of _0x4fd07e['facet'](focusChangeEffect)){let _0x5756f5=_0x87c71d(_0x4fd07e,_0x172e30);_0x5756f5&&_0x52412e['push'](_0x5756f5);}return _0x52412e?_0x4fd07e['update']({'effects':_0x52412e,'annotations':isFocusChange['of'](!0x0)}):null;}function updateForFocusChange(_0x140bff){setTimeout(()=>{let _0x147245=_0x140bff['hasFocus'];if(_0x147245!=_0x140bff['inputState']['notifiedFocused']){let _0xbc18ff=focusChangeTransaction(_0x140bff['state'],_0x147245);_0xbc18ff?_0x140bff['dispatch'](_0xbc18ff):_0x140bff['update']([]);}},0xa);}observers['focus']=_0x22b242=>{_0x22b242['inputState']['lastFocusTime']=Date['now'](),_0x22b242['scrollDOM']['scrollTop']||!_0x22b242['inputState']['lastScrollTop']&&!_0x22b242['inputState']['lastScrollLeft']||(_0x22b242['scrollDOM']['scrollTop']=_0x22b242['inputState']['lastScrollTop'],_0x22b242['scrollDOM']['scrollLeft']=_0x22b242['inputState']['lastScrollLeft']),updateForFocusChange(_0x22b242);},observers['blur']=_0x3a770c=>{_0x3a770c['observer']['clearSelectionRange'](),updateForFocusChange(_0x3a770c);},observers['compositionstart']=observers['compositionupdate']=_0x4e934a=>{_0x4e934a['observer']['editContext']||(null==_0x4e934a['inputState']['compositionFirstChange']&&(_0x4e934a['inputState']['compositionFirstChange']=!0x0),_0x4e934a['inputState']['composing']<0x0&&(_0x4e934a['inputState']['composing']=0x0));},observers['compositionend']=_0x495aa1=>{_0x495aa1['observer']['editContext']||(_0x495aa1['inputState']['composing']=-0x1,_0x495aa1['inputState']['compositionEndedAt']=Date['now'](),_0x495aa1['inputState']['compositionPendingKey']=!0x0,_0x495aa1['inputState']['compositionPendingChange']=_0x495aa1['observer']['pendingRecords']()['length']>0x0,_0x495aa1['inputState']['compositionFirstChange']=null,browser['chrome']&&browser['android']?_0x495aa1['observer']['flushSoon']():_0x495aa1['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x495aa1['observer']['flush']()):setTimeout(()=>{_0x495aa1['inputState']['composing']<0x0&&_0x495aa1['docView']['hasComposition']&&_0x495aa1['update']([]);},0x32));},observers['contextmenu']=_0x4b324f=>{_0x4b324f['inputState']['lastContextMenu']=Date['now']();},handlers['beforeinput']=(_0xbb65b6,_0x1418e6)=>{var _0x32bfe2,_0x4288fc;if('insertReplacementText'==_0x1418e6['inputType']&&_0xbb65b6['observer']['editContext']){let _0x1efbc8=null===(_0x32bfe2=_0x1418e6['dataTransfer'])||void 0x0===_0x32bfe2?void 0x0:_0x32bfe2['getData']('text/plain'),_0x1e0768=_0x1418e6['getTargetRanges']();if(_0x1efbc8&&_0x1e0768['length']){let _0x5f459b=_0x1e0768[0x0],_0x25132d=_0xbb65b6['posAtDOM'](_0x5f459b['startContainer'],_0x5f459b['startOffset']),_0x4d16eb=_0xbb65b6['posAtDOM'](_0x5f459b['endContainer'],_0x5f459b['endOffset']);return applyDOMChangeInner(_0xbb65b6,{'from':_0x25132d,'to':_0x4d16eb,'insert':_0xbb65b6['state']['toText'](_0x1efbc8)},null),!0x0;}}let _0x2276d0;if(browser['chrome']&&browser['android']&&(_0x2276d0=PendingKeys['find'](_0x5b5219=>_0x5b5219['inputType']==_0x1418e6['inputType']))&&(_0xbb65b6['observer']['delayAndroidKey'](_0x2276d0['key'],_0x2276d0['keyCode']),'Backspace'==_0x2276d0['key']||'Delete'==_0x2276d0['key'])){let _0x228eca=(null===(_0x4288fc=window['visualViewport'])||void 0x0===_0x4288fc?void 0x0:_0x4288fc['height'])||0x0;setTimeout(()=>{var _0x4f130c;((null===(_0x4f130c=window['visualViewport'])||void 0x0===_0x4f130c?void 0x0:_0x4f130c['height'])||0x0)>_0x228eca+0xa&&_0xbb65b6['hasFocus']&&(_0xbb65b6['contentDOM']['blur'](),_0xbb65b6['focus']());},0x64);}return browser['ios']&&'deleteContentForward'==_0x1418e6['inputType']&&_0xbb65b6['observer']['flushSoon'](),browser['safari']&&'insertText'==_0x1418e6['inputType']&&_0xbb65b6['inputState']['composing']>=0x0&&setTimeout(()=>observers['compositionend'](_0xbb65b6,_0x1418e6),0x14),!0x1;};const appliedFirefoxHack=new Set();function firefoxCopyCutHack(_0x2a94c5){appliedFirefoxHack['has'](_0x2a94c5)||(appliedFirefoxHack['add'](_0x2a94c5),_0x2a94c5['addEventListener']('copy',()=>{}),_0x2a94c5['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x12fc6b){this['lineWrapping']=_0x12fc6b,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x4c5185,_0x455052){let _0x405ab8=this['doc']['lineAt'](_0x455052)['number']-this['doc']['lineAt'](_0x4c5185)['number']+0x1;return this['lineWrapping']&&(_0x405ab8+=Math['max'](0x0,Math['ceil']((_0x455052-_0x4c5185-_0x405ab8*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x405ab8;}['heightForLine'](_0x4497c9){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x4497c9-this['lineLength'])/(this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x56da03){return this['doc']=_0x56da03,this;}['mustRefreshForWrapping'](_0x1f8339){return wrappingWhiteSpace['indexOf'](_0x1f8339)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x226aa5){let _0x5233d3=!0x1;for(let _0x13c2f2=0x0;_0x13c2f2<_0x226aa5['length'];_0x13c2f2++){let _0x5d76c1=_0x226aa5[_0x13c2f2];_0x5d76c1<0x0?_0x13c2f2++:this['heightSamples'][Math['floor'](0xa*_0x5d76c1)]||(_0x5233d3=!0x0,this['heightSamples'][Math['floor'](0xa*_0x5d76c1)]=!0x0);}return _0x5233d3;}['refresh'](_0x1e41c1,_0x447bba,_0x4236c1,_0x17af9f,_0x109a61,_0x45a32d){let _0x5315a2=wrappingWhiteSpace['indexOf'](_0x1e41c1)>-0x1,_0x37d49f=Math['round'](_0x447bba)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x5315a2;if(this['lineWrapping']=_0x5315a2,this['lineHeight']=_0x447bba,this['charWidth']=_0x4236c1,this['textHeight']=_0x17af9f,this['lineLength']=_0x109a61,_0x37d49f){this['heightSamples']={};for(let _0x4e53b1=0x0;_0x4e53b1<_0x45a32d['length'];_0x4e53b1++){let _0x348770=_0x45a32d[_0x4e53b1];_0x348770<0x0?_0x4e53b1++:this['heightSamples'][Math['floor'](0xa*_0x348770)]=!0x0;}}return _0x37d49f;}}class MeasuredHeights{constructor(_0x336e80,_0x5f59e9){this['from']=_0x336e80,this['heights']=_0x5f59e9,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class BlockInfo{constructor(_0x2fd3a3,_0x34c7b2,_0x32d477,_0x48ee34,_0x1abbde){this['from']=_0x2fd3a3,this['length']=_0x34c7b2,this['top']=_0x32d477,this['height']=_0x48ee34,this['_content']=_0x1abbde;}get['type'](){return'number'==typeof this['_content']?BlockType['Text']:Array['isArray'](this['_content'])?this['_content']:this['_content']['type'];}get['to'](){return this['from']+this['length'];}get['bottom'](){return this['top']+this['height'];}get['widget'](){return this['_content']instanceof PointDecoration?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x5841be){let _0x3cb6a8=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x5841be['_content'])?_0x5841be['_content']:[_0x5841be]);return new BlockInfo(this['from'],this['length']+_0x5841be['length'],this['top'],this['height']+_0x5841be['height'],_0x3cb6a8);}}var QueryType=function(_0x1c54d4){return _0x1c54d4[_0x1c54d4['ByPos']=0x0]='ByPos',_0x1c54d4[_0x1c54d4['ByHeight']=0x1]='ByHeight',_0x1c54d4[_0x1c54d4['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x1c54d4;}(QueryType||(QueryType={}));const Epsilon=0.001;class HeightMap{constructor(_0x5a3c98,_0x261ec7,_0x1dc493=0x2){this['length']=_0x5a3c98,this['height']=_0x261ec7,this['flags']=_0x1dc493;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x219f15){this['flags']=(_0x219f15?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x5d5ef0){this['height']!=_0x5d5ef0&&(Math['abs'](this['height']-_0x5d5ef0)>Epsilon&&(heightChangeFlag=!0x0),this['height']=_0x5d5ef0);}['replace'](_0x2668c6,_0x57e0be,_0x3c4bb5){return HeightMap['of'](_0x3c4bb5);}['decomposeLeft'](_0xd4281c,_0x571720){_0x571720['push'](this);}['decomposeRight'](_0x56e415,_0x144f96){_0x144f96['push'](this);}['applyChanges'](_0x39d897,_0x2fdead,_0x122029,_0x49a7b4){let _0x35878f=this,_0x5744c8=_0x122029['doc'];for(let _0x1f7341=_0x49a7b4['length']-0x1;_0x1f7341>=0x0;_0x1f7341--){let {fromA:_0xf284d9,toA:_0x5cd015,fromB:_0x8cbf0,toB:_0x4f8e59}=_0x49a7b4[_0x1f7341],_0x4f55e1=_0x35878f['lineAt'](_0xf284d9,QueryType['ByPosNoHeight'],_0x122029['setDoc'](_0x2fdead),0x0,0x0),_0x48f6bd=_0x4f55e1['to']>=_0x5cd015?_0x4f55e1:_0x35878f['lineAt'](_0x5cd015,QueryType['ByPosNoHeight'],_0x122029,0x0,0x0);for(_0x4f8e59+=_0x48f6bd['to']-_0x5cd015,_0x5cd015=_0x48f6bd['to'];_0x1f7341>0x0&&_0x4f55e1['from']<=_0x49a7b4[_0x1f7341-0x1]['toA'];)_0xf284d9=_0x49a7b4[_0x1f7341-0x1]['fromA'],_0x8cbf0=_0x49a7b4[_0x1f7341-0x1]['fromB'],_0x1f7341--,_0xf284d9<_0x4f55e1['from']&&(_0x4f55e1=_0x35878f['lineAt'](_0xf284d9,QueryType['ByPosNoHeight'],_0x122029,0x0,0x0));_0x8cbf0+=_0x4f55e1['from']-_0xf284d9,_0xf284d9=_0x4f55e1['from'];let _0x398c77=NodeBuilder['build'](_0x122029['setDoc'](_0x5744c8),_0x39d897,_0x8cbf0,_0x4f8e59);_0x35878f=replace(_0x35878f,_0x35878f['replace'](_0xf284d9,_0x5cd015,_0x398c77));}return _0x35878f['updateHeight'](_0x122029,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x3c65fc){if(0x1==_0x3c65fc['length'])return _0x3c65fc[0x0];let _0x21efd4=0x0,_0x5f4e5a=_0x3c65fc['length'],_0x4a0dc2=0x0,_0x65703b=0x0;for(;;)if(_0x21efd4==_0x5f4e5a){if(_0x4a0dc2>0x2*_0x65703b){let _0x3e4c51=_0x3c65fc[_0x21efd4-0x1];_0x3e4c51['break']?_0x3c65fc['splice'](--_0x21efd4,0x1,_0x3e4c51['left'],null,_0x3e4c51['right']):_0x3c65fc['splice'](--_0x21efd4,0x1,_0x3e4c51['left'],_0x3e4c51['right']),_0x5f4e5a+=0x1+_0x3e4c51['break'],_0x4a0dc2-=_0x3e4c51['size'];}else{if(!(_0x65703b>0x2*_0x4a0dc2))break;{let _0x37fca1=_0x3c65fc[_0x5f4e5a];_0x37fca1['break']?_0x3c65fc['splice'](_0x5f4e5a,0x1,_0x37fca1['left'],null,_0x37fca1['right']):_0x3c65fc['splice'](_0x5f4e5a,0x1,_0x37fca1['left'],_0x37fca1['right']),_0x5f4e5a+=0x2+_0x37fca1['break'],_0x65703b-=_0x37fca1['size'];}}}else{if(_0x4a0dc2<_0x65703b){let _0x5aa4c9=_0x3c65fc[_0x21efd4++];_0x5aa4c9&&(_0x4a0dc2+=_0x5aa4c9['size']);}else{let _0x4e0eee=_0x3c65fc[--_0x5f4e5a];_0x4e0eee&&(_0x65703b+=_0x4e0eee['size']);}}let _0x2f4e27=0x0;return null==_0x3c65fc[_0x21efd4-0x1]?(_0x2f4e27=0x1,_0x21efd4--):null==_0x3c65fc[_0x21efd4]&&(_0x2f4e27=0x1,_0x5f4e5a++),new HeightMapBranch(HeightMap['of'](_0x3c65fc['slice'](0x0,_0x21efd4)),_0x2f4e27,HeightMap['of'](_0x3c65fc['slice'](_0x5f4e5a)));}}function replace(_0x156775,_0x1ba8f3){return _0x156775==_0x1ba8f3?_0x156775:(_0x156775['constructor']!=_0x1ba8f3['constructor']&&(heightChangeFlag=!0x0),_0x1ba8f3);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x38c4df,_0x18b581,_0x217f7c){super(_0x38c4df,_0x18b581),this['deco']=_0x217f7c;}['blockAt'](_0x1e9b17,_0x46168a,_0x1d4d17,_0x402530){return new BlockInfo(_0x402530,this['length'],_0x1d4d17,this['height'],this['deco']||0x0);}['lineAt'](_0x101cdf,_0x24b9a0,_0x346ac6,_0x201d09,_0x454f22){return this['blockAt'](0x0,_0x346ac6,_0x201d09,_0x454f22);}['forEachLine'](_0x1269d5,_0x3ed1c9,_0xf05f8b,_0x2c9fec,_0xba883,_0x1aea96){_0x1269d5<=_0xba883+this['length']&&_0x3ed1c9>=_0xba883&&_0x1aea96(this['blockAt'](0x0,_0xf05f8b,_0x2c9fec,_0xba883));}['updateHeight'](_0x215864,_0x36e85c=0x0,_0x13fb84=!0x1,_0x66a42b){return _0x66a42b&&_0x66a42b['from']<=_0x36e85c&&_0x66a42b['more']&&this['setHeight'](_0x66a42b['heights'][_0x66a42b['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x1cb53e,_0x46f672){super(_0x1cb53e,_0x46f672,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x2ba35d,_0x51a7bf,_0x331fed,_0x383f55){return new BlockInfo(_0x383f55,this['length'],_0x331fed,this['height'],this['breaks']);}['replace'](_0x198c13,_0x17adda,_0x504ce9){let _0x5bf4e3=_0x504ce9[0x0];return 0x1==_0x504ce9['length']&&(_0x5bf4e3 instanceof HeightMapText||_0x5bf4e3 instanceof HeightMapGap&&0x4&_0x5bf4e3['flags'])&&Math['abs'](this['length']-_0x5bf4e3['length'])<0xa?(_0x5bf4e3 instanceof HeightMapGap?_0x5bf4e3=new HeightMapText(_0x5bf4e3['length'],this['height']):_0x5bf4e3['height']=this['height'],this['outdated']||(_0x5bf4e3['outdated']=!0x1),_0x5bf4e3):HeightMap['of'](_0x504ce9);}['updateHeight'](_0x54c700,_0x3f8eda=0x0,_0x347ead=!0x1,_0x18f18d){return _0x18f18d&&_0x18f18d['from']<=_0x3f8eda&&_0x18f18d['more']?this['setHeight'](_0x18f18d['heights'][_0x18f18d['index']++]):(_0x347ead||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x54c700['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x54c700['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x3e81c3){super(_0x3e81c3,0x0);}['heightMetrics'](_0x6012ba,_0x123f94){let _0xeb6601,_0x3c6b41=_0x6012ba['doc']['lineAt'](_0x123f94)['number'],_0x44479e=_0x6012ba['doc']['lineAt'](_0x123f94+this['length'])['number'],_0xc221bc=_0x44479e-_0x3c6b41+0x1,_0x240e99=0x0;if(_0x6012ba['lineWrapping']){let _0x32f02e=Math['min'](this['height'],_0x6012ba['lineHeight']*_0xc221bc);_0xeb6601=_0x32f02e/_0xc221bc,this['length']>_0xc221bc+0x1&&(_0x240e99=(this['height']-_0x32f02e)/(this['length']-_0xc221bc-0x1));}else _0xeb6601=this['height']/_0xc221bc;return{'firstLine':_0x3c6b41,'lastLine':_0x44479e,'perLine':_0xeb6601,'perChar':_0x240e99};}['blockAt'](_0x485577,_0x555905,_0x4da65c,_0x125b07){let {firstLine:_0x50d7a0,lastLine:_0x44156a,perLine:_0x1f01a2,perChar:_0x40e03f}=this['heightMetrics'](_0x555905,_0x125b07);if(_0x555905['lineWrapping']){let _0x386dfe=_0x125b07+(_0x485577<_0x555905['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x485577-_0x4da65c)/this['height']))*this['length'])),_0x4fc8c9=_0x555905['doc']['lineAt'](_0x386dfe),_0x2fa253=_0x1f01a2+_0x4fc8c9['length']*_0x40e03f,_0x2e07b9=Math['max'](_0x4da65c,_0x485577-_0x2fa253/0x2);return new BlockInfo(_0x4fc8c9['from'],_0x4fc8c9['length'],_0x2e07b9,_0x2fa253,0x0);}{let _0x18c60a=Math['max'](0x0,Math['min'](_0x44156a-_0x50d7a0,Math['floor']((_0x485577-_0x4da65c)/_0x1f01a2))),{from:_0x4a7597,length:_0x114b1e}=_0x555905['doc']['line'](_0x50d7a0+_0x18c60a);return new BlockInfo(_0x4a7597,_0x114b1e,_0x4da65c+_0x1f01a2*_0x18c60a,_0x1f01a2,0x0);}}['lineAt'](_0x2f0d34,_0x18e065,_0x4690f1,_0x512056,_0x286102){if(_0x18e065==QueryType['ByHeight'])return this['blockAt'](_0x2f0d34,_0x4690f1,_0x512056,_0x286102);if(_0x18e065==QueryType['ByPosNoHeight']){let {from:_0xdb4ae5,to:_0x2ed001}=_0x4690f1['doc']['lineAt'](_0x2f0d34);return new BlockInfo(_0xdb4ae5,_0x2ed001-_0xdb4ae5,0x0,0x0,0x0);}let {firstLine:_0x3d2aeb,perLine:_0x2f7dbe,perChar:_0x51323e}=this['heightMetrics'](_0x4690f1,_0x286102),_0x297e73=_0x4690f1['doc']['lineAt'](_0x2f0d34),_0x2eedaf=_0x2f7dbe+_0x297e73['length']*_0x51323e,_0x4bb1fd=_0x297e73['number']-_0x3d2aeb,_0x23ec60=_0x512056+_0x2f7dbe*_0x4bb1fd+_0x51323e*(_0x297e73['from']-_0x286102-_0x4bb1fd);return new BlockInfo(_0x297e73['from'],_0x297e73['length'],Math['max'](_0x512056,Math['min'](_0x23ec60,_0x512056+this['height']-_0x2eedaf)),_0x2eedaf,0x0);}['forEachLine'](_0x52b189,_0x5d184b,_0x22d8d4,_0x576c63,_0x34aae0,_0x1cc73a){_0x52b189=Math['max'](_0x52b189,_0x34aae0),_0x5d184b=Math['min'](_0x5d184b,_0x34aae0+this['length']);let {firstLine:_0x4b3f38,perLine:_0x180215,perChar:_0x323dd6}=this['heightMetrics'](_0x22d8d4,_0x34aae0);for(let _0x312dba=_0x52b189,_0x343693=_0x576c63;_0x312dba<=_0x5d184b;){let _0x576cfd=_0x22d8d4['doc']['lineAt'](_0x312dba);if(_0x312dba==_0x52b189){let _0x51128e=_0x576cfd['number']-_0x4b3f38;_0x343693+=_0x180215*_0x51128e+_0x323dd6*(_0x52b189-_0x34aae0-_0x51128e);}let _0x8a2cc5=_0x180215+_0x323dd6*_0x576cfd['length'];_0x1cc73a(new BlockInfo(_0x576cfd['from'],_0x576cfd['length'],_0x343693,_0x8a2cc5,0x0)),_0x343693+=_0x8a2cc5,_0x312dba=_0x576cfd['to']+0x1;}}['replace'](_0x2801e5,_0x4633e8,_0xe4b727){let _0x56666b=this['length']-_0x4633e8;if(_0x56666b>0x0){let _0x29baae=_0xe4b727[_0xe4b727['length']-0x1];_0x29baae instanceof HeightMapGap?_0xe4b727[_0xe4b727['length']-0x1]=new HeightMapGap(_0x29baae['length']+_0x56666b):_0xe4b727['push'](null,new HeightMapGap(_0x56666b-0x1));}if(_0x2801e5>0x0){let _0x4c1e93=_0xe4b727[0x0];_0x4c1e93 instanceof HeightMapGap?_0xe4b727[0x0]=new HeightMapGap(_0x2801e5+_0x4c1e93['length']):_0xe4b727['unshift'](new HeightMapGap(_0x2801e5-0x1),null);}return HeightMap['of'](_0xe4b727);}['decomposeLeft'](_0xb5ebcc,_0x38960d){_0x38960d['push'](new HeightMapGap(_0xb5ebcc-0x1),null);}['decomposeRight'](_0x544e58,_0x2b221c){_0x2b221c['push'](null,new HeightMapGap(this['length']-_0x544e58-0x1));}['updateHeight'](_0x4966e5,_0x5d17d1=0x0,_0x5ef678=!0x1,_0x1f5cfb){let _0x273c45=_0x5d17d1+this['length'];if(_0x1f5cfb&&_0x1f5cfb['from']<=_0x5d17d1+this['length']&&_0x1f5cfb['more']){let _0x1f13ad=[],_0x3390b2=Math['max'](_0x5d17d1,_0x1f5cfb['from']),_0x4672ca=-0x1;for(_0x1f5cfb['from']>_0x5d17d1&&_0x1f13ad['push'](new HeightMapGap(_0x1f5cfb['from']-_0x5d17d1-0x1)['updateHeight'](_0x4966e5,_0x5d17d1));_0x3390b2<=_0x273c45&&_0x1f5cfb['more'];){let _0x628410=_0x4966e5['doc']['lineAt'](_0x3390b2)['length'];_0x1f13ad['length']&&_0x1f13ad['push'](null);let _0x3f2ec4=_0x1f5cfb['heights'][_0x1f5cfb['index']++];-0x1==_0x4672ca?_0x4672ca=_0x3f2ec4:Math['abs'](_0x3f2ec4-_0x4672ca)>=Epsilon&&(_0x4672ca=-0x2);let _0x14f9fa=new HeightMapText(_0x628410,_0x3f2ec4);_0x14f9fa['outdated']=!0x1,_0x1f13ad['push'](_0x14f9fa),_0x3390b2+=_0x628410+0x1;}_0x3390b2<=_0x273c45&&_0x1f13ad['push'](null,new HeightMapGap(_0x273c45-_0x3390b2)['updateHeight'](_0x4966e5,_0x3390b2));let _0x1fd51d=HeightMap['of'](_0x1f13ad);return(_0x4672ca<0x0||Math['abs'](_0x1fd51d['height']-this['height'])>=Epsilon||Math['abs'](_0x4672ca-this['heightMetrics'](_0x4966e5,_0x5d17d1)['perLine'])>=Epsilon)&&(heightChangeFlag=!0x0),replace(this,_0x1fd51d);}return(_0x5ef678||this['outdated'])&&(this['setHeight'](_0x4966e5['heightForGap'](_0x5d17d1,_0x5d17d1+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x1edf25,_0x52e9d2,_0x43cee6){super(_0x1edf25['length']+_0x52e9d2+_0x43cee6['length'],_0x1edf25['height']+_0x43cee6['height'],_0x52e9d2|(_0x1edf25['outdated']||_0x43cee6['outdated']?0x2:0x0)),this['left']=_0x1edf25,this['right']=_0x43cee6,this['size']=_0x1edf25['size']+_0x43cee6['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x168141,_0x4151c2,_0x2684ae,_0x51d79e){let _0x404df2=_0x2684ae+this['left']['height'];return _0x168141<_0x404df2?this['left']['blockAt'](_0x168141,_0x4151c2,_0x2684ae,_0x51d79e):this['right']['blockAt'](_0x168141,_0x4151c2,_0x404df2,_0x51d79e+this['left']['length']+this['break']);}['lineAt'](_0x25c88e,_0x3d871c,_0x4f38d0,_0x404500,_0x52e2a0){let _0x36ea41=_0x404500+this['left']['height'],_0x350a4b=_0x52e2a0+this['left']['length']+this['break'],_0x117afb=_0x3d871c==QueryType['ByHeight']?_0x25c88e<_0x36ea41:_0x25c88e<_0x350a4b,_0x591a31=_0x117afb?this['left']['lineAt'](_0x25c88e,_0x3d871c,_0x4f38d0,_0x404500,_0x52e2a0):this['right']['lineAt'](_0x25c88e,_0x3d871c,_0x4f38d0,_0x36ea41,_0x350a4b);if(this['break']||(_0x117afb?_0x591a31['to']<_0x350a4b:_0x591a31['from']>_0x350a4b))return _0x591a31;let _0x284d79=_0x3d871c==QueryType['ByPosNoHeight']?QueryType['ByPosNoHeight']:QueryType['ByPos'];return _0x117afb?_0x591a31['join'](this['right']['lineAt'](_0x350a4b,_0x284d79,_0x4f38d0,_0x36ea41,_0x350a4b)):this['left']['lineAt'](_0x350a4b,_0x284d79,_0x4f38d0,_0x404500,_0x52e2a0)['join'](_0x591a31);}['forEachLine'](_0x4b568c,_0x1e45b5,_0x5c7e1e,_0x181666,_0xbe4a40,_0x3bd7a5){let _0x54258a=_0x181666+this['left']['height'],_0x5ae4e0=_0xbe4a40+this['left']['length']+this['break'];if(this['break'])_0x4b568c<_0x5ae4e0&&this['left']['forEachLine'](_0x4b568c,_0x1e45b5,_0x5c7e1e,_0x181666,_0xbe4a40,_0x3bd7a5),_0x1e45b5>=_0x5ae4e0&&this['right']['forEachLine'](_0x4b568c,_0x1e45b5,_0x5c7e1e,_0x54258a,_0x5ae4e0,_0x3bd7a5);else{let _0x41bf7e=this['lineAt'](_0x5ae4e0,QueryType['ByPos'],_0x5c7e1e,_0x181666,_0xbe4a40);_0x4b568c<_0x41bf7e['from']&&this['left']['forEachLine'](_0x4b568c,_0x41bf7e['from']-0x1,_0x5c7e1e,_0x181666,_0xbe4a40,_0x3bd7a5),_0x41bf7e['to']>=_0x4b568c&&_0x41bf7e['from']<=_0x1e45b5&&_0x3bd7a5(_0x41bf7e),_0x1e45b5>_0x41bf7e['to']&&this['right']['forEachLine'](_0x41bf7e['to']+0x1,_0x1e45b5,_0x5c7e1e,_0x54258a,_0x5ae4e0,_0x3bd7a5);}}['replace'](_0x337527,_0x471b2e,_0x89a47b){let _0x667232=this['left']['length']+this['break'];if(_0x471b2e<_0x667232)return this['balanced'](this['left']['replace'](_0x337527,_0x471b2e,_0x89a47b),this['right']);if(_0x337527>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x337527-_0x667232,_0x471b2e-_0x667232,_0x89a47b));let _0x57e5a8=[];_0x337527>0x0&&this['decomposeLeft'](_0x337527,_0x57e5a8);let _0x287bf9=_0x57e5a8['length'];for(let _0xf4796 of _0x89a47b)_0x57e5a8['push'](_0xf4796);if(_0x337527>0x0&&mergeGaps(_0x57e5a8,_0x287bf9-0x1),_0x471b2e<this['length']){let _0x18a0c3=_0x57e5a8['length'];this['decomposeRight'](_0x471b2e,_0x57e5a8),mergeGaps(_0x57e5a8,_0x18a0c3);}return HeightMap['of'](_0x57e5a8);}['decomposeLeft'](_0x24464d,_0x2796e1){let _0x1079b4=this['left']['length'];if(_0x24464d<=_0x1079b4)return this['left']['decomposeLeft'](_0x24464d,_0x2796e1);_0x2796e1['push'](this['left']),this['break']&&(_0x1079b4++,_0x24464d>=_0x1079b4&&_0x2796e1['push'](null)),_0x24464d>_0x1079b4&&this['right']['decomposeLeft'](_0x24464d-_0x1079b4,_0x2796e1);}['decomposeRight'](_0x228099,_0x37cb46){let _0x5b6de5=this['left']['length'],_0x9d8707=_0x5b6de5+this['break'];if(_0x228099>=_0x9d8707)return this['right']['decomposeRight'](_0x228099-_0x9d8707,_0x37cb46);_0x228099<_0x5b6de5&&this['left']['decomposeRight'](_0x228099,_0x37cb46),this['break']&&_0x228099<_0x9d8707&&_0x37cb46['push'](null),_0x37cb46['push'](this['right']);}['balanced'](_0x469db0,_0x4ccbe0){return _0x469db0['size']>0x2*_0x4ccbe0['size']||_0x4ccbe0['size']>0x2*_0x469db0['size']?HeightMap['of'](this['break']?[_0x469db0,null,_0x4ccbe0]:[_0x469db0,_0x4ccbe0]):(this['left']=replace(this['left'],_0x469db0),this['right']=replace(this['right'],_0x4ccbe0),this['setHeight'](_0x469db0['height']+_0x4ccbe0['height']),this['outdated']=_0x469db0['outdated']||_0x4ccbe0['outdated'],this['size']=_0x469db0['size']+_0x4ccbe0['size'],this['length']=_0x469db0['length']+this['break']+_0x4ccbe0['length'],this);}['updateHeight'](_0x5bdaff,_0x3a6f07=0x0,_0x3729a5=!0x1,_0x2c6a6f){let {left:_0x3f4e74,right:_0x3e1ac1}=this,_0x529b18=_0x3a6f07+_0x3f4e74['length']+this['break'],_0x202017=null;return _0x2c6a6f&&_0x2c6a6f['from']<=_0x3a6f07+_0x3f4e74['length']&&_0x2c6a6f['more']?_0x202017=_0x3f4e74=_0x3f4e74['updateHeight'](_0x5bdaff,_0x3a6f07,_0x3729a5,_0x2c6a6f):_0x3f4e74['updateHeight'](_0x5bdaff,_0x3a6f07,_0x3729a5),_0x2c6a6f&&_0x2c6a6f['from']<=_0x529b18+_0x3e1ac1['length']&&_0x2c6a6f['more']?_0x202017=_0x3e1ac1=_0x3e1ac1['updateHeight'](_0x5bdaff,_0x529b18,_0x3729a5,_0x2c6a6f):_0x3e1ac1['updateHeight'](_0x5bdaff,_0x529b18,_0x3729a5),_0x202017?this['balanced'](_0x3f4e74,_0x3e1ac1):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function mergeGaps(_0x224363,_0x3aefc3){let _0x44d3d8,_0x526f74;null==_0x224363[_0x3aefc3]&&(_0x44d3d8=_0x224363[_0x3aefc3-0x1])instanceof HeightMapGap&&(_0x526f74=_0x224363[_0x3aefc3+0x1])instanceof HeightMapGap&&_0x224363['splice'](_0x3aefc3-0x1,0x3,new HeightMapGap(_0x44d3d8['length']+0x1+_0x526f74['length']));}const relevantWidgetHeight=0x5;class NodeBuilder{constructor(_0x2bd6e9,_0x5beb05){this['pos']=_0x2bd6e9,this['oracle']=_0x5beb05,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x2bd6e9;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0xd83cf3,_0x5e8a80){if(this['lineStart']>-0x1){let _0xf4decc=Math['min'](_0x5e8a80,this['lineEnd']),_0xa62fe9=this['nodes'][this['nodes']['length']-0x1];_0xa62fe9 instanceof HeightMapText?_0xa62fe9['length']+=_0xf4decc-this['pos']:(_0xf4decc>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0xf4decc-this['pos'],-0x1)),this['writtenTo']=_0xf4decc,_0x5e8a80>_0xf4decc&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x5e8a80;}['point'](_0x7ef7fd,_0x5b5cb8,_0x2ee5cf){if(_0x7ef7fd<_0x5b5cb8||_0x2ee5cf['heightRelevant']){let _0x2f402d=_0x2ee5cf['widget']?_0x2ee5cf['widget']['estimatedHeight']:0x0,_0x598a71=_0x2ee5cf['widget']?_0x2ee5cf['widget']['lineBreaks']:0x0;_0x2f402d<0x0&&(_0x2f402d=this['oracle']['lineHeight']);let _0x109954=_0x5b5cb8-_0x7ef7fd;_0x2ee5cf['block']?this['addBlock'](new HeightMapBlock(_0x109954,_0x2f402d,_0x2ee5cf)):(_0x109954||_0x598a71||_0x2f402d>=relevantWidgetHeight)&&this['addLineDeco'](_0x2f402d,_0x598a71,_0x109954);}else _0x5b5cb8>_0x7ef7fd&&this['span'](_0x7ef7fd,_0x5b5cb8);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x1bc7c5,to:_0x2b54af}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x1bc7c5,this['lineEnd']=_0x2b54af,this['writtenTo']<_0x1bc7c5&&((this['writtenTo']<_0x1bc7c5-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x1bc7c5-0x1)),this['nodes']['push'](null)),this['pos']>_0x1bc7c5&&this['nodes']['push'](new HeightMapText(this['pos']-_0x1bc7c5,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x559ab0,_0x786d1d){let _0x11a0b0=new HeightMapGap(_0x786d1d-_0x559ab0);return this['oracle']['doc']['lineAt'](_0x559ab0)['to']==_0x786d1d&&(_0x11a0b0['flags']|=0x4),_0x11a0b0;}['ensureLine'](){this['enterLine']();let _0x41c447=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x41c447 instanceof HeightMapText)return _0x41c447;let _0x29f1e7=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x29f1e7),_0x29f1e7;}['addBlock'](_0x3b782c){this['enterLine']();let _0x42cd2c=_0x3b782c['deco'];_0x42cd2c&&_0x42cd2c['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x3b782c),this['writtenTo']=this['pos']=this['pos']+_0x3b782c['length'],_0x42cd2c&&_0x42cd2c['endSide']>0x0&&(this['covering']=_0x3b782c);}['addLineDeco'](_0x39ce4a,_0x2a8bfe,_0x3f0c13){let _0x55b560=this['ensureLine']();_0x55b560['length']+=_0x3f0c13,_0x55b560['collapsed']+=_0x3f0c13,_0x55b560['widgetHeight']=Math['max'](_0x55b560['widgetHeight'],_0x39ce4a),_0x55b560['breaks']+=_0x2a8bfe,this['writtenTo']=this['pos']=this['pos']+_0x3f0c13;}['finish'](_0x1e6657){let _0x24a85e=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x24a85e instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x24a85e)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x496736=_0x1e6657;for(let _0x4709f3 of this['nodes'])_0x4709f3 instanceof HeightMapText&&_0x4709f3['updateHeight'](this['oracle'],_0x496736),_0x496736+=_0x4709f3?_0x4709f3['length']:0x1;return this['nodes'];}static['build'](_0xe49f4f,_0x2a5478,_0x37f941,_0xbe0fb8){let _0x63a967=new NodeBuilder(_0x37f941,_0xe49f4f);return RangeSet['spans'](_0x2a5478,_0x37f941,_0xbe0fb8,_0x63a967,0x0),_0x63a967['finish'](_0x37f941);}}function heightRelevantDecoChanges(_0x87475a,_0x5f03cb,_0x4f8072){let _0x5c96c3=new DecorationComparator();return RangeSet['compare'](_0x87475a,_0x5f03cb,_0x4f8072,_0x5c96c3,0x0),_0x5c96c3['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x54c380,_0x3121c8,_0x42cc2e,_0x334839){(_0x54c380<_0x3121c8||_0x42cc2e&&_0x42cc2e['heightRelevant']||_0x334839&&_0x334839['heightRelevant'])&&addRange(_0x54c380,_0x3121c8,this['changes'],0x5);}}function visiblePixelRange(_0x3808f8,_0x59cbe7){let _0x29ec54=_0x3808f8['getBoundingClientRect'](),_0x16d3e1=_0x3808f8['ownerDocument'],_0x311fe3=_0x16d3e1['defaultView']||window,_0x29bfc3=Math['max'](0x0,_0x29ec54['left']),_0x5316de=Math['min'](_0x311fe3['innerWidth'],_0x29ec54['right']),_0x20e6df=Math['max'](0x0,_0x29ec54['top']),_0x2ee34d=Math['min'](_0x311fe3['innerHeight'],_0x29ec54['bottom']);for(let _0x2a39d0=_0x3808f8['parentNode'];_0x2a39d0&&_0x2a39d0!=_0x16d3e1['body'];)if(0x1==_0x2a39d0['nodeType']){let _0x5cedd6=_0x2a39d0,_0x19c510=window['getComputedStyle'](_0x5cedd6);if((_0x5cedd6['scrollHeight']>_0x5cedd6['clientHeight']||_0x5cedd6['scrollWidth']>_0x5cedd6['clientWidth'])&&'visible'!=_0x19c510['overflow']){let _0x1bfa1c=_0x5cedd6['getBoundingClientRect']();_0x29bfc3=Math['max'](_0x29bfc3,_0x1bfa1c['left']),_0x5316de=Math['min'](_0x5316de,_0x1bfa1c['right']),_0x20e6df=Math['max'](_0x20e6df,_0x1bfa1c['top']),_0x2ee34d=Math['min'](_0x2a39d0==_0x3808f8['parentNode']?_0x311fe3['innerHeight']:_0x2ee34d,_0x1bfa1c['bottom']);}_0x2a39d0='absolute'==_0x19c510['position']||'fixed'==_0x19c510['position']?_0x5cedd6['offsetParent']:_0x5cedd6['parentNode'];}else{if(0xb!=_0x2a39d0['nodeType'])break;_0x2a39d0=_0x2a39d0['host'];}return{'left':_0x29bfc3-_0x29ec54['left'],'right':Math['max'](_0x29bfc3,_0x5316de)-_0x29ec54['left'],'top':_0x20e6df-(_0x29ec54['top']+_0x59cbe7),'bottom':Math['max'](_0x20e6df,_0x2ee34d)-(_0x29ec54['top']+_0x59cbe7)};}function inWindow(_0x34b8a4){let _0x23976f=_0x34b8a4['getBoundingClientRect'](),_0x40e79c=_0x34b8a4['ownerDocument']['defaultView']||window;return _0x23976f['left']<_0x40e79c['innerWidth']&&_0x23976f['right']>0x0&&_0x23976f['top']<_0x40e79c['innerHeight']&&_0x23976f['bottom']>0x0;}function fullPixelRange(_0x104859,_0x1f9e5e){let _0x2bd6cc=_0x104859['getBoundingClientRect']();return{'left':0x0,'right':_0x2bd6cc['right']-_0x2bd6cc['left'],'top':_0x1f9e5e,'bottom':_0x2bd6cc['bottom']-(_0x2bd6cc['top']+_0x1f9e5e)};}class LineGap{constructor(_0x28aa10,_0x1c2ffb,_0x4d4d1d,_0x49dae4){this['from']=_0x28aa10,this['to']=_0x1c2ffb,this['size']=_0x4d4d1d,this['displaySize']=_0x49dae4;}static['same'](_0x25706d,_0xf50a49){if(_0x25706d['length']!=_0xf50a49['length'])return!0x1;for(let _0x5e5fbd=0x0;_0x5e5fbd<_0x25706d['length'];_0x5e5fbd++){let _0x132097=_0x25706d[_0x5e5fbd],_0x3248fe=_0xf50a49[_0x5e5fbd];if(_0x132097['from']!=_0x3248fe['from']||_0x132097['to']!=_0x3248fe['to']||_0x132097['size']!=_0x3248fe['size'])return!0x1;}return!0x0;}['draw'](_0x2d439f,_0x4a9105){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x4a9105?_0x2d439f['scaleY']:_0x2d439f['scaleX']),_0x4a9105)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x294adb,_0xc35bac){super(),this['size']=_0x294adb,this['vertical']=_0xc35bac;}['eq'](_0x49c2d1){return _0x49c2d1['size']==this['size']&&_0x49c2d1['vertical']==this['vertical'];}['toDOM'](){let _0x26fb94=document['createElement']('div');return this['vertical']?_0x26fb94['style']['height']=this['size']+'px':(_0x26fb94['style']['width']=this['size']+'px',_0x26fb94['style']['height']='2px',_0x26fb94['style']['display']='inline-block'),_0x26fb94;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x2fd3de){this['state']=_0x2fd3de,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scrollTop']=0x0,this['scrolledToBottom']=!0x1,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=IdScaler,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x3aa4a1=_0x2fd3de['facet'](contentAttributes)['some'](_0x3d04db=>'function'!=typeof _0x3d04db&&'cm-lineWrapping'==_0x3d04db['class']);this['heightOracle']=new HeightOracle(_0x3aa4a1),this['stateDeco']=_0x2fd3de['facet'](decorations)['filter'](_0x445195=>'function'!=typeof _0x445195),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x2fd3de['doc']),[new ChangedRange(0x0,0x0,0x0,_0x2fd3de['doc']['length'])]);for(let _0x375981=0x0;_0x375981<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x375981++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0xa26eb8=>_0xa26eb8['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x228362=[this['viewport']],{main:_0x32a389}=this['state']['selection'];for(let _0x311a81=0x0;_0x311a81<=0x1;_0x311a81++){let _0x313336=_0x311a81?_0x32a389['head']:_0x32a389['anchor'];if(!_0x228362['some'](({from:_0x293fa4,to:_0x2afbdb})=>_0x313336>=_0x293fa4&&_0x313336<=_0x2afbdb)){let {from:_0x48ebcc,to:_0x29c0c8}=this['lineBlockAt'](_0x313336);_0x228362['push'](new Viewport(_0x48ebcc,_0x29c0c8));}}return this['viewports']=_0x228362['sort']((_0x5dadf4,_0x4aee8c)=>_0x5dadf4['from']-_0x4aee8c['from']),this['updateScaler']();}['updateScaler'](){let _0x5710b2=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?IdScaler:new BigScaler(this['heightOracle'],this['heightMap'],this['viewports']),_0x5710b2['eq'](this['scaler'])?0x0:0x2;}['updateViewportLines'](){this['viewportLines']=[],this['heightMap']['forEachLine'](this['viewport']['from'],this['viewport']['to'],this['heightOracle']['setDoc'](this['state']['doc']),0x0,0x0,_0x1eaff4=>{this['viewportLines']['push'](scaleBlock(_0x1eaff4,this['scaler']));});}['update'](_0x4434d3,_0x589a4d=null){this['state']=_0x4434d3['state'];let _0x594672=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x98fbe8=>'function'!=typeof _0x98fbe8);let _0x49bdf6=_0x4434d3['changedRanges'],_0x152bc9=ChangedRange['extendWithRanges'](_0x49bdf6,heightRelevantDecoChanges(_0x594672,this['stateDeco'],_0x4434d3?_0x4434d3['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0xd61cc4=this['heightMap']['height'],_0x488e9e=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x4434d3['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x152bc9),(this['heightMap']['height']!=_0xd61cc4||heightChangeFlag)&&(_0x4434d3['flags']|=0x2),_0x488e9e?(this['scrollAnchorPos']=_0x4434d3['changes']['mapPos'](_0x488e9e['from'],-0x1),this['scrollAnchorHeight']=_0x488e9e['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=this['heightMap']['height']);let _0x4716c5=_0x152bc9['length']?this['mapViewport'](this['viewport'],_0x4434d3['changes']):this['viewport'];(_0x589a4d&&(_0x589a4d['range']['head']<_0x4716c5['from']||_0x589a4d['range']['head']>_0x4716c5['to'])||!this['viewportIsAppropriate'](_0x4716c5))&&(_0x4716c5=this['getViewport'](0x0,_0x589a4d));let _0x315098=_0x4716c5['from']!=this['viewport']['from']||_0x4716c5['to']!=this['viewport']['to'];this['viewport']=_0x4716c5,_0x4434d3['flags']|=this['updateForViewport'](),(_0x315098||!_0x4434d3['changes']['empty']||0x2&_0x4434d3['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x4434d3['changes']))),_0x4434d3['flags']|=this['computeVisibleRanges'](_0x4434d3['changes']),_0x589a4d&&(this['scrollTarget']=_0x589a4d),!this['mustEnforceCursorAssoc']&&_0x4434d3['selectionSet']&&_0x4434d3['view']['lineWrapping']&&_0x4434d3['state']['selection']['main']['empty']&&_0x4434d3['state']['selection']['main']['assoc']&&!_0x4434d3['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0xe74929){let _0x5826a2=_0xe74929['contentDOM'],_0x11547c=window['getComputedStyle'](_0x5826a2),_0x262082=this['heightOracle'],_0x8fc6b2=_0x11547c['whiteSpace'];this['defaultTextDirection']='rtl'==_0x11547c['direction']?Direction['RTL']:Direction['LTR'];let _0x2c35f3=this['heightOracle']['mustRefreshForWrapping'](_0x8fc6b2),_0x5081b2=_0x5826a2['getBoundingClientRect'](),_0x312cbb=_0x2c35f3||this['mustMeasureContent']||this['contentDOMHeight']!=_0x5081b2['height'];this['contentDOMHeight']=_0x5081b2['height'],this['mustMeasureContent']=!0x1;let _0x14ad48=0x0,_0x9e850=0x0;if(_0x5081b2['width']&&_0x5081b2['height']){let {scaleX:_0x2af7bb,scaleY:_0x42f4a0}=getScale(_0x5826a2,_0x5081b2);(_0x2af7bb>0.005&&Math['abs'](this['scaleX']-_0x2af7bb)>0.005||_0x42f4a0>0.005&&Math['abs'](this['scaleY']-_0x42f4a0)>0.005)&&(this['scaleX']=_0x2af7bb,this['scaleY']=_0x42f4a0,_0x14ad48|=0x10,_0x2c35f3=_0x312cbb=!0x0);}let _0x3dcf7b=(parseInt(_0x11547c['paddingTop'])||0x0)*this['scaleY'],_0x78782b=(parseInt(_0x11547c['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x3dcf7b&&this['paddingBottom']==_0x78782b||(this['paddingTop']=_0x3dcf7b,this['paddingBottom']=_0x78782b,_0x14ad48|=0x12),this['editorWidth']!=_0xe74929['scrollDOM']['clientWidth']&&(_0x262082['lineWrapping']&&(_0x312cbb=!0x0),this['editorWidth']=_0xe74929['scrollDOM']['clientWidth'],_0x14ad48|=0x10);let _0x5528ba=_0xe74929['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x5528ba&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x5528ba),this['scrolledToBottom']=isScrolledToBottom(_0xe74929['scrollDOM']);let _0x594596=(this['printing']?fullPixelRange:visiblePixelRange)(_0x5826a2,this['paddingTop']),_0x2e3249=_0x594596['top']-this['pixelViewport']['top'],_0x340711=_0x594596['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x594596;let _0x4a4f3d=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x4a4f3d!=this['inView']&&(this['inView']=_0x4a4f3d,_0x4a4f3d&&(_0x312cbb=!0x0)),!this['inView']&&!this['scrollTarget']&&!inWindow(_0xe74929['dom']))return 0x0;let _0x1a9d78=_0x5081b2['width'];if(this['contentDOMWidth']==_0x1a9d78&&this['editorHeight']==_0xe74929['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x5081b2['width'],this['editorHeight']=_0xe74929['scrollDOM']['clientHeight'],_0x14ad48|=0x10),_0x312cbb){let _0x10c404=_0xe74929['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x262082['mustRefreshForHeights'](_0x10c404)&&(_0x2c35f3=!0x0),_0x2c35f3||_0x262082['lineWrapping']&&Math['abs'](_0x1a9d78-this['contentDOMWidth'])>_0x262082['charWidth']){let {lineHeight:_0x6f6e0d,charWidth:_0x3710b0,textHeight:_0x2dab7b}=_0xe74929['docView']['measureTextSize']();_0x2c35f3=_0x6f6e0d>0x0&&_0x262082['refresh'](_0x8fc6b2,_0x6f6e0d,_0x3710b0,_0x2dab7b,_0x1a9d78/_0x3710b0,_0x10c404),_0x2c35f3&&(_0xe74929['docView']['minWidth']=0x0,_0x14ad48|=0x10);}_0x2e3249>0x0&&_0x340711>0x0?_0x9e850=Math['max'](_0x2e3249,_0x340711):_0x2e3249<0x0&&_0x340711<0x0&&(_0x9e850=Math['min'](_0x2e3249,_0x340711)),clearHeightChangeFlag();for(let _0x31d32f of this['viewports']){let _0x36c254=_0x31d32f['from']==this['viewport']['from']?_0x10c404:_0xe74929['docView']['measureVisibleLineHeights'](_0x31d32f);this['heightMap']=(_0x2c35f3?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new ChangedRange(0x0,0x0,0x0,_0xe74929['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x262082,0x0,_0x2c35f3,new MeasuredHeights(_0x31d32f['from'],_0x36c254));}heightChangeFlag&&(_0x14ad48|=0x2);}let _0x52f287=!this['viewportIsAppropriate'](this['viewport'],_0x9e850)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x52f287&&(0x2&_0x14ad48&&(_0x14ad48|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x9e850,this['scrollTarget']),_0x14ad48|=this['updateForViewport']()),(0x2&_0x14ad48||_0x52f287)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x2c35f3?[]:this['lineGaps'],_0xe74929)),_0x14ad48|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0xe74929['docView']['enforceCursorAssoc']()),_0x14ad48;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x49d662,_0x16863d){let _0x1ae2da=0.5-Math['max'](-0.5,Math['min'](0.5,_0x49d662/0x3e8/0x2)),_0x4b7e00=this['heightMap'],_0x24b273=this['heightOracle'],{visibleTop:_0x4a95d9,visibleBottom:_0x1dfcfc}=this,_0x4940e6=new Viewport(_0x4b7e00['lineAt'](_0x4a95d9-0x3e8*_0x1ae2da,QueryType['ByHeight'],_0x24b273,0x0,0x0)['from'],_0x4b7e00['lineAt'](_0x1dfcfc+0x3e8*(0x1-_0x1ae2da),QueryType['ByHeight'],_0x24b273,0x0,0x0)['to']);if(_0x16863d){let {head:_0x347624}=_0x16863d['range'];if(_0x347624<_0x4940e6['from']||_0x347624>_0x4940e6['to']){let _0x2d3dd3,_0x32196c=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x3d8c61=_0x4b7e00['lineAt'](_0x347624,QueryType['ByPos'],_0x24b273,0x0,0x0);_0x2d3dd3='center'==_0x16863d['y']?(_0x3d8c61['top']+_0x3d8c61['bottom'])/0x2-_0x32196c/0x2:'start'==_0x16863d['y']||'nearest'==_0x16863d['y']&&_0x347624<_0x4940e6['from']?_0x3d8c61['top']:_0x3d8c61['bottom']-_0x32196c,_0x4940e6=new Viewport(_0x4b7e00['lineAt'](_0x2d3dd3-0x1f4,QueryType['ByHeight'],_0x24b273,0x0,0x0)['from'],_0x4b7e00['lineAt'](_0x2d3dd3+_0x32196c+0x1f4,QueryType['ByHeight'],_0x24b273,0x0,0x0)['to']);}}return _0x4940e6;}['mapViewport'](_0x32eb2e,_0x2a214b){let _0x37c8fd=_0x2a214b['mapPos'](_0x32eb2e['from'],-0x1),_0xf652f8=_0x2a214b['mapPos'](_0x32eb2e['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x37c8fd,QueryType['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0xf652f8,QueryType['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x41fac3,to:_0x2548f},_0x4bb6d8=0x0){if(!this['inView'])return!0x0;let {top:_0x12acd3}=this['heightMap']['lineAt'](_0x41fac3,QueryType['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x43cffc}=this['heightMap']['lineAt'](_0x2548f,QueryType['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0xded9e8,visibleBottom:_0x19aab4}=this;return(0x0==_0x41fac3||_0x12acd3<=_0xded9e8-Math['max'](0xa,Math['min'](-_0x4bb6d8,0xfa)))&&(_0x2548f==this['state']['doc']['length']||_0x43cffc>=_0x19aab4+Math['max'](0xa,Math['min'](_0x4bb6d8,0xfa)))&&_0x12acd3>_0xded9e8-0x7d0&&_0x43cffc<_0x19aab4+0x7d0;}['mapLineGaps'](_0x15d5c0,_0x3df301){if(!_0x15d5c0['length']||_0x3df301['empty'])return _0x15d5c0;let _0x2512d2=[];for(let _0x1f9e33 of _0x15d5c0)_0x3df301['touchesRange'](_0x1f9e33['from'],_0x1f9e33['to'])||_0x2512d2['push'](new LineGap(_0x3df301['mapPos'](_0x1f9e33['from']),_0x3df301['mapPos'](_0x1f9e33['to']),_0x1f9e33['size'],_0x1f9e33['displaySize']));return _0x2512d2;}['ensureLineGaps'](_0x5baf8e,_0x3d2660){let _0x2115f7=this['heightOracle']['lineWrapping'],_0x418e44=_0x2115f7?0x2710:0x7d0,_0x332f0a=_0x418e44>>0x1,_0x355c85=_0x418e44<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x2115f7)return[];let _0xab7f3e=[],_0x8c3b3b=(_0x4e4ba5,_0x4c1199,_0x38df94,_0x2cd485)=>{if(_0x4c1199-_0x4e4ba5<_0x332f0a)return;let _0x5b7bc7=this['state']['selection']['main'],_0x38385e=[_0x5b7bc7['from']];_0x5b7bc7['empty']||_0x38385e['push'](_0x5b7bc7['to']);for(let _0x3f677a of _0x38385e)if(_0x3f677a>_0x4e4ba5&&_0x3f677a<_0x4c1199)return _0x8c3b3b(_0x4e4ba5,_0x3f677a-0xa,_0x38df94,_0x2cd485),void _0x8c3b3b(_0x3f677a+0xa,_0x4c1199,_0x38df94,_0x2cd485);let _0x242b3d=find(_0x5baf8e,_0x10d3ec=>_0x10d3ec['from']>=_0x38df94['from']&&_0x10d3ec['to']<=_0x38df94['to']&&Math['abs'](_0x10d3ec['from']-_0x4e4ba5)<_0x332f0a&&Math['abs'](_0x10d3ec['to']-_0x4c1199)<_0x332f0a&&!_0x38385e['some'](_0x559f98=>_0x10d3ec['from']<_0x559f98&&_0x10d3ec['to']>_0x559f98));if(!_0x242b3d){if(_0x4c1199<_0x38df94['to']&&_0x3d2660&&_0x2115f7&&_0x3d2660['visibleRanges']['some'](_0x5738d2=>_0x5738d2['from']<=_0x4c1199&&_0x5738d2['to']>=_0x4c1199)){let _0x4452a6=_0x3d2660['moveToLineBoundary'](EditorSelection['cursor'](_0x4c1199),!0x1,!0x0)['head'];_0x4452a6>_0x4e4ba5&&(_0x4c1199=_0x4452a6);}let _0x4405ea=this['gapSize'](_0x38df94,_0x4e4ba5,_0x4c1199,_0x2cd485);_0x242b3d=new LineGap(_0x4e4ba5,_0x4c1199,_0x4405ea,_0x2115f7||_0x4405ea<0x1e8480?_0x4405ea:0x1e8480);}_0xab7f3e['push'](_0x242b3d);},_0x112377=_0x37bc88=>{if(_0x37bc88['length']<_0x355c85||_0x37bc88['type']!=BlockType['Text'])return;let _0x126ed2=lineStructure(_0x37bc88['from'],_0x37bc88['to'],this['stateDeco']);if(_0x126ed2['total']<_0x355c85)return;let _0x10d9bb,_0x2bac26,_0x392363=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x2115f7){let _0x2e4423,_0x503a64,_0x348226=_0x418e44/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x392363){let _0x25b32=findFraction(_0x126ed2,_0x392363),_0x5c8741=((this['visibleBottom']-this['visibleTop'])/0x2+_0x348226)/_0x37bc88['height'];_0x2e4423=_0x25b32-_0x5c8741,_0x503a64=_0x25b32+_0x5c8741;}else _0x2e4423=(this['visibleTop']-_0x37bc88['top']-_0x348226)/_0x37bc88['height'],_0x503a64=(this['visibleBottom']-_0x37bc88['top']+_0x348226)/_0x37bc88['height'];_0x10d9bb=findPosition(_0x126ed2,_0x2e4423),_0x2bac26=findPosition(_0x126ed2,_0x503a64);}else{let _0x261d70=_0x126ed2['total']*this['heightOracle']['charWidth'],_0x44e9c3=_0x418e44*this['heightOracle']['charWidth'],_0x6b0f83=0x0;if(_0x261d70>0x1e8480){for(let _0x420ada of _0x5baf8e)_0x420ada['from']>=_0x37bc88['from']&&_0x420ada['from']<_0x37bc88['to']&&_0x420ada['size']!=_0x420ada['displaySize']&&_0x420ada['from']*this['heightOracle']['charWidth']+_0x6b0f83<this['pixelViewport']['left']&&(_0x6b0f83=_0x420ada['size']-_0x420ada['displaySize']);}let _0xe0fb8b,_0x37bba2,_0xdc104b=this['pixelViewport']['left']+_0x6b0f83,_0x5caa88=this['pixelViewport']['right']+_0x6b0f83;if(null!=_0x392363){let _0x471fd8=findFraction(_0x126ed2,_0x392363),_0x2bb74e=((_0x5caa88-_0xdc104b)/0x2+_0x44e9c3)/_0x261d70;_0xe0fb8b=_0x471fd8-_0x2bb74e,_0x37bba2=_0x471fd8+_0x2bb74e;}else _0xe0fb8b=(_0xdc104b-_0x44e9c3)/_0x261d70,_0x37bba2=(_0x5caa88+_0x44e9c3)/_0x261d70;_0x10d9bb=findPosition(_0x126ed2,_0xe0fb8b),_0x2bac26=findPosition(_0x126ed2,_0x37bba2);}_0x10d9bb>_0x37bc88['from']&&_0x8c3b3b(_0x37bc88['from'],_0x10d9bb,_0x37bc88,_0x126ed2),_0x2bac26<_0x37bc88['to']&&_0x8c3b3b(_0x2bac26,_0x37bc88['to'],_0x37bc88,_0x126ed2);};for(let _0x1f0419 of this['viewportLines'])Array['isArray'](_0x1f0419['type'])?_0x1f0419['type']['forEach'](_0x112377):_0x112377(_0x1f0419);return _0xab7f3e;}['gapSize'](_0x349062,_0x1f3510,_0x4d1187,_0x537b5a){let _0x1f5e8e=findFraction(_0x537b5a,_0x4d1187)-findFraction(_0x537b5a,_0x1f3510);return this['heightOracle']['lineWrapping']?_0x349062['height']*_0x1f5e8e:_0x537b5a['total']*this['heightOracle']['charWidth']*_0x1f5e8e;}['updateLineGaps'](_0xbe648c){LineGap['same'](_0xbe648c,this['lineGaps'])||(this['lineGaps']=_0xbe648c,this['lineGapDeco']=Decoration['set'](_0xbe648c['map'](_0x48a532=>_0x48a532['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x483eca){let _0x2f9587=this['stateDeco'];this['lineGaps']['length']&&(_0x2f9587=_0x2f9587['concat'](this['lineGapDeco']));let _0x44b434=[];RangeSet['spans'](_0x2f9587,this['viewport']['from'],this['viewport']['to'],{'span'(_0x46e82f,_0x1f1fae){_0x44b434['push']({'from':_0x46e82f,'to':_0x1f1fae});},'point'(){}},0x14);let _0x38f024=0x0;if(_0x44b434['length']!=this['visibleRanges']['length'])_0x38f024=0xc;else for(let _0x5f4dc8=0x0;_0x5f4dc8<_0x44b434['length']&&!(0x8&_0x38f024);_0x5f4dc8++){let _0x18787c=this['visibleRanges'][_0x5f4dc8],_0x3da7a6=_0x44b434[_0x5f4dc8];_0x18787c['from']==_0x3da7a6['from']&&_0x18787c['to']==_0x3da7a6['to']||(_0x38f024|=0x4,_0x483eca&&_0x483eca['mapPos'](_0x18787c['from'],-0x1)==_0x3da7a6['from']&&_0x483eca['mapPos'](_0x18787c['to'],0x1)==_0x3da7a6['to']||(_0x38f024|=0x8));}return this['visibleRanges']=_0x44b434,_0x38f024;}['lineBlockAt'](_0x152317){return _0x152317>=this['viewport']['from']&&_0x152317<=this['viewport']['to']&&this['viewportLines']['find'](_0x11d3c5=>_0x11d3c5['from']<=_0x152317&&_0x11d3c5['to']>=_0x152317)||scaleBlock(this['heightMap']['lineAt'](_0x152317,QueryType['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x13e4e8){return _0x13e4e8>=this['viewportLines'][0x0]['top']&&_0x13e4e8<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0xa248b8=>_0xa248b8['top']<=_0x13e4e8&&_0xa248b8['bottom']>=_0x13e4e8)||scaleBlock(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x13e4e8),QueryType['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x4dfa0e){let _0x9abf0d=this['lineBlockAtHeight'](_0x4dfa0e+0x8);return _0x9abf0d['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x4dfa0e>0xc8?_0x9abf0d:this['viewportLines'][0x0];}['elementAtHeight'](_0x1d443e){return scaleBlock(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x1d443e),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}}class Viewport{constructor(_0x204844,_0xd07f0e){this['from']=_0x204844,this['to']=_0xd07f0e;}}function lineStructure(_0x31322b,_0x2bd487,_0x39e862){let _0x286720=[],_0x452804=_0x31322b,_0x12716c=0x0;return RangeSet['spans'](_0x39e862,_0x31322b,_0x2bd487,{'span'(){},'point'(_0x5180df,_0x16f1c5){_0x5180df>_0x452804&&(_0x286720['push']({'from':_0x452804,'to':_0x5180df}),_0x12716c+=_0x5180df-_0x452804),_0x452804=_0x16f1c5;}},0x14),_0x452804<_0x2bd487&&(_0x286720['push']({'from':_0x452804,'to':_0x2bd487}),_0x12716c+=_0x2bd487-_0x452804),{'total':_0x12716c,'ranges':_0x286720};}function findPosition({total:_0x538c03,ranges:_0x5439fa},_0x18cbe0){if(_0x18cbe0<=0x0)return _0x5439fa[0x0]['from'];if(_0x18cbe0>=0x1)return _0x5439fa[_0x5439fa['length']-0x1]['to'];let _0x2180ed=Math['floor'](_0x538c03*_0x18cbe0);for(let _0x19d2a7=0x0;;_0x19d2a7++){let {from:_0xb3a807,to:_0x483522}=_0x5439fa[_0x19d2a7],_0x770b77=_0x483522-_0xb3a807;if(_0x2180ed<=_0x770b77)return _0xb3a807+_0x2180ed;_0x2180ed-=_0x770b77;}}function findFraction(_0x1b7549,_0x1bbb34){let _0x37cb11=0x0;for(let {from:_0x1250f9,to:_0x3d85fb}of _0x1b7549['ranges']){if(_0x1bbb34<=_0x3d85fb){_0x37cb11+=_0x1bbb34-_0x1250f9;break;}_0x37cb11+=_0x3d85fb-_0x1250f9;}return _0x37cb11/_0x1b7549['total'];}function find(_0x4355df,_0x5587e4){for(let _0x384385 of _0x4355df)if(_0x5587e4(_0x384385))return _0x384385;}const IdScaler={'toDOM':_0x37e131=>_0x37e131,'fromDOM':_0x5a539c=>_0x5a539c,'scale':0x1,'eq'(_0x3c2534){return _0x3c2534==this;}};class BigScaler{constructor(_0x478947,_0x1d6fbd,_0x2be3cb){let _0x382003=0x0,_0x1dd07b=0x0,_0x155ff5=0x0;this['viewports']=_0x2be3cb['map'](({from:_0x91c352,to:_0x382ace})=>{let _0x5d4811=_0x1d6fbd['lineAt'](_0x91c352,QueryType['ByPos'],_0x478947,0x0,0x0)['top'],_0x5219f6=_0x1d6fbd['lineAt'](_0x382ace,QueryType['ByPos'],_0x478947,0x0,0x0)['bottom'];return _0x382003+=_0x5219f6-_0x5d4811,{'from':_0x91c352,'to':_0x382ace,'top':_0x5d4811,'bottom':_0x5219f6,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x382003)/(_0x1d6fbd['height']-_0x382003);for(let _0x3bbb48 of this['viewports'])_0x3bbb48['domTop']=_0x155ff5+(_0x3bbb48['top']-_0x1dd07b)*this['scale'],_0x155ff5=_0x3bbb48['domBottom']=_0x3bbb48['domTop']+(_0x3bbb48['bottom']-_0x3bbb48['top']),_0x1dd07b=_0x3bbb48['bottom'];}['toDOM'](_0x2c07c0){for(let _0x5d3a60=0x0,_0x53019e=0x0,_0x3ab34b=0x0;;_0x5d3a60++){let _0x3e301f=_0x5d3a60<this['viewports']['length']?this['viewports'][_0x5d3a60]:null;if(!_0x3e301f||_0x2c07c0<_0x3e301f['top'])return _0x3ab34b+(_0x2c07c0-_0x53019e)*this['scale'];if(_0x2c07c0<=_0x3e301f['bottom'])return _0x3e301f['domTop']+(_0x2c07c0-_0x3e301f['top']);_0x53019e=_0x3e301f['bottom'],_0x3ab34b=_0x3e301f['domBottom'];}}['fromDOM'](_0x45abfe){for(let _0x2941d1=0x0,_0x3ca745=0x0,_0x143ede=0x0;;_0x2941d1++){let _0x2ebffe=_0x2941d1<this['viewports']['length']?this['viewports'][_0x2941d1]:null;if(!_0x2ebffe||_0x45abfe<_0x2ebffe['domTop'])return _0x3ca745+(_0x45abfe-_0x143ede)/this['scale'];if(_0x45abfe<=_0x2ebffe['domBottom'])return _0x2ebffe['top']+(_0x45abfe-_0x2ebffe['domTop']);_0x3ca745=_0x2ebffe['bottom'],_0x143ede=_0x2ebffe['domBottom'];}}['eq'](_0x3a2ddb){return _0x3a2ddb instanceof BigScaler&&(this['scale']==_0x3a2ddb['scale']&&this['viewports']['length']==_0x3a2ddb['viewports']['length']&&this['viewports']['every']((_0x17771c,_0x530168)=>_0x17771c['from']==_0x3a2ddb['viewports'][_0x530168]['from']&&_0x17771c['to']==_0x3a2ddb['viewports'][_0x530168]['to']));}}function scaleBlock(_0x359d8,_0x3e1224){if(0x1==_0x3e1224['scale'])return _0x359d8;let _0x1b4b91=_0x3e1224['toDOM'](_0x359d8['top']),_0xe4198e=_0x3e1224['toDOM'](_0x359d8['bottom']);return new BlockInfo(_0x359d8['from'],_0x359d8['length'],_0x1b4b91,_0xe4198e-_0x1b4b91,Array['isArray'](_0x359d8['_content'])?_0x359d8['_content']['map'](_0x5f02b4=>scaleBlock(_0x5f02b4,_0x3e1224)):_0x359d8['_content']);}const theme=Facet['define']({'combine':_0x467237=>_0x467237['join']('\x20')}),darkTheme=Facet['define']({'combine':_0x1d99e5=>_0x1d99e5['indexOf'](!0x0)>-0x1}),baseThemeID=StyleModule['newName'](),baseLightID=StyleModule['newName'](),baseDarkID=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+baseDarkID};function buildTheme(_0x2a9f16,_0x263e82,_0x482d5e){return new StyleModule(_0x263e82,{'finish':_0x27dde0=>/&/['test'](_0x27dde0)?_0x27dde0['replace'](/&\w*/,_0x5a0292=>{if('&'==_0x5a0292)return _0x2a9f16;if(!_0x482d5e||!_0x482d5e[_0x5a0292])throw new RangeError('Unsupported\x20selector:\x20'+_0x5a0292);return _0x482d5e[_0x5a0292];}):_0x2a9f16+'\x20'+_0x27dde0});}const baseTheme$1$1=buildTheme('.'+baseThemeID,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','insetInlineStart':0x0,'zIndex':0xc8},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','borderRight':'1px\x20solid\x20#ddd'},'&dark\x20.cm-gutters':{'backgroundColor':'#333338','color':'#ccc'},'.cm-gutter':{'display':'flex\x20!important','flexDirection':'column','flexShrink':0x0,'boxSizing':'border-box','minHeight':'100%','overflow':'hidden'},'.cm-gutterElement':{'boxSizing':'border-box'},'.cm-lineNumbers\x20.cm-gutterElement':{'padding':'0\x203px\x200\x205px','minWidth':'20px','textAlign':'right','whiteSpace':'nowrap'},'&light\x20.cm-activeLineGutter':{'backgroundColor':'#e2f2ff'},'&dark\x20.cm-activeLineGutter':{'backgroundColor':'#222227'},'.cm-panels':{'boxSizing':'border-box','position':'sticky','left':0x0,'right':0x0,'zIndex':0x12c},'&light\x20.cm-panels':{'backgroundColor':'#f5f5f5','color':'black'},'&light\x20.cm-panels-top':{'borderBottom':'1px\x20solid\x20#ddd'},'&light\x20.cm-panels-bottom':{'borderTop':'1px\x20solid\x20#ddd'},'&dark\x20.cm-panels':{'backgroundColor':'#333338','color':'white'},'.cm-tab':{'display':'inline-block','overflow':'hidden','verticalAlign':'bottom'},'.cm-widgetBuffer':{'verticalAlign':'text-top','height':'1em','width':0x0,'display':'inline'},'.cm-placeholder':{'color':'#888','display':'inline-block','verticalAlign':'top'},'.cm-highlightSpace':{'backgroundImage':'radial-gradient(circle\x20at\x2050%\x2055%,\x20#aaa\x2020%,\x20transparent\x205%)','backgroundPosition':'center'},'.cm-highlightTab':{'backgroundImage':'url(\x27data:image/svg+xml,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x22200\x22\x20height=\x2220\x22><path\x20stroke=\x22%23888\x22\x20stroke-width=\x221\x22\x20fill=\x22none\x22\x20d=\x22M1\x2010H196L190\x205M190\x2015L196\x2010M197\x204L197\x2016\x22/></svg>\x27)','backgroundSize':'auto\x20100%','backgroundPosition':'right\x2090%','backgroundRepeat':'no-repeat'},'.cm-trailingSpace':{'backgroundColor':'#ff332255'},'.cm-button':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','padding':'.2em\x201em','borderRadius':'1px'},'&light\x20.cm-button':{'backgroundImage':'linear-gradient(#eff1f5,\x20#d9d9df)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#b4b4b4,\x20#d0d3d6)'}},'&dark\x20.cm-button':{'backgroundImage':'linear-gradient(#393939,\x20#111)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#111,\x20#333)'}},'.cm-textfield':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','border':'1px\x20solid\x20silver','padding':'.2em\x20.5em'},'&light\x20.cm-textfield':{'backgroundColor':'white'},'&dark\x20.cm-textfield':{'border':'1px\x20solid\x20#555','backgroundColor':'inherit'}},lightDarkIDs),observeOptions={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},useCharData=browser['ie']&&browser['ie_version']<=0xb;class DOMObserver{constructor(_0x4f286b){this['view']=_0x4f286b,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new DOMSelectionState(),this['selectionChanged']=!0x1,this['delayedFlush']=-0x1,this['resizeTimeout']=-0x1,this['queue']=[],this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1,this['lastChange']=0x0,this['scrollTargets']=[],this['intersection']=null,this['resizeScroll']=null,this['intersecting']=!0x1,this['gapIntersection']=null,this['gaps']=[],this['printQuery']=null,this['parentCheck']=-0x1,this['dom']=_0x4f286b['contentDOM'],this['observer']=new MutationObserver(_0x159f3e=>{for(let _0x1e4576 of _0x159f3e)this['queue']['push'](_0x1e4576);(browser['ie']&&browser['ie_version']<=0xb||browser['ios']&&_0x4f286b['composing'])&&_0x159f3e['some'](_0x45f5a8=>'childList'==_0x45f5a8['type']&&_0x45f5a8['removedNodes']['length']||'characterData'==_0x45f5a8['type']&&_0x45f5a8['oldValue']['length']>_0x45f5a8['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!0x1===_0x4f286b['constructor']['EDIT_CONTEXT']||browser['chrome']&&browser['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x4f286b),_0x4f286b['state']['facet'](editable)&&(_0x4f286b['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x3424b1=>{this['queue']['push']({'target':_0x3424b1['target'],'type':'characterData','oldValue':_0x3424b1['prevValue']}),this['flushSoon']();}),this['onSelectionChange']=this['onSelectionChange']['bind'](this),this['onResize']=this['onResize']['bind'](this),this['onPrint']=this['onPrint']['bind'](this),this['onScroll']=this['onScroll']['bind'](this),window['matchMedia']&&(this['printQuery']=window['matchMedia']('print')),'function'==typeof ResizeObserver&&(this['resizeScroll']=new ResizeObserver(()=>{var _0x40c0eb;(null===(_0x40c0eb=this['view']['docView'])||void 0x0===_0x40c0eb?void 0x0:_0x40c0eb['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x4f286b['scrollDOM'])),this['addWindowListeners'](this['win']=_0x4f286b['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0xfeb2fe=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0xfeb2fe['length']>0x0&&_0xfeb2fe[_0xfeb2fe['length']-0x1]['intersectionRatio']>0x0!=this['intersecting']&&(this['intersecting']=!this['intersecting'],this['intersecting']!=this['view']['inView']&&this['onScrollChanged'](document['createEvent']('Event')));},{'threshold':[0x0,0.001]}),this['intersection']['observe'](this['dom']),this['gapIntersection']=new IntersectionObserver(_0x15cb58=>{_0x15cb58['length']>0x0&&_0x15cb58[_0x15cb58['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x1e52ad){this['view']['inputState']['runHandlers']('scroll',_0x1e52ad),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x50eced){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x50eced);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x41e715){('change'!=_0x41e715['type']&&_0x41e715['type']||_0x41e715['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x59f309){if(this['gapIntersection']&&(_0x59f309['length']!=this['gaps']['length']||this['gaps']['some']((_0x5c293f,_0x3115c7)=>_0x5c293f!=_0x59f309[_0x3115c7]))){this['gapIntersection']['disconnect']();for(let _0x8f189e of _0x59f309)this['gapIntersection']['observe'](_0x8f189e);this['gaps']=_0x59f309;}}['onSelectionChange'](_0x4ab044){let _0x422ad2=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x5af9a3}=this,_0x340936=this['selectionRange'];if(_0x5af9a3['state']['facet'](editable)?_0x5af9a3['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x340936))return;let _0x168c63=_0x340936['anchorNode']&&_0x5af9a3['docView']['nearest'](_0x340936['anchorNode']);_0x168c63&&_0x168c63['ignoreEvent'](_0x4ab044)?_0x422ad2||(this['selectionChanged']=!0x1):(browser['ie']&&browser['ie_version']<=0xb||browser['android']&&browser['chrome'])&&!_0x5af9a3['state']['selection']['main']['empty']&&_0x340936['focusNode']&&isEquivalentPosition(_0x340936['focusNode'],_0x340936['focusOffset'],_0x340936['anchorNode'],_0x340936['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x1ecbfe}=this,_0x3a1f46=getSelection(_0x1ecbfe['root']);if(!_0x3a1f46)return!0x1;let _0x1e78e9=browser['safari']&&0xb==_0x1ecbfe['root']['nodeType']&&_0x1ecbfe['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x3a1f46)||_0x3a1f46;if(!_0x1e78e9||this['selectionRange']['eq'](_0x1e78e9))return!0x1;let _0x1a34b3=hasSelection(this['dom'],_0x1e78e9);return _0x1a34b3&&!this['selectionChanged']&&_0x1ecbfe['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x1ecbfe['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x1e78e9)?(this['view']['inputState']['lastFocusTime']=0x0,_0x1ecbfe['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x1e78e9),_0x1a34b3&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x4af7ed,_0x305d05){this['selectionRange']['set'](_0x4af7ed['node'],_0x4af7ed['offset'],_0x305d05['node'],_0x305d05['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x148cd5=0x0,_0x225513=null;for(let _0x56cbcf=this['dom'];_0x56cbcf;)if(0x1==_0x56cbcf['nodeType'])!_0x225513&&_0x148cd5<this['scrollTargets']['length']&&this['scrollTargets'][_0x148cd5]==_0x56cbcf?_0x148cd5++:_0x225513||(_0x225513=this['scrollTargets']['slice'](0x0,_0x148cd5)),_0x225513&&_0x225513['push'](_0x56cbcf),_0x56cbcf=_0x56cbcf['assignedSlot']||_0x56cbcf['parentNode'];else{if(0xb!=_0x56cbcf['nodeType'])break;_0x56cbcf=_0x56cbcf['host'];}if(_0x148cd5<this['scrollTargets']['length']&&!_0x225513&&(_0x225513=this['scrollTargets']['slice'](0x0,_0x148cd5)),_0x225513){for(let _0x487b8e of this['scrollTargets'])_0x487b8e['removeEventListener']('scroll',this['onScroll']);for(let _0x59331b of this['scrollTargets']=_0x225513)_0x59331b['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x144789){if(!this['active'])return _0x144789();try{return this['stop'](),_0x144789();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],observeOptions),useCharData&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),useCharData&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x2824a4,_0x18396c){var _0x5d0df9;if(!this['delayedAndroidKey']){let _0x322429=()=>{let _0x967665=this['delayedAndroidKey'];_0x967665&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x967665['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x967665['force']&&dispatchKey(this['dom'],_0x967665['key'],_0x967665['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x322429);}this['delayedAndroidKey']&&'Enter'!=_0x2824a4||(this['delayedAndroidKey']={'key':_0x2824a4,'keyCode':_0x18396c,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x5d0df9=this['delayedAndroidKey'])||void 0x0===_0x5d0df9?void 0x0:_0x5d0df9['force'])});}['clearDelayedAndroidKey'](){this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1;}['flushSoon'](){this['delayedFlush']<0x0&&(this['delayedFlush']=this['view']['win']['requestAnimationFrame'](()=>{this['delayedFlush']=-0x1,this['flush']();}));}['forceFlush'](){this['delayedFlush']>=0x0&&(this['view']['win']['cancelAnimationFrame'](this['delayedFlush']),this['delayedFlush']=-0x1),this['flush']();}['pendingRecords'](){for(let _0x5629b6 of this['observer']['takeRecords']())this['queue']['push'](_0x5629b6);return this['queue'];}['processRecords'](){let _0x4b5694=this['pendingRecords']();_0x4b5694['length']&&(this['queue']=[]);let _0x16960e=-0x1,_0x3c032d=-0x1,_0x3b4fc7=!0x1;for(let _0x4e957c of _0x4b5694){let _0x5de1df=this['readMutation'](_0x4e957c);_0x5de1df&&(_0x5de1df['typeOver']&&(_0x3b4fc7=!0x0),-0x1==_0x16960e?{from:_0x16960e,to:_0x3c032d}=_0x5de1df:(_0x16960e=Math['min'](_0x5de1df['from'],_0x16960e),_0x3c032d=Math['max'](_0x5de1df['to'],_0x3c032d)));}return{'from':_0x16960e,'to':_0x3c032d,'typeOver':_0x3b4fc7};}['readChange'](){let {from:_0x191a4b,to:_0x17e0e8,typeOver:_0x1e9775}=this['processRecords'](),_0x20d1e7=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x191a4b<0x0&&!_0x20d1e7)return null;_0x191a4b>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x45ce9b=new DOMChange(this['view'],_0x191a4b,_0x17e0e8,_0x1e9775);return this['view']['docView']['domChanged']={'newSel':_0x45ce9b['newSel']?_0x45ce9b['newSel']['main']:null},_0x45ce9b;}['flush'](_0x164eba=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x164eba&&this['readSelectionRange']();let _0x545b01=this['readChange']();if(!_0x545b01)return this['view']['requestMeasure'](),!0x1;let _0x85465b=this['view']['state'],_0x11d686=applyDOMChange(this['view'],_0x545b01);return this['view']['state']==_0x85465b&&(_0x545b01['domChanged']||_0x545b01['newSel']&&!_0x545b01['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x11d686;}['readMutation'](_0x103e2e){let _0x33ba72=this['view']['docView']['nearest'](_0x103e2e['target']);if(!_0x33ba72||_0x33ba72['ignoreMutation'](_0x103e2e))return null;if(_0x33ba72['markDirty']('attributes'==_0x103e2e['type']),'attributes'==_0x103e2e['type']&&(_0x33ba72['flags']|=0x4),'childList'==_0x103e2e['type']){let _0x4e503a=findChild(_0x33ba72,_0x103e2e['previousSibling']||_0x103e2e['target']['previousSibling'],-0x1),_0x515759=findChild(_0x33ba72,_0x103e2e['nextSibling']||_0x103e2e['target']['nextSibling'],0x1);return{'from':_0x4e503a?_0x33ba72['posAfter'](_0x4e503a):_0x33ba72['posAtStart'],'to':_0x515759?_0x33ba72['posBefore'](_0x515759):_0x33ba72['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x103e2e['type']?{'from':_0x33ba72['posAtStart'],'to':_0x33ba72['posAtEnd'],'typeOver':_0x103e2e['target']['nodeValue']==_0x103e2e['oldValue']}:null;}['setWindow'](_0x5a1512){_0x5a1512!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x5a1512,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x21fa77){_0x21fa77['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x21fa77['addEventListener']('beforeprint',this['onPrint']),_0x21fa77['addEventListener']('scroll',this['onScroll']),_0x21fa77['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x1e52e9){_0x1e52e9['removeEventListener']('scroll',this['onScroll']),_0x1e52e9['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x1e52e9['removeEventListener']('beforeprint',this['onPrint']),_0x1e52e9['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x338251){this['editContext']&&(this['editContext']['update'](_0x338251),_0x338251['startState']['facet'](editable)!=_0x338251['state']['facet'](editable)&&(_0x338251['view']['contentDOM']['editContext']=_0x338251['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x1abd63,_0x4c8e92,_0x777480;this['stop'](),null===(_0x1abd63=this['intersection'])||void 0x0===_0x1abd63||_0x1abd63['disconnect'](),null===(_0x4c8e92=this['gapIntersection'])||void 0x0===_0x4c8e92||_0x4c8e92['disconnect'](),null===(_0x777480=this['resizeScroll'])||void 0x0===_0x777480||_0x777480['disconnect']();for(let _0x1a4164 of this['scrollTargets'])_0x1a4164['removeEventListener']('scroll',this['onScroll']);this['removeWindowListeners'](this['win']),clearTimeout(this['parentCheck']),clearTimeout(this['resizeTimeout']),this['win']['cancelAnimationFrame'](this['delayedFlush']),this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['editContext']&&(this['view']['contentDOM']['editContext']=null,this['editContext']['destroy']());}}function findChild(_0x5e1bdd,_0x361dc9,_0x357e5b){for(;_0x361dc9;){let _0x331603=ContentView['get'](_0x361dc9);if(_0x331603&&_0x331603['parent']==_0x5e1bdd)return _0x331603;let _0x3d85be=_0x361dc9['parentNode'];_0x361dc9=_0x3d85be!=_0x5e1bdd['dom']?_0x3d85be:_0x357e5b>0x0?_0x361dc9['nextSibling']:_0x361dc9['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x5f3703,_0x4d8e49){let _0x2d6edb=_0x4d8e49['startContainer'],_0x81f2e8=_0x4d8e49['startOffset'],_0x3d9c25=_0x4d8e49['endContainer'],_0x5114d2=_0x4d8e49['endOffset'],_0x28c302=_0x5f3703['docView']['domAtPos'](_0x5f3703['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x28c302['node'],_0x28c302['offset'],_0x3d9c25,_0x5114d2)&&([_0x2d6edb,_0x81f2e8,_0x3d9c25,_0x5114d2]=[_0x3d9c25,_0x5114d2,_0x2d6edb,_0x81f2e8]),{'anchorNode':_0x2d6edb,'anchorOffset':_0x81f2e8,'focusNode':_0x3d9c25,'focusOffset':_0x5114d2};}function safariSelectionRangeHack(_0x5eb9a4,_0x3da9af){if(_0x3da9af['getComposedRanges']){let _0x500ada=_0x3da9af['getComposedRanges'](_0x5eb9a4['root'])[0x0];if(_0x500ada)return buildSelectionRangeFromRange(_0x5eb9a4,_0x500ada);}let _0x208602=null;function _0x2ea19d(_0xf1587c){_0xf1587c['preventDefault'](),_0xf1587c['stopImmediatePropagation'](),_0x208602=_0xf1587c['getTargetRanges']()[0x0];}return _0x5eb9a4['contentDOM']['addEventListener']('beforeinput',_0x2ea19d,!0x0),_0x5eb9a4['dom']['ownerDocument']['execCommand']('indent'),_0x5eb9a4['contentDOM']['removeEventListener']('beforeinput',_0x2ea19d,!0x0),_0x208602?buildSelectionRangeFromRange(_0x5eb9a4,_0x208602):null;}class EditContextManager{constructor(_0x2f7ed0){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x2f7ed0['state']);let _0x2b70f7=this['editContext']=new window['EditContext']({'text':_0x2f7ed0['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x2f7ed0['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x2f7ed0['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x4ab9ff=>{let _0x3affbf=_0x2f7ed0['state']['selection']['main'],{anchor:_0x2ef385,head:_0x51abc2}=_0x3affbf,_0x2f0f2c=this['toEditorPos'](_0x4ab9ff['updateRangeStart']),_0x533e49=this['toEditorPos'](_0x4ab9ff['updateRangeEnd']);_0x2f7ed0['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x4ab9ff['updateRangeStart'],'editorBase':_0x2f0f2c,'drifted':!0x1});let _0x45ca90={'from':_0x2f0f2c,'to':_0x533e49,'insert':Text['of'](_0x4ab9ff['text']['split']('\x0a'))};if(_0x45ca90['from']==this['from']&&_0x2ef385<this['from']?_0x45ca90['from']=_0x2ef385:_0x45ca90['to']==this['to']&&_0x2ef385>this['to']&&(_0x45ca90['to']=_0x2ef385),_0x45ca90['from']!=_0x45ca90['to']||_0x45ca90['insert']['length']){if((browser['mac']||browser['android'])&&_0x45ca90['from']==_0x51abc2-0x1&&/^\. ?$/['test'](_0x4ab9ff['text'])&&'off'==_0x2f7ed0['contentDOM']['getAttribute']('autocorrect')&&(_0x45ca90={'from':_0x2f0f2c,'to':_0x533e49,'insert':Text['of']([_0x4ab9ff['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x45ca90,!_0x2f7ed0['state']['readOnly']){let _0x41e164=this['to']-this['from']+(_0x45ca90['to']-_0x45ca90['from']+_0x45ca90['insert']['length']);applyDOMChangeInner(_0x2f7ed0,_0x45ca90,EditorSelection['single'](this['toEditorPos'](_0x4ab9ff['selectionStart'],_0x41e164),this['toEditorPos'](_0x4ab9ff['selectionEnd'],_0x41e164)));}this['pendingContextChange']&&(this['revertPending'](_0x2f7ed0['state']),this['setSelection'](_0x2f7ed0['state']));}else{let _0x571135=EditorSelection['single'](this['toEditorPos'](_0x4ab9ff['selectionStart']),this['toEditorPos'](_0x4ab9ff['selectionEnd']));_0x571135['main']['eq'](_0x3affbf)||_0x2f7ed0['dispatch']({'selection':_0x571135,'userEvent':'select'});}},this['handlers']['characterboundsupdate']=_0x45f5bb=>{let _0x1ac701=[],_0x11d7e3=null;for(let _0x4c927e=this['toEditorPos'](_0x45f5bb['rangeStart']),_0x5758b3=this['toEditorPos'](_0x45f5bb['rangeEnd']);_0x4c927e<_0x5758b3;_0x4c927e++){let _0x4577ba=_0x2f7ed0['coordsForChar'](_0x4c927e);_0x11d7e3=_0x4577ba&&new DOMRect(_0x4577ba['left'],_0x4577ba['top'],_0x4577ba['right']-_0x4577ba['left'],_0x4577ba['bottom']-_0x4577ba['top'])||_0x11d7e3||new DOMRect(),_0x1ac701['push'](_0x11d7e3);}_0x2b70f7['updateCharacterBounds'](_0x45f5bb['rangeStart'],_0x1ac701);},this['handlers']['textformatupdate']=_0x11fa1b=>{let _0xb87e77=[];for(let _0x411996 of _0x11fa1b['getTextFormats']()){let _0x44fc5d=_0x411996['underlineStyle'],_0x3dad17=_0x411996['underlineThickness'];if('None'!=_0x44fc5d&&'None'!=_0x3dad17){let _0x303592=this['toEditorPos'](_0x411996['rangeStart']),_0x4ed2da=this['toEditorPos'](_0x411996['rangeEnd']);if(_0x303592<_0x4ed2da){let _0x376573='text-decoration:\x20underline\x20'+('Dashed'==_0x44fc5d?'dashed\x20':'Squiggle'==_0x44fc5d?'wavy\x20':'')+('Thin'==_0x3dad17?0x1:0x2)+'px';_0xb87e77['push'](Decoration['mark']({'attributes':{'style':_0x376573}})['range'](_0x303592,_0x4ed2da));}}}_0x2f7ed0['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0xb87e77))});},this['handlers']['compositionstart']=()=>{_0x2f7ed0['inputState']['composing']<0x0&&(_0x2f7ed0['inputState']['composing']=0x0,_0x2f7ed0['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x2f7ed0['inputState']['composing']=-0x1,_0x2f7ed0['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x3a4d2e}=this['composing'];this['composing']=null,_0x3a4d2e&&this['reset'](_0x2f7ed0['state']);}};for(let _0x5b2307 in this['handlers'])_0x2b70f7['addEventListener'](_0x5b2307,this['handlers'][_0x5b2307]);this['measureReq']={'read':_0x2bc812=>{this['editContext']['updateControlBounds'](_0x2bc812['contentDOM']['getBoundingClientRect']());let _0x4415b2=getSelection(_0x2bc812['root']);_0x4415b2&&_0x4415b2['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x4415b2['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x1a8edc){let _0xaaff80=0x0,_0x1c7b2c=!0x1,_0x15e4f6=this['pendingContextChange'];return _0x1a8edc['changes']['iterChanges']((_0x3a815e,_0x1f081d,_0x58d117,_0x2b173d,_0x1ba4b5)=>{if(_0x1c7b2c)return;let _0x5f50b4=_0x1ba4b5['length']-(_0x1f081d-_0x3a815e);if(_0x15e4f6&&_0x1f081d>=_0x15e4f6['to']){if(_0x15e4f6['from']==_0x3a815e&&_0x15e4f6['to']==_0x1f081d&&_0x15e4f6['insert']['eq'](_0x1ba4b5))return _0x15e4f6=this['pendingContextChange']=null,_0xaaff80+=_0x5f50b4,void(this['to']+=_0x5f50b4);_0x15e4f6=null,this['revertPending'](_0x1a8edc['state']);}if(_0x3a815e+=_0xaaff80,(_0x1f081d+=_0xaaff80)<=this['from'])this['from']+=_0x5f50b4,this['to']+=_0x5f50b4;else{if(_0x3a815e<this['to']){if(_0x3a815e<this['from']||_0x1f081d>this['to']||this['to']-this['from']+_0x1ba4b5['length']>0x7530)return void(_0x1c7b2c=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x3a815e),this['toContextPos'](_0x1f081d),_0x1ba4b5['toString']()),this['to']+=_0x5f50b4;}}_0xaaff80+=_0x5f50b4;}),_0x15e4f6&&!_0x1c7b2c&&this['revertPending'](_0x1a8edc['state']),!_0x1c7b2c;}['update'](_0x20cf99){let _0x4707c6=this['pendingContextChange'],_0x30e16a=_0x20cf99['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x20cf99['changes']['touchesRange'](_0x30e16a['from'],_0x30e16a['to'])&&_0x20cf99['transactions']['some'](_0x1907fb=>!_0x1907fb['isUserEvent']('input.type')&&_0x1907fb['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x20cf99['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x20cf99)&&this['rangeIsValid'](_0x20cf99['state'])?(_0x20cf99['docChanged']||_0x20cf99['selectionSet']||_0x4707c6)&&this['setSelection'](_0x20cf99['state']):(this['pendingContextChange']=null,this['reset'](_0x20cf99['state'])),(_0x20cf99['geometryChanged']||_0x20cf99['docChanged']||_0x20cf99['selectionSet'])&&_0x20cf99['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x3cc757){let {head:_0x3e0dc9}=_0x3cc757['selection']['main'];this['from']=Math['max'](0x0,_0x3e0dc9-0x2710),this['to']=Math['min'](_0x3cc757['doc']['length'],_0x3e0dc9+0x2710);}['reset'](_0x2c1b88){this['resetRange'](_0x2c1b88),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x2c1b88['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x2c1b88);}['revertPending'](_0x14562d){let _0x4f42a0=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x4f42a0['from']),this['toContextPos'](_0x4f42a0['from']+_0x4f42a0['insert']['length']),_0x14562d['doc']['sliceString'](_0x4f42a0['from'],_0x4f42a0['to']));}['setSelection'](_0x5609d6){let {main:_0x1d32f1}=_0x5609d6['selection'],_0x51efe0=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x1d32f1['anchor']))),_0x241f71=this['toContextPos'](_0x1d32f1['head']);this['editContext']['selectionStart']==_0x51efe0&&this['editContext']['selectionEnd']==_0x241f71||this['editContext']['updateSelection'](_0x51efe0,_0x241f71);}['rangeIsValid'](_0x12098c){let {head:_0x18cd02}=_0x12098c['selection']['main'];return!(this['from']>0x0&&_0x18cd02-this['from']<0x1f4||this['to']<_0x12098c['doc']['length']&&this['to']-_0x18cd02<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0xf999d4,_0x446848=this['to']-this['from']){_0xf999d4=Math['min'](_0xf999d4,_0x446848);let _0x35f14c=this['composing'];return _0x35f14c&&_0x35f14c['drifted']?_0x35f14c['editorBase']+(_0xf999d4-_0x35f14c['contextBase']):_0xf999d4+this['from'];}['toContextPos'](_0x52265f){let _0x27a9a5=this['composing'];return _0x27a9a5&&_0x27a9a5['drifted']?_0x27a9a5['contextBase']+(_0x52265f-_0x27a9a5['editorBase']):_0x52265f-this['from'];}['destroy'](){for(let _0x2a9577 in this['handlers'])this['editContext']['removeEventListener'](_0x2a9577,this['handlers'][_0x2a9577]);}}class EditorView{get['state'](){return this['viewState']['state'];}get['viewport'](){return this['viewState']['viewport'];}get['visibleRanges'](){return this['viewState']['visibleRanges'];}get['inView'](){return this['viewState']['inView'];}get['composing'](){return this['inputState']['composing']>0x0;}get['compositionStarted'](){return this['inputState']['composing']>=0x0;}get['root'](){return this['_root'];}get['win'](){return this['dom']['ownerDocument']['defaultView']||window;}constructor(_0x267cca={}){var _0x251056;this['plugins']=[],this['pluginMap']=new Map(),this['editorAttrs']={},this['contentAttrs']={},this['bidiCache']=[],this['destroyed']=!0x1,this['updateState']=0x2,this['measureScheduled']=-0x1,this['measureRequests']=[],this['contentDOM']=document['createElement']('div'),this['scrollDOM']=document['createElement']('div'),this['scrollDOM']['tabIndex']=-0x1,this['scrollDOM']['className']='cm-scroller',this['scrollDOM']['appendChild'](this['contentDOM']),this['announceDOM']=document['createElement']('div'),this['announceDOM']['className']='cm-announced',this['announceDOM']['setAttribute']('aria-live','polite'),this['dom']=document['createElement']('div'),this['dom']['appendChild'](this['announceDOM']),this['dom']['appendChild'](this['scrollDOM']),_0x267cca['parent']&&_0x267cca['parent']['appendChild'](this['dom']);let {dispatch:_0x243ee9}=_0x267cca;this['dispatchTransactions']=_0x267cca['dispatchTransactions']||_0x243ee9&&(_0x1b0b82=>_0x1b0b82['forEach'](_0x32bd92=>_0x243ee9(_0x32bd92,this)))||(_0x42b4ac=>this['update'](_0x42b4ac)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x267cca['root']||getRoot(_0x267cca['parent'])||document,this['viewState']=new ViewState(_0x267cca['state']||EditorState['create'](_0x267cca)),_0x267cca['scrollTo']&&_0x267cca['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x267cca['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](viewPlugin)['map'](_0x4b616c=>new PluginInstance(_0x4b616c));for(let _0x1105d5 of this['plugins'])_0x1105d5['update'](this);this['observer']=new DOMObserver(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new DocView(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x251056=document['fonts'])||void 0x0===_0x251056?void 0x0:_0x251056['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0xe22332){let _0x14b130=0x1==_0xe22332['length']&&_0xe22332[0x0]instanceof Transaction?_0xe22332:0x1==_0xe22332['length']&&Array['isArray'](_0xe22332[0x0])?_0xe22332[0x0]:[this['state']['update'](..._0xe22332)];this['dispatchTransactions'](_0x14b130,this);}['update'](_0x3d59f0){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x41b385,_0x4e4445=!0x1,_0x40a6de=!0x1,_0x14193c=this['state'];for(let _0x243cf2 of _0x3d59f0){if(_0x243cf2['startState']!=_0x14193c)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x14193c=_0x243cf2['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x14193c);let _0x38ef35=this['hasFocus'],_0x41ea0c=0x0,_0x324256=null;_0x3d59f0['some'](_0x1d54ab=>_0x1d54ab['annotation'](isFocusChange))?(this['inputState']['notifiedFocused']=_0x38ef35,_0x41ea0c=0x1):_0x38ef35!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x38ef35,_0x324256=focusChangeTransaction(_0x14193c,_0x38ef35),_0x324256||(_0x41ea0c=0x1));let _0x84b094=this['observer']['delayedAndroidKey'],_0x78b93c=null;if(_0x84b094?(this['observer']['clearDelayedAndroidKey'](),_0x78b93c=this['observer']['readChange'](),(_0x78b93c&&!this['state']['doc']['eq'](_0x14193c['doc'])||!this['state']['selection']['eq'](_0x14193c['selection']))&&(_0x78b93c=null)):this['observer']['clear'](),_0x14193c['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x14193c);_0x41b385=ViewUpdate['create'](this,_0x14193c,_0x3d59f0),_0x41b385['flags']|=_0x41ea0c;let _0x498db4=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x5be71e of _0x3d59f0){if(_0x498db4&&(_0x498db4=_0x498db4['map'](_0x5be71e['changes'])),_0x5be71e['scrollIntoView']){let {main:_0x14955f}=_0x5be71e['state']['selection'];_0x498db4=new ScrollTarget(_0x14955f['empty']?_0x14955f:EditorSelection['cursor'](_0x14955f['head'],_0x14955f['head']>_0x14955f['anchor']?-0x1:0x1));}for(let _0x5ad432 of _0x5be71e['effects'])_0x5ad432['is'](scrollIntoView$1)&&(_0x498db4=_0x5ad432['value']['clip'](this['state']));}this['viewState']['update'](_0x41b385,_0x498db4),this['bidiCache']=CachedOrder['update'](this['bidiCache'],_0x41b385['changes']),_0x41b385['empty']||(this['updatePlugins'](_0x41b385),this['inputState']['update'](_0x41b385)),_0x4e4445=this['docView']['update'](_0x41b385),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x40a6de=this['updateAttrs'](),this['showAnnouncements'](_0x3d59f0),this['docView']['updateSelection'](_0x4e4445,_0x3d59f0['some'](_0x46b519=>_0x46b519['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x41b385['startState']['facet'](theme)!=_0x41b385['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x4e4445||_0x40a6de||_0x498db4||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x4e4445&&this['docViewUpdate'](),!_0x41b385['empty']){for(let _0x27a9d9 of this['state']['facet'](updateListener))try{_0x27a9d9(_0x41b385);}catch(_0x46c347){logException(this['state'],_0x46c347,'update\x20listener');}}(_0x324256||_0x78b93c)&&Promise['resolve']()['then'](()=>{_0x324256&&this['state']==_0x324256['startState']&&this['dispatch'](_0x324256),_0x78b93c&&!applyDOMChange(this,_0x78b93c)&&_0x84b094['force']&&dispatchKey(this['contentDOM'],_0x84b094['key'],_0x84b094['keyCode']);});}['setState'](_0x40bd77){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.setState\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');if(this['destroyed'])return void(this['viewState']['state']=_0x40bd77);this['updateState']=0x2;let _0x1c3cef=this['hasFocus'];try{for(let _0x1bdc37 of this['plugins'])_0x1bdc37['destroy'](this);this['viewState']=new ViewState(_0x40bd77),this['plugins']=_0x40bd77['facet'](viewPlugin)['map'](_0x36cca2=>new PluginInstance(_0x36cca2)),this['pluginMap']['clear']();for(let _0x29bcb6 of this['plugins'])_0x29bcb6['update'](this);this['docView']['destroy'](),this['docView']=new DocView(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x1c3cef&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x442321){let _0x3c767b=_0x442321['startState']['facet'](viewPlugin),_0x29fa03=_0x442321['state']['facet'](viewPlugin);if(_0x3c767b!=_0x29fa03){let _0x383ed7=[];for(let _0x5576e4 of _0x29fa03){let _0x248615=_0x3c767b['indexOf'](_0x5576e4);if(_0x248615<0x0)_0x383ed7['push'](new PluginInstance(_0x5576e4));else{let _0x886b76=this['plugins'][_0x248615];_0x886b76['mustUpdate']=_0x442321,_0x383ed7['push'](_0x886b76);}}for(let _0xbc4c9d of this['plugins'])_0xbc4c9d['mustUpdate']!=_0x442321&&_0xbc4c9d['destroy'](this);this['plugins']=_0x383ed7,this['pluginMap']['clear']();}else{for(let _0x81c6cd of this['plugins'])_0x81c6cd['mustUpdate']=_0x442321;}for(let _0x26af98=0x0;_0x26af98<this['plugins']['length'];_0x26af98++)this['plugins'][_0x26af98]['update'](this);_0x3c767b!=_0x29fa03&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x49c21f of this['plugins']){let _0xade59d=_0x49c21f['value'];if(_0xade59d&&_0xade59d['docViewUpdate'])try{_0xade59d['docViewUpdate'](this);}catch(_0x214515){logException(this['state'],_0x214515,'doc\x20view\x20update\x20listener');}}}['measure'](_0x2cfc17=!0x0){if(this['destroyed'])return;if(this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['observer']['delayedAndroidKey'])return this['measureScheduled']=-0x1,void this['requestMeasure']();this['measureScheduled']=0x0,_0x2cfc17&&this['observer']['forceFlush']();let _0x4609c8=null,_0x1b55a6=this['scrollDOM'],_0x41fc24=_0x1b55a6['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x1fb993,scrollAnchorHeight:_0x179b52}=this['viewState'];Math['abs'](_0x41fc24-this['viewState']['scrollTop'])>0x1&&(_0x179b52=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0xc061d9=0x0;;_0xc061d9++){if(_0x179b52<0x0){if(isScrolledToBottom(_0x1b55a6))_0x1fb993=-0x1,_0x179b52=this['viewState']['heightMap']['height'];else{let _0x32af9e=this['viewState']['scrollAnchorAt'](_0x41fc24);_0x1fb993=_0x32af9e['from'],_0x179b52=_0x32af9e['top'];}}this['updateState']=0x1;let _0x26c11c=this['viewState']['measure'](this);if(!_0x26c11c&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0xc061d9>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x9e704f=[];0x4&_0x26c11c||([this['measureRequests'],_0x9e704f]=[_0x9e704f,this['measureRequests']]);let _0x24352f=_0x9e704f['map'](_0x51fc32=>{try{return _0x51fc32['read'](this);}catch(_0x3040a4){return logException(this['state'],_0x3040a4),BadMeasure;}}),_0x75c0c7=ViewUpdate['create'](this,this['state'],[]),_0x4a9e40=!0x1;_0x75c0c7['flags']|=_0x26c11c,_0x4609c8?_0x4609c8['flags']|=_0x26c11c:_0x4609c8=_0x75c0c7,this['updateState']=0x2,_0x75c0c7['empty']||(this['updatePlugins'](_0x75c0c7),this['inputState']['update'](_0x75c0c7),this['updateAttrs'](),_0x4a9e40=this['docView']['update'](_0x75c0c7),_0x4a9e40&&this['docViewUpdate']());for(let _0x3bc6fb=0x0;_0x3bc6fb<_0x9e704f['length'];_0x3bc6fb++)if(_0x24352f[_0x3bc6fb]!=BadMeasure)try{let _0x3af630=_0x9e704f[_0x3bc6fb];_0x3af630['write']&&_0x3af630['write'](_0x24352f[_0x3bc6fb],this);}catch(_0x333181){logException(this['state'],_0x333181);}if(_0x4a9e40&&this['docView']['updateSelection'](!0x0),!_0x75c0c7['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x179b52=-0x1;continue;}{let _0x4a484d=(_0x1fb993<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x1fb993)['top'])-_0x179b52;if(_0x4a484d>0x1||_0x4a484d<-0x1){_0x41fc24+=_0x4a484d,_0x1b55a6['scrollTop']=_0x41fc24/this['scaleY'],_0x179b52=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x4609c8&&!_0x4609c8['empty']){for(let _0x486775 of this['state']['facet'](updateListener))_0x486775(_0x4609c8);}}get['themeClasses'](){return baseThemeID+'\x20'+(this['state']['facet'](darkTheme)?baseDarkID:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x237679=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x57e2bb={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':browser['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x57e2bb['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x57e2bb);let _0x3f4ba4=this['observer']['ignore'](()=>{let _0x3f3747=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x57e2bb),_0x570370=updateAttrs(this['dom'],this['editorAttrs'],_0x237679);return _0x3f3747||_0x570370;});return this['editorAttrs']=_0x237679,this['contentAttrs']=_0x57e2bb,_0x3f4ba4;}['showAnnouncements'](_0x56accb){let _0x197e3d=!0x0;for(let _0x15db54 of _0x56accb)for(let _0x24933c of _0x15db54['effects'])_0x24933c['is'](EditorView['announce'])&&(_0x197e3d&&(this['announceDOM']['textContent']=''),_0x197e3d=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x24933c['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x1b6e3a=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](baseTheme$1$1)['reverse'](),_0x1b6e3a?{'nonce':_0x1b6e3a}:void 0x0);}['readMeasured'](){if(0x2==this['updateState'])throw new Error('Reading\x20the\x20editor\x20layout\x20isn\x27t\x20allowed\x20during\x20an\x20update');0x0==this['updateState']&&this['measureScheduled']>-0x1&&this['measure'](!0x1);}['requestMeasure'](_0x43a6a9){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x43a6a9){if(this['measureRequests']['indexOf'](_0x43a6a9)>-0x1)return;if(null!=_0x43a6a9['key']){for(let _0x1cfde0=0x0;_0x1cfde0<this['measureRequests']['length'];_0x1cfde0++)if(this['measureRequests'][_0x1cfde0]['key']===_0x43a6a9['key'])return void(this['measureRequests'][_0x1cfde0]=_0x43a6a9);}this['measureRequests']['push'](_0x43a6a9);}}['plugin'](_0x274010){let _0x3461e8=this['pluginMap']['get'](_0x274010);return(void 0x0===_0x3461e8||_0x3461e8&&_0x3461e8['spec']!=_0x274010)&&this['pluginMap']['set'](_0x274010,_0x3461e8=this['plugins']['find'](_0x2dea6c=>_0x2dea6c['spec']==_0x274010)||null),_0x3461e8&&_0x3461e8['update'](this)['value'];}get['documentTop'](){return this['contentDOM']['getBoundingClientRect']()['top']+this['viewState']['paddingTop'];}get['documentPadding'](){return{'top':this['viewState']['paddingTop'],'bottom':this['viewState']['paddingBottom']};}get['scaleX'](){return this['viewState']['scaleX'];}get['scaleY'](){return this['viewState']['scaleY'];}['elementAtHeight'](_0x302242){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x302242);}['lineBlockAtHeight'](_0x538261){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x538261);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x2a70fc){return this['viewState']['lineBlockAt'](_0x2a70fc);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x594764,_0x13585f,_0x2aada8){return skipAtoms(this,_0x594764,moveByChar(this,_0x594764,_0x13585f,_0x2aada8));}['moveByGroup'](_0x142e5e,_0x5bb4dd){return skipAtoms(this,_0x142e5e,moveByChar(this,_0x142e5e,_0x5bb4dd,_0x5f1845=>byGroup(this,_0x142e5e['head'],_0x5f1845)));}['visualLineSide'](_0x404dd6,_0x2be975){let _0x5e63aa=this['bidiSpans'](_0x404dd6),_0x2f25bb=this['textDirectionAt'](_0x404dd6['from']),_0x20378b=_0x5e63aa[_0x2be975?_0x5e63aa['length']-0x1:0x0];return EditorSelection['cursor'](_0x20378b['side'](_0x2be975,_0x2f25bb)+_0x404dd6['from'],_0x20378b['forward'](!_0x2be975,_0x2f25bb)?0x1:-0x1);}['moveToLineBoundary'](_0x4a32d4,_0x273d33,_0xdb7221=!0x0){return moveToLineBoundary(this,_0x4a32d4,_0x273d33,_0xdb7221);}['moveVertically'](_0x2e259f,_0x55fc87,_0x585285){return skipAtoms(this,_0x2e259f,moveVertically(this,_0x2e259f,_0x55fc87,_0x585285));}['domAtPos'](_0x1f8a96){return this['docView']['domAtPos'](_0x1f8a96);}['posAtDOM'](_0x30ad5a,_0x391935=0x0){return this['docView']['posFromDOM'](_0x30ad5a,_0x391935);}['posAtCoords'](_0x2c7c13,_0xfa1b0e=!0x0){return this['readMeasured'](),posAtCoords(this,_0x2c7c13,_0xfa1b0e);}['coordsAtPos'](_0x5e147a,_0xcaafbf=0x1){this['readMeasured']();let _0x35a95b=this['docView']['coordsAt'](_0x5e147a,_0xcaafbf);if(!_0x35a95b||_0x35a95b['left']==_0x35a95b['right'])return _0x35a95b;let _0x3cd50f=this['state']['doc']['lineAt'](_0x5e147a),_0xbae594=this['bidiSpans'](_0x3cd50f);return flattenRect(_0x35a95b,_0xbae594[BidiSpan['find'](_0xbae594,_0x5e147a-_0x3cd50f['from'],-0x1,_0xcaafbf)]['dir']==Direction['LTR']==_0xcaafbf>0x0);}['coordsForChar'](_0x146485){return this['readMeasured'](),this['docView']['coordsForChar'](_0x146485);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x5ece67){return!this['state']['facet'](perLineTextDirection)||_0x5ece67<this['viewport']['from']||_0x5ece67>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x5ece67));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x31b170){if(_0x31b170['length']>MaxBidiLine)return trivialOrder(_0x31b170['length']);let _0x524027,_0x27e705=this['textDirectionAt'](_0x31b170['from']);for(let _0x4e8c8d of this['bidiCache'])if(_0x4e8c8d['from']==_0x31b170['from']&&_0x4e8c8d['dir']==_0x27e705&&(_0x4e8c8d['fresh']||isolatesEq(_0x4e8c8d['isolates'],_0x524027=getIsolatedRanges(this,_0x31b170))))return _0x4e8c8d['order'];_0x524027||(_0x524027=getIsolatedRanges(this,_0x31b170));let _0x2afe0c=computeOrder(_0x31b170['text'],_0x27e705,_0x524027);return this['bidiCache']['push'](new CachedOrder(_0x31b170['from'],_0x31b170['to'],_0x27e705,_0x524027,!0x0,_0x2afe0c)),_0x2afe0c;}get['hasFocus'](){var _0x5d633e;return(this['dom']['ownerDocument']['hasFocus']()||browser['safari']&&(null===(_0x5d633e=this['inputState'])||void 0x0===_0x5d633e?void 0x0:_0x5d633e['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x519fd0){this['_root']!=_0x519fd0&&(this['_root']=_0x519fd0,this['observer']['setWindow']((0x9==_0x519fd0['nodeType']?_0x519fd0:_0x519fd0['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x567ec6 of this['plugins'])_0x567ec6['destroy'](this);this['plugins']=[],this['inputState']['destroy'](),this['docView']['destroy'](),this['dom']['remove'](),this['observer']['destroy'](),this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['destroyed']=!0x0;}static['scrollIntoView'](_0x1a4ec1,_0x5f3eee={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x1a4ec1?EditorSelection['cursor'](_0x1a4ec1):_0x1a4ec1,_0x5f3eee['y'],_0x5f3eee['x'],_0x5f3eee['yMargin'],_0x5f3eee['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x22a165,scrollLeft:_0x352ec3}=this['scrollDOM'],_0x525d18=this['viewState']['scrollAnchorAt'](_0x22a165);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x525d18['from']),'start','start',_0x525d18['top']-_0x22a165,_0x352ec3,!0x0));}['setTabFocusMode'](_0x31ec2d){null==_0x31ec2d?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x31ec2d?this['inputState']['tabFocusMode']=_0x31ec2d?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x31ec2d);}static['domEventHandlers'](_0x194489){return ViewPlugin['define'](()=>({}),{'eventHandlers':_0x194489});}static['domEventObservers'](_0x4487a6){return ViewPlugin['define'](()=>({}),{'eventObservers':_0x4487a6});}static['theme'](_0x246a8a,_0x2912cc){let _0x25b16b=StyleModule['newName'](),_0x5034ee=[theme['of'](_0x25b16b),styleModule['of'](buildTheme('.'+_0x25b16b,_0x246a8a))];return _0x2912cc&&_0x2912cc['dark']&&_0x5034ee['push'](darkTheme['of'](!0x0)),_0x5034ee;}static['baseTheme'](_0x3d50d7){return Prec['lowest'](styleModule['of'](buildTheme('.'+baseThemeID,_0x3d50d7,lightDarkIDs)));}static['findFromDOM'](_0xeae67d){var _0x1e5d18;let _0x5b9b09=_0xeae67d['querySelector']('.cm-content'),_0x2dc14d=_0x5b9b09&&ContentView['get'](_0x5b9b09)||ContentView['get'](_0xeae67d);return(null===(_0x1e5d18=null==_0x2dc14d?void 0x0:_0x2dc14d['rootView'])||void 0x0===_0x1e5d18?void 0x0:_0x1e5d18['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=scrollHandler,EditorView['focusChangeEffect']=focusChangeEffect,EditorView['perLineTextDirection']=perLineTextDirection,EditorView['exceptionSink']=exceptionSink,EditorView['updateListener']=updateListener,EditorView['editable']=editable,EditorView['mouseSelectionStyle']=mouseSelectionStyle,EditorView['dragMovesSelection']=dragMovesSelection$1,EditorView['clickAddsSelectionRange']=clickAddsSelectionRange,EditorView['decorations']=decorations,EditorView['outerDecorations']=outerDecorations,EditorView['atomicRanges']=atomicRanges,EditorView['bidiIsolatedRanges']=bidiIsolatedRanges,EditorView['scrollMargins']=scrollMargins,EditorView['darkTheme']=darkTheme,EditorView['cspNonce']=Facet['define']({'combine':_0x54a59a=>_0x54a59a['length']?_0x54a59a[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const MaxBidiLine=0x1000,BadMeasure={};class CachedOrder{constructor(_0x298c6b,_0x5b2a49,_0x34781a,_0x2f1029,_0x42acb5,_0x1ad1b1){this['from']=_0x298c6b,this['to']=_0x5b2a49,this['dir']=_0x34781a,this['isolates']=_0x2f1029,this['fresh']=_0x42acb5,this['order']=_0x1ad1b1;}static['update'](_0x1bb555,_0x12ba37){if(_0x12ba37['empty']&&!_0x1bb555['some'](_0x25843d=>_0x25843d['fresh']))return _0x1bb555;let _0x60fcbe=[],_0x44d5c2=_0x1bb555['length']?_0x1bb555[_0x1bb555['length']-0x1]['dir']:Direction['LTR'];for(let _0x4f7956=Math['max'](0x0,_0x1bb555['length']-0xa);_0x4f7956<_0x1bb555['length'];_0x4f7956++){let _0x433964=_0x1bb555[_0x4f7956];_0x433964['dir']!=_0x44d5c2||_0x12ba37['touchesRange'](_0x433964['from'],_0x433964['to'])||_0x60fcbe['push'](new CachedOrder(_0x12ba37['mapPos'](_0x433964['from'],0x1),_0x12ba37['mapPos'](_0x433964['to'],-0x1),_0x433964['dir'],_0x433964['isolates'],!0x1,_0x433964['order']));}return _0x60fcbe;}}function attrsFromFacet(_0x58f02c,_0x30c44b,_0x400545){for(let _0x14dfe3=_0x58f02c['state']['facet'](_0x30c44b),_0x365e5c=_0x14dfe3['length']-0x1;_0x365e5c>=0x0;_0x365e5c--){let _0x24b792=_0x14dfe3[_0x365e5c],_0x32c594='function'==typeof _0x24b792?_0x24b792(_0x58f02c):_0x24b792;_0x32c594&&combineAttrs(_0x32c594,_0x400545);}return _0x400545;}const currentPlatform=browser['mac']?'mac':browser['windows']?'win':browser['linux']?'linux':'key';function normalizeKeyName(_0xd05701,_0x138308){const _0x1e2864=_0xd05701['split'](/-(?!$)/);let _0x1bbff8,_0x351fd2,_0x5410d8,_0x29e219,_0x347f22=_0x1e2864[_0x1e2864['length']-0x1];'Space'==_0x347f22&&(_0x347f22='\x20');for(let _0x5b5c2d=0x0;_0x5b5c2d<_0x1e2864['length']-0x1;++_0x5b5c2d){const _0x41d27b=_0x1e2864[_0x5b5c2d];if(/^(cmd|meta|m)$/i['test'](_0x41d27b))_0x29e219=!0x0;else{if(/^a(lt)?$/i['test'](_0x41d27b))_0x1bbff8=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x41d27b))_0x351fd2=!0x0;else{if(/^s(hift)?$/i['test'](_0x41d27b))_0x5410d8=!0x0;else{if(!/^mod$/i['test'](_0x41d27b))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x41d27b);'mac'==_0x138308?_0x29e219=!0x0:_0x351fd2=!0x0;}}}}}return _0x1bbff8&&(_0x347f22='Alt-'+_0x347f22),_0x351fd2&&(_0x347f22='Ctrl-'+_0x347f22),_0x29e219&&(_0x347f22='Meta-'+_0x347f22),_0x5410d8&&(_0x347f22='Shift-'+_0x347f22),_0x347f22;}function modifiers(_0x3ba654,_0x2537c5,_0x2ca642){return _0x2537c5['altKey']&&(_0x3ba654='Alt-'+_0x3ba654),_0x2537c5['ctrlKey']&&(_0x3ba654='Ctrl-'+_0x3ba654),_0x2537c5['metaKey']&&(_0x3ba654='Meta-'+_0x3ba654),!0x1!==_0x2ca642&&_0x2537c5['shiftKey']&&(_0x3ba654='Shift-'+_0x3ba654),_0x3ba654;}const handleKeyEvents=Prec['default'](EditorView['domEventHandlers']({'keydown':(_0x5c5115,_0x558636)=>runHandlers(getKeymap(_0x558636['state']),_0x5c5115,_0x558636,'editor')})),keymap=Facet['define']({'enables':handleKeyEvents}),Keymaps=new WeakMap();function getKeymap(_0x11658a){let _0x23b583=_0x11658a['facet'](keymap),_0xe1f206=Keymaps['get'](_0x23b583);return _0xe1f206||Keymaps['set'](_0x23b583,_0xe1f206=buildKeymap(_0x23b583['reduce']((_0x2a7860,_0x4e1945)=>_0x2a7860['concat'](_0x4e1945),[]))),_0xe1f206;}let storedPrefix=null;const PrefixTimeout=0xfa0;function buildKeymap(_0x13e149,_0x53f4ac=currentPlatform){let _0x51021c=Object['create'](null),_0x127b7=Object['create'](null),_0x529fbb=(_0x41c367,_0x4a4017)=>{let _0x2a8289=_0x127b7[_0x41c367];if(null==_0x2a8289)_0x127b7[_0x41c367]=_0x4a4017;else{if(_0x2a8289!=_0x4a4017)throw new Error('Key\x20binding\x20'+_0x41c367+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x1f2d53=(_0x56ffd7,_0x59ed49,_0x594432,_0x3e9b84,_0x17bf7a)=>{var _0x1c542e,_0x3d1d31;let _0x2bd327=_0x51021c[_0x56ffd7]||(_0x51021c[_0x56ffd7]=Object['create'](null)),_0x4a12a5=_0x59ed49['split'](/ (?!$)/)['map'](_0x2d01b8=>normalizeKeyName(_0x2d01b8,_0x53f4ac));for(let _0x10f151=0x1;_0x10f151<_0x4a12a5['length'];_0x10f151++){let _0x37d789=_0x4a12a5['slice'](0x0,_0x10f151)['join']('\x20');_0x529fbb(_0x37d789,!0x0),_0x2bd327[_0x37d789]||(_0x2bd327[_0x37d789]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x14b103=>{let _0x57975d=storedPrefix={'view':_0x14b103,'prefix':_0x37d789,'scope':_0x56ffd7};return setTimeout(()=>{storedPrefix==_0x57975d&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x200b5a=_0x4a12a5['join']('\x20');_0x529fbb(_0x200b5a,!0x1);let _0x35ef9a=_0x2bd327[_0x200b5a]||(_0x2bd327[_0x200b5a]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x3d1d31=null===(_0x1c542e=_0x2bd327['_any'])||void 0x0===_0x1c542e?void 0x0:_0x1c542e['run'])||void 0x0===_0x3d1d31?void 0x0:_0x3d1d31['slice']())||[]});_0x594432&&_0x35ef9a['run']['push'](_0x594432),_0x3e9b84&&(_0x35ef9a['preventDefault']=!0x0),_0x17bf7a&&(_0x35ef9a['stopPropagation']=!0x0);};for(let _0x13293b of _0x13e149){let _0x2fb1ad=_0x13293b['scope']?_0x13293b['scope']['split']('\x20'):['editor'];if(_0x13293b['any'])for(let _0x216521 of _0x2fb1ad){let _0x440d14=_0x51021c[_0x216521]||(_0x51021c[_0x216521]=Object['create'](null));_0x440d14['_any']||(_0x440d14['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x254fd4}=_0x13293b;for(let _0x5c1c10 in _0x440d14)_0x440d14[_0x5c1c10]['run']['push'](_0x570a2d=>_0x254fd4(_0x570a2d,currentKeyEvent));}let _0x519347=_0x13293b[_0x53f4ac]||_0x13293b['key'];if(_0x519347){for(let _0x124444 of _0x2fb1ad)_0x1f2d53(_0x124444,_0x519347,_0x13293b['run'],_0x13293b['preventDefault'],_0x13293b['stopPropagation']),_0x13293b['shift']&&_0x1f2d53(_0x124444,'Shift-'+_0x519347,_0x13293b['shift'],_0x13293b['preventDefault'],_0x13293b['stopPropagation']);}}return _0x51021c;}let currentKeyEvent=null;function runHandlers(_0x93f3be,_0x2f67a3,_0x642741,_0x1587dc){currentKeyEvent=_0x2f67a3;let _0x302e48=keyName(_0x2f67a3),_0x45fa20=codePointSize(codePointAt(_0x302e48,0x0))==_0x302e48['length']&&'\x20'!=_0x302e48,_0x278380='',_0x2c46e3=!0x1,_0x334ffa=!0x1,_0x36f15e=!0x1;storedPrefix&&storedPrefix['view']==_0x642741&&storedPrefix['scope']==_0x1587dc&&(_0x278380=storedPrefix['prefix']+'\x20',modifierCodes['indexOf'](_0x2f67a3['keyCode'])<0x0&&(_0x334ffa=!0x0,storedPrefix=null));let _0x5618fb,_0x169344,_0x3bd643=new Set(),_0x4e6177=_0x9ad7f1=>{if(_0x9ad7f1){for(let _0x468e33 of _0x9ad7f1['run'])if(!_0x3bd643['has'](_0x468e33)&&(_0x3bd643['add'](_0x468e33),_0x468e33(_0x642741)))return _0x9ad7f1['stopPropagation']&&(_0x36f15e=!0x0),!0x0;_0x9ad7f1['preventDefault']&&(_0x9ad7f1['stopPropagation']&&(_0x36f15e=!0x0),_0x334ffa=!0x0);}return!0x1;},_0x1c2b7a=_0x93f3be[_0x1587dc];return _0x1c2b7a&&(_0x4e6177(_0x1c2b7a[_0x278380+modifiers(_0x302e48,_0x2f67a3,!_0x45fa20)])?_0x2c46e3=!0x0:_0x45fa20&&(_0x2f67a3['altKey']||_0x2f67a3['metaKey']||_0x2f67a3['ctrlKey'])&&!(browser['windows']&&_0x2f67a3['ctrlKey']&&_0x2f67a3['altKey'])&&(_0x5618fb=base$2[_0x2f67a3['keyCode']])&&_0x5618fb!=_0x302e48?(_0x4e6177(_0x1c2b7a[_0x278380+modifiers(_0x5618fb,_0x2f67a3,!0x0)])||_0x2f67a3['shiftKey']&&(_0x169344=shift[_0x2f67a3['keyCode']])!=_0x302e48&&_0x169344!=_0x5618fb&&_0x4e6177(_0x1c2b7a[_0x278380+modifiers(_0x169344,_0x2f67a3,!0x1)]))&&(_0x2c46e3=!0x0):_0x45fa20&&_0x2f67a3['shiftKey']&&_0x4e6177(_0x1c2b7a[_0x278380+modifiers(_0x302e48,_0x2f67a3,!0x0)])&&(_0x2c46e3=!0x0),!_0x2c46e3&&_0x4e6177(_0x1c2b7a['_any'])&&(_0x2c46e3=!0x0)),_0x334ffa&&(_0x2c46e3=!0x0),_0x2c46e3&&_0x36f15e&&_0x2f67a3['stopPropagation'](),currentKeyEvent=null,_0x2c46e3;}class RectangleMarker{constructor(_0xb5ee05,_0x29df25,_0x4f9149,_0x1faffc,_0x40d14e){this['className']=_0xb5ee05,this['left']=_0x29df25,this['top']=_0x4f9149,this['width']=_0x1faffc,this['height']=_0x40d14e;}['draw'](){let _0x1bf987=document['createElement']('div');return _0x1bf987['className']=this['className'],this['adjust'](_0x1bf987),_0x1bf987;}['update'](_0xd6b5c,_0x5dd22c){return _0x5dd22c['className']==this['className']&&(this['adjust'](_0xd6b5c),!0x0);}['adjust'](_0x2b3a8f){_0x2b3a8f['style']['left']=this['left']+'px',_0x2b3a8f['style']['top']=this['top']+'px',null!=this['width']&&(_0x2b3a8f['style']['width']=this['width']+'px'),_0x2b3a8f['style']['height']=this['height']+'px';}['eq'](_0x54fad7){return this['left']==_0x54fad7['left']&&this['top']==_0x54fad7['top']&&this['width']==_0x54fad7['width']&&this['height']==_0x54fad7['height']&&this['className']==_0x54fad7['className'];}static['forRange'](_0x2ee40c,_0x473cef,_0x27ed08){if(_0x27ed08['empty']){let _0x3cc2ab=_0x2ee40c['coordsAtPos'](_0x27ed08['head'],_0x27ed08['assoc']||0x1);if(!_0x3cc2ab)return[];let _0x2587c0=getBase(_0x2ee40c);return[new RectangleMarker(_0x473cef,_0x3cc2ab['left']-_0x2587c0['left'],_0x3cc2ab['top']-_0x2587c0['top'],null,_0x3cc2ab['bottom']-_0x3cc2ab['top'])];}return rectanglesForRange(_0x2ee40c,_0x473cef,_0x27ed08);}}function getBase(_0x228fd2){let _0x1cde7a=_0x228fd2['scrollDOM']['getBoundingClientRect']();return{'left':(_0x228fd2['textDirection']==Direction['LTR']?_0x1cde7a['left']:_0x1cde7a['right']-_0x228fd2['scrollDOM']['clientWidth']*_0x228fd2['scaleX'])-_0x228fd2['scrollDOM']['scrollLeft']*_0x228fd2['scaleX'],'top':_0x1cde7a['top']-_0x228fd2['scrollDOM']['scrollTop']*_0x228fd2['scaleY']};}function wrappedLine(_0x493255,_0x54a5a1,_0x420c6f,_0x40afb1){let _0x126fad=_0x493255['coordsAtPos'](_0x54a5a1,0x2*_0x420c6f);if(!_0x126fad)return _0x40afb1;let _0x11d476=_0x493255['dom']['getBoundingClientRect'](),_0x117daa=(_0x126fad['top']+_0x126fad['bottom'])/0x2,_0x1c6c9c=_0x493255['posAtCoords']({'x':_0x11d476['left']+0x1,'y':_0x117daa}),_0x5c6c21=_0x493255['posAtCoords']({'x':_0x11d476['right']-0x1,'y':_0x117daa});return null==_0x1c6c9c||null==_0x5c6c21?_0x40afb1:{'from':Math['max'](_0x40afb1['from'],Math['min'](_0x1c6c9c,_0x5c6c21)),'to':Math['min'](_0x40afb1['to'],Math['max'](_0x1c6c9c,_0x5c6c21))};}function rectanglesForRange(_0x54b1f9,_0xdd2e10,_0x29d8a8){if(_0x29d8a8['to']<=_0x54b1f9['viewport']['from']||_0x29d8a8['from']>=_0x54b1f9['viewport']['to'])return[];let _0xb5714d=Math['max'](_0x29d8a8['from'],_0x54b1f9['viewport']['from']),_0x8d114d=Math['min'](_0x29d8a8['to'],_0x54b1f9['viewport']['to']),_0x24c16b=_0x54b1f9['textDirection']==Direction['LTR'],_0x3cd921=_0x54b1f9['contentDOM'],_0x392657=_0x3cd921['getBoundingClientRect'](),_0x5a4c88=getBase(_0x54b1f9),_0x1d0ed5=_0x3cd921['querySelector']('.cm-line'),_0x47f99e=_0x1d0ed5&&window['getComputedStyle'](_0x1d0ed5),_0x48dcaf=_0x392657['left']+(_0x47f99e?parseInt(_0x47f99e['paddingLeft'])+Math['min'](0x0,parseInt(_0x47f99e['textIndent'])):0x0),_0x4a8fb0=_0x392657['right']-(_0x47f99e?parseInt(_0x47f99e['paddingRight']):0x0),_0x1b439f=blockAt(_0x54b1f9,_0xb5714d),_0x272419=blockAt(_0x54b1f9,_0x8d114d),_0x39f598=_0x1b439f['type']==BlockType['Text']?_0x1b439f:null,_0x8ec101=_0x272419['type']==BlockType['Text']?_0x272419:null;if(_0x39f598&&(_0x54b1f9['lineWrapping']||_0x1b439f['widgetLineBreaks'])&&(_0x39f598=wrappedLine(_0x54b1f9,_0xb5714d,0x1,_0x39f598)),_0x8ec101&&(_0x54b1f9['lineWrapping']||_0x272419['widgetLineBreaks'])&&(_0x8ec101=wrappedLine(_0x54b1f9,_0x8d114d,-0x1,_0x8ec101)),_0x39f598&&_0x8ec101&&_0x39f598['from']==_0x8ec101['from']&&_0x39f598['to']==_0x8ec101['to'])return _0xf75ae6(_0x2dc362(_0x29d8a8['from'],_0x29d8a8['to'],_0x39f598));{let _0x2a57bb=_0x39f598?_0x2dc362(_0x29d8a8['from'],null,_0x39f598):_0x8dc32e(_0x1b439f,!0x1),_0x4c4e05=_0x8ec101?_0x2dc362(null,_0x29d8a8['to'],_0x8ec101):_0x8dc32e(_0x272419,!0x0),_0x2c366c=[];return(_0x39f598||_0x1b439f)['to']<(_0x8ec101||_0x272419)['from']-(_0x39f598&&_0x8ec101?0x1:0x0)||_0x1b439f['widgetLineBreaks']>0x1&&_0x2a57bb['bottom']+_0x54b1f9['defaultLineHeight']/0x2<_0x4c4e05['top']?_0x2c366c['push'](_0x782799(_0x48dcaf,_0x2a57bb['bottom'],_0x4a8fb0,_0x4c4e05['top'])):_0x2a57bb['bottom']<_0x4c4e05['top']&&_0x54b1f9['elementAtHeight']((_0x2a57bb['bottom']+_0x4c4e05['top'])/0x2)['type']==BlockType['Text']&&(_0x2a57bb['bottom']=_0x4c4e05['top']=(_0x2a57bb['bottom']+_0x4c4e05['top'])/0x2),_0xf75ae6(_0x2a57bb)['concat'](_0x2c366c)['concat'](_0xf75ae6(_0x4c4e05));}function _0x782799(_0x335752,_0x510927,_0x871257,_0x3a5148){return new RectangleMarker(_0xdd2e10,_0x335752-_0x5a4c88['left'],_0x510927-_0x5a4c88['top'],_0x871257-_0x335752,_0x3a5148-_0x510927);}function _0xf75ae6({top:_0x4d98c8,bottom:_0x1074ba,horizontal:_0x3a8066}){let _0x4de643=[];for(let _0x4b369b=0x0;_0x4b369b<_0x3a8066['length'];_0x4b369b+=0x2)_0x4de643['push'](_0x782799(_0x3a8066[_0x4b369b],_0x4d98c8,_0x3a8066[_0x4b369b+0x1],_0x1074ba));return _0x4de643;}function _0x2dc362(_0x51c6cd,_0x52c54f,_0x2e8da8){let _0x3799d9=0x3b9aca00,_0xb4c143=-0x3b9aca00,_0x318b8d=[];function _0xacdc00(_0xf22d4c,_0x5365a7,_0xb2577c,_0x29ff6c,_0x57432e){let _0x452f96=_0x54b1f9['coordsAtPos'](_0xf22d4c,_0xf22d4c==_0x2e8da8['to']?-0x2:0x2),_0x50fec=_0x54b1f9['coordsAtPos'](_0xb2577c,_0xb2577c==_0x2e8da8['from']?0x2:-0x2);_0x452f96&&_0x50fec&&(_0x3799d9=Math['min'](_0x452f96['top'],_0x50fec['top'],_0x3799d9),_0xb4c143=Math['max'](_0x452f96['bottom'],_0x50fec['bottom'],_0xb4c143),_0x57432e==Direction['LTR']?_0x318b8d['push'](_0x24c16b&&_0x5365a7?_0x48dcaf:_0x452f96['left'],_0x24c16b&&_0x29ff6c?_0x4a8fb0:_0x50fec['right']):_0x318b8d['push'](!_0x24c16b&&_0x29ff6c?_0x48dcaf:_0x50fec['left'],!_0x24c16b&&_0x5365a7?_0x4a8fb0:_0x452f96['right']));}let _0x48788f=null!=_0x51c6cd?_0x51c6cd:_0x2e8da8['from'],_0x538251=null!=_0x52c54f?_0x52c54f:_0x2e8da8['to'];for(let _0x37341a of _0x54b1f9['visibleRanges'])if(_0x37341a['to']>_0x48788f&&_0x37341a['from']<_0x538251)for(let _0x791fe0=Math['max'](_0x37341a['from'],_0x48788f),_0x387a2a=Math['min'](_0x37341a['to'],_0x538251);;){let _0x5a02d0=_0x54b1f9['state']['doc']['lineAt'](_0x791fe0);for(let _0x28004f of _0x54b1f9['bidiSpans'](_0x5a02d0)){let _0x2a36c7=_0x28004f['from']+_0x5a02d0['from'],_0x56b72a=_0x28004f['to']+_0x5a02d0['from'];if(_0x2a36c7>=_0x387a2a)break;_0x56b72a>_0x791fe0&&_0xacdc00(Math['max'](_0x2a36c7,_0x791fe0),null==_0x51c6cd&&_0x2a36c7<=_0x48788f,Math['min'](_0x56b72a,_0x387a2a),null==_0x52c54f&&_0x56b72a>=_0x538251,_0x28004f['dir']);}if(_0x791fe0=_0x5a02d0['to']+0x1,_0x791fe0>=_0x387a2a)break;}return 0x0==_0x318b8d['length']&&_0xacdc00(_0x48788f,null==_0x51c6cd,_0x538251,null==_0x52c54f,_0x54b1f9['textDirection']),{'top':_0x3799d9,'bottom':_0xb4c143,'horizontal':_0x318b8d};}function _0x8dc32e(_0x35f11c,_0x28ca88){let _0x393c3c=_0x392657['top']+(_0x28ca88?_0x35f11c['top']:_0x35f11c['bottom']);return{'top':_0x393c3c,'bottom':_0x393c3c,'horizontal':[]};}}function sameMarker(_0x28117f,_0x5a1599){return _0x28117f['constructor']==_0x5a1599['constructor']&&_0x28117f['eq'](_0x5a1599);}class LayerView{constructor(_0x5b02cb,_0x10d8f2){this['view']=_0x5b02cb,this['layer']=_0x10d8f2,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x5b02cb['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x10d8f2['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x10d8f2['class']&&this['dom']['classList']['add'](_0x10d8f2['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x5b02cb['state']),_0x5b02cb['requestMeasure'](this['measureReq']),_0x10d8f2['mount']&&_0x10d8f2['mount'](this['dom'],_0x5b02cb);}['update'](_0x1be92f){_0x1be92f['startState']['facet'](layerOrder)!=_0x1be92f['state']['facet'](layerOrder)&&this['setOrder'](_0x1be92f['state']),(this['layer']['update'](_0x1be92f,this['dom'])||_0x1be92f['geometryChanged'])&&(this['scale'](),_0x1be92f['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x1dd2d0){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x1dd2d0['requestMeasure'](this['measureReq']);}['setOrder'](_0xa07b16){let _0x553e03=0x0,_0x5852d2=_0xa07b16['facet'](layerOrder);for(;_0x553e03<_0x5852d2['length']&&_0x5852d2[_0x553e03]!=this['layer'];)_0x553e03++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x553e03);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x28858d,scaleY:_0x1f1312}=this['view'];_0x28858d==this['scaleX']&&_0x1f1312==this['scaleY']||(this['scaleX']=_0x28858d,this['scaleY']=_0x1f1312,this['dom']['style']['transform']='scale('+0x1/_0x28858d+',\x20'+0x1/_0x1f1312+')');}['draw'](_0x38c541){if(_0x38c541['length']!=this['drawn']['length']||_0x38c541['some']((_0x41e387,_0x2cb578)=>!sameMarker(_0x41e387,this['drawn'][_0x2cb578]))){let _0x77ea94=this['dom']['firstChild'],_0x3f6523=0x0;for(let _0x2def17 of _0x38c541)_0x2def17['update']&&_0x77ea94&&_0x2def17['constructor']&&this['drawn'][_0x3f6523]['constructor']&&_0x2def17['update'](_0x77ea94,this['drawn'][_0x3f6523])?(_0x77ea94=_0x77ea94['nextSibling'],_0x3f6523++):this['dom']['insertBefore'](_0x2def17['draw'](),_0x77ea94);for(;_0x77ea94;){let _0x336d04=_0x77ea94['nextSibling'];_0x77ea94['remove'](),_0x77ea94=_0x336d04;}this['drawn']=_0x38c541;}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const layerOrder=Facet['define']();function layer(_0x3d04bb){return[ViewPlugin['define'](_0x1c3a0b=>new LayerView(_0x1c3a0b,_0x3d04bb)),layerOrder['of'](_0x3d04bb)];}const CanHidePrimary=!(browser['ios']&&browser['webkit']&&browser['webkit_version']<0x216),selectionConfig=Facet['define']({'combine':_0x398c75=>combineConfig(_0x398c75,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0xe2b486,_0x3bd3ec)=>Math['min'](_0xe2b486,_0x3bd3ec),'drawRangeCursor':(_0x42d719,_0x51c5ef)=>_0x42d719||_0x51c5ef})});function drawSelection(_0x210737={}){return[selectionConfig['of'](_0x210737),cursorLayer,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function configChanged(_0x5a5745){return _0x5a5745['startState']['facet'](selectionConfig)!=_0x5a5745['state']['facet'](selectionConfig);}const cursorLayer=layer({'above':!0x0,'markers'(_0x5e8153){let {state:_0x43ba80}=_0x5e8153,_0xb00db5=_0x43ba80['facet'](selectionConfig),_0x1dbb61=[];for(let _0x579066 of _0x43ba80['selection']['ranges']){let _0x4e8f83=_0x579066==_0x43ba80['selection']['main'];if(_0x579066['empty']?!_0x4e8f83||CanHidePrimary:_0xb00db5['drawRangeCursor']){let _0x3a3a8e=_0x4e8f83?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x451ef3=_0x579066['empty']?_0x579066:EditorSelection['cursor'](_0x579066['head'],_0x579066['head']>_0x579066['anchor']?-0x1:0x1);for(let _0x416476 of RectangleMarker['forRange'](_0x5e8153,_0x3a3a8e,_0x451ef3))_0x1dbb61['push'](_0x416476);}}return _0x1dbb61;},'update'(_0x268699,_0x16111e){_0x268699['transactions']['some'](_0x23ea78=>_0x23ea78['selection'])&&(_0x16111e['style']['animationName']='cm-blink'==_0x16111e['style']['animationName']?'cm-blink2':'cm-blink');let _0x27a1ac=configChanged(_0x268699);return _0x27a1ac&&setBlinkRate(_0x268699['state'],_0x16111e),_0x268699['docChanged']||_0x268699['selectionSet']||_0x27a1ac;},'mount'(_0x187ac8,_0x21c0ae){setBlinkRate(_0x21c0ae['state'],_0x187ac8);},'class':'cm-cursorLayer'});function setBlinkRate(_0x5495d8,_0x1b81c4){_0x1b81c4['style']['animationDuration']=_0x5495d8['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=layer({'above':!0x1,'markers':_0x9b2a14=>_0x9b2a14['state']['selection']['ranges']['map'](_0x1af8fc=>_0x1af8fc['empty']?[]:RectangleMarker['forRange'](_0x9b2a14,'cm-selectionBackground',_0x1af8fc))['reduce']((_0x55746a,_0x56af28)=>_0x55746a['concat'](_0x56af28)),'update':(_0x5d2ad8,_0x48195b)=>_0x5d2ad8['docChanged']||_0x5d2ad8['selectionSet']||_0x5d2ad8['viewportChanged']||configChanged(_0x5d2ad8),'class':'cm-selectionLayer'}),themeSpec={'.cm-line':{'&\x20::selection,\x20&::selection':{'backgroundColor':'transparent\x20!important'}},'.cm-content':{'&\x20:focus':{'caretColor':'initial\x20!important','&::selection,\x20&\x20::selection':{'backgroundColor':'Highlight\x20!important'}}}};CanHidePrimary&&(themeSpec['.cm-line']['caretColor']=themeSpec['.cm-content']['caretColor']='transparent\x20!important');const hideNativeSelection=Prec['highest'](EditorView['theme'](themeSpec)),setDropCursorPos=StateEffect['define']({'map':(_0x3998f6,_0x3f7693)=>null==_0x3998f6?null:_0x3f7693['mapPos'](_0x3998f6)}),dropCursorPos=StateField['define']({'create':()=>null,'update':(_0x8f0850,_0x1ad65b)=>(null!=_0x8f0850&&(_0x8f0850=_0x1ad65b['changes']['mapPos'](_0x8f0850)),_0x1ad65b['effects']['reduce']((_0x1baaa5,_0x18af73)=>_0x18af73['is'](setDropCursorPos)?_0x18af73['value']:_0x1baaa5,_0x8f0850))}),drawDropCursor=ViewPlugin['fromClass'](class{constructor(_0x197de1){this['view']=_0x197de1,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x1cc5bf){var _0xd9827f;let _0x2ead4b=_0x1cc5bf['state']['field'](dropCursorPos);null==_0x2ead4b?null!=this['cursor']&&(null===(_0xd9827f=this['cursor'])||void 0x0===_0xd9827f||_0xd9827f['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x1cc5bf['startState']['field'](dropCursorPos)!=_0x2ead4b||_0x1cc5bf['docChanged']||_0x1cc5bf['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x5b9add}=this,_0x34f88c=_0x5b9add['state']['field'](dropCursorPos),_0x3ea01b=null!=_0x34f88c&&_0x5b9add['coordsAtPos'](_0x34f88c);if(!_0x3ea01b)return null;let _0x5bd315=_0x5b9add['scrollDOM']['getBoundingClientRect']();return{'left':_0x3ea01b['left']-_0x5bd315['left']+_0x5b9add['scrollDOM']['scrollLeft']*_0x5b9add['scaleX'],'top':_0x3ea01b['top']-_0x5bd315['top']+_0x5b9add['scrollDOM']['scrollTop']*_0x5b9add['scaleY'],'height':_0x3ea01b['bottom']-_0x3ea01b['top']};}['drawCursor'](_0x13adc3){if(this['cursor']){let {scaleX:_0x2fbc06,scaleY:_0x5c0051}=this['view'];_0x13adc3?(this['cursor']['style']['left']=_0x13adc3['left']/_0x2fbc06+'px',this['cursor']['style']['top']=_0x13adc3['top']/_0x5c0051+'px',this['cursor']['style']['height']=_0x13adc3['height']/_0x5c0051+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x29d432){this['view']['state']['field'](dropCursorPos)!=_0x29d432&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x29d432)});}},{'eventObservers':{'dragover'(_0x4d2ded){this['setDropPos'](this['view']['posAtCoords']({'x':_0x4d2ded['clientX'],'y':_0x4d2ded['clientY']}));},'dragleave'(_0x255db3){_0x255db3['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x255db3['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function dropCursor(){return[dropCursorPos,drawDropCursor];}function iterMatches(_0x285a71,_0x29927b,_0x2b74d8,_0x3ea35e,_0x1779e5){_0x29927b['lastIndex']=0x0;for(let _0x4f9dd0,_0x447320=_0x285a71['iterRange'](_0x2b74d8,_0x3ea35e),_0x19f11d=_0x2b74d8;!_0x447320['next']()['done'];_0x19f11d+=_0x447320['value']['length'])if(!_0x447320['lineBreak']){for(;_0x4f9dd0=_0x29927b['exec'](_0x447320['value']);)_0x1779e5(_0x19f11d+_0x4f9dd0['index'],_0x4f9dd0);}}function matchRanges(_0x643ddb,_0xd9f2af){let _0x28a6d2=_0x643ddb['visibleRanges'];if(0x1==_0x28a6d2['length']&&_0x28a6d2[0x0]['from']==_0x643ddb['viewport']['from']&&_0x28a6d2[0x0]['to']==_0x643ddb['viewport']['to'])return _0x28a6d2;let _0x174dca=[];for(let {from:_0x118d89,to:_0x46e7ac}of _0x28a6d2)_0x118d89=Math['max'](_0x643ddb['state']['doc']['lineAt'](_0x118d89)['from'],_0x118d89-_0xd9f2af),_0x46e7ac=Math['min'](_0x643ddb['state']['doc']['lineAt'](_0x46e7ac)['to'],_0x46e7ac+_0xd9f2af),_0x174dca['length']&&_0x174dca[_0x174dca['length']-0x1]['to']>=_0x118d89?_0x174dca[_0x174dca['length']-0x1]['to']=_0x46e7ac:_0x174dca['push']({'from':_0x118d89,'to':_0x46e7ac});return _0x174dca;}class MatchDecorator{constructor(_0x33bb2a){const {regexp:_0x30a461,decoration:_0x1ece45,decorate:_0x4872c5,boundary:_0x4ac1d9,maxLength:_0x2c692d=0x3e8}=_0x33bb2a;if(!_0x30a461['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x30a461,_0x4872c5)this['addMatch']=(_0x43b058,_0x383999,_0x53e6da,_0x4f7be5)=>_0x4872c5(_0x4f7be5,_0x53e6da,_0x53e6da+_0x43b058[0x0]['length'],_0x43b058,_0x383999);else{if('function'==typeof _0x1ece45)this['addMatch']=(_0x3b2393,_0x16ebe2,_0x4572ed,_0x1f5934)=>{let _0xdc658e=_0x1ece45(_0x3b2393,_0x16ebe2,_0x4572ed);_0xdc658e&&_0x1f5934(_0x4572ed,_0x4572ed+_0x3b2393[0x0]['length'],_0xdc658e);};else{if(!_0x1ece45)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x39e934,_0x32e6d8,_0x2b33fb,_0x3cc090)=>_0x3cc090(_0x2b33fb,_0x2b33fb+_0x39e934[0x0]['length'],_0x1ece45);}}this['boundary']=_0x4ac1d9,this['maxLength']=_0x2c692d;}['createDeco'](_0x33f75d){let _0x50571f=new RangeSetBuilder(),_0x3fcf1f=_0x50571f['add']['bind'](_0x50571f);for(let {from:_0xbd0ba0,to:_0x5b6c0c}of matchRanges(_0x33f75d,this['maxLength']))iterMatches(_0x33f75d['state']['doc'],this['regexp'],_0xbd0ba0,_0x5b6c0c,(_0x73e31e,_0x6f9256)=>this['addMatch'](_0x6f9256,_0x33f75d,_0x73e31e,_0x3fcf1f));return _0x50571f['finish']();}['updateDeco'](_0x46fd4c,_0x25755d){let _0x201f89=0x3b9aca00,_0x50fefd=-0x1;return _0x46fd4c['docChanged']&&_0x46fd4c['changes']['iterChanges']((_0x40bef8,_0x19ad2a,_0x177832,_0x16beb9)=>{_0x16beb9>=_0x46fd4c['view']['viewport']['from']&&_0x177832<=_0x46fd4c['view']['viewport']['to']&&(_0x201f89=Math['min'](_0x177832,_0x201f89),_0x50fefd=Math['max'](_0x16beb9,_0x50fefd));}),_0x46fd4c['viewportMoved']||_0x50fefd-_0x201f89>0x3e8?this['createDeco'](_0x46fd4c['view']):_0x50fefd>-0x1?this['updateRange'](_0x46fd4c['view'],_0x25755d['map'](_0x46fd4c['changes']),_0x201f89,_0x50fefd):_0x25755d;}['updateRange'](_0x59d96c,_0x5d788f,_0x19b67d,_0x518d6c){for(let _0x3a46ab of _0x59d96c['visibleRanges']){let _0x2a949a=Math['max'](_0x3a46ab['from'],_0x19b67d),_0x83582a=Math['min'](_0x3a46ab['to'],_0x518d6c);if(_0x83582a>_0x2a949a){let _0x4daa63=_0x59d96c['state']['doc']['lineAt'](_0x2a949a),_0x19872f=_0x4daa63['to']<_0x83582a?_0x59d96c['state']['doc']['lineAt'](_0x83582a):_0x4daa63,_0x5dd7d8=Math['max'](_0x3a46ab['from'],_0x4daa63['from']),_0x2bb251=Math['min'](_0x3a46ab['to'],_0x19872f['to']);if(this['boundary']){for(;_0x2a949a>_0x4daa63['from'];_0x2a949a--)if(this['boundary']['test'](_0x4daa63['text'][_0x2a949a-0x1-_0x4daa63['from']])){_0x5dd7d8=_0x2a949a;break;}for(;_0x83582a<_0x19872f['to'];_0x83582a++)if(this['boundary']['test'](_0x19872f['text'][_0x83582a-_0x19872f['from']])){_0x2bb251=_0x83582a;break;}}let _0x5ca02d,_0x360801=[],_0x3bd60d=(_0x1788af,_0x4c130a,_0x33fb2c)=>_0x360801['push'](_0x33fb2c['range'](_0x1788af,_0x4c130a));if(_0x4daa63==_0x19872f){for(this['regexp']['lastIndex']=_0x5dd7d8-_0x4daa63['from'];(_0x5ca02d=this['regexp']['exec'](_0x4daa63['text']))&&_0x5ca02d['index']<_0x2bb251-_0x4daa63['from'];)this['addMatch'](_0x5ca02d,_0x59d96c,_0x5ca02d['index']+_0x4daa63['from'],_0x3bd60d);}else iterMatches(_0x59d96c['state']['doc'],this['regexp'],_0x5dd7d8,_0x2bb251,(_0x159f43,_0xc6982e)=>this['addMatch'](_0xc6982e,_0x59d96c,_0x159f43,_0x3bd60d));_0x5d788f=_0x5d788f['update']({'filterFrom':_0x5dd7d8,'filterTo':_0x2bb251,'filter':(_0x1c5e5d,_0x4bd2c9)=>_0x1c5e5d<_0x5dd7d8||_0x4bd2c9>_0x2bb251,'add':_0x360801});}}return _0x5d788f;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',Specials=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),Names={0x0:'null',0x7:'bell',0x8:'backspace',0xa:'newline',0xb:'vertical\x20tab',0xd:'carriage\x20return',0x1b:'escape',0x200b:'zero\x20width\x20space',0x200c:'zero\x20width\x20non-joiner',0x200d:'zero\x20width\x20joiner',0x200e:'left-to-right\x20mark',0x200f:'right-to-left\x20mark',0x2028:'line\x20separator',0x202d:'left-to-right\x20override',0x202e:'right-to-left\x20override',0x2066:'left-to-right\x20isolate',0x2067:'right-to-left\x20isolate',0x2069:'pop\x20directional\x20isolate',0x2029:'paragraph\x20separator',0xfeff:'zero\x20width\x20no-break\x20space',0xfffc:'object\x20replacement'};let _supportsTabSize=null;function supportsTabSize(){var _0x3d8071;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x35fef8=document['body']['style'];_supportsTabSize=null!=(null!==(_0x3d8071=_0x35fef8['tabSize'])&&void 0x0!==_0x3d8071?_0x3d8071:_0x35fef8['MozTabSize']);}return _supportsTabSize||!0x1;}const specialCharConfig=Facet['define']({'combine'(_0x2ad541){let _0xec2891=combineConfig(_0x2ad541,{'render':null,'specialChars':Specials,'addSpecialChars':null});return(_0xec2891['replaceTabs']=!supportsTabSize())&&(_0xec2891['specialChars']=new RegExp('\x09|'+_0xec2891['specialChars']['source'],UnicodeRegexpSupport)),_0xec2891['addSpecialChars']&&(_0xec2891['specialChars']=new RegExp(_0xec2891['specialChars']['source']+'|'+_0xec2891['addSpecialChars']['source'],UnicodeRegexpSupport)),_0xec2891;}});function highlightSpecialChars(_0x5a646b={}){return[specialCharConfig['of'](_0x5a646b),specialCharPlugin()];}let _plugin=null;function specialCharPlugin(){return _plugin||(_plugin=ViewPlugin['fromClass'](class{constructor(_0x3ed961){this['view']=_0x3ed961,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x3ed961['state']['facet'](specialCharConfig)),this['decorations']=this['decorator']['createDeco'](_0x3ed961);}['makeDecorator'](_0x4b7919){return new MatchDecorator({'regexp':_0x4b7919['specialChars'],'decoration':(_0x5bfdb0,_0x1c1dee,_0x2ab066)=>{let {doc:_0xc5de83}=_0x1c1dee['state'],_0x2aa4bf=codePointAt(_0x5bfdb0[0x0],0x0);if(0x9==_0x2aa4bf){let _0x4d134c=_0xc5de83['lineAt'](_0x2ab066),_0x42e214=_0x1c1dee['state']['tabSize'],_0x2386c1=countColumn(_0x4d134c['text'],_0x42e214,_0x2ab066-_0x4d134c['from']);return Decoration['replace']({'widget':new TabWidget((_0x42e214-_0x2386c1%_0x42e214)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x2aa4bf]||(this['decorationCache'][_0x2aa4bf]=Decoration['replace']({'widget':new SpecialCharWidget(_0x4b7919,_0x2aa4bf)}));},'boundary':_0x4b7919['replaceTabs']?void 0x0:/[^]/});}['update'](_0x433b1e){let _0x526e9d=_0x433b1e['state']['facet'](specialCharConfig);_0x433b1e['startState']['facet'](specialCharConfig)!=_0x526e9d?(this['decorator']=this['makeDecorator'](_0x526e9d),this['decorations']=this['decorator']['createDeco'](_0x433b1e['view'])):this['decorations']=this['decorator']['updateDeco'](_0x433b1e,this['decorations']);}},{'decorations':_0x3e5db7=>_0x3e5db7['decorations']}));}const DefaultPlaceholder='•';function placeholder$1(_0x5be8d5){return _0x5be8d5>=0x20?DefaultPlaceholder:0xa==_0x5be8d5?'␤':String['fromCharCode'](0x2400+_0x5be8d5);}class SpecialCharWidget extends WidgetType{constructor(_0x5e43da,_0x35aa25){super(),this['options']=_0x5e43da,this['code']=_0x35aa25;}['eq'](_0x189e9a){return _0x189e9a['code']==this['code'];}['toDOM'](_0x57c165){let _0x25afcc=placeholder$1(this['code']),_0x72ed86=_0x57c165['state']['phrase']('Control\x20character')+'\x20'+(Names[this['code']]||'0x'+this['code']['toString'](0x10)),_0x4bd3ee=this['options']['render']&&this['options']['render'](this['code'],_0x72ed86,_0x25afcc);if(_0x4bd3ee)return _0x4bd3ee;let _0x165329=document['createElement']('span');return _0x165329['textContent']=_0x25afcc,_0x165329['title']=_0x72ed86,_0x165329['setAttribute']('aria-label',_0x72ed86),_0x165329['className']='cm-specialChar',_0x165329;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x654bb0){super(),this['width']=_0x654bb0;}['eq'](_0x6080a1){return _0x6080a1['width']==this['width'];}['toDOM'](){let _0x3b5a5f=document['createElement']('span');return _0x3b5a5f['textContent']='\x09',_0x3b5a5f['className']='cm-tab',_0x3b5a5f['style']['width']=this['width']+'px',_0x3b5a5f;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const lineDeco=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=ViewPlugin['fromClass'](class{constructor(_0x1ba703){this['decorations']=this['getDeco'](_0x1ba703);}['update'](_0x5c9791){(_0x5c9791['docChanged']||_0x5c9791['selectionSet'])&&(this['decorations']=this['getDeco'](_0x5c9791['view']));}['getDeco'](_0x3e3654){let _0x327407=-0x1,_0x5dfd9f=[];for(let _0x4438c7 of _0x3e3654['state']['selection']['ranges']){let _0x53bbfe=_0x3e3654['lineBlockAt'](_0x4438c7['head']);_0x53bbfe['from']>_0x327407&&(_0x5dfd9f['push'](lineDeco['range'](_0x53bbfe['from'])),_0x327407=_0x53bbfe['from']);}return Decoration['set'](_0x5dfd9f);}},{'decorations':_0x4539a9=>_0x4539a9['decorations']}),MaxOff=0x7d0;function rectangleFor(_0xa1beda,_0x25991f,_0xfcd8db){let _0x5b2646=Math['min'](_0x25991f['line'],_0xfcd8db['line']),_0x53864a=Math['max'](_0x25991f['line'],_0xfcd8db['line']),_0x450db3=[];if(_0x25991f['off']>MaxOff||_0xfcd8db['off']>MaxOff||_0x25991f['col']<0x0||_0xfcd8db['col']<0x0){let _0x13bb24=Math['min'](_0x25991f['off'],_0xfcd8db['off']),_0x4fe149=Math['max'](_0x25991f['off'],_0xfcd8db['off']);for(let _0x3bb1a8=_0x5b2646;_0x3bb1a8<=_0x53864a;_0x3bb1a8++){let _0x52355=_0xa1beda['doc']['line'](_0x3bb1a8);_0x52355['length']<=_0x4fe149&&_0x450db3['push'](EditorSelection['range'](_0x52355['from']+_0x13bb24,_0x52355['to']+_0x4fe149));}}else{let _0x508906=Math['min'](_0x25991f['col'],_0xfcd8db['col']),_0x3696b3=Math['max'](_0x25991f['col'],_0xfcd8db['col']);for(let _0x5561e1=_0x5b2646;_0x5561e1<=_0x53864a;_0x5561e1++){let _0x205332=_0xa1beda['doc']['line'](_0x5561e1),_0x5b3f51=findColumn(_0x205332['text'],_0x508906,_0xa1beda['tabSize'],!0x0);if(_0x5b3f51<0x0)_0x450db3['push'](EditorSelection['cursor'](_0x205332['to']));else{let _0x5c593c=findColumn(_0x205332['text'],_0x3696b3,_0xa1beda['tabSize']);_0x450db3['push'](EditorSelection['range'](_0x205332['from']+_0x5b3f51,_0x205332['from']+_0x5c593c));}}}return _0x450db3;}function absoluteColumn(_0x45c9c6,_0x45a013){let _0x32d4a5=_0x45c9c6['coordsAtPos'](_0x45c9c6['viewport']['from']);return _0x32d4a5?Math['round'](Math['abs']((_0x32d4a5['left']-_0x45a013)/_0x45c9c6['defaultCharacterWidth'])):-0x1;}function getPos(_0x329523,_0x12092f){let _0x51e79=_0x329523['posAtCoords']({'x':_0x12092f['clientX'],'y':_0x12092f['clientY']},!0x1),_0x12dc41=_0x329523['state']['doc']['lineAt'](_0x51e79),_0x449e65=_0x51e79-_0x12dc41['from'],_0x3b7890=_0x449e65>MaxOff?-0x1:_0x449e65==_0x12dc41['length']?absoluteColumn(_0x329523,_0x12092f['clientX']):countColumn(_0x12dc41['text'],_0x329523['state']['tabSize'],_0x51e79-_0x12dc41['from']);return{'line':_0x12dc41['number'],'col':_0x3b7890,'off':_0x449e65};}function rectangleSelectionStyle(_0x1fbf20,_0x62aa6b){let _0x59393e=getPos(_0x1fbf20,_0x62aa6b),_0x489eaf=_0x1fbf20['state']['selection'];return _0x59393e?{'update'(_0x5dc947){if(_0x5dc947['docChanged']){let _0x11cb97=_0x5dc947['changes']['mapPos'](_0x5dc947['startState']['doc']['line'](_0x59393e['line'])['from']),_0x5b8a5d=_0x5dc947['state']['doc']['lineAt'](_0x11cb97);_0x59393e={'line':_0x5b8a5d['number'],'col':_0x59393e['col'],'off':Math['min'](_0x59393e['off'],_0x5b8a5d['length'])},_0x489eaf=_0x489eaf['map'](_0x5dc947['changes']);}},'get'(_0x765f75,_0x54a962,_0xc7d200){let _0x27ee89=getPos(_0x1fbf20,_0x765f75);if(!_0x27ee89)return _0x489eaf;let _0x5bedf8=rectangleFor(_0x1fbf20['state'],_0x59393e,_0x27ee89);return _0x5bedf8['length']?_0xc7d200?EditorSelection['create'](_0x5bedf8['concat'](_0x489eaf['ranges'])):EditorSelection['create'](_0x5bedf8):_0x489eaf;}}:null;}function rectangularSelection(_0x3fc81d){return EditorView['mouseSelectionStyle']['of']((_0x205b43,_0x1a0b63)=>(_0xf60ae6=>_0xf60ae6['altKey']&&0x0==_0xf60ae6['button'])(_0x1a0b63)?rectangleSelectionStyle(_0x205b43,_0x1a0b63):null);}const keys={'Alt':[0x12,_0x2ca840=>!!_0x2ca840['altKey']],'Control':[0x11,_0x56abfb=>!!_0x56abfb['ctrlKey']],'Shift':[0x10,_0x4010e6=>!!_0x4010e6['shiftKey']],'Meta':[0x5b,_0x2b32ed=>!!_0x2b32ed['metaKey']]},showCrosshair={'style':'cursor:\x20crosshair'};function crosshairCursor(_0x48bf60={}){let [_0x41a25f,_0x3eb4bc]=keys[_0x48bf60['key']||'Alt'],_0x176958=ViewPlugin['fromClass'](class{constructor(_0x256738){this['view']=_0x256738,this['isDown']=!0x1;}['set'](_0x303d96){this['isDown']!=_0x303d96&&(this['isDown']=_0x303d96,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x26ff14){this['set'](_0x26ff14['keyCode']==_0x41a25f||_0x3eb4bc(_0x26ff14));},'keyup'(_0x5e7de7){_0x5e7de7['keyCode']!=_0x41a25f&&_0x3eb4bc(_0x5e7de7)||this['set'](!0x1);},'mousemove'(_0x3c83fc){this['set'](_0x3eb4bc(_0x3c83fc));}}});return[_0x176958,EditorView['contentAttributes']['of'](_0xbc03c7=>{var _0xe0a729;return(null===(_0xe0a729=_0xbc03c7['plugin'](_0x176958))||void 0x0===_0xe0a729?void 0x0:_0xe0a729['isDown'])?showCrosshair:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x2889a2,_0x152d7d,_0x353616,_0x482edb){this['facet']=_0x152d7d,this['createTooltipView']=_0x353616,this['removeTooltipView']=_0x482edb,this['input']=_0x2889a2['state']['facet'](_0x152d7d),this['tooltips']=this['input']['filter'](t=>t);let _0x355bda=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x355bda=_0x353616(t,_0x355bda));}['update'](_0x25e6f7,_0x5b02eb){var _0x2870f3;let _0x500e47=_0x25e6f7['state']['facet'](this['facet']),_0x271abc=_0x500e47['filter'](_0x31b0da=>_0x31b0da);if(_0x500e47===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x25e6f7);return!0x1;}let _0x45e689=[],_0x3d8e6c=_0x5b02eb?[]:null;for(let _0x1585cb=0x0;_0x1585cb<_0x271abc['length'];_0x1585cb++){let _0x3a94e1=_0x271abc[_0x1585cb],_0x2516d4=-0x1;if(_0x3a94e1){for(let _0x40e52a=0x0;_0x40e52a<this['tooltips']['length'];_0x40e52a++){let _0xc1eec=this['tooltips'][_0x40e52a];_0xc1eec&&_0xc1eec['create']==_0x3a94e1['create']&&(_0x2516d4=_0x40e52a);}if(_0x2516d4<0x0)_0x45e689[_0x1585cb]=this['createTooltipView'](_0x3a94e1,_0x1585cb?_0x45e689[_0x1585cb-0x1]:null),_0x3d8e6c&&(_0x3d8e6c[_0x1585cb]=!!_0x3a94e1['above']);else{let _0x5ef87e=_0x45e689[_0x1585cb]=this['tooltipViews'][_0x2516d4];_0x3d8e6c&&(_0x3d8e6c[_0x1585cb]=_0x5b02eb[_0x2516d4]),_0x5ef87e['update']&&_0x5ef87e['update'](_0x25e6f7);}}}for(let t of this['tooltipViews'])_0x45e689['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x2870f3=t['destroy'])||void 0x0===_0x2870f3||_0x2870f3['call'](t));return _0x5b02eb&&(_0x3d8e6c['forEach']((_0x375231,_0x2b2934)=>_0x5b02eb[_0x2b2934]=_0x375231),_0x5b02eb['length']=_0x3d8e6c['length']),this['input']=_0x500e47,this['tooltips']=_0x271abc,this['tooltipViews']=_0x45e689,!0x0;}}function windowSpace(_0x498358){let _0xcae127=_0x498358['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0xcae127['clientHeight'],'right':_0xcae127['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x2e8271=>{var _0x1713dc,_0x214c24,_0x3a6467;return{'position':browser['ios']?'absolute':(null===(_0x1713dc=_0x2e8271['find'](_0x5c8fd7=>_0x5c8fd7['position']))||void 0x0===_0x1713dc?void 0x0:_0x1713dc['position'])||'fixed','parent':(null===(_0x214c24=_0x2e8271['find'](_0x2caa15=>_0x2caa15['parent']))||void 0x0===_0x214c24?void 0x0:_0x214c24['parent'])||null,'tooltipSpace':(null===(_0x3a6467=_0x2e8271['find'](_0x567f46=>_0x567f46['tooltipSpace']))||void 0x0===_0x3a6467?void 0x0:_0x3a6467['tooltipSpace'])||windowSpace};}}),knownHeight=new WeakMap(),tooltipPlugin=ViewPlugin['fromClass'](class{constructor(_0x19971a){this['view']=_0x19971a,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x278f58=_0x19971a['state']['facet'](tooltipConfig);this['position']=_0x278f58['position'],this['parent']=_0x278f58['parent'],this['classes']=_0x19971a['themeClasses'],this['createContainer'](),this['measureReq']={'read':this['readMeasure']['bind'](this),'write':this['writeMeasure']['bind'](this),'key':this},this['resizeObserver']='function'==typeof ResizeObserver?new ResizeObserver(()=>this['measureSoon']()):null,this['manager']=new TooltipViewManager(_0x19971a,showTooltip,(t,_0x19bcf2)=>this['createTooltip'](t,_0x19bcf2),t=>{this['resizeObserver']&&this['resizeObserver']['unobserve'](t['dom']),t['dom']['remove']();}),this['above']=this['manager']['tooltips']['map'](t=>!!t['above']),this['intersectionObserver']='function'==typeof IntersectionObserver?new IntersectionObserver(_0x532e58=>{Date['now']()>this['lastTransaction']-0x32&&_0x532e58['length']>0x0&&_0x532e58[_0x532e58['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x19971a['win']['addEventListener']('resize',this['measureSoon']=this['measureSoon']['bind'](this)),this['maybeMeasure']();}['createContainer'](){this['parent']?(this['container']=document['createElement']('div'),this['container']['style']['position']='relative',this['container']['className']=this['view']['themeClasses'],this['parent']['appendChild'](this['container'])):this['container']=this['view']['dom'];}['observeIntersection'](){if(this['intersectionObserver']){this['intersectionObserver']['disconnect']();for(let _0x52b330 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x52b330['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0xee7708){_0xee7708['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x7365c4=this['manager']['update'](_0xee7708,this['above']);_0x7365c4&&this['observeIntersection']();let _0x20af85=_0x7365c4||_0xee7708['geometryChanged'],_0x5876c4=_0xee7708['state']['facet'](tooltipConfig);if(_0x5876c4['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x5876c4['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x20af85=!0x0;}if(_0x5876c4['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x5876c4['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x20af85=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x20af85&&this['maybeMeasure']();}['createTooltip'](_0x377bf2,_0x5b66e1){let _0x2e3a42=_0x377bf2['create'](this['view']),_0x48ca22=_0x5b66e1?_0x5b66e1['dom']:null;if(_0x2e3a42['dom']['classList']['add']('cm-tooltip'),_0x377bf2['arrow']&&!_0x2e3a42['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0xb4881d=document['createElement']('div');_0xb4881d['className']='cm-tooltip-arrow',_0x2e3a42['dom']['appendChild'](_0xb4881d);}return _0x2e3a42['dom']['style']['position']=this['position'],_0x2e3a42['dom']['style']['top']=Outside,_0x2e3a42['dom']['style']['left']='0px',this['container']['insertBefore'](_0x2e3a42['dom'],_0x48ca22),_0x2e3a42['mount']&&_0x2e3a42['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x2e3a42['dom']),_0x2e3a42;}['destroy'](){var _0x264709,_0x2b0bf3,_0x4c1640;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x3451a6 of this['manager']['tooltipViews'])_0x3451a6['dom']['remove'](),null===(_0x264709=_0x3451a6['destroy'])||void 0x0===_0x264709||_0x264709['call'](_0x3451a6);this['parent']&&this['container']['remove'](),null===(_0x2b0bf3=this['resizeObserver'])||void 0x0===_0x2b0bf3||_0x2b0bf3['disconnect'](),null===(_0x4c1640=this['intersectionObserver'])||void 0x0===_0x4c1640||_0x4c1640['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x561a1a=0x1,_0x28ef3b=0x1,_0x11ac36=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x23a25d}=this['manager']['tooltipViews'][0x0];if(browser['gecko'])_0x11ac36=_0x23a25d['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x23a25d['style']['top']==Outside&&'0px'==_0x23a25d['style']['left']){let _0x3cddab=_0x23a25d['getBoundingClientRect']();_0x11ac36=Math['abs'](_0x3cddab['top']+0x2710)>0x1||Math['abs'](_0x3cddab['left'])>0x1;}}}if(_0x11ac36||'absolute'==this['position']){if(this['parent']){let _0x4a9e4f=this['parent']['getBoundingClientRect']();_0x4a9e4f['width']&&_0x4a9e4f['height']&&(_0x561a1a=_0x4a9e4f['width']/this['parent']['offsetWidth'],_0x28ef3b=_0x4a9e4f['height']/this['parent']['offsetHeight']);}else({scaleX:_0x561a1a,scaleY:_0x28ef3b}=this['view']['viewState']);}let _0x49c0d5=this['view']['scrollDOM']['getBoundingClientRect'](),_0x24d6c1=getScrollMargins(this['view']);return{'visible':{'left':_0x49c0d5['left']+_0x24d6c1['left'],'top':_0x49c0d5['top']+_0x24d6c1['top'],'right':_0x49c0d5['right']-_0x24d6c1['right'],'bottom':_0x49c0d5['bottom']-_0x24d6c1['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x4998de)=>{let _0x1a123d=this['manager']['tooltipViews'][_0x4998de];return _0x1a123d['getCoords']?_0x1a123d['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0xccd4ce})=>_0xccd4ce['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x561a1a,'scaleY':_0x28ef3b,'makeAbsolute':_0x11ac36};}['writeMeasure'](_0x4c6ab4){var _0x20c099;if(_0x4c6ab4['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x276ea0,space:_0x40db71,scaleX:_0x2f82fe,scaleY:_0x889eed}=_0x4c6ab4,_0x4daaf9=[];for(let _0x1a53e1=0x0;_0x1a53e1<this['manager']['tooltips']['length'];_0x1a53e1++){let _0x3905fb=this['manager']['tooltips'][_0x1a53e1],_0x5e29aa=this['manager']['tooltipViews'][_0x1a53e1],{dom:_0xb8bc2a}=_0x5e29aa,_0x39d05b=_0x4c6ab4['pos'][_0x1a53e1],_0x1a9950=_0x4c6ab4['size'][_0x1a53e1];if(!_0x39d05b||!0x1!==_0x3905fb['clip']&&(_0x39d05b['bottom']<=Math['max'](_0x276ea0['top'],_0x40db71['top'])||_0x39d05b['top']>=Math['min'](_0x276ea0['bottom'],_0x40db71['bottom'])||_0x39d05b['right']<Math['max'](_0x276ea0['left'],_0x40db71['left'])-0.1||_0x39d05b['left']>Math['min'](_0x276ea0['right'],_0x40db71['right'])+0.1)){_0xb8bc2a['style']['top']=Outside;continue;}let _0x24daa4=_0x3905fb['arrow']?_0x5e29aa['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x330c30=_0x24daa4?0x7:0x0,_0x7c99f5=_0x1a9950['right']-_0x1a9950['left'],_0x493380=null!==(_0x20c099=knownHeight['get'](_0x5e29aa))&&void 0x0!==_0x20c099?_0x20c099:_0x1a9950['bottom']-_0x1a9950['top'],_0x5b05da=_0x5e29aa['offset']||noOffset,_0x2dd9a5=this['view']['textDirection']==Direction['LTR'],_0x24ddaf=_0x1a9950['width']>_0x40db71['right']-_0x40db71['left']?_0x2dd9a5?_0x40db71['left']:_0x40db71['right']-_0x1a9950['width']:_0x2dd9a5?Math['max'](_0x40db71['left'],Math['min'](_0x39d05b['left']-(_0x24daa4?0xe:0x0)+_0x5b05da['x'],_0x40db71['right']-_0x7c99f5)):Math['min'](Math['max'](_0x40db71['left'],_0x39d05b['left']-_0x7c99f5+(_0x24daa4?0xe:0x0)-_0x5b05da['x']),_0x40db71['right']-_0x7c99f5),_0xd2690d=this['above'][_0x1a53e1];!_0x3905fb['strictSide']&&(_0xd2690d?_0x39d05b['top']-_0x493380-_0x330c30-_0x5b05da['y']<_0x40db71['top']:_0x39d05b['bottom']+_0x493380+_0x330c30+_0x5b05da['y']>_0x40db71['bottom'])&&_0xd2690d==_0x40db71['bottom']-_0x39d05b['bottom']>_0x39d05b['top']-_0x40db71['top']&&(_0xd2690d=this['above'][_0x1a53e1]=!_0xd2690d);let _0x24fbae=(_0xd2690d?_0x39d05b['top']-_0x40db71['top']:_0x40db71['bottom']-_0x39d05b['bottom'])-_0x330c30;if(_0x24fbae<_0x493380&&!0x1!==_0x5e29aa['resize']){if(_0x24fbae<this['view']['defaultLineHeight']){_0xb8bc2a['style']['top']=Outside;continue;}knownHeight['set'](_0x5e29aa,_0x493380),_0xb8bc2a['style']['height']=(_0x493380=_0x24fbae)/_0x889eed+'px';}else _0xb8bc2a['style']['height']&&(_0xb8bc2a['style']['height']='');let _0xedab2f=_0xd2690d?_0x39d05b['top']-_0x493380-_0x330c30-_0x5b05da['y']:_0x39d05b['bottom']+_0x330c30+_0x5b05da['y'],_0x1e026d=_0x24ddaf+_0x7c99f5;if(!0x0!==_0x5e29aa['overlap']){for(let _0x343fce of _0x4daaf9)_0x343fce['left']<_0x1e026d&&_0x343fce['right']>_0x24ddaf&&_0x343fce['top']<_0xedab2f+_0x493380&&_0x343fce['bottom']>_0xedab2f&&(_0xedab2f=_0xd2690d?_0x343fce['top']-_0x493380-0x2-_0x330c30:_0x343fce['bottom']+_0x330c30+0x2);}if('absolute'==this['position']?(_0xb8bc2a['style']['top']=(_0xedab2f-_0x4c6ab4['parent']['top'])/_0x889eed+'px',setLeftStyle(_0xb8bc2a,(_0x24ddaf-_0x4c6ab4['parent']['left'])/_0x2f82fe)):(_0xb8bc2a['style']['top']=_0xedab2f/_0x889eed+'px',setLeftStyle(_0xb8bc2a,_0x24ddaf/_0x2f82fe)),_0x24daa4){let _0x29c51e=_0x39d05b['left']+(_0x2dd9a5?_0x5b05da['x']:-_0x5b05da['x'])-(_0x24ddaf+0xe-0x7);_0x24daa4['style']['left']=_0x29c51e/_0x2f82fe+'px';}!0x0!==_0x5e29aa['overlap']&&_0x4daaf9['push']({'left':_0x24ddaf,'top':_0xedab2f,'right':_0x1e026d,'bottom':_0xedab2f+_0x493380}),_0xb8bc2a['classList']['toggle']('cm-tooltip-above',_0xd2690d),_0xb8bc2a['classList']['toggle']('cm-tooltip-below',!_0xd2690d),_0x5e29aa['positioned']&&_0x5e29aa['positioned'](_0x4c6ab4['space']);}}['maybeMeasure'](){if(this['manager']['tooltips']['length']&&(this['view']['inView']&&this['view']['requestMeasure'](this['measureReq']),this['inView']!=this['view']['inView']&&(this['inView']=this['view']['inView'],!this['inView']))){for(let _0x36e671 of this['manager']['tooltipViews'])_0x36e671['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x4e5626,_0x8d89b){let _0x15b7e3=parseInt(_0x4e5626['style']['left'],0xa);(isNaN(_0x15b7e3)||Math['abs'](_0x8d89b-_0x15b7e3)>0x1)&&(_0x4e5626['style']['left']=_0x8d89b+'px');}const baseTheme$3=EditorView['baseTheme']({'.cm-tooltip':{'zIndex':0x1f4,'boxSizing':'border-box'},'&light\x20.cm-tooltip':{'border':'1px\x20solid\x20#bbb','backgroundColor':'#f5f5f5'},'&light\x20.cm-tooltip-section:not(:first-child)':{'borderTop':'1px\x20solid\x20#bbb'},'&dark\x20.cm-tooltip':{'backgroundColor':'#333338','color':'white'},'.cm-tooltip-arrow':{'height':'7px','width':'14px','position':'absolute','zIndex':-0x1,'overflow':'hidden','&:before,\x20&:after':{'content':'\x27\x27','position':'absolute','width':0x0,'height':0x0,'borderLeft':'7px\x20solid\x20transparent','borderRight':'7px\x20solid\x20transparent'},'.cm-tooltip-above\x20&':{'bottom':'-7px','&:before':{'borderTop':'7px\x20solid\x20#bbb'},'&:after':{'borderTop':'7px\x20solid\x20#f5f5f5','bottom':'1px'}},'.cm-tooltip-below\x20&':{'top':'-7px','&:before':{'borderBottom':'7px\x20solid\x20#bbb'},'&:after':{'borderBottom':'7px\x20solid\x20#f5f5f5','top':'1px'}}},'&dark\x20.cm-tooltip\x20.cm-tooltip-arrow':{'&:before':{'borderTopColor':'#333338','borderBottomColor':'#333338'},'&:after':{'borderTopColor':'transparent','borderBottomColor':'transparent'}}}),noOffset={'x':0x0,'y':0x0},showTooltip=Facet['define']({'enables':[tooltipPlugin,baseTheme$3]});function getTooltip(_0xf61c6a,_0x4d60c3){let _0x5942b1=_0xf61c6a['plugin'](tooltipPlugin);if(!_0x5942b1)return null;let _0x4c6c02=_0x5942b1['manager']['tooltips']['indexOf'](_0x4d60c3);return _0x4c6c02<0x0?null:_0x5942b1['manager']['tooltipViews'][_0x4c6c02];}class GutterMarker extends RangeValue{['compare'](_0x34c8bb){return this==_0x34c8bb||this['constructor']==_0x34c8bb['constructor']&&this['eq'](_0x34c8bb);}['eq'](_0x5b0aa4){return!0x1;}['destroy'](_0x1cda02){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=MapMode['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const gutterLineClass=Facet['define'](),gutterWidgetClass=Facet['define'](),defaults$1={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{}},activeGutters=Facet['define']();function gutter(_0x4f1f18){return[gutters(),activeGutters['of'](Object['assign'](Object['assign']({},defaults$1),_0x4f1f18))];}const unfixGutters=Facet['define']({'combine':_0x1c76a6=>_0x1c76a6['some'](_0x4b77f6=>_0x4b77f6)});function gutters(_0x3c7d6f){return[gutterView];}const gutterView=ViewPlugin['fromClass'](class{constructor(_0x2174cd){this['view']=_0x2174cd,this['prevViewport']=_0x2174cd['viewport'],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutters',this['dom']['setAttribute']('aria-hidden','true'),this['dom']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['gutters']=_0x2174cd['state']['facet'](activeGutters)['map'](_0x355a7d=>new SingleGutterView(_0x2174cd,_0x355a7d));for(let _0x49e27d of this['gutters'])this['dom']['appendChild'](_0x49e27d['dom']);this['fixed']=!_0x2174cd['state']['facet'](unfixGutters),this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x2174cd['scrollDOM']['insertBefore'](this['dom'],_0x2174cd['contentDOM']);}['update'](_0x9968a1){if(this['updateGutters'](_0x9968a1)){let _0x156c5e=this['prevViewport'],_0x348df4=_0x9968a1['view']['viewport'],_0x3bbdfc=Math['min'](_0x156c5e['to'],_0x348df4['to'])-Math['max'](_0x156c5e['from'],_0x348df4['from']);this['syncGutters'](_0x3bbdfc<0.8*(_0x348df4['to']-_0x348df4['from']));}_0x9968a1['geometryChanged']&&(this['dom']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px'),this['view']['state']['facet'](unfixGutters)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':''),this['prevViewport']=_0x9968a1['view']['viewport'];}['syncGutters'](_0x2c51dc){let _0x5df326=this['dom']['nextSibling'];_0x2c51dc&&this['dom']['remove']();let _0x2e5ca4=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x283e20=[],_0x58738e=this['gutters']['map'](_0x5d9635=>new UpdateContext(_0x5d9635,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x2a7c65 of this['view']['viewportLineBlocks'])if(_0x283e20['length']&&(_0x283e20=[]),Array['isArray'](_0x2a7c65['type'])){let _0x1065ba=!0x0;for(let _0x5c1e35 of _0x2a7c65['type'])if(_0x5c1e35['type']==BlockType['Text']&&_0x1065ba){advanceCursor(_0x2e5ca4,_0x283e20,_0x5c1e35['from']);for(let _0x14c64a of _0x58738e)_0x14c64a['line'](this['view'],_0x5c1e35,_0x283e20);_0x1065ba=!0x1;}else{if(_0x5c1e35['widget']){for(let _0x3a9fbb of _0x58738e)_0x3a9fbb['widget'](this['view'],_0x5c1e35);}}}else{if(_0x2a7c65['type']==BlockType['Text']){advanceCursor(_0x2e5ca4,_0x283e20,_0x2a7c65['from']);for(let _0x3d7d73 of _0x58738e)_0x3d7d73['line'](this['view'],_0x2a7c65,_0x283e20);}else{if(_0x2a7c65['widget']){for(let _0x364aaf of _0x58738e)_0x364aaf['widget'](this['view'],_0x2a7c65);}}}for(let _0x41545a of _0x58738e)_0x41545a['finish']();_0x2c51dc&&this['view']['scrollDOM']['insertBefore'](this['dom'],_0x5df326);}['updateGutters'](_0x35d039){let _0x1343fa=_0x35d039['startState']['facet'](activeGutters),_0x5b691c=_0x35d039['state']['facet'](activeGutters),_0x26426a=_0x35d039['docChanged']||_0x35d039['heightChanged']||_0x35d039['viewportChanged']||!RangeSet['eq'](_0x35d039['startState']['facet'](gutterLineClass),_0x35d039['state']['facet'](gutterLineClass),_0x35d039['view']['viewport']['from'],_0x35d039['view']['viewport']['to']);if(_0x1343fa==_0x5b691c){for(let _0x42e94b of this['gutters'])_0x42e94b['update'](_0x35d039)&&(_0x26426a=!0x0);}else{_0x26426a=!0x0;let _0x3aa5d2=[];for(let _0xb67248 of _0x5b691c){let _0x20317a=_0x1343fa['indexOf'](_0xb67248);_0x20317a<0x0?_0x3aa5d2['push'](new SingleGutterView(this['view'],_0xb67248)):(this['gutters'][_0x20317a]['update'](_0x35d039),_0x3aa5d2['push'](this['gutters'][_0x20317a]));}for(let _0x2bdfcd of this['gutters'])_0x2bdfcd['dom']['remove'](),_0x3aa5d2['indexOf'](_0x2bdfcd)<0x0&&_0x2bdfcd['destroy']();for(let _0x448673 of _0x3aa5d2)this['dom']['appendChild'](_0x448673['dom']);this['gutters']=_0x3aa5d2;}return _0x26426a;}['destroy'](){for(let _0x5e3528 of this['gutters'])_0x5e3528['destroy']();this['dom']['remove']();}},{'provide':_0xd00584=>EditorView['scrollMargins']['of'](_0x14e5dc=>{let _0x36997f=_0x14e5dc['plugin'](_0xd00584);return _0x36997f&&0x0!=_0x36997f['gutters']['length']&&_0x36997f['fixed']?_0x14e5dc['textDirection']==Direction['LTR']?{'left':_0x36997f['dom']['offsetWidth']*_0x14e5dc['scaleX']}:{'right':_0x36997f['dom']['offsetWidth']*_0x14e5dc['scaleX']}:null;})});function asArray$1(_0x52d666){return Array['isArray'](_0x52d666)?_0x52d666:[_0x52d666];}function advanceCursor(_0x4a09a5,_0x2cc935,_0x2e1654){for(;_0x4a09a5['value']&&_0x4a09a5['from']<=_0x2e1654;)_0x4a09a5['from']==_0x2e1654&&_0x2cc935['push'](_0x4a09a5['value']),_0x4a09a5['next']();}class UpdateContext{constructor(_0x2df235,_0x32096a,_0x534975){this['gutter']=_0x2df235,this['height']=_0x534975,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x2df235['markers'],_0x32096a['from']);}['addElement'](_0x3dce0c,_0x2690bb,_0x24d95b){let {gutter:_0x38cb90}=this,_0x4b224f=(_0x2690bb['top']-this['height'])/_0x3dce0c['scaleY'],_0x5af07e=_0x2690bb['height']/_0x3dce0c['scaleY'];if(this['i']==_0x38cb90['elements']['length']){let _0x28fb7f=new GutterElement(_0x3dce0c,_0x5af07e,_0x4b224f,_0x24d95b);_0x38cb90['elements']['push'](_0x28fb7f),_0x38cb90['dom']['appendChild'](_0x28fb7f['dom']);}else _0x38cb90['elements'][this['i']]['update'](_0x3dce0c,_0x5af07e,_0x4b224f,_0x24d95b);this['height']=_0x2690bb['bottom'],this['i']++;}['line'](_0x20144e,_0x4df0d1,_0x300d91){let _0x1e911a=[];advanceCursor(this['cursor'],_0x1e911a,_0x4df0d1['from']),_0x300d91['length']&&(_0x1e911a=_0x1e911a['concat'](_0x300d91));let _0x114151=this['gutter']['config']['lineMarker'](_0x20144e,_0x4df0d1,_0x1e911a);_0x114151&&_0x1e911a['unshift'](_0x114151);let _0xd4d54e=this['gutter'];(0x0!=_0x1e911a['length']||_0xd4d54e['config']['renderEmptyElements'])&&this['addElement'](_0x20144e,_0x4df0d1,_0x1e911a);}['widget'](_0x385333,_0x5a203b){let _0xae21e4=this['gutter']['config']['widgetMarker'](_0x385333,_0x5a203b['widget'],_0x5a203b),_0xa3c693=_0xae21e4?[_0xae21e4]:null;for(let _0x4c8ff0 of _0x385333['state']['facet'](gutterWidgetClass)){let _0x36cc34=_0x4c8ff0(_0x385333,_0x5a203b['widget'],_0x5a203b);_0x36cc34&&(_0xa3c693||(_0xa3c693=[]))['push'](_0x36cc34);}_0xa3c693&&this['addElement'](_0x385333,_0x5a203b,_0xa3c693);}['finish'](){let _0x3c3c58=this['gutter'];for(;_0x3c3c58['elements']['length']>this['i'];){let _0x1612a5=_0x3c3c58['elements']['pop']();_0x3c3c58['dom']['removeChild'](_0x1612a5['dom']),_0x1612a5['destroy']();}}}class SingleGutterView{constructor(_0x428868,_0x250bbb){this['view']=_0x428868,this['config']=_0x250bbb,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x49779d in _0x250bbb['domEventHandlers'])this['dom']['addEventListener'](_0x49779d,_0x3d1bbf=>{let _0x7bf2b2,_0x3a18fd=_0x3d1bbf['target'];if(_0x3a18fd!=this['dom']&&this['dom']['contains'](_0x3a18fd)){for(;_0x3a18fd['parentNode']!=this['dom'];)_0x3a18fd=_0x3a18fd['parentNode'];let _0x56e197=_0x3a18fd['getBoundingClientRect']();_0x7bf2b2=(_0x56e197['top']+_0x56e197['bottom'])/0x2;}else _0x7bf2b2=_0x3d1bbf['clientY'];let _0x4ac265=_0x428868['lineBlockAtHeight'](_0x7bf2b2-_0x428868['documentTop']);_0x250bbb['domEventHandlers'][_0x49779d](_0x428868,_0x4ac265,_0x3d1bbf)&&_0x3d1bbf['preventDefault']();});this['markers']=asArray$1(_0x250bbb['markers'](_0x428868)),_0x250bbb['initialSpacer']&&(this['spacer']=new GutterElement(_0x428868,0x0,0x0,[_0x250bbb['initialSpacer'](_0x428868)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x4c7f08){let _0x56a228=this['markers'];if(this['markers']=asArray$1(this['config']['markers'](_0x4c7f08['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x2ef611=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x4c7f08);_0x2ef611!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x4c7f08['view'],0x0,0x0,[_0x2ef611]);}let _0x5429dc=_0x4c7f08['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x56a228,_0x5429dc['from'],_0x5429dc['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x4c7f08);}['destroy'](){for(let _0x14fa5c of this['elements'])_0x14fa5c['destroy']();}}class GutterElement{constructor(_0x33f79c,_0x140b79,_0x493bc2,_0x5b4980){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x33f79c,_0x140b79,_0x493bc2,_0x5b4980);}['update'](_0x3880b8,_0x3f0f23,_0x1089c9,_0x3f9023){this['height']!=_0x3f0f23&&(this['height']=_0x3f0f23,this['dom']['style']['height']=_0x3f0f23+'px'),this['above']!=_0x1089c9&&(this['dom']['style']['marginTop']=(this['above']=_0x1089c9)?_0x1089c9+'px':''),sameMarkers(this['markers'],_0x3f9023)||this['setMarkers'](_0x3880b8,_0x3f9023);}['setMarkers'](_0x117c16,_0x84950d){let _0x438656='cm-gutterElement',_0x56d2af=this['dom']['firstChild'];for(let _0x3660a6=0x0,_0x4ad8ee=0x0;;){let _0x6eb62a=_0x4ad8ee,_0x1887cc=_0x3660a6<_0x84950d['length']?_0x84950d[_0x3660a6++]:null,_0xd9c8dc=!0x1;if(_0x1887cc){let _0x2b8ef1=_0x1887cc['elementClass'];_0x2b8ef1&&(_0x438656+='\x20'+_0x2b8ef1);for(let _0x58144f=_0x4ad8ee;_0x58144f<this['markers']['length'];_0x58144f++)if(this['markers'][_0x58144f]['compare'](_0x1887cc)){_0x6eb62a=_0x58144f,_0xd9c8dc=!0x0;break;}}else _0x6eb62a=this['markers']['length'];for(;_0x4ad8ee<_0x6eb62a;){let _0x29c8f3=this['markers'][_0x4ad8ee++];if(_0x29c8f3['toDOM']){_0x29c8f3['destroy'](_0x56d2af);let _0x1c096c=_0x56d2af['nextSibling'];_0x56d2af['remove'](),_0x56d2af=_0x1c096c;}}if(!_0x1887cc)break;_0x1887cc['toDOM']&&(_0xd9c8dc?_0x56d2af=_0x56d2af['nextSibling']:this['dom']['insertBefore'](_0x1887cc['toDOM'](_0x117c16),_0x56d2af)),_0xd9c8dc&&_0x4ad8ee++;}this['dom']['className']=_0x438656,this['markers']=_0x84950d;}['destroy'](){this['setMarkers'](null,[]);}}function sameMarkers(_0x7563c8,_0x2c2ed4){if(_0x7563c8['length']!=_0x2c2ed4['length'])return!0x1;for(let _0x1f3377=0x0;_0x1f3377<_0x7563c8['length'];_0x1f3377++)if(!_0x7563c8[_0x1f3377]['compare'](_0x2c2ed4[_0x1f3377]))return!0x1;return!0x0;}const lineNumberMarkers=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),lineNumberConfig=Facet['define']({'combine':_0x209771=>combineConfig(_0x209771,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x1a932b,_0x1964bf){let _0x1c5c13=Object['assign']({},_0x1a932b);for(let _0x5264fa in _0x1964bf){let _0x5a47a8=_0x1c5c13[_0x5264fa],_0x46621e=_0x1964bf[_0x5264fa];_0x1c5c13[_0x5264fa]=_0x5a47a8?(_0x2fd357,_0x2ee9f3,_0x42ea0f)=>_0x5a47a8(_0x2fd357,_0x2ee9f3,_0x42ea0f)||_0x46621e(_0x2fd357,_0x2ee9f3,_0x42ea0f):_0x46621e;}return _0x1c5c13;}})});class NumberMarker extends GutterMarker{constructor(_0x3678d7){super(),this['number']=_0x3678d7;}['eq'](_0x3d24be){return this['number']==_0x3d24be['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x4ca368,_0x3fbff1){return _0x4ca368['state']['facet'](lineNumberConfig)['formatNumber'](_0x3fbff1,_0x4ca368['state']);}const lineNumberGutter=activeGutters['compute']([lineNumberConfig],_0x2ad14a=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x553ffd=>_0x553ffd['state']['facet'](lineNumberMarkers),'lineMarker':(_0x233d79,_0x3c6e33,_0xbe19e8)=>_0xbe19e8['some'](_0x416146=>_0x416146['toDOM'])?null:new NumberMarker(formatNumber(_0x233d79,_0x233d79['state']['doc']['lineAt'](_0x3c6e33['from'])['number'])),'widgetMarker':(_0x4edd87,_0x3d1dd3,_0x3843dd)=>{for(let _0x3dfac7 of _0x4edd87['state']['facet'](lineNumberWidgetMarker)){let _0x1437aa=_0x3dfac7(_0x4edd87,_0x3d1dd3,_0x3843dd);if(_0x1437aa)return _0x1437aa;}return null;},'lineMarkerChange':_0x484e1d=>_0x484e1d['startState']['facet'](lineNumberConfig)!=_0x484e1d['state']['facet'](lineNumberConfig),'initialSpacer':_0x2d44a0=>new NumberMarker(formatNumber(_0x2d44a0,maxLineNumber(_0x2d44a0['state']['doc']['lines']))),'updateSpacer'(_0x59f6c7,_0x4d5287){let _0x3c0e00=formatNumber(_0x4d5287['view'],maxLineNumber(_0x4d5287['view']['state']['doc']['lines']));return _0x3c0e00==_0x59f6c7['number']?_0x59f6c7:new NumberMarker(_0x3c0e00);},'domEventHandlers':_0x2ad14a['facet'](lineNumberConfig)['domEventHandlers']}));function lineNumbers(_0x4ddfdb={}){return[lineNumberConfig['of'](_0x4ddfdb),gutters(),lineNumberGutter];}function maxLineNumber(_0x507ce7){let _0x41f5e8=0x9;for(;_0x41f5e8<_0x507ce7;)_0x41f5e8=0xa*_0x41f5e8+0x9;return _0x41f5e8;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x23fe79=>{let _0x88071a=[],_0x4c6c52=-0x1;for(let _0x41eea3 of _0x23fe79['selection']['ranges']){let _0x72ec55=_0x23fe79['doc']['lineAt'](_0x41eea3['head'])['from'];_0x72ec55>_0x4c6c52&&(_0x4c6c52=_0x72ec55,_0x88071a['push'](activeLineGutterMarker['range'](_0x72ec55)));}return RangeSet['of'](_0x88071a);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class Range{constructor(_0x4c3aa6,_0x27c57b){this['from']=_0x4c3aa6,this['to']=_0x27c57b;}}class NodeProp{constructor(_0x1a279d={}){this['id']=nextPropID++,this['perNode']=!!_0x1a279d['perNode'],this['deserialize']=_0x1a279d['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');});}['add'](_0x13c9a6){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x13c9a6&&(_0x13c9a6=NodeType['match'](_0x13c9a6)),_0x256c34=>{let _0xfd6f83=_0x13c9a6(_0x256c34);return void 0x0===_0xfd6f83?null:[this,_0xfd6f83];};}}NodeProp['closedBy']=new NodeProp({'deserialize':_0x513fac=>_0x513fac['split']('\x20')}),NodeProp['openedBy']=new NodeProp({'deserialize':_0x38f495=>_0x38f495['split']('\x20')}),NodeProp['group']=new NodeProp({'deserialize':_0x2c0fa5=>_0x2c0fa5['split']('\x20')}),NodeProp['isolate']=new NodeProp({'deserialize':_0x2f1f11=>{if(_0x2f1f11&&'rtl'!=_0x2f1f11&&'ltr'!=_0x2f1f11&&'auto'!=_0x2f1f11)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x2f1f11);return _0x2f1f11||'auto';}}),NodeProp['contextHash']=new NodeProp({'perNode':!0x0}),NodeProp['lookAhead']=new NodeProp({'perNode':!0x0}),NodeProp['mounted']=new NodeProp({'perNode':!0x0});class MountedTree{constructor(_0xb22145,_0x11c9f1,_0x2385ed){this['tree']=_0xb22145,this['overlay']=_0x11c9f1,this['parser']=_0x2385ed;}static['get'](_0x1ba030){return _0x1ba030&&_0x1ba030['props']&&_0x1ba030['props'][NodeProp['mounted']['id']];}}const noProps=Object['create'](null);class NodeType{constructor(_0x1c5622,_0x47f4e8,_0x3d2a4a,_0x15cbd3=0x0){this['name']=_0x1c5622,this['props']=_0x47f4e8,this['id']=_0x3d2a4a,this['flags']=_0x15cbd3;}static['define'](_0x2ce7d7){let _0x47796f=_0x2ce7d7['props']&&_0x2ce7d7['props']['length']?Object['create'](null):noProps,_0x385e48=(_0x2ce7d7['top']?0x1:0x0)|(_0x2ce7d7['skipped']?0x2:0x0)|(_0x2ce7d7['error']?0x4:0x0)|(null==_0x2ce7d7['name']?0x8:0x0),_0x48e618=new NodeType(_0x2ce7d7['name']||'',_0x47796f,_0x2ce7d7['id'],_0x385e48);if(_0x2ce7d7['props']){for(let _0x353f92 of _0x2ce7d7['props'])if(Array['isArray'](_0x353f92)||(_0x353f92=_0x353f92(_0x48e618)),_0x353f92){if(_0x353f92[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x47796f[_0x353f92[0x0]['id']]=_0x353f92[0x1];}}return _0x48e618;}['prop'](_0x550382){return this['props'][_0x550382['id']];}get['isTop'](){return(0x1&this['flags'])>0x0;}get['isSkipped'](){return(0x2&this['flags'])>0x0;}get['isError'](){return(0x4&this['flags'])>0x0;}get['isAnonymous'](){return(0x8&this['flags'])>0x0;}['is'](_0x4d1603){if('string'==typeof _0x4d1603){if(this['name']==_0x4d1603)return!0x0;let _0x39ab00=this['prop'](NodeProp['group']);return!!_0x39ab00&&_0x39ab00['indexOf'](_0x4d1603)>-0x1;}return this['id']==_0x4d1603;}static['match'](_0x3978f9){let _0x361f90=Object['create'](null);for(let _0xb74ace in _0x3978f9)for(let _0x5e3f2a of _0xb74ace['split']('\x20'))_0x361f90[_0x5e3f2a]=_0x3978f9[_0xb74ace];return _0x3af29f=>{for(let _0x25a7b0=_0x3af29f['prop'](NodeProp['group']),_0x24e397=-0x1;_0x24e397<(_0x25a7b0?_0x25a7b0['length']:0x0);_0x24e397++){let _0x3a3aff=_0x361f90[_0x24e397<0x0?_0x3af29f['name']:_0x25a7b0[_0x24e397]];if(_0x3a3aff)return _0x3a3aff;}};}}NodeType['none']=new NodeType('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x581049){this['types']=_0x581049;for(let _0x5b190c=0x0;_0x5b190c<_0x581049['length'];_0x5b190c++)if(_0x581049[_0x5b190c]['id']!=_0x5b190c)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x3aadb2){let _0x129d76=[];for(let _0x44af5f of this['types']){let _0x5e5eda=null;for(let _0x116331 of _0x3aadb2){let _0x2bd622=_0x116331(_0x44af5f);_0x2bd622&&(_0x5e5eda||(_0x5e5eda=Object['assign']({},_0x44af5f['props'])),_0x5e5eda[_0x2bd622[0x0]['id']]=_0x2bd622[0x1]);}_0x129d76['push'](_0x5e5eda?new NodeType(_0x44af5f['name'],_0x5e5eda,_0x44af5f['id'],_0x44af5f['flags']):_0x44af5f);}return new NodeSet(_0x129d76);}}const CachedNode=new WeakMap(),CachedInnerNode=new WeakMap();var IterMode;!function(_0x352161){_0x352161[_0x352161['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x352161[_0x352161['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x352161[_0x352161['IgnoreMounts']=0x4]='IgnoreMounts',_0x352161[_0x352161['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class Tree{constructor(_0x2ba633,_0x4981a7,_0x109c6c,_0x399956,_0x59adee){if(this['type']=_0x2ba633,this['children']=_0x4981a7,this['positions']=_0x109c6c,this['length']=_0x399956,this['props']=null,_0x59adee&&_0x59adee['length']){this['props']=Object['create'](null);for(let [_0x5c5bce,_0x18a230]of _0x59adee)this['props']['number'==typeof _0x5c5bce?_0x5c5bce:_0x5c5bce['id']]=_0x18a230;}}['toString'](){let _0x4e45a4=MountedTree['get'](this);if(_0x4e45a4&&!_0x4e45a4['overlay'])return _0x4e45a4['tree']['toString']();let _0x113e5d='';for(let _0x5199f4 of this['children']){let _0x228177=_0x5199f4['toString']();_0x228177&&(_0x113e5d&&(_0x113e5d+=','),_0x113e5d+=_0x228177);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x113e5d['length']?'('+_0x113e5d+')':''):_0x113e5d;}['cursor'](_0x116da5=0x0){return new TreeCursor(this['topNode'],_0x116da5);}['cursorAt'](_0x5adb30,_0x347df9=0x0,_0x40c8b7=0x0){let _0x5090da=CachedNode['get'](this)||this['topNode'],_0x252020=new TreeCursor(_0x5090da);return _0x252020['moveTo'](_0x5adb30,_0x347df9),CachedNode['set'](this,_0x252020['_tree']),_0x252020;}get['topNode'](){return new TreeNode(this,0x0,0x0,null);}['resolve'](_0x470790,_0x127e47=0x0){let _0xcc202d=resolveNode(CachedNode['get'](this)||this['topNode'],_0x470790,_0x127e47,!0x1);return CachedNode['set'](this,_0xcc202d),_0xcc202d;}['resolveInner'](_0x10b86b,_0x4cb09e=0x0){let _0x498af6=resolveNode(CachedInnerNode['get'](this)||this['topNode'],_0x10b86b,_0x4cb09e,!0x0);return CachedInnerNode['set'](this,_0x498af6),_0x498af6;}['resolveStack'](_0x25aee5,_0xb84573=0x0){return stackIterator(this,_0x25aee5,_0xb84573);}['iterate'](_0x21d4a1){let {enter:_0x4639b2,leave:_0x3db114,from:_0x56602c=0x0,to:_0x51b262=this['length']}=_0x21d4a1,_0x281273=_0x21d4a1['mode']||0x0,_0x333c8e=(_0x281273&IterMode['IncludeAnonymous'])>0x0;for(let _0x221535=this['cursor'](_0x281273|IterMode['IncludeAnonymous']);;){let _0x394ef4=!0x1;if(_0x221535['from']<=_0x51b262&&_0x221535['to']>=_0x56602c&&(!_0x333c8e&&_0x221535['type']['isAnonymous']||!0x1!==_0x4639b2(_0x221535))){if(_0x221535['firstChild']())continue;_0x394ef4=!0x0;}for(;_0x394ef4&&_0x3db114&&(_0x333c8e||!_0x221535['type']['isAnonymous'])&&_0x3db114(_0x221535),!_0x221535['nextSibling']();){if(!_0x221535['parent']())return;_0x394ef4=!0x0;}}}['prop'](_0x4e8be5){return _0x4e8be5['perNode']?this['props']?this['props'][_0x4e8be5['id']]:void 0x0:this['type']['prop'](_0x4e8be5);}get['propValues'](){let _0x4c3d76=[];if(this['props']){for(let _0x4c8755 in this['props'])_0x4c3d76['push']([+_0x4c8755,this['props'][_0x4c8755]]);}return _0x4c3d76;}['balance'](_0x510df4={}){return this['children']['length']<=0x8?this:balanceRange(NodeType['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x3f7f46,_0x46f94d,_0x39193f)=>new Tree(this['type'],_0x3f7f46,_0x46f94d,_0x39193f,this['propValues']),_0x510df4['makeTree']||((_0x5dc701,_0x343d39,_0x565b25)=>new Tree(NodeType['none'],_0x5dc701,_0x343d39,_0x565b25)));}static['build'](_0x36a284){return buildTree(_0x36a284);}}Tree['empty']=new Tree(NodeType['none'],[],[],0x0);class FlatBufferCursor{constructor(_0xc53d66,_0x372e0f){this['buffer']=_0xc53d66,this['index']=_0x372e0f;}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}get['pos'](){return this['index'];}['next'](){this['index']-=0x4;}['fork'](){return new FlatBufferCursor(this['buffer'],this['index']);}}class TreeBuffer{constructor(_0x47901f,_0x33e203,_0x53d3a3){this['buffer']=_0x47901f,this['length']=_0x33e203,this['set']=_0x53d3a3;}get['type'](){return NodeType['none'];}['toString'](){let _0x1d7bd9=[];for(let _0x230747=0x0;_0x230747<this['buffer']['length'];)_0x1d7bd9['push'](this['childString'](_0x230747)),_0x230747=this['buffer'][_0x230747+0x3];return _0x1d7bd9['join'](',');}['childString'](_0x1ba078){let _0x387261=this['buffer'][_0x1ba078],_0x4adba0=this['buffer'][_0x1ba078+0x3],_0x2663f9=this['set']['types'][_0x387261],_0x14a1b4=_0x2663f9['name'];if(/\W/['test'](_0x14a1b4)&&!_0x2663f9['isError']&&(_0x14a1b4=JSON['stringify'](_0x14a1b4)),_0x4adba0==(_0x1ba078+=0x4))return _0x14a1b4;let _0x196d07=[];for(;_0x1ba078<_0x4adba0;)_0x196d07['push'](this['childString'](_0x1ba078)),_0x1ba078=this['buffer'][_0x1ba078+0x3];return _0x14a1b4+'('+_0x196d07['join'](',')+')';}['findChild'](_0x4c5c03,_0x28df80,_0x2feac2,_0x4986bf,_0x436d04){let {buffer:_0x267cf3}=this,_0x2a0536=-0x1;for(let _0x4a357d=_0x4c5c03;_0x4a357d!=_0x28df80&&!(checkSide(_0x436d04,_0x4986bf,_0x267cf3[_0x4a357d+0x1],_0x267cf3[_0x4a357d+0x2])&&(_0x2a0536=_0x4a357d,_0x2feac2>0x0));_0x4a357d=_0x267cf3[_0x4a357d+0x3]);return _0x2a0536;}['slice'](_0x70f5d2,_0x552d45,_0x4f9db7){let _0x41ffbf=this['buffer'],_0x1ac4eb=new Uint16Array(_0x552d45-_0x70f5d2),_0x501dcb=0x0;for(let _0x5f2050=_0x70f5d2,_0x2ca62e=0x0;_0x5f2050<_0x552d45;){_0x1ac4eb[_0x2ca62e++]=_0x41ffbf[_0x5f2050++],_0x1ac4eb[_0x2ca62e++]=_0x41ffbf[_0x5f2050++]-_0x4f9db7;let _0x383b8a=_0x1ac4eb[_0x2ca62e++]=_0x41ffbf[_0x5f2050++]-_0x4f9db7;_0x1ac4eb[_0x2ca62e++]=_0x41ffbf[_0x5f2050++]-_0x70f5d2,_0x501dcb=Math['max'](_0x501dcb,_0x383b8a);}return new TreeBuffer(_0x1ac4eb,_0x501dcb,this['set']);}}function checkSide(_0x585c92,_0x2cb7f7,_0x1b22cd,_0x1148f5){switch(_0x585c92){case-0x2:return _0x1b22cd<_0x2cb7f7;case-0x1:return _0x1148f5>=_0x2cb7f7&&_0x1b22cd<_0x2cb7f7;case 0x0:return _0x1b22cd<_0x2cb7f7&&_0x1148f5>_0x2cb7f7;case 0x1:return _0x1b22cd<=_0x2cb7f7&&_0x1148f5>_0x2cb7f7;case 0x2:return _0x1148f5>_0x2cb7f7;case 0x4:return!0x0;}}function resolveNode(_0x5c5b40,_0x41f020,_0x1b0688,_0x222bf3){for(var _0x5cff7d;_0x5c5b40['from']==_0x5c5b40['to']||(_0x1b0688<0x1?_0x5c5b40['from']>=_0x41f020:_0x5c5b40['from']>_0x41f020)||(_0x1b0688>-0x1?_0x5c5b40['to']<=_0x41f020:_0x5c5b40['to']<_0x41f020);){let _0x59df01=!_0x222bf3&&_0x5c5b40 instanceof TreeNode&&_0x5c5b40['index']<0x0?null:_0x5c5b40['parent'];if(!_0x59df01)return _0x5c5b40;_0x5c5b40=_0x59df01;}let _0x5f4d04=_0x222bf3?0x0:IterMode['IgnoreOverlays'];if(_0x222bf3){for(let _0x399426=_0x5c5b40,_0x46a57c=_0x399426['parent'];_0x46a57c;_0x399426=_0x46a57c,_0x46a57c=_0x399426['parent'])_0x399426 instanceof TreeNode&&_0x399426['index']<0x0&&(null===(_0x5cff7d=_0x46a57c['enter'](_0x41f020,_0x1b0688,_0x5f4d04))||void 0x0===_0x5cff7d?void 0x0:_0x5cff7d['from'])!=_0x399426['from']&&(_0x5c5b40=_0x46a57c);}for(;;){let _0x1408ec=_0x5c5b40['enter'](_0x41f020,_0x1b0688,_0x5f4d04);if(!_0x1408ec)return _0x5c5b40;_0x5c5b40=_0x1408ec;}}class BaseNode{['cursor'](_0x939ca7=0x0){return new TreeCursor(this,_0x939ca7);}['getChild'](_0x51bce3,_0x1ceda0=null,_0x16f2ed=null){let _0x47a90a=getChildren(this,_0x51bce3,_0x1ceda0,_0x16f2ed);return _0x47a90a['length']?_0x47a90a[0x0]:null;}['getChildren'](_0x14635e,_0x1e16ea=null,_0x3bfce3=null){return getChildren(this,_0x14635e,_0x1e16ea,_0x3bfce3);}['resolve'](_0x667f44,_0x1851ee=0x0){return resolveNode(this,_0x667f44,_0x1851ee,!0x1);}['resolveInner'](_0x39cbb5,_0x50fe76=0x0){return resolveNode(this,_0x39cbb5,_0x50fe76,!0x0);}['matchContext'](_0x2d13ec){return matchNodeContext(this['parent'],_0x2d13ec);}['enterUnfinishedNodesBefore'](_0x333574){let _0x2b0067=this['childBefore'](_0x333574),_0x3ae54d=this;for(;_0x2b0067;){let _0x34874a=_0x2b0067['lastChild'];if(!_0x34874a||_0x34874a['to']!=_0x2b0067['to'])break;_0x34874a['type']['isError']&&_0x34874a['from']==_0x34874a['to']?(_0x3ae54d=_0x2b0067,_0x2b0067=_0x34874a['prevSibling']):_0x2b0067=_0x34874a;}return _0x3ae54d;}get['node'](){return this;}get['next'](){return this['parent'];}}class TreeNode extends BaseNode{constructor(_0x447a67,_0x110955,_0x5c826b,_0x476e3d){super(),this['_tree']=_0x447a67,this['from']=_0x110955,this['index']=_0x5c826b,this['_parent']=_0x476e3d;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0xbcccdf,_0x49c22a,_0xbf1df4,_0x2de98d,_0x3a798d=0x0){for(let _0x126ee7=this;;){for(let {children:_0x153471,positions:_0x65b115}=_0x126ee7['_tree'],_0x44549a=_0x49c22a>0x0?_0x153471['length']:-0x1;_0xbcccdf!=_0x44549a;_0xbcccdf+=_0x49c22a){let _0x53e5dd=_0x153471[_0xbcccdf],_0x161e0b=_0x65b115[_0xbcccdf]+_0x126ee7['from'];if(checkSide(_0x2de98d,_0xbf1df4,_0x161e0b,_0x161e0b+_0x53e5dd['length'])){if(_0x53e5dd instanceof TreeBuffer){if(_0x3a798d&IterMode['ExcludeBuffers'])continue;let _0x3880d9=_0x53e5dd['findChild'](0x0,_0x53e5dd['buffer']['length'],_0x49c22a,_0xbf1df4-_0x161e0b,_0x2de98d);if(_0x3880d9>-0x1)return new BufferNode(new BufferContext(_0x126ee7,_0x53e5dd,_0xbcccdf,_0x161e0b),null,_0x3880d9);}else{if(_0x3a798d&IterMode['IncludeAnonymous']||!_0x53e5dd['type']['isAnonymous']||hasChild(_0x53e5dd)){let _0x39e3bd;if(!(_0x3a798d&IterMode['IgnoreMounts'])&&(_0x39e3bd=MountedTree['get'](_0x53e5dd))&&!_0x39e3bd['overlay'])return new TreeNode(_0x39e3bd['tree'],_0x161e0b,_0xbcccdf,_0x126ee7);let _0x1aeb6f=new TreeNode(_0x53e5dd,_0x161e0b,_0xbcccdf,_0x126ee7);return _0x3a798d&IterMode['IncludeAnonymous']||!_0x1aeb6f['type']['isAnonymous']?_0x1aeb6f:_0x1aeb6f['nextChild'](_0x49c22a<0x0?_0x53e5dd['children']['length']-0x1:0x0,_0x49c22a,_0xbf1df4,_0x2de98d);}}}}if(_0x3a798d&IterMode['IncludeAnonymous']||!_0x126ee7['type']['isAnonymous'])return null;if(_0xbcccdf=_0x126ee7['index']>=0x0?_0x126ee7['index']+_0x49c22a:_0x49c22a<0x0?-0x1:_0x126ee7['_parent']['_tree']['children']['length'],_0x126ee7=_0x126ee7['_parent'],!_0x126ee7)return null;}}get['firstChild'](){return this['nextChild'](0x0,0x1,0x0,0x4);}get['lastChild'](){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,0x0,0x4);}['childAfter'](_0x45198f){return this['nextChild'](0x0,0x1,_0x45198f,0x2);}['childBefore'](_0xa882e5){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0xa882e5,-0x2);}['enter'](_0x383276,_0x425004,_0x47354d=0x0){let _0x4f7bc0;if(!(_0x47354d&IterMode['IgnoreOverlays'])&&(_0x4f7bc0=MountedTree['get'](this['_tree']))&&_0x4f7bc0['overlay']){let _0x49afa7=_0x383276-this['from'];for(let {from:_0x4a76ed,to:_0xc27539}of _0x4f7bc0['overlay'])if((_0x425004>0x0?_0x4a76ed<=_0x49afa7:_0x4a76ed<_0x49afa7)&&(_0x425004<0x0?_0xc27539>=_0x49afa7:_0xc27539>_0x49afa7))return new TreeNode(_0x4f7bc0['tree'],_0x4f7bc0['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x383276,_0x425004,_0x47354d);}['nextSignificantParent'](){let _0xd23ba3=this;for(;_0xd23ba3['type']['isAnonymous']&&_0xd23ba3['_parent'];)_0xd23ba3=_0xd23ba3['_parent'];return _0xd23ba3;}get['parent'](){return this['_parent']?this['_parent']['nextSignificantParent']():null;}get['nextSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']+0x1,0x1,0x0,0x4):null;}get['prevSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']-0x1,-0x1,0x0,0x4):null;}get['tree'](){return this['_tree'];}['toTree'](){return this['_tree'];}['toString'](){return this['_tree']['toString']();}}function getChildren(_0x539b1d,_0x49a55b,_0x1dfb3d,_0x36bfcc){let _0x111dc8=_0x539b1d['cursor'](),_0xf745a7=[];if(!_0x111dc8['firstChild']())return _0xf745a7;if(null!=_0x1dfb3d){for(let _0xe3d813=!0x1;!_0xe3d813;)if(_0xe3d813=_0x111dc8['type']['is'](_0x1dfb3d),!_0x111dc8['nextSibling']())return _0xf745a7;}for(;;){if(null!=_0x36bfcc&&_0x111dc8['type']['is'](_0x36bfcc))return _0xf745a7;if(_0x111dc8['type']['is'](_0x49a55b)&&_0xf745a7['push'](_0x111dc8['node']),!_0x111dc8['nextSibling']())return null==_0x36bfcc?_0xf745a7:[];}}function matchNodeContext(_0x883da2,_0x2a9f45,_0x362a49=_0x2a9f45['length']-0x1){for(let _0x585ba4=_0x883da2;_0x362a49>=0x0;_0x585ba4=_0x585ba4['parent']){if(!_0x585ba4)return!0x1;if(!_0x585ba4['type']['isAnonymous']){if(_0x2a9f45[_0x362a49]&&_0x2a9f45[_0x362a49]!=_0x585ba4['name'])return!0x1;_0x362a49--;}}return!0x0;}class BufferContext{constructor(_0x3ba095,_0x431575,_0x3126ca,_0x29e919){this['parent']=_0x3ba095,this['buffer']=_0x431575,this['index']=_0x3126ca,this['start']=_0x29e919;}}class BufferNode extends BaseNode{get['name'](){return this['type']['name'];}get['from'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x1];}get['to'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x2];}constructor(_0x1ffd0e,_0x1a8e25,_0x4d46ce){super(),this['context']=_0x1ffd0e,this['_parent']=_0x1a8e25,this['index']=_0x4d46ce,this['type']=_0x1ffd0e['buffer']['set']['types'][_0x1ffd0e['buffer']['buffer'][_0x4d46ce]];}['child'](_0x4a3b11,_0x571363,_0xd80ca5){let {buffer:_0x3974db}=this['context'],_0x17a0c8=_0x3974db['findChild'](this['index']+0x4,_0x3974db['buffer'][this['index']+0x3],_0x4a3b11,_0x571363-this['context']['start'],_0xd80ca5);return _0x17a0c8<0x0?null:new BufferNode(this['context'],this,_0x17a0c8);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x306537){return this['child'](0x1,_0x306537,0x2);}['childBefore'](_0x277ba2){return this['child'](-0x1,_0x277ba2,-0x2);}['enter'](_0x26a969,_0x42f6a1,_0x3f3f2a=0x0){if(_0x3f3f2a&IterMode['ExcludeBuffers'])return null;let {buffer:_0x1c6b3f}=this['context'],_0x1ee8f6=_0x1c6b3f['findChild'](this['index']+0x4,_0x1c6b3f['buffer'][this['index']+0x3],_0x42f6a1>0x0?0x1:-0x1,_0x26a969-this['context']['start'],_0x42f6a1);return _0x1ee8f6<0x0?null:new BufferNode(this['context'],this,_0x1ee8f6);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x3fc4d0){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x3fc4d0,_0x3fc4d0,0x0,0x4);}get['nextSibling'](){let {buffer:_0x4c977b}=this['context'],_0x52fed0=_0x4c977b['buffer'][this['index']+0x3];return _0x52fed0<(this['_parent']?_0x4c977b['buffer'][this['_parent']['index']+0x3]:_0x4c977b['buffer']['length'])?new BufferNode(this['context'],this['_parent'],_0x52fed0):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x53ce4b}=this['context'],_0x5cdd98=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x5cdd98?this['externalSibling'](-0x1):new BufferNode(this['context'],this['_parent'],_0x53ce4b['findChild'](_0x5cdd98,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x3bec94=[],_0x2fa517=[],{buffer:_0x3f9737}=this['context'],_0x3cb1bf=this['index']+0x4,_0x3fd9ba=_0x3f9737['buffer'][this['index']+0x3];if(_0x3fd9ba>_0x3cb1bf){let _0x309a0c=_0x3f9737['buffer'][this['index']+0x1];_0x3bec94['push'](_0x3f9737['slice'](_0x3cb1bf,_0x3fd9ba,_0x309a0c)),_0x2fa517['push'](0x0);}return new Tree(this['type'],_0x3bec94,_0x2fa517,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x5d72b7){if(!_0x5d72b7['length'])return null;let _0x526175=0x0,_0x5a046a=_0x5d72b7[0x0];for(let _0x349b71=0x1;_0x349b71<_0x5d72b7['length'];_0x349b71++){let _0x5ecabd=_0x5d72b7[_0x349b71];(_0x5ecabd['from']>_0x5a046a['from']||_0x5ecabd['to']<_0x5a046a['to'])&&(_0x5a046a=_0x5ecabd,_0x526175=_0x349b71);}let _0xbec555=_0x5a046a instanceof TreeNode&&_0x5a046a['index']<0x0?null:_0x5a046a['parent'],_0xd1fa27=_0x5d72b7['slice']();return _0xbec555?_0xd1fa27[_0x526175]=_0xbec555:_0xd1fa27['splice'](_0x526175,0x1),new StackIterator(_0xd1fa27,_0x5a046a);}class StackIterator{constructor(_0x3a6c73,_0x9e539f){this['heads']=_0x3a6c73,this['node']=_0x9e539f;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x3c6efc,_0x1deeef,_0x1b0450){let _0x54303a=_0x3c6efc['resolveInner'](_0x1deeef,_0x1b0450),_0x33354b=null;for(let _0x36385a=_0x54303a instanceof TreeNode?_0x54303a:_0x54303a['context']['parent'];_0x36385a;_0x36385a=_0x36385a['parent'])if(_0x36385a['index']<0x0){let _0xb2613a=_0x36385a['parent'];(_0x33354b||(_0x33354b=[_0x54303a]))['push'](_0xb2613a['resolve'](_0x1deeef,_0x1b0450)),_0x36385a=_0xb2613a;}else{let _0x11e511=MountedTree['get'](_0x36385a['tree']);if(_0x11e511&&_0x11e511['overlay']&&_0x11e511['overlay'][0x0]['from']<=_0x1deeef&&_0x11e511['overlay'][_0x11e511['overlay']['length']-0x1]['to']>=_0x1deeef){let _0x349243=new TreeNode(_0x11e511['tree'],_0x11e511['overlay'][0x0]['from']+_0x36385a['from'],-0x1,_0x36385a);(_0x33354b||(_0x33354b=[_0x54303a]))['push'](resolveNode(_0x349243,_0x1deeef,_0x1b0450,!0x1));}}return _0x33354b?iterStack(_0x33354b):_0x54303a;}class TreeCursor{get['name'](){return this['type']['name'];}constructor(_0x24e5b9,_0x52f55b=0x0){if(this['mode']=_0x52f55b,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x24e5b9 instanceof TreeNode)this['yieldNode'](_0x24e5b9);else{this['_tree']=_0x24e5b9['context']['parent'],this['buffer']=_0x24e5b9['context'];for(let _0x4f2530=_0x24e5b9['_parent'];_0x4f2530;_0x4f2530=_0x4f2530['_parent'])this['stack']['unshift'](_0x4f2530['index']);this['bufferNode']=_0x24e5b9,this['yieldBuf'](_0x24e5b9['index']);}}['yieldNode'](_0x320b62){return!!_0x320b62&&(this['_tree']=_0x320b62,this['type']=_0x320b62['type'],this['from']=_0x320b62['from'],this['to']=_0x320b62['to'],!0x0);}['yieldBuf'](_0x3243ad,_0x3ed360){this['index']=_0x3243ad;let {start:_0x521a03,buffer:_0x3dd49e}=this['buffer'];return this['type']=_0x3ed360||_0x3dd49e['set']['types'][_0x3dd49e['buffer'][_0x3243ad]],this['from']=_0x521a03+_0x3dd49e['buffer'][_0x3243ad+0x1],this['to']=_0x521a03+_0x3dd49e['buffer'][_0x3243ad+0x2],!0x0;}['yield'](_0xe87a9f){return!!_0xe87a9f&&(_0xe87a9f instanceof TreeNode?(this['buffer']=null,this['yieldNode'](_0xe87a9f)):(this['buffer']=_0xe87a9f['context'],this['yieldBuf'](_0xe87a9f['index'],_0xe87a9f['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x4d22cf,_0x1adee5,_0x59eae4){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x4d22cf<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x4d22cf,_0x1adee5,_0x59eae4,this['mode']));let {buffer:_0x15d1da}=this['buffer'],_0x57fc1f=_0x15d1da['findChild'](this['index']+0x4,_0x15d1da['buffer'][this['index']+0x3],_0x4d22cf,_0x1adee5-this['buffer']['start'],_0x59eae4);return!(_0x57fc1f<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x57fc1f));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x40fa4f){return this['enterChild'](0x1,_0x40fa4f,0x2);}['childBefore'](_0x2ab21a){return this['enterChild'](-0x1,_0x2ab21a,-0x2);}['enter'](_0x2d5a06,_0x3eb3b0,_0x3bbaff=this['mode']){return this['buffer']?!(_0x3bbaff&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x2d5a06,_0x3eb3b0):this['yield'](this['_tree']['enter'](_0x2d5a06,_0x3eb3b0,_0x3bbaff));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&IterMode['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x180073=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x180073);}['sibling'](_0x36415d){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x36415d,_0x36415d,0x0,0x4,this['mode']));let {buffer:_0x51f3c1}=this['buffer'],_0x590b9c=this['stack']['length']-0x1;if(_0x36415d<0x0){let _0x4b917c=_0x590b9c<0x0?0x0:this['stack'][_0x590b9c]+0x4;if(this['index']!=_0x4b917c)return this['yieldBuf'](_0x51f3c1['findChild'](_0x4b917c,this['index'],-0x1,0x0,0x4));}else{let _0x39d5d3=_0x51f3c1['buffer'][this['index']+0x3];if(_0x39d5d3<(_0x590b9c<0x0?_0x51f3c1['buffer']['length']:_0x51f3c1['buffer'][this['stack'][_0x590b9c]+0x3]))return this['yieldBuf'](_0x39d5d3);}return _0x590b9c<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x36415d,_0x36415d,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x4f74db){let _0x52f973,_0x5083d5,{buffer:_0x220b3f}=this;if(_0x220b3f){if(_0x4f74db>0x0){if(this['index']<_0x220b3f['buffer']['buffer']['length'])return!0x1;}else{for(let _0x461416=0x0;_0x461416<this['index'];_0x461416++)if(_0x220b3f['buffer']['buffer'][_0x461416+0x3]<this['index'])return!0x1;}({index:_0x52f973,parent:_0x5083d5}=_0x220b3f);}else({index:_0x52f973,_parent:_0x5083d5}=this['_tree']);for(;_0x5083d5;{index:_0x52f973,_parent:_0x5083d5}=_0x5083d5)if(_0x52f973>-0x1)for(let _0x2aecf3=_0x52f973+_0x4f74db,_0x45a2f1=_0x4f74db<0x0?-0x1:_0x5083d5['_tree']['children']['length'];_0x2aecf3!=_0x45a2f1;_0x2aecf3+=_0x4f74db){let _0x67932c=_0x5083d5['_tree']['children'][_0x2aecf3];if(this['mode']&IterMode['IncludeAnonymous']||_0x67932c instanceof TreeBuffer||!_0x67932c['type']['isAnonymous']||hasChild(_0x67932c))return!0x1;}return!0x0;}['move'](_0xe6d31c,_0x36b50a){if(_0x36b50a&&this['enterChild'](_0xe6d31c,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0xe6d31c))return!0x0;if(this['atLastNode'](_0xe6d31c)||!this['parent']())return!0x1;}}['next'](_0x23c7a2=!0x0){return this['move'](0x1,_0x23c7a2);}['prev'](_0x3736c1=!0x0){return this['move'](-0x1,_0x3736c1);}['moveTo'](_0x35e423,_0x10cadb=0x0){for(;(this['from']==this['to']||(_0x10cadb<0x1?this['from']>=_0x35e423:this['from']>_0x35e423)||(_0x10cadb>-0x1?this['to']<=_0x35e423:this['to']<_0x35e423))&&this['parent'](););for(;this['enterChild'](0x1,_0x35e423,_0x10cadb););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x2b3f8b=this['bufferNode'],_0x538503=null,_0x4bf5ab=0x0;if(_0x2b3f8b&&_0x2b3f8b['context']==this['buffer']){t:for(let _0x56d492=this['index'],_0x25cdc5=this['stack']['length'];_0x25cdc5>=0x0;){for(let _0x1228a5=_0x2b3f8b;_0x1228a5;_0x1228a5=_0x1228a5['_parent'])if(_0x1228a5['index']==_0x56d492){if(_0x56d492==this['index'])return _0x1228a5;_0x538503=_0x1228a5,_0x4bf5ab=_0x25cdc5+0x1;break t;}_0x56d492=this['stack'][--_0x25cdc5];}}for(let _0x20fed6=_0x4bf5ab;_0x20fed6<this['stack']['length'];_0x20fed6++)_0x538503=new BufferNode(this['buffer'],_0x538503,this['stack'][_0x20fed6]);return this['bufferNode']=new BufferNode(this['buffer'],_0x538503,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x4cd05a,_0x1396cc){for(let _0x405ed6=0x0;;){let _0x9c59e0=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x4cd05a(this)){if(this['firstChild']()){_0x405ed6++;continue;}this['type']['isAnonymous']||(_0x9c59e0=!0x0);}for(;;){if(_0x9c59e0&&_0x1396cc&&_0x1396cc(this),_0x9c59e0=this['type']['isAnonymous'],!_0x405ed6)return;if(this['nextSibling']())break;this['parent'](),_0x405ed6--,_0x9c59e0=!0x0;}}}['matchContext'](_0xca66e4){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0xca66e4);let {buffer:_0x18cbc2}=this['buffer'],{types:_0xc63b80}=_0x18cbc2['set'];for(let _0x261b36=_0xca66e4['length']-0x1,_0xa7dd3b=this['stack']['length']-0x1;_0x261b36>=0x0;_0xa7dd3b--){if(_0xa7dd3b<0x0)return matchNodeContext(this['_tree'],_0xca66e4,_0x261b36);let _0x6d705=_0xc63b80[_0x18cbc2['buffer'][this['stack'][_0xa7dd3b]]];if(!_0x6d705['isAnonymous']){if(_0xca66e4[_0x261b36]&&_0xca66e4[_0x261b36]!=_0x6d705['name'])return!0x1;_0x261b36--;}}return!0x0;}}function hasChild(_0x11407d){return _0x11407d['children']['some'](_0x30c20e=>_0x30c20e instanceof TreeBuffer||!_0x30c20e['type']['isAnonymous']||hasChild(_0x30c20e));}function buildTree(_0x3bf100){var _0x343f14;let {buffer:_0x38ba9c,nodeSet:_0x25763a,maxBufferLength:_0x29b31d=DefaultBufferLength,reused:_0x3491e8=[],minRepeatType:_0x1219fb=_0x25763a['types']['length']}=_0x3bf100,_0x1d2a7d=Array['isArray'](_0x38ba9c)?new FlatBufferCursor(_0x38ba9c,_0x38ba9c['length']):_0x38ba9c,_0x23d362=_0x25763a['types'],_0x543dd0=0x0,_0x200685=0x0;function _0x2a64ed(_0x5db034,_0x2429db,_0x4e2a26,_0x1c1b63,_0x5e37d5,_0x10eb88){let {id:_0x56a9d8,start:_0x4c4ce5,end:_0x5b66ef,size:_0x563cb5}=_0x1d2a7d,_0x48455b=_0x200685,_0x2cb919=_0x543dd0;for(;_0x563cb5<0x0;){if(_0x1d2a7d['next'](),-0x1==_0x563cb5){let _0xd795e5=_0x3491e8[_0x56a9d8];return _0x4e2a26['push'](_0xd795e5),void _0x1c1b63['push'](_0x4c4ce5-_0x5db034);}if(-0x3==_0x563cb5)return void(_0x543dd0=_0x56a9d8);if(-0x4==_0x563cb5)return void(_0x200685=_0x56a9d8);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x563cb5);}let _0x489458,_0x13336f,_0x3b110a=_0x23d362[_0x56a9d8],_0x1b83cc=_0x4c4ce5-_0x5db034;if(_0x5b66ef-_0x4c4ce5<=_0x29b31d&&(_0x13336f=function(_0x2a3b19,_0x1bb16a){let _0x3ac602=_0x1d2a7d['fork'](),_0x40c1ba=0x0,_0xd92c9b=0x0,_0x27de8b=0x0,_0x197c82=_0x3ac602['end']-_0x29b31d,_0x365619={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x40c812=_0x3ac602['pos']-_0x2a3b19;_0x3ac602['pos']>_0x40c812;){let _0x2c1b18=_0x3ac602['size'];if(_0x3ac602['id']==_0x1bb16a&&_0x2c1b18>=0x0){_0x365619['size']=_0x40c1ba,_0x365619['start']=_0xd92c9b,_0x365619['skip']=_0x27de8b,_0x27de8b+=0x4,_0x40c1ba+=0x4,_0x3ac602['next']();continue;}let _0x5cbac6=_0x3ac602['pos']-_0x2c1b18;if(_0x2c1b18<0x0||_0x5cbac6<_0x40c812||_0x3ac602['start']<_0x197c82)break;let _0x4a8029=_0x3ac602['id']>=_0x1219fb?0x4:0x0,_0x446f57=_0x3ac602['start'];for(_0x3ac602['next']();_0x3ac602['pos']>_0x5cbac6;){if(_0x3ac602['size']<0x0){if(-0x3!=_0x3ac602['size'])break t;_0x4a8029+=0x4;}else _0x3ac602['id']>=_0x1219fb&&(_0x4a8029+=0x4);_0x3ac602['next']();}_0xd92c9b=_0x446f57,_0x40c1ba+=_0x2c1b18,_0x27de8b+=_0x4a8029;}return(_0x1bb16a<0x0||_0x40c1ba==_0x2a3b19)&&(_0x365619['size']=_0x40c1ba,_0x365619['start']=_0xd92c9b,_0x365619['skip']=_0x27de8b),_0x365619['size']>0x4?_0x365619:void 0x0;}(_0x1d2a7d['pos']-_0x2429db,_0x5e37d5))){let _0x14682f=new Uint16Array(_0x13336f['size']-_0x13336f['skip']),_0x4300bf=_0x1d2a7d['pos']-_0x13336f['size'],_0x27d1e6=_0x14682f['length'];for(;_0x1d2a7d['pos']>_0x4300bf;)_0x27d1e6=_0x323635(_0x13336f['start'],_0x14682f,_0x27d1e6);_0x489458=new TreeBuffer(_0x14682f,_0x5b66ef-_0x13336f['start'],_0x25763a),_0x1b83cc=_0x13336f['start']-_0x5db034;}else{let _0x23885a=_0x1d2a7d['pos']-_0x563cb5;_0x1d2a7d['next']();let _0x20c62f=[],_0x6e1341=[],_0x447772=_0x56a9d8>=_0x1219fb?_0x56a9d8:-0x1,_0x4c7ddb=0x0,_0x36b710=_0x5b66ef;for(;_0x1d2a7d['pos']>_0x23885a;)_0x447772>=0x0&&_0x1d2a7d['id']==_0x447772&&_0x1d2a7d['size']>=0x0?(_0x1d2a7d['end']<=_0x36b710-_0x29b31d&&(_0x2c23b4(_0x20c62f,_0x6e1341,_0x4c4ce5,_0x4c7ddb,_0x1d2a7d['end'],_0x36b710,_0x447772,_0x48455b,_0x2cb919),_0x4c7ddb=_0x20c62f['length'],_0x36b710=_0x1d2a7d['end']),_0x1d2a7d['next']()):_0x10eb88>0x9c4?_0x5b4fb6(_0x4c4ce5,_0x23885a,_0x20c62f,_0x6e1341):_0x2a64ed(_0x4c4ce5,_0x23885a,_0x20c62f,_0x6e1341,_0x447772,_0x10eb88+0x1);if(_0x447772>=0x0&&_0x4c7ddb>0x0&&_0x4c7ddb<_0x20c62f['length']&&_0x2c23b4(_0x20c62f,_0x6e1341,_0x4c4ce5,_0x4c7ddb,_0x4c4ce5,_0x36b710,_0x447772,_0x48455b,_0x2cb919),_0x20c62f['reverse'](),_0x6e1341['reverse'](),_0x447772>-0x1&&_0x4c7ddb>0x0){let _0x3f6603=function(_0x2d0ed0,_0xa72803){return(_0x100e32,_0x4182b6,_0x2cd2fd)=>{let _0x5aa099,_0x4123fd,_0x534bab=0x0,_0x1d903f=_0x100e32['length']-0x1;if(_0x1d903f>=0x0&&(_0x5aa099=_0x100e32[_0x1d903f])instanceof Tree){if(!_0x1d903f&&_0x5aa099['type']==_0x2d0ed0&&_0x5aa099['length']==_0x2cd2fd)return _0x5aa099;(_0x4123fd=_0x5aa099['prop'](NodeProp['lookAhead']))&&(_0x534bab=_0x4182b6[_0x1d903f]+_0x5aa099['length']+_0x4123fd);}return _0x515c6d(_0x2d0ed0,_0x100e32,_0x4182b6,_0x2cd2fd,_0x534bab,_0xa72803);};}(_0x3b110a,_0x2cb919);_0x489458=balanceRange(_0x3b110a,_0x20c62f,_0x6e1341,0x0,_0x20c62f['length'],0x0,_0x5b66ef-_0x4c4ce5,_0x3f6603,_0x3f6603);}else _0x489458=_0x515c6d(_0x3b110a,_0x20c62f,_0x6e1341,_0x5b66ef-_0x4c4ce5,_0x48455b-_0x5b66ef,_0x2cb919);}_0x4e2a26['push'](_0x489458),_0x1c1b63['push'](_0x1b83cc);}function _0x5b4fb6(_0x1a79aa,_0x5fd64f,_0x347e75,_0x495c9d){let _0xa1cbba=[],_0x12e043=0x0,_0x29f764=-0x1;for(;_0x1d2a7d['pos']>_0x5fd64f;){let {id:_0x246667,start:_0x44cf44,end:_0x35529e,size:_0x280950}=_0x1d2a7d;if(_0x280950>0x4)_0x1d2a7d['next']();else{if(_0x29f764>-0x1&&_0x44cf44<_0x29f764)break;_0x29f764<0x0&&(_0x29f764=_0x35529e-_0x29b31d),_0xa1cbba['push'](_0x246667,_0x44cf44,_0x35529e),_0x12e043++,_0x1d2a7d['next']();}}if(_0x12e043){let _0x271b03=new Uint16Array(0x4*_0x12e043),_0x4e192d=_0xa1cbba[_0xa1cbba['length']-0x2];for(let _0x3df7ee=_0xa1cbba['length']-0x3,_0x50d38d=0x0;_0x3df7ee>=0x0;_0x3df7ee-=0x3)_0x271b03[_0x50d38d++]=_0xa1cbba[_0x3df7ee],_0x271b03[_0x50d38d++]=_0xa1cbba[_0x3df7ee+0x1]-_0x4e192d,_0x271b03[_0x50d38d++]=_0xa1cbba[_0x3df7ee+0x2]-_0x4e192d,_0x271b03[_0x50d38d++]=_0x50d38d;_0x347e75['push'](new TreeBuffer(_0x271b03,_0xa1cbba[0x2]-_0x4e192d,_0x25763a)),_0x495c9d['push'](_0x4e192d-_0x1a79aa);}}function _0x2c23b4(_0x18feb3,_0x195b6c,_0x4aa466,_0x5d1585,_0x479e50,_0x4bcbe8,_0x1cef1a,_0xcf300b,_0x2fa9eb){let _0x2ad506=[],_0xd34cf3=[];for(;_0x18feb3['length']>_0x5d1585;)_0x2ad506['push'](_0x18feb3['pop']()),_0xd34cf3['push'](_0x195b6c['pop']()+_0x4aa466-_0x479e50);_0x18feb3['push'](_0x515c6d(_0x25763a['types'][_0x1cef1a],_0x2ad506,_0xd34cf3,_0x4bcbe8-_0x479e50,_0xcf300b-_0x4bcbe8,_0x2fa9eb)),_0x195b6c['push'](_0x479e50-_0x4aa466);}function _0x515c6d(_0x1144fe,_0x1d776f,_0x550985,_0x3427c0,_0xf0442a,_0x5d2bfe,_0x6a362c){if(_0x5d2bfe){let _0x4c8ce7=[NodeProp['contextHash'],_0x5d2bfe];_0x6a362c=_0x6a362c?[_0x4c8ce7]['concat'](_0x6a362c):[_0x4c8ce7];}if(_0xf0442a>0x19){let _0x30a5a6=[NodeProp['lookAhead'],_0xf0442a];_0x6a362c=_0x6a362c?[_0x30a5a6]['concat'](_0x6a362c):[_0x30a5a6];}return new Tree(_0x1144fe,_0x1d776f,_0x550985,_0x3427c0,_0x6a362c);}function _0x323635(_0x28ca49,_0x245cd8,_0x11bd07){let {id:_0x317c2b,start:_0x3182e9,end:_0x3f5de4,size:_0x344974}=_0x1d2a7d;if(_0x1d2a7d['next'](),_0x344974>=0x0&&_0x317c2b<_0x1219fb){let _0x545c93=_0x11bd07;if(_0x344974>0x4){let _0x3b38b9=_0x1d2a7d['pos']-(_0x344974-0x4);for(;_0x1d2a7d['pos']>_0x3b38b9;)_0x11bd07=_0x323635(_0x28ca49,_0x245cd8,_0x11bd07);}_0x245cd8[--_0x11bd07]=_0x545c93,_0x245cd8[--_0x11bd07]=_0x3f5de4-_0x28ca49,_0x245cd8[--_0x11bd07]=_0x3182e9-_0x28ca49,_0x245cd8[--_0x11bd07]=_0x317c2b;}else-0x3==_0x344974?_0x543dd0=_0x317c2b:-0x4==_0x344974&&(_0x200685=_0x317c2b);return _0x11bd07;}let _0x129c99=[],_0x2cff25=[];for(;_0x1d2a7d['pos']>0x0;)_0x2a64ed(_0x3bf100['start']||0x0,_0x3bf100['bufferStart']||0x0,_0x129c99,_0x2cff25,-0x1,0x0);let _0x3b012d=null!==(_0x343f14=_0x3bf100['length'])&&void 0x0!==_0x343f14?_0x343f14:_0x129c99['length']?_0x2cff25[0x0]+_0x129c99[0x0]['length']:0x0;return new Tree(_0x23d362[_0x3bf100['topID']],_0x129c99['reverse'](),_0x2cff25['reverse'](),_0x3b012d);}const nodeSizeCache=new WeakMap();function nodeSize(_0x1c6c8f,_0x377ae1){if(!_0x1c6c8f['isAnonymous']||_0x377ae1 instanceof TreeBuffer||_0x377ae1['type']!=_0x1c6c8f)return 0x1;let _0x797c06=nodeSizeCache['get'](_0x377ae1);if(null==_0x797c06){_0x797c06=0x1;for(let _0x334572 of _0x377ae1['children']){if(_0x334572['type']!=_0x1c6c8f||!(_0x334572 instanceof Tree)){_0x797c06=0x1;break;}_0x797c06+=nodeSize(_0x1c6c8f,_0x334572);}nodeSizeCache['set'](_0x377ae1,_0x797c06);}return _0x797c06;}function balanceRange(_0x33e0ab,_0x4b55aa,_0x29f3b9,_0x4ffdd6,_0x58d158,_0x1406a5,_0x228981,_0x364220,_0x3fd783){let _0x5412b0=0x0;for(let _0x552d08=_0x4ffdd6;_0x552d08<_0x58d158;_0x552d08++)_0x5412b0+=nodeSize(_0x33e0ab,_0x4b55aa[_0x552d08]);let _0x28e6ca=Math['ceil'](1.5*_0x5412b0/0x8),_0x4d2d77=[],_0x5bc4c9=[];return function _0x2b7859(_0x3d35ec,_0x252506,_0x17aa25,_0x1f442e,_0x63205d){for(let _0x23d49e=_0x17aa25;_0x23d49e<_0x1f442e;){let _0xc030e2=_0x23d49e,_0x2dbeed=_0x252506[_0x23d49e],_0x3d4e89=nodeSize(_0x33e0ab,_0x3d35ec[_0x23d49e]);for(_0x23d49e++;_0x23d49e<_0x1f442e;_0x23d49e++){let _0x52225e=nodeSize(_0x33e0ab,_0x3d35ec[_0x23d49e]);if(_0x3d4e89+_0x52225e>=_0x28e6ca)break;_0x3d4e89+=_0x52225e;}if(_0x23d49e==_0xc030e2+0x1){if(_0x3d4e89>_0x28e6ca){let _0x4ebd08=_0x3d35ec[_0xc030e2];_0x2b7859(_0x4ebd08['children'],_0x4ebd08['positions'],0x0,_0x4ebd08['children']['length'],_0x252506[_0xc030e2]+_0x63205d);continue;}_0x4d2d77['push'](_0x3d35ec[_0xc030e2]);}else{let _0x1c32d2=_0x252506[_0x23d49e-0x1]+_0x3d35ec[_0x23d49e-0x1]['length']-_0x2dbeed;_0x4d2d77['push'](balanceRange(_0x33e0ab,_0x3d35ec,_0x252506,_0xc030e2,_0x23d49e,_0x2dbeed,_0x1c32d2,null,_0x3fd783));}_0x5bc4c9['push'](_0x2dbeed+_0x63205d-_0x1406a5);}}(_0x4b55aa,_0x29f3b9,_0x4ffdd6,_0x58d158,0x0),(_0x364220||_0x3fd783)(_0x4d2d77,_0x5bc4c9,_0x228981);}class NodeWeakMap{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x3f1c34,_0xdcd59,_0x90271a){let _0x394cae=this['map']['get'](_0x3f1c34);_0x394cae||this['map']['set'](_0x3f1c34,_0x394cae=new Map()),_0x394cae['set'](_0xdcd59,_0x90271a);}['getBuffer'](_0xb806db,_0xaa7ef0){let _0x1d636c=this['map']['get'](_0xb806db);return _0x1d636c&&_0x1d636c['get'](_0xaa7ef0);}['set'](_0x221ad2,_0x56792f){_0x221ad2 instanceof BufferNode?this['setBuffer'](_0x221ad2['context']['buffer'],_0x221ad2['index'],_0x56792f):_0x221ad2 instanceof TreeNode&&this['map']['set'](_0x221ad2['tree'],_0x56792f);}['get'](_0x5035a6){return _0x5035a6 instanceof BufferNode?this['getBuffer'](_0x5035a6['context']['buffer'],_0x5035a6['index']):_0x5035a6 instanceof TreeNode?this['map']['get'](_0x5035a6['tree']):void 0x0;}['cursorSet'](_0x2e3769,_0x31519a){_0x2e3769['buffer']?this['setBuffer'](_0x2e3769['buffer']['buffer'],_0x2e3769['index'],_0x31519a):this['map']['set'](_0x2e3769['tree'],_0x31519a);}['cursorGet'](_0x509a82){return _0x509a82['buffer']?this['getBuffer'](_0x509a82['buffer']['buffer'],_0x509a82['index']):this['map']['get'](_0x509a82['tree']);}}class TreeFragment{constructor(_0x17e5cc,_0x31227c,_0x34db0f,_0xf0b2,_0x4904a8=!0x1,_0x55c199=!0x1){this['from']=_0x17e5cc,this['to']=_0x31227c,this['tree']=_0x34db0f,this['offset']=_0xf0b2,this['open']=(_0x4904a8?0x1:0x0)|(_0x55c199?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x3a5698,_0x5a06ca=[],_0x1e2680=!0x1){let _0xf1a1b5=[new TreeFragment(0x0,_0x3a5698['length'],_0x3a5698,0x0,!0x1,_0x1e2680)];for(let _0x5e832f of _0x5a06ca)_0x5e832f['to']>_0x3a5698['length']&&_0xf1a1b5['push'](_0x5e832f);return _0xf1a1b5;}static['applyChanges'](_0x1791d6,_0x1d0661,_0x558011=0x80){if(!_0x1d0661['length'])return _0x1791d6;let _0x13fa96=[],_0x58401f=0x1,_0x28fbfc=_0x1791d6['length']?_0x1791d6[0x0]:null;for(let _0x11db53=0x0,_0x47a3f6=0x0,_0x5906e9=0x0;;_0x11db53++){let _0x3cdc28=_0x11db53<_0x1d0661['length']?_0x1d0661[_0x11db53]:null,_0x4845a1=_0x3cdc28?_0x3cdc28['fromA']:0x3b9aca00;if(_0x4845a1-_0x47a3f6>=_0x558011)for(;_0x28fbfc&&_0x28fbfc['from']<_0x4845a1;){let _0x340560=_0x28fbfc;if(_0x47a3f6>=_0x340560['from']||_0x4845a1<=_0x340560['to']||_0x5906e9){let _0x2069a3=Math['max'](_0x340560['from'],_0x47a3f6)-_0x5906e9,_0xdf37e5=Math['min'](_0x340560['to'],_0x4845a1)-_0x5906e9;_0x340560=_0x2069a3>=_0xdf37e5?null:new TreeFragment(_0x2069a3,_0xdf37e5,_0x340560['tree'],_0x340560['offset']+_0x5906e9,_0x11db53>0x0,!!_0x3cdc28);}if(_0x340560&&_0x13fa96['push'](_0x340560),_0x28fbfc['to']>_0x4845a1)break;_0x28fbfc=_0x58401f<_0x1791d6['length']?_0x1791d6[_0x58401f++]:null;}if(!_0x3cdc28)break;_0x47a3f6=_0x3cdc28['toA'],_0x5906e9=_0x3cdc28['toA']-_0x3cdc28['toB'];}return _0x13fa96;}}class Parser{['startParse'](_0x44dbf3,_0x33c323,_0x4c3e26){return'string'==typeof _0x44dbf3&&(_0x44dbf3=new StringInput(_0x44dbf3)),_0x4c3e26=_0x4c3e26?_0x4c3e26['length']?_0x4c3e26['map'](_0x586c34=>new Range(_0x586c34['from'],_0x586c34['to'])):[new Range(0x0,0x0)]:[new Range(0x0,_0x44dbf3['length'])],this['createParse'](_0x44dbf3,_0x33c323||[],_0x4c3e26);}['parse'](_0x2deeff,_0x1cf7ad,_0x39f26b){let _0x2b7047=this['startParse'](_0x2deeff,_0x1cf7ad,_0x39f26b);for(;;){let _0x58bfa8=_0x2b7047['advance']();if(_0x58bfa8)return _0x58bfa8;}}}class StringInput{constructor(_0x1da06c){this['string']=_0x1da06c;}get['length'](){return this['string']['length'];}['chunk'](_0x4c6321){return this['string']['slice'](_0x4c6321);}get['lineChunks'](){return!0x1;}['read'](_0xb10448,_0x335b18){return this['string']['slice'](_0xb10448,_0x335b18);}}function parseMixed(_0x40a22c){return(_0x26e063,_0x9e5890,_0x48081d,_0x3b9392)=>new MixedParse(_0x26e063,_0x40a22c,_0x9e5890,_0x48081d,_0x3b9392);}class InnerParse{constructor(_0x19ef4f,_0x2d6969,_0x3a4ba8,_0x25457e,_0x2e181e){this['parser']=_0x19ef4f,this['parse']=_0x2d6969,this['overlay']=_0x3a4ba8,this['target']=_0x25457e,this['from']=_0x2e181e;}}function checkRanges(_0x543992){if(!_0x543992['length']||_0x543992['some'](_0x4d8497=>_0x4d8497['from']>=_0x4d8497['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x543992));}class ActiveOverlay{constructor(_0xb4218a,_0x580764,_0x269e7f,_0x219ea5,_0x1ec656,_0x593a2f,_0x274415){this['parser']=_0xb4218a,this['predicate']=_0x580764,this['mounts']=_0x269e7f,this['index']=_0x219ea5,this['start']=_0x1ec656,this['target']=_0x593a2f,this['prev']=_0x274415,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new NodeProp({'perNode':!0x0});class MixedParse{constructor(_0xb0d103,_0x499610,_0xd44fb6,_0x39197b,_0x5ec822){this['nest']=_0x499610,this['input']=_0xd44fb6,this['fragments']=_0x39197b,this['ranges']=_0x5ec822,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0xb0d103;}['advance'](){if(this['baseParse']){let _0xdd52a1=this['baseParse']['advance']();if(!_0xdd52a1)return null;if(this['baseParse']=null,this['baseTree']=_0xdd52a1,this['startInner'](),null!=this['stoppedAt']){for(let _0x50f75e of this['inner'])_0x50f75e['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x55c821=this['baseTree'];return null!=this['stoppedAt']&&(_0x55c821=new Tree(_0x55c821['type'],_0x55c821['children'],_0x55c821['positions'],_0x55c821['length'],_0x55c821['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x55c821;}let _0xd502d=this['inner'][this['innerDone']],_0x3c78ef=_0xd502d['parse']['advance']();if(_0x3c78ef){this['innerDone']++;let _0x193e3c=Object['assign'](Object['create'](null),_0xd502d['target']['props']);_0x193e3c[NodeProp['mounted']['id']]=new MountedTree(_0x3c78ef,_0xd502d['overlay'],_0xd502d['parser']),_0xd502d['target']['props']=_0x193e3c;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x11499b=this['input']['length'];for(let _0x56887a=this['innerDone'];_0x56887a<this['inner']['length'];_0x56887a++)this['inner'][_0x56887a]['from']<_0x11499b&&(_0x11499b=Math['min'](_0x11499b,this['inner'][_0x56887a]['parse']['parsedPos']));return _0x11499b;}['stopAt'](_0x200a59){if(this['stoppedAt']=_0x200a59,this['baseParse'])this['baseParse']['stopAt'](_0x200a59);else{for(let _0x3553e1=this['innerDone'];_0x3553e1<this['inner']['length'];_0x3553e1++)this['inner'][_0x3553e1]['parse']['stopAt'](_0x200a59);}}['startInner'](){let _0x4f3ce9=new FragmentCursor$2(this['fragments']),_0x39343a=null,_0x38b7e7=null,_0x2252ad=new TreeCursor(new TreeNode(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x577c1b,_0x2ea34c;;){let _0x598288,_0x210179=!0x0;if(null!=this['stoppedAt']&&_0x2252ad['from']>=this['stoppedAt'])_0x210179=!0x1;else{if(_0x4f3ce9['hasNode'](_0x2252ad)){if(_0x39343a){let _0x45a54a=_0x39343a['mounts']['find'](_0x3c7aae=>_0x3c7aae['frag']['from']<=_0x2252ad['from']&&_0x3c7aae['frag']['to']>=_0x2252ad['to']&&_0x3c7aae['mount']['overlay']);if(_0x45a54a)for(let _0x2827e9 of _0x45a54a['mount']['overlay']){let _0x26b93d=_0x2827e9['from']+_0x45a54a['pos'],_0x37249f=_0x2827e9['to']+_0x45a54a['pos'];_0x26b93d>=_0x2252ad['from']&&_0x37249f<=_0x2252ad['to']&&!_0x39343a['ranges']['some'](_0x16539d=>_0x16539d['from']<_0x37249f&&_0x16539d['to']>_0x26b93d)&&_0x39343a['ranges']['push']({'from':_0x26b93d,'to':_0x37249f});}}_0x210179=!0x1;}else{if(_0x38b7e7&&(_0x2ea34c=checkCover(_0x38b7e7['ranges'],_0x2252ad['from'],_0x2252ad['to'])))_0x210179=0x2!=_0x2ea34c;else{if(!_0x2252ad['type']['isAnonymous']&&(_0x577c1b=this['nest'](_0x2252ad,this['input']))&&(_0x2252ad['from']<_0x2252ad['to']||!_0x577c1b['overlay'])){_0x2252ad['tree']||materialize(_0x2252ad);let _0x2bcdc7=_0x4f3ce9['findMounts'](_0x2252ad['from'],_0x577c1b['parser']);if('function'==typeof _0x577c1b['overlay'])_0x39343a=new ActiveOverlay(_0x577c1b['parser'],_0x577c1b['overlay'],_0x2bcdc7,this['inner']['length'],_0x2252ad['from'],_0x2252ad['tree'],_0x39343a);else{let _0x1a8e0c=punchRanges(this['ranges'],_0x577c1b['overlay']||(_0x2252ad['from']<_0x2252ad['to']?[new Range(_0x2252ad['from'],_0x2252ad['to'])]:[]));_0x1a8e0c['length']&&checkRanges(_0x1a8e0c),!_0x1a8e0c['length']&&_0x577c1b['overlay']||this['inner']['push'](new InnerParse(_0x577c1b['parser'],_0x1a8e0c['length']?_0x577c1b['parser']['startParse'](this['input'],enterFragments(_0x2bcdc7,_0x1a8e0c),_0x1a8e0c):_0x577c1b['parser']['startParse'](''),_0x577c1b['overlay']?_0x577c1b['overlay']['map'](_0x333dd1=>new Range(_0x333dd1['from']-_0x2252ad['from'],_0x333dd1['to']-_0x2252ad['from'])):null,_0x2252ad['tree'],_0x1a8e0c['length']?_0x1a8e0c[0x0]['from']:_0x2252ad['from'])),_0x577c1b['overlay']?_0x1a8e0c['length']&&(_0x38b7e7={'ranges':_0x1a8e0c,'depth':0x0,'prev':_0x38b7e7}):_0x210179=!0x1;}}else{if(_0x39343a&&(_0x598288=_0x39343a['predicate'](_0x2252ad))&&(!0x0===_0x598288&&(_0x598288=new Range(_0x2252ad['from'],_0x2252ad['to'])),_0x598288['from']<_0x598288['to'])){let _0x5021bc=_0x39343a['ranges']['length']-0x1;_0x5021bc>=0x0&&_0x39343a['ranges'][_0x5021bc]['to']==_0x598288['from']?_0x39343a['ranges'][_0x5021bc]={'from':_0x39343a['ranges'][_0x5021bc]['from'],'to':_0x598288['to']}:_0x39343a['ranges']['push'](_0x598288);}}}}}if(_0x210179&&_0x2252ad['firstChild']())_0x39343a&&_0x39343a['depth']++,_0x38b7e7&&_0x38b7e7['depth']++;else for(;!_0x2252ad['nextSibling']();){if(!_0x2252ad['parent']())break t;if(_0x39343a&&!--_0x39343a['depth']){let _0x3e05e0=punchRanges(this['ranges'],_0x39343a['ranges']);_0x3e05e0['length']&&(checkRanges(_0x3e05e0),this['inner']['splice'](_0x39343a['index'],0x0,new InnerParse(_0x39343a['parser'],_0x39343a['parser']['startParse'](this['input'],enterFragments(_0x39343a['mounts'],_0x3e05e0),_0x3e05e0),_0x39343a['ranges']['map'](_0x5e229d=>new Range(_0x5e229d['from']-_0x39343a['start'],_0x5e229d['to']-_0x39343a['start'])),_0x39343a['target'],_0x3e05e0[0x0]['from']))),_0x39343a=_0x39343a['prev'];}_0x38b7e7&&!--_0x38b7e7['depth']&&(_0x38b7e7=_0x38b7e7['prev']);}}}}function checkCover(_0x9b02ef,_0x282489,_0x3d77f9){for(let _0x41cf4a of _0x9b02ef){if(_0x41cf4a['from']>=_0x3d77f9)break;if(_0x41cf4a['to']>_0x282489)return _0x41cf4a['from']<=_0x282489&&_0x41cf4a['to']>=_0x3d77f9?0x2:0x1;}return 0x0;}function sliceBuf(_0xb75ab6,_0x1bc2f8,_0x157b10,_0x77fea1,_0x369657,_0xc1905e){if(_0x1bc2f8<_0x157b10){let _0xc43865=_0xb75ab6['buffer'][_0x1bc2f8+0x1];_0x77fea1['push'](_0xb75ab6['slice'](_0x1bc2f8,_0x157b10,_0xc43865)),_0x369657['push'](_0xc43865-_0xc1905e);}}function materialize(_0x3a1784){let {node:_0x2642f2}=_0x3a1784,_0x5762be=[],_0x46c616=_0x2642f2['context']['buffer'];do{_0x5762be['push'](_0x3a1784['index']),_0x3a1784['parent']();}while(!_0x3a1784['tree']);let _0x1d8169=_0x3a1784['tree'],_0x1d5e29=_0x1d8169['children']['indexOf'](_0x46c616),_0x13b6f4=_0x1d8169['children'][_0x1d5e29],_0x10a6e1=_0x13b6f4['buffer'],_0x322369=[_0x1d5e29];_0x1d8169['children'][_0x1d5e29]=function _0x3c7936(_0x301e0d,_0xf61139,_0x19d2f7,_0x24636f,_0xc85174,_0x420dc6){let _0x14fc07=_0x5762be[_0x420dc6],_0xbdcace=[],_0x4e6883=[];sliceBuf(_0x13b6f4,_0x301e0d,_0x14fc07,_0xbdcace,_0x4e6883,_0x24636f);let _0x154b2a=_0x10a6e1[_0x14fc07+0x1],_0x5e7136=_0x10a6e1[_0x14fc07+0x2];_0x322369['push'](_0xbdcace['length']);let _0x35271b=_0x420dc6?_0x3c7936(_0x14fc07+0x4,_0x10a6e1[_0x14fc07+0x3],_0x13b6f4['set']['types'][_0x10a6e1[_0x14fc07]],_0x154b2a,_0x5e7136-_0x154b2a,_0x420dc6-0x1):_0x2642f2['toTree']();return _0xbdcace['push'](_0x35271b),_0x4e6883['push'](_0x154b2a-_0x24636f),sliceBuf(_0x13b6f4,_0x10a6e1[_0x14fc07+0x3],_0xf61139,_0xbdcace,_0x4e6883,_0x24636f),new Tree(_0x19d2f7,_0xbdcace,_0x4e6883,_0xc85174);}(0x0,_0x10a6e1['length'],NodeType['none'],0x0,_0x13b6f4['length'],_0x5762be['length']-0x1);for(let _0xeb62bd of _0x322369){let _0x3dba0c=_0x3a1784['tree']['children'][_0xeb62bd],_0x29d5e9=_0x3a1784['tree']['positions'][_0xeb62bd];_0x3a1784['yield'](new TreeNode(_0x3dba0c,_0x29d5e9+_0x3a1784['from'],_0xeb62bd,_0x3a1784['_tree']));}}class StructureCursor{constructor(_0x172aaf,_0x388102){this['offset']=_0x388102,this['done']=!0x1,this['cursor']=_0x172aaf['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0xb3cb6d){let {cursor:_0x4bb8b3}=this,_0x57e102=_0xb3cb6d-this['offset'];for(;!this['done']&&_0x4bb8b3['from']<_0x57e102;)_0x4bb8b3['to']>=_0xb3cb6d&&_0x4bb8b3['enter'](_0x57e102,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0x4bb8b3['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x4c4dc8){if(this['moveTo'](_0x4c4dc8['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x4c4dc8['from']&&this['cursor']['tree'])for(let _0x4fdb31=this['cursor']['tree'];;){if(_0x4fdb31==_0x4c4dc8['tree'])return!0x0;if(!(_0x4fdb31['children']['length']&&0x0==_0x4fdb31['positions'][0x0]&&_0x4fdb31['children'][0x0]instanceof Tree))break;_0x4fdb31=_0x4fdb31['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x2c5b4d){var _0x276688;if(this['fragments']=_0x2c5b4d,this['curTo']=0x0,this['fragI']=0x0,_0x2c5b4d['length']){let _0x1ded46=this['curFrag']=_0x2c5b4d[0x0];this['curTo']=null!==(_0x276688=_0x1ded46['tree']['prop'](stoppedInner))&&void 0x0!==_0x276688?_0x276688:_0x1ded46['to'],this['inner']=new StructureCursor(_0x1ded46['tree'],-_0x1ded46['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x54ef39){for(;this['curFrag']&&_0x54ef39['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x54ef39['from']&&this['curTo']>=_0x54ef39['to']&&this['inner']['hasNode'](_0x54ef39);}['nextFrag'](){var _0x2f9366;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x170d00=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x2f9366=_0x170d00['tree']['prop'](stoppedInner))&&void 0x0!==_0x2f9366?_0x2f9366:_0x170d00['to'],this['inner']=new StructureCursor(_0x170d00['tree'],-_0x170d00['offset']);}}['findMounts'](_0x15277f,_0x357f4a){var _0x3dbcfc;let _0x5f4f74=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x15277f,0x1);for(let _0x33d15a=this['inner']['cursor']['node'];_0x33d15a;_0x33d15a=_0x33d15a['parent']){let _0x50f9de=null===(_0x3dbcfc=_0x33d15a['tree'])||void 0x0===_0x3dbcfc?void 0x0:_0x3dbcfc['prop'](NodeProp['mounted']);if(_0x50f9de&&_0x50f9de['parser']==_0x357f4a)for(let _0x458db8=this['fragI'];_0x458db8<this['fragments']['length'];_0x458db8++){let _0x194ac4=this['fragments'][_0x458db8];if(_0x194ac4['from']>=_0x33d15a['to'])break;_0x194ac4['tree']==this['curFrag']['tree']&&_0x5f4f74['push']({'frag':_0x194ac4,'pos':_0x33d15a['from']-_0x194ac4['offset'],'mount':_0x50f9de});}}}return _0x5f4f74;}};function punchRanges(_0x104441,_0x41967c){let _0x1e0cd7=null,_0x25d6af=_0x41967c;for(let _0x307dab=0x1,_0xe4c193=0x0;_0x307dab<_0x104441['length'];_0x307dab++){let _0x20a986=_0x104441[_0x307dab-0x1]['to'],_0x578191=_0x104441[_0x307dab]['from'];for(;_0xe4c193<_0x25d6af['length'];_0xe4c193++){let _0x2c4628=_0x25d6af[_0xe4c193];if(_0x2c4628['from']>=_0x578191)break;_0x2c4628['to']<=_0x20a986||(_0x1e0cd7||(_0x25d6af=_0x1e0cd7=_0x41967c['slice']()),_0x2c4628['from']<_0x20a986?(_0x1e0cd7[_0xe4c193]=new Range(_0x2c4628['from'],_0x20a986),_0x2c4628['to']>_0x578191&&_0x1e0cd7['splice'](_0xe4c193+0x1,0x0,new Range(_0x578191,_0x2c4628['to']))):_0x2c4628['to']>_0x578191?_0x1e0cd7[_0xe4c193--]=new Range(_0x578191,_0x2c4628['to']):_0x1e0cd7['splice'](_0xe4c193--,0x1));}}return _0x25d6af;}function findCoverChanges(_0x341610,_0x41fa05,_0x17f19c,_0x2f2862){let _0x5a3651=0x0,_0x12d956=0x0,_0x422780=!0x1,_0x2ccda8=!0x1,_0x245fe8=-0x3b9aca00,_0x331a5a=[];for(;;){let _0x5f08ad=_0x5a3651==_0x341610['length']?0x3b9aca00:_0x422780?_0x341610[_0x5a3651]['to']:_0x341610[_0x5a3651]['from'],_0x483a55=_0x12d956==_0x41fa05['length']?0x3b9aca00:_0x2ccda8?_0x41fa05[_0x12d956]['to']:_0x41fa05[_0x12d956]['from'];if(_0x422780!=_0x2ccda8){let _0xa5d1ab=Math['max'](_0x245fe8,_0x17f19c),_0x5cb595=Math['min'](_0x5f08ad,_0x483a55,_0x2f2862);_0xa5d1ab<_0x5cb595&&_0x331a5a['push'](new Range(_0xa5d1ab,_0x5cb595));}if(_0x245fe8=Math['min'](_0x5f08ad,_0x483a55),0x3b9aca00==_0x245fe8)break;_0x5f08ad==_0x245fe8&&(_0x422780?(_0x422780=!0x1,_0x5a3651++):_0x422780=!0x0),_0x483a55==_0x245fe8&&(_0x2ccda8?(_0x2ccda8=!0x1,_0x12d956++):_0x2ccda8=!0x0);}return _0x331a5a;}function enterFragments(_0x263167,_0x464243){let _0xaa677=[];for(let {pos:_0x1d409f,mount:_0x2f4d76,frag:_0x22fb42}of _0x263167){let _0x431e76=_0x1d409f+(_0x2f4d76['overlay']?_0x2f4d76['overlay'][0x0]['from']:0x0),_0x1ea6ca=_0x431e76+_0x2f4d76['tree']['length'],_0x3c0fb5=Math['max'](_0x22fb42['from'],_0x431e76),_0x10d647=Math['min'](_0x22fb42['to'],_0x1ea6ca);if(_0x2f4d76['overlay']){let _0x439fda=_0x2f4d76['overlay']['map'](_0x5ee67e=>new Range(_0x5ee67e['from']+_0x1d409f,_0x5ee67e['to']+_0x1d409f)),_0xd7a43d=findCoverChanges(_0x464243,_0x439fda,_0x3c0fb5,_0x10d647);for(let _0x16a168=0x0,_0x3e3b7b=_0x3c0fb5;;_0x16a168++){let _0x85c1ac=_0x16a168==_0xd7a43d['length'],_0x592a7f=_0x85c1ac?_0x10d647:_0xd7a43d[_0x16a168]['from'];if(_0x592a7f>_0x3e3b7b&&_0xaa677['push'](new TreeFragment(_0x3e3b7b,_0x592a7f,_0x2f4d76['tree'],-_0x431e76,_0x22fb42['from']>=_0x3e3b7b||_0x22fb42['openStart'],_0x22fb42['to']<=_0x592a7f||_0x22fb42['openEnd'])),_0x85c1ac)break;_0x3e3b7b=_0xd7a43d[_0x16a168]['to'];}}else _0xaa677['push'](new TreeFragment(_0x3c0fb5,_0x10d647,_0x2f4d76['tree'],-_0x431e76,_0x22fb42['from']>=_0x431e76||_0x22fb42['openStart'],_0x22fb42['to']<=_0x1ea6ca||_0x22fb42['openEnd']));}return _0xaa677;}let nextTagID=0x0;class Tag{constructor(_0x1c0d5f,_0x3c97e2,_0x552357,_0x2db610){this['name']=_0x1c0d5f,this['set']=_0x3c97e2,this['base']=_0x552357,this['modified']=_0x2db610,this['id']=nextTagID++;}['toString'](){let {name:_0x2f276b}=this;for(let _0x225a7f of this['modified'])_0x225a7f['name']&&(_0x2f276b=_0x225a7f['name']+'('+_0x2f276b+')');return _0x2f276b;}static['define'](_0x1ec879,_0x4912d0){let _0x5b8a0c='string'==typeof _0x1ec879?_0x1ec879:'?';if(_0x1ec879 instanceof Tag&&(_0x4912d0=_0x1ec879),null==_0x4912d0?void 0x0:_0x4912d0['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x4e21d0=new Tag(_0x5b8a0c,[],null,[]);if(_0x4e21d0['set']['push'](_0x4e21d0),_0x4912d0){for(let t of _0x4912d0['set'])_0x4e21d0['set']['push'](t);}return _0x4e21d0;}static['defineModifier'](_0x89cef0){let _0x48d2e0=new Modifier(_0x89cef0);return _0x4fd195=>_0x4fd195['modified']['indexOf'](_0x48d2e0)>-0x1?_0x4fd195:Modifier['get'](_0x4fd195['base']||_0x4fd195,_0x4fd195['modified']['concat'](_0x48d2e0)['sort']((_0x3cf88d,_0x44e836)=>_0x3cf88d['id']-_0x44e836['id']));}}let nextModifierID=0x0;class Modifier{constructor(_0x5e5361){this['name']=_0x5e5361,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x10f0d3,_0xa17727){if(!_0xa17727['length'])return _0x10f0d3;let _0x18e920=_0xa17727[0x0]['instances']['find'](t=>t['base']==_0x10f0d3&&sameArray(_0xa17727,t['modified']));if(_0x18e920)return _0x18e920;let _0x57121f=[],_0x1f7578=new Tag(_0x10f0d3['name'],_0x57121f,_0x10f0d3,_0xa17727);for(let _0x266a38 of _0xa17727)_0x266a38['instances']['push'](_0x1f7578);let _0x568c18=powerSet(_0xa17727);for(let _0x463cbd of _0x10f0d3['set'])if(!_0x463cbd['modified']['length']){for(let _0x3d57c3 of _0x568c18)_0x57121f['push'](Modifier['get'](_0x463cbd,_0x3d57c3));}return _0x1f7578;}}function sameArray(_0xf5d9b1,_0x1ff479){return _0xf5d9b1['length']==_0x1ff479['length']&&_0xf5d9b1['every']((_0x277131,_0x3bc044)=>_0x277131==_0x1ff479[_0x3bc044]);}function powerSet(_0x1a5887){let _0x534d09=[[]];for(let _0x343f01=0x0;_0x343f01<_0x1a5887['length'];_0x343f01++)for(let _0x3fe88a=0x0,_0x42098a=_0x534d09['length'];_0x3fe88a<_0x42098a;_0x3fe88a++)_0x534d09['push'](_0x534d09[_0x3fe88a]['concat'](_0x1a5887[_0x343f01]));return _0x534d09['sort']((_0x1728f8,_0x1eb802)=>_0x1eb802['length']-_0x1728f8['length']);}function styleTags(_0xaf46c3){let _0x152a8d=Object['create'](null);for(let _0x1fd71b in _0xaf46c3){let _0x2cd00d=_0xaf46c3[_0x1fd71b];Array['isArray'](_0x2cd00d)||(_0x2cd00d=[_0x2cd00d]);for(let _0x41fa1a of _0x1fd71b['split']('\x20'))if(_0x41fa1a){let _0x431cca=[],_0x42df89=0x2,_0x560879=_0x41fa1a;for(let _0x182b08=0x0;;){if('...'==_0x560879&&_0x182b08>0x0&&_0x182b08+0x3==_0x41fa1a['length']){_0x42df89=0x1;break;}let _0x502e0b=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x560879);if(!_0x502e0b)throw new RangeError('Invalid\x20path:\x20'+_0x41fa1a);if(_0x431cca['push']('*'==_0x502e0b[0x0]?'':'\x22'==_0x502e0b[0x0][0x0]?JSON['parse'](_0x502e0b[0x0]):_0x502e0b[0x0]),_0x182b08+=_0x502e0b[0x0]['length'],_0x182b08==_0x41fa1a['length'])break;let _0x419ac1=_0x41fa1a[_0x182b08++];if(_0x182b08==_0x41fa1a['length']&&'!'==_0x419ac1){_0x42df89=0x0;break;}if('/'!=_0x419ac1)throw new RangeError('Invalid\x20path:\x20'+_0x41fa1a);_0x560879=_0x41fa1a['slice'](_0x182b08);}let _0x33303c=_0x431cca['length']-0x1,_0x3550fe=_0x431cca[_0x33303c];if(!_0x3550fe)throw new RangeError('Invalid\x20path:\x20'+_0x41fa1a);let _0x3c60dd=new Rule(_0x2cd00d,_0x42df89,_0x33303c>0x0?_0x431cca['slice'](0x0,_0x33303c):null);_0x152a8d[_0x3550fe]=_0x3c60dd['sort'](_0x152a8d[_0x3550fe]);}}return ruleNodeProp['add'](_0x152a8d);}const ruleNodeProp=new NodeProp();class Rule{constructor(_0x579d50,_0x479a41,_0x20cfb9,_0x5f122f){this['tags']=_0x579d50,this['mode']=_0x479a41,this['context']=_0x20cfb9,this['next']=_0x5f122f;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x2395aa){return!_0x2395aa||_0x2395aa['depth']<this['depth']?(this['next']=_0x2395aa,this):(_0x2395aa['next']=this['sort'](_0x2395aa['next']),_0x2395aa);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x3c42c2,_0x78e909){let _0x24ff23=Object['create'](null);for(let _0x169e29 of _0x3c42c2)if(Array['isArray'](_0x169e29['tag'])){for(let _0x46675b of _0x169e29['tag'])_0x24ff23[_0x46675b['id']]=_0x169e29['class'];}else _0x24ff23[_0x169e29['tag']['id']]=_0x169e29['class'];let {scope:_0x1da91c,all:_0xf124fa=null}=_0x78e909||{};return{'style':_0x58cd4e=>{let _0x5db17f=_0xf124fa;for(let _0x36407a of _0x58cd4e)for(let _0x4e3169 of _0x36407a['set']){let _0x2710e1=_0x24ff23[_0x4e3169['id']];if(_0x2710e1){_0x5db17f=_0x5db17f?_0x5db17f+'\x20'+_0x2710e1:_0x2710e1;break;}}return _0x5db17f;},'scope':_0x1da91c};}function highlightTags(_0x4c1ef8,_0x45948f){let _0x1a5a3b=null;for(let _0x4a7dea of _0x4c1ef8){let _0xfed17f=_0x4a7dea['style'](_0x45948f);_0xfed17f&&(_0x1a5a3b=_0x1a5a3b?_0x1a5a3b+'\x20'+_0xfed17f:_0xfed17f);}return _0x1a5a3b;}function highlightTree(_0x319dd0,_0x8f8eb,_0xcf03e5,_0x4567c3=0x0,_0x3db359=_0x319dd0['length']){let _0x4f7414=new HighlightBuilder(_0x4567c3,Array['isArray'](_0x8f8eb)?_0x8f8eb:[_0x8f8eb],_0xcf03e5);_0x4f7414['highlightRange'](_0x319dd0['cursor'](),_0x4567c3,_0x3db359,'',_0x4f7414['highlighters']),_0x4f7414['flush'](_0x3db359);}Rule['empty']=new Rule([],0x2,null);class HighlightBuilder{constructor(_0xa7aec8,_0x31d4d6,_0x569d1a){this['at']=_0xa7aec8,this['highlighters']=_0x31d4d6,this['span']=_0x569d1a,this['class']='';}['startSpan'](_0x1099f0,_0x191fec){_0x191fec!=this['class']&&(this['flush'](_0x1099f0),_0x1099f0>this['at']&&(this['at']=_0x1099f0),this['class']=_0x191fec);}['flush'](_0x53acdb){_0x53acdb>this['at']&&this['class']&&this['span'](this['at'],_0x53acdb,this['class']);}['highlightRange'](_0x19ced1,_0x83ed19,_0xe4200b,_0x35de07,_0x3c975d){let {type:_0x22db1e,from:_0x39fac8,to:_0x2cfa7a}=_0x19ced1;if(_0x39fac8>=_0xe4200b||_0x2cfa7a<=_0x83ed19)return;_0x22db1e['isTop']&&(_0x3c975d=this['highlighters']['filter'](_0x3852ad=>!_0x3852ad['scope']||_0x3852ad['scope'](_0x22db1e)));let _0x330d74=_0x35de07,_0x43fd52=getStyleTags(_0x19ced1)||Rule['empty'],_0x3f7960=highlightTags(_0x3c975d,_0x43fd52['tags']);if(_0x3f7960&&(_0x330d74&&(_0x330d74+='\x20'),_0x330d74+=_0x3f7960,0x1==_0x43fd52['mode']&&(_0x35de07+=(_0x35de07?'\x20':'')+_0x3f7960)),this['startSpan'](Math['max'](_0x83ed19,_0x39fac8),_0x330d74),_0x43fd52['opaque'])return;let _0x2430a2=_0x19ced1['tree']&&_0x19ced1['tree']['prop'](NodeProp['mounted']);if(_0x2430a2&&_0x2430a2['overlay']){let _0x39a30d=_0x19ced1['node']['enter'](_0x2430a2['overlay'][0x0]['from']+_0x39fac8,0x1),_0x324847=this['highlighters']['filter'](_0x591cdf=>!_0x591cdf['scope']||_0x591cdf['scope'](_0x2430a2['tree']['type'])),_0x3ab557=_0x19ced1['firstChild']();for(let _0x50e618=0x0,_0x4d9687=_0x39fac8;;_0x50e618++){let _0x2f809c=_0x50e618<_0x2430a2['overlay']['length']?_0x2430a2['overlay'][_0x50e618]:null,_0x18b148=_0x2f809c?_0x2f809c['from']+_0x39fac8:_0x2cfa7a,_0x37d2be=Math['max'](_0x83ed19,_0x4d9687),_0x372332=Math['min'](_0xe4200b,_0x18b148);if(_0x37d2be<_0x372332&&_0x3ab557){for(;_0x19ced1['from']<_0x372332&&(this['highlightRange'](_0x19ced1,_0x37d2be,_0x372332,_0x35de07,_0x3c975d),this['startSpan'](Math['min'](_0x372332,_0x19ced1['to']),_0x330d74),!(_0x19ced1['to']>=_0x18b148)&&_0x19ced1['nextSibling']()););}if(!_0x2f809c||_0x18b148>_0xe4200b)break;_0x4d9687=_0x2f809c['to']+_0x39fac8,_0x4d9687>_0x83ed19&&(this['highlightRange'](_0x39a30d['cursor'](),Math['max'](_0x83ed19,_0x2f809c['from']+_0x39fac8),Math['min'](_0xe4200b,_0x4d9687),'',_0x324847),this['startSpan'](Math['min'](_0xe4200b,_0x4d9687),_0x330d74));}_0x3ab557&&_0x19ced1['parent']();}else{if(_0x19ced1['firstChild']()){_0x2430a2&&(_0x35de07='');do{if(!(_0x19ced1['to']<=_0x83ed19)){if(_0x19ced1['from']>=_0xe4200b)break;this['highlightRange'](_0x19ced1,_0x83ed19,_0xe4200b,_0x35de07,_0x3c975d),this['startSpan'](Math['min'](_0xe4200b,_0x19ced1['to']),_0x330d74);}}while(_0x19ced1['nextSibling']());_0x19ced1['parent']();}}}}function getStyleTags(_0x313ad1){let _0x4a9575=_0x313ad1['type']['prop'](ruleNodeProp);for(;_0x4a9575&&_0x4a9575['context']&&!_0x313ad1['matchContext'](_0x4a9575['context']);)_0x4a9575=_0x4a9575['next'];return _0x4a9575||null;}const t=Tag['define'],comment=t(),name=t(),typeName=t(name),propertyName=t(name),literal=t(),string=t(literal),number=t(literal),content=t(),heading=t(content),keyword=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':name,'variableName':t(name),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(name),'labelName':t(name),'namespace':t(name),'macroName':t(name),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':number,'integer':t(number),'float':t(number),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':keyword,'self':t(keyword),'null':t(keyword),'atom':t(keyword),'unit':t(keyword),'modifier':t(keyword),'operatorKeyword':t(keyword),'controlKeyword':t(keyword),'definitionKeyword':t(keyword),'moduleKeyword':t(keyword),'operator':operator,'derefOperator':t(operator),'arithmeticOperator':t(operator),'logicOperator':t(operator),'bitwiseOperator':t(operator),'compareOperator':t(operator),'updateOperator':t(operator),'definitionOperator':t(operator),'typeOperator':t(operator),'controlOperator':t(operator),'punctuation':punctuation,'separator':t(punctuation),'bracket':bracket,'angleBracket':t(bracket),'squareBracket':t(bracket),'paren':t(bracket),'brace':t(bracket),'content':content,'heading':heading,'heading1':t(heading),'heading2':t(heading),'heading3':t(heading),'heading4':t(heading),'heading5':t(heading),'heading6':t(heading),'contentSeparator':t(content),'list':t(content),'quote':t(content),'emphasis':t(content),'strong':t(content),'link':t(content),'monospace':t(content),'strikethrough':t(content),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':meta,'documentMeta':t(meta),'annotation':t(meta),'processingInstruction':t(meta),'definition':Tag['defineModifier']('definition'),'constant':Tag['defineModifier']('constant'),'function':Tag['defineModifier']('function'),'standard':Tag['defineModifier']('standard'),'local':Tag['defineModifier']('local'),'special':Tag['defineModifier']('special')};for(let e in tags$1){let i=tags$1[e];i instanceof Tag&&(i['name']=e);}var _a;tagHighlighter([{'tag':tags$1['link'],'class':'tok-link'},{'tag':tags$1['heading'],'class':'tok-heading'},{'tag':tags$1['emphasis'],'class':'tok-emphasis'},{'tag':tags$1['strong'],'class':'tok-strong'},{'tag':tags$1['keyword'],'class':'tok-keyword'},{'tag':tags$1['atom'],'class':'tok-atom'},{'tag':tags$1['bool'],'class':'tok-bool'},{'tag':tags$1['url'],'class':'tok-url'},{'tag':tags$1['labelName'],'class':'tok-labelName'},{'tag':tags$1['inserted'],'class':'tok-inserted'},{'tag':tags$1['deleted'],'class':'tok-deleted'},{'tag':tags$1['literal'],'class':'tok-literal'},{'tag':tags$1['string'],'class':'tok-string'},{'tag':tags$1['number'],'class':'tok-number'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'class':'tok-string2'},{'tag':tags$1['variableName'],'class':'tok-variableName'},{'tag':tags$1['local'](tags$1['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':tags$1['definition'](tags$1['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':tags$1['special'](tags$1['variableName']),'class':'tok-variableName2'},{'tag':tags$1['definition'](tags$1['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':tags$1['typeName'],'class':'tok-typeName'},{'tag':tags$1['namespace'],'class':'tok-namespace'},{'tag':tags$1['className'],'class':'tok-className'},{'tag':tags$1['macroName'],'class':'tok-macroName'},{'tag':tags$1['propertyName'],'class':'tok-propertyName'},{'tag':tags$1['operator'],'class':'tok-operator'},{'tag':tags$1['comment'],'class':'tok-comment'},{'tag':tags$1['meta'],'class':'tok-meta'},{'tag':tags$1['invalid'],'class':'tok-invalid'},{'tag':tags$1['punctuation'],'class':'tok-punctuation'}]);const languageDataProp=new NodeProp();function defineLanguageFacet(_0x47c8d2){return Facet['define']({'combine':_0x47c8d2?_0xf986d3=>_0xf986d3['concat'](_0x47c8d2):void 0x0});}const sublanguageProp=new NodeProp();class Language{constructor(_0x4b438b,_0x438948,_0x1d97a1=[],_0x384b65=''){this['data']=_0x4b438b,this['name']=_0x384b65,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x438948,this['extension']=[language['of'](this),EditorState['languageData']['of']((_0x293520,_0x41638c,_0x55defc)=>{let _0x2f2908=topNodeAt(_0x293520,_0x41638c,_0x55defc),_0x2b8b4b=_0x2f2908['type']['prop'](languageDataProp);if(!_0x2b8b4b)return[];let _0x5f5ca5=_0x293520['facet'](_0x2b8b4b),_0x5049aa=_0x2f2908['type']['prop'](sublanguageProp);if(_0x5049aa){let _0x3408ab=_0x2f2908['resolve'](_0x41638c-_0x2f2908['from'],_0x55defc);for(let _0x4b5cf5 of _0x5049aa)if(_0x4b5cf5['test'](_0x3408ab,_0x293520)){let _0x3ad308=_0x293520['facet'](_0x4b5cf5['facet']);return'replace'==_0x4b5cf5['type']?_0x3ad308:_0x3ad308['concat'](_0x5f5ca5);}}return _0x5f5ca5;})]['concat'](_0x1d97a1);}['isActiveAt'](_0x48072e,_0x9666bf,_0x451313=-0x1){return topNodeAt(_0x48072e,_0x9666bf,_0x451313)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x44c080){let _0xcbada0=_0x44c080['facet'](language);if((null==_0xcbada0?void 0x0:_0xcbada0['data'])==this['data'])return[{'from':0x0,'to':_0x44c080['doc']['length']}];if(!_0xcbada0||!_0xcbada0['allowsNesting'])return[];let _0x3f2d1b=[],_0xc3d268=(_0x38ca9b,_0x3d8c53)=>{if(_0x38ca9b['prop'](languageDataProp)==this['data'])return void _0x3f2d1b['push']({'from':_0x3d8c53,'to':_0x3d8c53+_0x38ca9b['length']});let _0x180967=_0x38ca9b['prop'](NodeProp['mounted']);if(_0x180967){if(_0x180967['tree']['prop'](languageDataProp)==this['data']){if(_0x180967['overlay']){for(let _0x385171 of _0x180967['overlay'])_0x3f2d1b['push']({'from':_0x385171['from']+_0x3d8c53,'to':_0x385171['to']+_0x3d8c53});}else _0x3f2d1b['push']({'from':_0x3d8c53,'to':_0x3d8c53+_0x38ca9b['length']});return;}if(_0x180967['overlay']){let _0x162b9e=_0x3f2d1b['length'];if(_0xc3d268(_0x180967['tree'],_0x180967['overlay'][0x0]['from']+_0x3d8c53),_0x3f2d1b['length']>_0x162b9e)return;}}for(let _0x429ef6=0x0;_0x429ef6<_0x38ca9b['children']['length'];_0x429ef6++){let _0x117dbd=_0x38ca9b['children'][_0x429ef6];_0x117dbd instanceof Tree&&_0xc3d268(_0x117dbd,_0x38ca9b['positions'][_0x429ef6]+_0x3d8c53);}};return _0xc3d268(syntaxTree(_0x44c080),0x0),_0x3f2d1b;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x33c64b,_0xc0fe1c,_0x2107d7){let _0x35dfc7=_0x33c64b['facet'](language),_0x5584d9=syntaxTree(_0x33c64b)['topNode'];if(!_0x35dfc7||_0x35dfc7['allowsNesting']){for(let _0x3f0192=_0x5584d9;_0x3f0192;_0x3f0192=_0x3f0192['enter'](_0xc0fe1c,_0x2107d7,IterMode['ExcludeBuffers']))_0x3f0192['type']['isTop']&&(_0x5584d9=_0x3f0192);}return _0x5584d9;}Language['setState']=StateEffect['define']();class LRLanguage extends Language{constructor(_0x49db19,_0x19a5a8,_0x2825f8){super(_0x49db19,_0x19a5a8,[],_0x2825f8),this['parser']=_0x19a5a8;}static['define'](_0x1ab732){let _0x121ba7=defineLanguageFacet(_0x1ab732['languageData']);return new LRLanguage(_0x121ba7,_0x1ab732['parser']['configure']({'props':[languageDataProp['add'](_0x22e209=>_0x22e209['isTop']?_0x121ba7:void 0x0)]}),_0x1ab732['name']);}['configure'](_0xa65b93,_0x41f6ea){return new LRLanguage(this['data'],this['parser']['configure'](_0xa65b93),_0x41f6ea||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x138bfe){let _0x1b9bb9=_0x138bfe['field'](Language['state'],!0x1);return _0x1b9bb9?_0x1b9bb9['tree']:Tree['empty'];}class DocInput{constructor(_0x58474c){this['doc']=_0x58474c,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x58474c['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x56078a){return this['string']=this['cursor']['next'](_0x56078a-this['cursorPos'])['value'],this['cursorPos']=_0x56078a+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x2b3852){return this['syncTo'](_0x2b3852),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0xc276dd,_0x1c8b79){let _0x4d99f3=this['cursorPos']-this['string']['length'];return _0xc276dd<_0x4d99f3||_0x1c8b79>=this['cursorPos']?this['doc']['sliceString'](_0xc276dd,_0x1c8b79):this['string']['slice'](_0xc276dd-_0x4d99f3,_0x1c8b79-_0x4d99f3);}}let currentContext=null;class ParseContext{constructor(_0x7a88fb,_0x4bac2f,_0x3f4a45=[],_0x3fdbd1,_0x4d319e,_0x4bca6a,_0x38a427,_0x1af140){this['parser']=_0x7a88fb,this['state']=_0x4bac2f,this['fragments']=_0x3f4a45,this['tree']=_0x3fdbd1,this['treeLen']=_0x4d319e,this['viewport']=_0x4bca6a,this['skipped']=_0x38a427,this['scheduleOn']=_0x1af140,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x17a315,_0xc95d06,_0x155870){return new ParseContext(_0x17a315,_0xc95d06,[],Tree['empty'],0x0,_0x155870,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x38411f,_0x467857){return null!=_0x467857&&_0x467857>=this['state']['doc']['length']&&(_0x467857=void 0x0),this['tree']!=Tree['empty']&&this['isDone'](null!=_0x467857?_0x467857:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x49ea82;if('number'==typeof _0x38411f){let _0x3539ff=Date['now']()+_0x38411f;_0x38411f=()=>Date['now']()>_0x3539ff;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x467857&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x467857)&&_0x467857<this['state']['doc']['length']&&this['parse']['stopAt'](_0x467857);;){let _0x399a18=this['parse']['advance']();if(_0x399a18){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x399a18,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x49ea82=this['parse']['stoppedAt'])&&void 0x0!==_0x49ea82?_0x49ea82:this['state']['doc']['length'],this['tree']=_0x399a18,this['parse']=null,!(this['treeLen']<(null!=_0x467857?_0x467857:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x38411f())return!0x1;}});}['takeTree'](){let _0x50d9d2,_0x5a3d6a;this['parse']&&(_0x50d9d2=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x50d9d2)&&this['parse']['stopAt'](_0x50d9d2),this['withContext'](()=>{for(;!(_0x5a3d6a=this['parse']['advance']()););}),this['treeLen']=_0x50d9d2,this['tree']=_0x5a3d6a,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x1ed844){let _0x6d7ab4=currentContext;currentContext=this;try{return _0x1ed844();}finally{currentContext=_0x6d7ab4;}}['withoutTempSkipped'](_0x451c2c){for(let _0x36c4e5;_0x36c4e5=this['tempSkipped']['pop']();)_0x451c2c=cutFragments(_0x451c2c,_0x36c4e5['from'],_0x36c4e5['to']);return _0x451c2c;}['changes'](_0x503233,_0x313934){let {fragments:_0x3a66ea,tree:_0x35b6f8,treeLen:_0x2435c2,viewport:_0x5a0ad1,skipped:_0x5c8a8d}=this;if(this['takeTree'](),!_0x503233['empty']){let _0x415d4d=[];if(_0x503233['iterChangedRanges']((_0x45407f,_0x517f33,_0x3f5697,_0xf1813e)=>_0x415d4d['push']({'fromA':_0x45407f,'toA':_0x517f33,'fromB':_0x3f5697,'toB':_0xf1813e})),_0x3a66ea=TreeFragment['applyChanges'](_0x3a66ea,_0x415d4d),_0x35b6f8=Tree['empty'],_0x2435c2=0x0,_0x5a0ad1={'from':_0x503233['mapPos'](_0x5a0ad1['from'],-0x1),'to':_0x503233['mapPos'](_0x5a0ad1['to'],0x1)},this['skipped']['length']){_0x5c8a8d=[];for(let _0x5ddc39 of this['skipped']){let _0x42173a=_0x503233['mapPos'](_0x5ddc39['from'],0x1),_0x54f39d=_0x503233['mapPos'](_0x5ddc39['to'],-0x1);_0x42173a<_0x54f39d&&_0x5c8a8d['push']({'from':_0x42173a,'to':_0x54f39d});}}}return new ParseContext(this['parser'],_0x313934,_0x3a66ea,_0x35b6f8,_0x2435c2,_0x5a0ad1,_0x5c8a8d,this['scheduleOn']);}['updateViewport'](_0x5df3dc){if(this['viewport']['from']==_0x5df3dc['from']&&this['viewport']['to']==_0x5df3dc['to'])return!0x1;this['viewport']=_0x5df3dc;let _0x1872d6=this['skipped']['length'];for(let _0x32d0f9=0x0;_0x32d0f9<this['skipped']['length'];_0x32d0f9++){let {from:_0x32b78e,to:_0x26704c}=this['skipped'][_0x32d0f9];_0x32b78e<_0x5df3dc['to']&&_0x26704c>_0x5df3dc['from']&&(this['fragments']=cutFragments(this['fragments'],_0x32b78e,_0x26704c),this['skipped']['splice'](_0x32d0f9--,0x1));}return!(this['skipped']['length']>=_0x1872d6)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x3ad46e,_0x4f4812){this['skipped']['push']({'from':_0x3ad46e,'to':_0x4f4812});}static['getSkippingParser'](_0x9519b){return new class extends Parser{['createParse'](_0xad1a34,_0x28dd23,_0x1b4459){let _0x5596a2=_0x1b4459[0x0]['from'],_0x5961e8=_0x1b4459[_0x1b4459['length']-0x1]['to'],_0x496bba={'parsedPos':_0x5596a2,'advance'(){let _0x4575c8=currentContext;if(_0x4575c8){for(let _0x22a58a of _0x1b4459)_0x4575c8['tempSkipped']['push'](_0x22a58a);_0x9519b&&(_0x4575c8['scheduleOn']=_0x4575c8['scheduleOn']?Promise['all']([_0x4575c8['scheduleOn'],_0x9519b]):_0x9519b);}return this['parsedPos']=_0x5961e8,new Tree(NodeType['none'],[],[],_0x5961e8-_0x5596a2);},'stoppedAt':null,'stopAt'(){}};return _0x496bba;}}();}['isDone'](_0x15885b){_0x15885b=Math['min'](_0x15885b,this['state']['doc']['length']);let _0x332644=this['fragments'];return this['treeLen']>=_0x15885b&&_0x332644['length']&&0x0==_0x332644[0x0]['from']&&_0x332644[0x0]['to']>=_0x15885b;}static['get'](){return currentContext;}}function cutFragments(_0x233880,_0x17159c,_0x5a287c){return TreeFragment['applyChanges'](_0x233880,[{'fromA':_0x17159c,'toA':_0x5a287c,'fromB':_0x17159c,'toB':_0x5a287c}]);}class LanguageState{constructor(_0x3c1a6e){this['context']=_0x3c1a6e,this['tree']=_0x3c1a6e['tree'];}['apply'](_0x2e9e02){if(!_0x2e9e02['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x470f81=this['context']['changes'](_0x2e9e02['changes'],_0x2e9e02['state']),_0x2ad03e=this['context']['treeLen']==_0x2e9e02['startState']['doc']['length']?void 0x0:Math['max'](_0x2e9e02['changes']['mapPos'](this['context']['treeLen']),_0x470f81['viewport']['to']);return _0x470f81['work'](0x14,_0x2ad03e)||_0x470f81['takeTree'](),new LanguageState(_0x470f81);}static['init'](_0x10fa4f){let _0x24b272=Math['min'](0xbb8,_0x10fa4f['doc']['length']),_0x5e0a01=ParseContext['create'](_0x10fa4f['facet'](language)['parser'],_0x10fa4f,{'from':0x0,'to':_0x24b272});return _0x5e0a01['work'](0x14,_0x24b272)||_0x5e0a01['takeTree'](),new LanguageState(_0x5e0a01);}}Language['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x20e975,_0x2ca954){for(let _0x575cff of _0x2ca954['effects'])if(_0x575cff['is'](Language['setState']))return _0x575cff['value'];return _0x2ca954['startState']['facet'](language)!=_0x2ca954['state']['facet'](language)?LanguageState['init'](_0x2ca954['state']):_0x20e975['apply'](_0x2ca954);}});let requestIdle=_0x405cfb=>{let _0xf1162b=setTimeout(()=>_0x405cfb(),0x1f4);return()=>clearTimeout(_0xf1162b);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x254651=>{let _0x5d81da=-0x1,_0x30d985=setTimeout(()=>{_0x5d81da=requestIdleCallback(_0x254651,{'timeout':0x190});},0x64);return()=>_0x5d81da<0x0?clearTimeout(_0x30d985):cancelIdleCallback(_0x5d81da);});const isInputPending='undefined'!=typeof navigator&&(null===(_a=navigator['scheduling'])||void 0x0===_a?void 0x0:_a['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,parseWorker=ViewPlugin['fromClass'](class{constructor(_0x460357){this['view']=_0x460357,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x1423e5){let _0x492584=this['view']['state']['field'](Language['state'])['context'];(_0x492584['updateViewport'](_0x1423e5['view']['viewport'])||this['view']['viewport']['to']>_0x492584['treeLen'])&&this['scheduleWork'](),(_0x1423e5['docChanged']||_0x1423e5['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x492584);}['scheduleWork'](){if(this['working'])return;let {state:_0x2eb279}=this['view'],_0x25821b=_0x2eb279['field'](Language['state']);_0x25821b['tree']==_0x25821b['context']['tree']&&_0x25821b['context']['isDone'](_0x2eb279['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x44dd1e){this['working']=null;let _0x5e7209=Date['now']();if(this['chunkEnd']<_0x5e7209&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x5e7209+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x280564,viewport:{to:_0xaf5718}}=this['view'],_0x4ecb85=_0x280564['field'](Language['state']);if(_0x4ecb85['tree']==_0x4ecb85['context']['tree']&&_0x4ecb85['context']['isDone'](_0xaf5718+0x186a0))return;let _0x4ffbbf=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x44dd1e&&!isInputPending?Math['max'](0x19,_0x44dd1e['timeRemaining']()-0x5):0x3b9aca00),_0x15b2cf=_0x4ecb85['context']['treeLen']<_0xaf5718&&_0x280564['doc']['length']>_0xaf5718+0x3e8,_0x14e97d=_0x4ecb85['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x4ffbbf,_0xaf5718+(_0x15b2cf?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x5e7209,(_0x14e97d||this['chunkBudget']<=0x0)&&(_0x4ecb85['context']['takeTree'](),this['view']['dispatch']({'effects':Language['setState']['of'](new LanguageState(_0x4ecb85['context']))})),this['chunkBudget']>0x0&&(!_0x14e97d||_0x15b2cf)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x4ecb85['context']);}['checkAsyncSchedule'](_0x24191f){_0x24191f['scheduleOn']&&(this['workScheduled']++,_0x24191f['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x2ccb6b=>logException(this['view']['state'],_0x2ccb6b))['then'](()=>this['workScheduled']--),_0x24191f['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),language=Facet['define']({'combine':_0x4acb85=>_0x4acb85['length']?_0x4acb85[0x0]:null,'enables':_0x42c838=>[Language['state'],parseWorker,EditorView['contentAttributes']['compute']([_0x42c838],_0x313724=>{let _0x1a033f=_0x313724['facet'](_0x42c838);return _0x1a033f&&_0x1a033f['name']?{'data-language':_0x1a033f['name']}:{};})]});class LanguageSupport{constructor(_0x35fefa,_0x4bfd78=[]){this['language']=_0x35fefa,this['support']=_0x4bfd78,this['extension']=[_0x35fefa,_0x4bfd78];}}class LanguageDescription{constructor(_0x463834,_0x2a3231,_0x5999b9,_0x5d8797,_0xd4c5d2,_0x1e74e3=void 0x0){this['name']=_0x463834,this['alias']=_0x2a3231,this['extensions']=_0x5999b9,this['filename']=_0x5d8797,this['loadFunc']=_0xd4c5d2,this['support']=_0x1e74e3,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0xfac6f4=>this['support']=_0xfac6f4,_0xe351e5=>{throw this['loading']=null,_0xe351e5;}));}static['of'](_0x3ad185){let {load:_0xd62c38,support:_0x584bdf}=_0x3ad185;if(!_0xd62c38){if(!_0x584bdf)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0xd62c38=()=>Promise['resolve'](_0x584bdf);}return new LanguageDescription(_0x3ad185['name'],(_0x3ad185['alias']||[])['concat'](_0x3ad185['name'])['map'](_0x126b25=>_0x126b25['toLowerCase']()),_0x3ad185['extensions']||[],_0x3ad185['filename'],_0xd62c38,_0x584bdf);}static['matchFilename'](_0x1ba644,_0x434677){for(let _0x449114 of _0x1ba644)if(_0x449114['filename']&&_0x449114['filename']['test'](_0x434677))return _0x449114;let _0x405c00=/\.([^.]+)$/['exec'](_0x434677);if(_0x405c00){for(let _0x2787d9 of _0x1ba644)if(_0x2787d9['extensions']['indexOf'](_0x405c00[0x1])>-0x1)return _0x2787d9;}return null;}static['matchLanguageName'](_0xcc3aff,_0x4f4022,_0x456815=!0x0){_0x4f4022=_0x4f4022['toLowerCase']();for(let _0x1e22c3 of _0xcc3aff)if(_0x1e22c3['alias']['some'](_0x1d4e01=>_0x1d4e01==_0x4f4022))return _0x1e22c3;if(_0x456815){for(let _0x3eb858 of _0xcc3aff)for(let _0x39c651 of _0x3eb858['alias']){let _0x1c2e6c=_0x4f4022['indexOf'](_0x39c651);if(_0x1c2e6c>-0x1&&(_0x39c651['length']>0x2||!/\w/['test'](_0x4f4022[_0x1c2e6c-0x1])&&!/\w/['test'](_0x4f4022[_0x1c2e6c+_0x39c651['length']])))return _0x3eb858;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x2d2b57=>{if(!_0x2d2b57['length'])return'\x20\x20';let _0x2bc845=_0x2d2b57[0x0];if(!_0x2bc845||/\S/['test'](_0x2bc845)||Array['from'](_0x2bc845)['some'](_0x4bf4ff=>_0x4bf4ff!=_0x2bc845[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x2d2b57[0x0]));return _0x2bc845;}});function getIndentUnit(_0x43ffeb){let _0x39cb80=_0x43ffeb['facet'](indentUnit);return 0x9==_0x39cb80['charCodeAt'](0x0)?_0x43ffeb['tabSize']*_0x39cb80['length']:_0x39cb80['length'];}function indentString(_0x43d4d7,_0x39d379){let _0x7038e8='',_0x3925f8=_0x43d4d7['tabSize'],_0x6543eb=_0x43d4d7['facet'](indentUnit)[0x0];if('\x09'==_0x6543eb){for(;_0x39d379>=_0x3925f8;)_0x7038e8+='\x09',_0x39d379-=_0x3925f8;_0x6543eb='\x20';}for(let _0x5d0db8=0x0;_0x5d0db8<_0x39d379;_0x5d0db8++)_0x7038e8+=_0x6543eb;return _0x7038e8;}function getIndentation(_0x587c2d,_0x30e6d3){_0x587c2d instanceof EditorState&&(_0x587c2d=new IndentContext(_0x587c2d));for(let _0x54f80c of _0x587c2d['state']['facet'](indentService)){let _0xb5eb13=_0x54f80c(_0x587c2d,_0x30e6d3);if(void 0x0!==_0xb5eb13)return _0xb5eb13;}let _0x341858=syntaxTree(_0x587c2d['state']);return _0x341858['length']>=_0x30e6d3?syntaxIndentation(_0x587c2d,_0x341858,_0x30e6d3):null;}class IndentContext{constructor(_0x2a670b,_0x23d4e1={}){this['state']=_0x2a670b,this['options']=_0x23d4e1,this['unit']=getIndentUnit(_0x2a670b);}['lineAt'](_0x400795,_0x598479=0x1){let _0x2d2db3=this['state']['doc']['lineAt'](_0x400795),{simulateBreak:_0x502b94,simulateDoubleBreak:_0x2d66ee}=this['options'];return null!=_0x502b94&&_0x502b94>=_0x2d2db3['from']&&_0x502b94<=_0x2d2db3['to']?_0x2d66ee&&_0x502b94==_0x400795?{'text':'','from':_0x400795}:(_0x598479<0x0?_0x502b94<_0x400795:_0x502b94<=_0x400795)?{'text':_0x2d2db3['text']['slice'](_0x502b94-_0x2d2db3['from']),'from':_0x502b94}:{'text':_0x2d2db3['text']['slice'](0x0,_0x502b94-_0x2d2db3['from']),'from':_0x2d2db3['from']}:_0x2d2db3;}['textAfterPos'](_0x481754,_0x25b5a9=0x1){if(this['options']['simulateDoubleBreak']&&_0x481754==this['options']['simulateBreak'])return'';let {text:_0x5a1042,from:_0x11632d}=this['lineAt'](_0x481754,_0x25b5a9);return _0x5a1042['slice'](_0x481754-_0x11632d,Math['min'](_0x5a1042['length'],_0x481754+0x64-_0x11632d));}['column'](_0x588331,_0x48e250=0x1){let {text:_0x42ad57,from:_0x3e9604}=this['lineAt'](_0x588331,_0x48e250),_0x25dd48=this['countColumn'](_0x42ad57,_0x588331-_0x3e9604),_0xaacbd9=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x3e9604):-0x1;return _0xaacbd9>-0x1&&(_0x25dd48+=_0xaacbd9-this['countColumn'](_0x42ad57,_0x42ad57['search'](/\S|$/))),_0x25dd48;}['countColumn'](_0x989e8c,_0x65a6b6=_0x989e8c['length']){return countColumn(_0x989e8c,this['state']['tabSize'],_0x65a6b6);}['lineIndent'](_0x5617ce,_0x2deb89=0x1){let {text:_0xaa1f40,from:_0x37535d}=this['lineAt'](_0x5617ce,_0x2deb89),_0x2ab66a=this['options']['overrideIndentation'];if(_0x2ab66a){let _0xccfb17=_0x2ab66a(_0x37535d);if(_0xccfb17>-0x1)return _0xccfb17;}return this['countColumn'](_0xaa1f40,_0xaa1f40['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new NodeProp();function syntaxIndentation(_0x193bda,_0x2f4997,_0x2396b6){let _0x1f6311=_0x2f4997['resolveStack'](_0x2396b6),_0x2e9993=_0x2f4997['resolveInner'](_0x2396b6,-0x1)['resolve'](_0x2396b6,0x0)['enterUnfinishedNodesBefore'](_0x2396b6);if(_0x2e9993!=_0x1f6311['node']){let _0x695349=[];for(let _0x580e6a=_0x2e9993;_0x580e6a&&(_0x580e6a['from']!=_0x1f6311['node']['from']||_0x580e6a['type']!=_0x1f6311['node']['type']);_0x580e6a=_0x580e6a['parent'])_0x695349['push'](_0x580e6a);for(let _0x440092=_0x695349['length']-0x1;_0x440092>=0x0;_0x440092--)_0x1f6311={'node':_0x695349[_0x440092],'next':_0x1f6311};}return indentFor(_0x1f6311,_0x193bda,_0x2396b6);}function indentFor(_0x2f75ab,_0x569a45,_0x47e30b){for(let _0x520e1e=_0x2f75ab;_0x520e1e;_0x520e1e=_0x520e1e['next']){let _0x1cda19=indentStrategy(_0x520e1e['node']);if(_0x1cda19)return _0x1cda19(TreeIndentContext['create'](_0x569a45,_0x47e30b,_0x520e1e));}return 0x0;}function ignoreClosed(_0x18f159){return _0x18f159['pos']==_0x18f159['options']['simulateBreak']&&_0x18f159['options']['simulateDoubleBreak'];}function indentStrategy(_0x44fbc0){let _0x360e0f=_0x44fbc0['type']['prop'](indentNodeProp);if(_0x360e0f)return _0x360e0f;let _0x1a1469,_0x499676=_0x44fbc0['firstChild'];if(_0x499676&&(_0x1a1469=_0x499676['type']['prop'](NodeProp['closedBy']))){let _0x5165aa=_0x44fbc0['lastChild'],_0x9ab550=_0x5165aa&&_0x1a1469['indexOf'](_0x5165aa['name'])>-0x1;return _0x1e8b0e=>delimitedStrategy(_0x1e8b0e,!0x0,0x1,void 0x0,_0x9ab550&&!ignoreClosed(_0x1e8b0e)?_0x5165aa['from']:void 0x0);}return null==_0x44fbc0['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x428281,_0x2478ce,_0x34ea53){super(_0x428281['state'],_0x428281['options']),this['base']=_0x428281,this['pos']=_0x2478ce,this['context']=_0x34ea53;}get['node'](){return this['context']['node'];}static['create'](_0x1da509,_0x5192c5,_0x29577c){return new TreeIndentContext(_0x1da509,_0x5192c5,_0x29577c);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x1d8c21){let _0x1c085e=this['state']['doc']['lineAt'](_0x1d8c21['from']);for(;;){let _0x2827fb=_0x1d8c21['resolve'](_0x1c085e['from']);for(;_0x2827fb['parent']&&_0x2827fb['parent']['from']==_0x2827fb['from'];)_0x2827fb=_0x2827fb['parent'];if(isParent(_0x2827fb,_0x1d8c21))break;_0x1c085e=this['state']['doc']['lineAt'](_0x2827fb['from']);}return this['lineIndent'](_0x1c085e['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x1301ea,_0x4f6c44){for(let _0xc36047=_0x4f6c44;_0xc36047;_0xc36047=_0xc36047['parent'])if(_0x1301ea==_0xc36047)return!0x0;return!0x1;}function bracketedAligned(_0x5c7718){let _0x430461=_0x5c7718['node'],_0x47625e=_0x430461['childAfter'](_0x430461['from']),_0x50d001=_0x430461['lastChild'];if(!_0x47625e)return null;let _0x71ac76=_0x5c7718['options']['simulateBreak'],_0x12bb7a=_0x5c7718['state']['doc']['lineAt'](_0x47625e['from']),_0x189610=null==_0x71ac76||_0x71ac76<=_0x12bb7a['from']?_0x12bb7a['to']:Math['min'](_0x12bb7a['to'],_0x71ac76);for(let _0x29a149=_0x47625e['to'];;){let _0x76618f=_0x430461['childAfter'](_0x29a149);if(!_0x76618f||_0x76618f==_0x50d001)return null;if(!_0x76618f['type']['isSkipped']){if(_0x76618f['from']>=_0x189610)return null;let _0x1091fd=/^ */['exec'](_0x12bb7a['text']['slice'](_0x47625e['to']-_0x12bb7a['from']))[0x0]['length'];return{'from':_0x47625e['from'],'to':_0x47625e['to']+_0x1091fd};}_0x29a149=_0x76618f['to'];}}function delimitedIndent({closing:_0x344977,align:_0x4371db=!0x0,units:_0x5f1d1d=0x1}){return _0x3022d6=>delimitedStrategy(_0x3022d6,_0x4371db,_0x5f1d1d,_0x344977);}function delimitedStrategy(_0x42030c,_0xa73008,_0x444903,_0x1ec018,_0x208d0e){let _0x1493ca=_0x42030c['textAfter'],_0x283f83=_0x1493ca['match'](/^\s*/)[0x0]['length'],_0x5681ea=_0x1ec018&&_0x1493ca['slice'](_0x283f83,_0x283f83+_0x1ec018['length'])==_0x1ec018||_0x208d0e==_0x42030c['pos']+_0x283f83,_0x6f684a=_0xa73008?bracketedAligned(_0x42030c):null;return _0x6f684a?_0x5681ea?_0x42030c['column'](_0x6f684a['from']):_0x42030c['column'](_0x6f684a['to']):_0x42030c['baseIndent']+(_0x5681ea?0x0:_0x42030c['unit']*_0x444903);}const flatIndent=_0x1fde63=>_0x1fde63['baseIndent'];function continuedIndent({except:_0x1c902b,units:_0xc3336c=0x1}={}){return _0x36ee87=>{let _0xb693df=_0x1c902b&&_0x1c902b['test'](_0x36ee87['textAfter']);return _0x36ee87['baseIndent']+(_0xb693df?0x0:_0xc3336c*_0x36ee87['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x1a5695=>{if(!_0x1a5695['docChanged']||!_0x1a5695['isUserEvent']('input.type')&&!_0x1a5695['isUserEvent']('input.complete'))return _0x1a5695;let _0x5dd721=_0x1a5695['startState']['languageDataAt']('indentOnInput',_0x1a5695['startState']['selection']['main']['head']);if(!_0x5dd721['length'])return _0x1a5695;let _0x5cc75c=_0x1a5695['newDoc'],{head:_0x438fba}=_0x1a5695['newSelection']['main'],_0x2a4624=_0x5cc75c['lineAt'](_0x438fba);if(_0x438fba>_0x2a4624['from']+DontIndentBeyond)return _0x1a5695;let _0x343bd0=_0x5cc75c['sliceString'](_0x2a4624['from'],_0x438fba);if(!_0x5dd721['some'](_0x84fc0=>_0x84fc0['test'](_0x343bd0)))return _0x1a5695;let {state:_0x5d1954}=_0x1a5695,_0x2740e3=-0x1,_0x5ad3bd=[];for(let {head:_0x5074fe}of _0x5d1954['selection']['ranges']){let _0x1cfcbb=_0x5d1954['doc']['lineAt'](_0x5074fe);if(_0x1cfcbb['from']==_0x2740e3)continue;_0x2740e3=_0x1cfcbb['from'];let _0x3f7d98=getIndentation(_0x5d1954,_0x1cfcbb['from']);if(null==_0x3f7d98)continue;let _0x2f5b8e=/^\s*/['exec'](_0x1cfcbb['text'])[0x0],_0x28ee7f=indentString(_0x5d1954,_0x3f7d98);_0x2f5b8e!=_0x28ee7f&&_0x5ad3bd['push']({'from':_0x1cfcbb['from'],'to':_0x1cfcbb['from']+_0x2f5b8e['length'],'insert':_0x28ee7f});}return _0x5ad3bd['length']?[_0x1a5695,{'changes':_0x5ad3bd,'sequential':!0x0}]:_0x1a5695;});}const foldService=Facet['define'](),foldNodeProp=new NodeProp();function foldInside(_0x21f565){let _0x2195ff=_0x21f565['firstChild'],_0x58b5b7=_0x21f565['lastChild'];return _0x2195ff&&_0x2195ff['to']<_0x58b5b7['from']?{'from':_0x2195ff['to'],'to':_0x58b5b7['type']['isError']?_0x21f565['to']:_0x58b5b7['from']}:null;}function syntaxFolding(_0x3573ad,_0x2d95c5,_0x5f07c8){let _0x240b28=syntaxTree(_0x3573ad);if(_0x240b28['length']<_0x5f07c8)return null;let _0x3edb87=null;for(let _0x36081c=_0x240b28['resolveStack'](_0x5f07c8,0x1);_0x36081c;_0x36081c=_0x36081c['next']){let _0x3cba2a=_0x36081c['node'];if(_0x3cba2a['to']<=_0x5f07c8||_0x3cba2a['from']>_0x5f07c8)continue;if(_0x3edb87&&_0x3cba2a['from']<_0x2d95c5)break;let _0xdbd6a7=_0x3cba2a['type']['prop'](foldNodeProp);if(_0xdbd6a7&&(_0x3cba2a['to']<_0x240b28['length']-0x32||_0x240b28['length']==_0x3573ad['doc']['length']||!isUnfinished(_0x3cba2a))){let _0x3e6ba7=_0xdbd6a7(_0x3cba2a,_0x3573ad);_0x3e6ba7&&_0x3e6ba7['from']<=_0x5f07c8&&_0x3e6ba7['from']>=_0x2d95c5&&_0x3e6ba7['to']>_0x5f07c8&&(_0x3edb87=_0x3e6ba7);}}return _0x3edb87;}function isUnfinished(_0x3a31c2){let _0x1174e2=_0x3a31c2['lastChild'];return _0x1174e2&&_0x1174e2['to']==_0x3a31c2['to']&&_0x1174e2['type']['isError'];}function foldable(_0x3e2f6b,_0x53c290,_0x2d8c89){for(let _0x2ce569 of _0x3e2f6b['facet'](foldService)){let _0x41330b=_0x2ce569(_0x3e2f6b,_0x53c290,_0x2d8c89);if(_0x41330b)return _0x41330b;}return syntaxFolding(_0x3e2f6b,_0x53c290,_0x2d8c89);}function mapRange(_0x2622ef,_0x238a85){let _0x1b8302=_0x238a85['mapPos'](_0x2622ef['from'],0x1),_0x3cdf50=_0x238a85['mapPos'](_0x2622ef['to'],-0x1);return _0x1b8302>=_0x3cdf50?void 0x0:{'from':_0x1b8302,'to':_0x3cdf50};}const foldEffect=StateEffect['define']({'map':mapRange}),unfoldEffect=StateEffect['define']({'map':mapRange});function selectedLines(_0x1b2f6b){let _0x233ece=[];for(let {head:_0x192cf7}of _0x1b2f6b['state']['selection']['ranges'])_0x233ece['some'](_0xd375d2=>_0xd375d2['from']<=_0x192cf7&&_0xd375d2['to']>=_0x192cf7)||_0x233ece['push'](_0x1b2f6b['lineBlockAt'](_0x192cf7));return _0x233ece;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x162282,_0x11cf3f){_0x162282=_0x162282['map'](_0x11cf3f['changes']);for(let _0x4658f7 of _0x11cf3f['effects'])if(_0x4658f7['is'](foldEffect)&&!foldExists(_0x162282,_0x4658f7['value']['from'],_0x4658f7['value']['to'])){let {preparePlaceholder:_0x5af480}=_0x11cf3f['state']['facet'](foldConfig),_0x2ceae8=_0x5af480?Decoration['replace']({'widget':new PreparedFoldWidget(_0x5af480(_0x11cf3f['state'],_0x4658f7['value']))}):foldWidget;_0x162282=_0x162282['update']({'add':[_0x2ceae8['range'](_0x4658f7['value']['from'],_0x4658f7['value']['to'])]});}else _0x4658f7['is'](unfoldEffect)&&(_0x162282=_0x162282['update']({'filter':(_0xf3eee,_0x140da7)=>_0x4658f7['value']['from']!=_0xf3eee||_0x4658f7['value']['to']!=_0x140da7,'filterFrom':_0x4658f7['value']['from'],'filterTo':_0x4658f7['value']['to']}));if(_0x11cf3f['selection']){let _0x14d9ad=!0x1,{head:_0x26bbfd}=_0x11cf3f['selection']['main'];_0x162282['between'](_0x26bbfd,_0x26bbfd,(_0x5f4f4c,_0x318ffc)=>{_0x5f4f4c<_0x26bbfd&&_0x318ffc>_0x26bbfd&&(_0x14d9ad=!0x0);}),_0x14d9ad&&(_0x162282=_0x162282['update']({'filterFrom':_0x26bbfd,'filterTo':_0x26bbfd,'filter':(_0x27395a,_0x1b3cbe)=>_0x1b3cbe<=_0x26bbfd||_0x27395a>=_0x26bbfd}));}return _0x162282;},'provide':_0xd7c5c0=>EditorView['decorations']['from'](_0xd7c5c0),'toJSON'(_0x4d1102,_0x38950f){let _0x796b85=[];return _0x4d1102['between'](0x0,_0x38950f['doc']['length'],(_0x465af1,_0x384c13)=>{_0x796b85['push'](_0x465af1,_0x384c13);}),_0x796b85;},'fromJSON'(_0x4bbcea){if(!Array['isArray'](_0x4bbcea)||_0x4bbcea['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x160c4c=[];for(let _0x176929=0x0;_0x176929<_0x4bbcea['length'];){let _0x2ebc81=_0x4bbcea[_0x176929++],_0x399182=_0x4bbcea[_0x176929++];if('number'!=typeof _0x2ebc81||'number'!=typeof _0x399182)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x160c4c['push'](foldWidget['range'](_0x2ebc81,_0x399182));}return Decoration['set'](_0x160c4c,!0x0);}});function findFold(_0x1fbffa,_0xd64e90,_0xdcb014){var _0x5a6110;let _0x1a99a8=null;return null===(_0x5a6110=_0x1fbffa['field'](foldState,!0x1))||void 0x0===_0x5a6110||_0x5a6110['between'](_0xd64e90,_0xdcb014,(_0x1d6f46,_0x2150de)=>{(!_0x1a99a8||_0x1a99a8['from']>_0x1d6f46)&&(_0x1a99a8={'from':_0x1d6f46,'to':_0x2150de});}),_0x1a99a8;}function foldExists(_0x16a775,_0x3f5846,_0x31222e){let _0x197a28=!0x1;return _0x16a775['between'](_0x3f5846,_0x3f5846,(_0x497de4,_0x1134c5)=>{_0x497de4==_0x3f5846&&_0x1134c5==_0x31222e&&(_0x197a28=!0x0);}),_0x197a28;}function maybeEnable(_0xad21d7,_0x476631){return _0xad21d7['field'](foldState,!0x1)?_0x476631:_0x476631['concat'](StateEffect['appendConfig']['of'](codeFolding()));}const foldCode=_0x452b9f=>{for(let _0x33bd82 of selectedLines(_0x452b9f)){let _0x4f49c1=foldable(_0x452b9f['state'],_0x33bd82['from'],_0x33bd82['to']);if(_0x4f49c1)return _0x452b9f['dispatch']({'effects':maybeEnable(_0x452b9f['state'],[foldEffect['of'](_0x4f49c1),announceFold(_0x452b9f,_0x4f49c1)])}),!0x0;}return!0x1;},unfoldCode=_0x41c9da=>{if(!_0x41c9da['state']['field'](foldState,!0x1))return!0x1;let _0x330687=[];for(let _0x34c11a of selectedLines(_0x41c9da)){let _0x3a0385=findFold(_0x41c9da['state'],_0x34c11a['from'],_0x34c11a['to']);_0x3a0385&&_0x330687['push'](unfoldEffect['of'](_0x3a0385),announceFold(_0x41c9da,_0x3a0385,!0x1));}return _0x330687['length']&&_0x41c9da['dispatch']({'effects':_0x330687}),_0x330687['length']>0x0;};function announceFold(_0x14fe5b,_0x5bc506,_0x1a4055=!0x0){let _0x5a456c=_0x14fe5b['state']['doc']['lineAt'](_0x5bc506['from'])['number'],_0x5aa4f3=_0x14fe5b['state']['doc']['lineAt'](_0x5bc506['to'])['number'];return EditorView['announce']['of'](_0x14fe5b['state']['phrase'](_0x1a4055?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x5a456c+'\x20'+_0x14fe5b['state']['phrase']('to')+'\x20'+_0x5aa4f3+'.');}const foldAll=_0x482b00=>{let {state:_0x519dfa}=_0x482b00,_0x424949=[];for(let _0x3d1290=0x0;_0x3d1290<_0x519dfa['doc']['length'];){let _0x1f0b7e=_0x482b00['lineBlockAt'](_0x3d1290),_0xadd087=foldable(_0x519dfa,_0x1f0b7e['from'],_0x1f0b7e['to']);_0xadd087&&_0x424949['push'](foldEffect['of'](_0xadd087)),_0x3d1290=(_0xadd087?_0x482b00['lineBlockAt'](_0xadd087['to']):_0x1f0b7e)['to']+0x1;}return _0x424949['length']&&_0x482b00['dispatch']({'effects':maybeEnable(_0x482b00['state'],_0x424949)}),!!_0x424949['length'];},unfoldAll=_0xf32ef4=>{let _0x62a06c=_0xf32ef4['state']['field'](foldState,!0x1);if(!_0x62a06c||!_0x62a06c['size'])return!0x1;let _0x4cc0d6=[];return _0x62a06c['between'](0x0,_0xf32ef4['state']['doc']['length'],(_0x107b05,_0x3e7158)=>{_0x4cc0d6['push'](unfoldEffect['of']({'from':_0x107b05,'to':_0x3e7158}));}),_0xf32ef4['dispatch']({'effects':_0x4cc0d6}),!0x0;},foldKeymap=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':foldCode},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':unfoldCode},{'key':'Ctrl-Alt-[','run':foldAll},{'key':'Ctrl-Alt-]','run':unfoldAll}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},foldConfig=Facet['define']({'combine':_0x36f501=>combineConfig(_0x36f501,defaultConfig)});function codeFolding(_0x1f77a8){return[foldState,baseTheme$1];}function widgetToDOM(_0x4b6725,_0x1d0b6a){let {state:_0x593371}=_0x4b6725,_0x97db34=_0x593371['facet'](foldConfig),_0x519bdc=_0xd21be4=>{let _0x387238=_0x4b6725['lineBlockAt'](_0x4b6725['posAtDOM'](_0xd21be4['target'])),_0x1278fc=findFold(_0x4b6725['state'],_0x387238['from'],_0x387238['to']);_0x1278fc&&_0x4b6725['dispatch']({'effects':unfoldEffect['of'](_0x1278fc)}),_0xd21be4['preventDefault']();};if(_0x97db34['placeholderDOM'])return _0x97db34['placeholderDOM'](_0x4b6725,_0x519bdc,_0x1d0b6a);let _0x2cdcda=document['createElement']('span');return _0x2cdcda['textContent']=_0x97db34['placeholderText'],_0x2cdcda['setAttribute']('aria-label',_0x593371['phrase']('folded\x20code')),_0x2cdcda['title']=_0x593371['phrase']('unfold'),_0x2cdcda['className']='cm-foldPlaceholder',_0x2cdcda['onclick']=_0x519bdc,_0x2cdcda;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x47a0fc){return widgetToDOM(_0x47a0fc,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x5db117){super(),this['value']=_0x5db117;}['eq'](_0x12027f){return this['value']==_0x12027f['value'];}['toDOM'](_0x3ee59b){return widgetToDOM(_0x3ee59b,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class FoldMarker extends GutterMarker{constructor(_0x2dc844,_0x38baea){super(),this['config']=_0x2dc844,this['open']=_0x38baea;}['eq'](_0x215943){return this['config']==_0x215943['config']&&this['open']==_0x215943['open'];}['toDOM'](_0x35ced6){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x28bf33=document['createElement']('span');return _0x28bf33['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x28bf33['title']=_0x35ced6['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x28bf33;}}function foldGutter(_0x4b0f4b={}){let _0x23eae8=Object['assign'](Object['assign']({},foldGutterDefaults),_0x4b0f4b),_0x59da09=new FoldMarker(_0x23eae8,!0x0),_0x57df7f=new FoldMarker(_0x23eae8,!0x1),_0x2b1c9c=ViewPlugin['fromClass'](class{constructor(_0x643916){this['from']=_0x643916['viewport']['from'],this['markers']=this['buildMarkers'](_0x643916);}['update'](_0x4bb493){(_0x4bb493['docChanged']||_0x4bb493['viewportChanged']||_0x4bb493['startState']['facet'](language)!=_0x4bb493['state']['facet'](language)||_0x4bb493['startState']['field'](foldState,!0x1)!=_0x4bb493['state']['field'](foldState,!0x1)||syntaxTree(_0x4bb493['startState'])!=syntaxTree(_0x4bb493['state'])||_0x23eae8['foldingChanged'](_0x4bb493))&&(this['markers']=this['buildMarkers'](_0x4bb493['view']));}['buildMarkers'](_0x90dd7c){let _0x38eab=new RangeSetBuilder();for(let _0x57d16e of _0x90dd7c['viewportLineBlocks']){let _0x2166f2=findFold(_0x90dd7c['state'],_0x57d16e['from'],_0x57d16e['to'])?_0x57df7f:foldable(_0x90dd7c['state'],_0x57d16e['from'],_0x57d16e['to'])?_0x59da09:null;_0x2166f2&&_0x38eab['add'](_0x57d16e['from'],_0x57d16e['from'],_0x2166f2);}return _0x38eab['finish']();}}),{domEventHandlers:_0x5b95fb}=_0x23eae8;return[_0x2b1c9c,gutter({'class':'cm-foldGutter','markers'(_0x557d74){var _0x334213;return(null===(_0x334213=_0x557d74['plugin'](_0x2b1c9c))||void 0x0===_0x334213?void 0x0:_0x334213['markers'])||RangeSet['empty'];},'initialSpacer':()=>new FoldMarker(_0x23eae8,!0x1),'domEventHandlers':Object['assign'](Object['assign']({},_0x5b95fb),{'click':(_0xb1d3ab,_0x2d1813,_0x4f63a6)=>{if(_0x5b95fb['click']&&_0x5b95fb['click'](_0xb1d3ab,_0x2d1813,_0x4f63a6))return!0x0;let _0x321471=findFold(_0xb1d3ab['state'],_0x2d1813['from'],_0x2d1813['to']);if(_0x321471)return _0xb1d3ab['dispatch']({'effects':unfoldEffect['of'](_0x321471)}),!0x0;let _0x3661ad=foldable(_0xb1d3ab['state'],_0x2d1813['from'],_0x2d1813['to']);return!!_0x3661ad&&(_0xb1d3ab['dispatch']({'effects':foldEffect['of'](_0x3661ad)}),!0x0);}})}),codeFolding()];}const baseTheme$1=EditorView['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});class HighlightStyle{constructor(_0xa4b4c3,_0x2fbf94){let _0x23b07f;function _0x3b3b90(_0x5aa79b){let _0xd54c94=StyleModule['newName']();return(_0x23b07f||(_0x23b07f=Object['create'](null)))['.'+_0xd54c94]=_0x5aa79b,_0xd54c94;}this['specs']=_0xa4b4c3;const _0x59270a='string'==typeof _0x2fbf94['all']?_0x2fbf94['all']:_0x2fbf94['all']?_0x3b3b90(_0x2fbf94['all']):void 0x0,_0x1b3fe8=_0x2fbf94['scope'];this['scope']=_0x1b3fe8 instanceof Language?_0x58089f=>_0x58089f['prop'](languageDataProp)==_0x1b3fe8['data']:_0x1b3fe8?_0x3aefe0=>_0x3aefe0==_0x1b3fe8:void 0x0,this['style']=tagHighlighter(_0xa4b4c3['map'](_0x2c2141=>({'tag':_0x2c2141['tag'],'class':_0x2c2141['class']||_0x3b3b90(Object['assign']({},_0x2c2141,{'tag':null}))})),{'all':_0x59270a})['style'],this['module']=_0x23b07f?new StyleModule(_0x23b07f):null,this['themeType']=_0x2fbf94['themeType'];}static['define'](_0x43b0be,_0x20e9fe){return new HighlightStyle(_0x43b0be,_0x20e9fe||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x56dfdd=>_0x56dfdd['length']?[_0x56dfdd[0x0]]:null});function getHighlighters(_0x26b448){let _0x7dd1c6=_0x26b448['facet'](highlighterFacet);return _0x7dd1c6['length']?_0x7dd1c6:_0x26b448['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x5cf12b,_0x17adaf){let _0x41219f,_0x504af5=[treeHighlighter];return _0x5cf12b instanceof HighlightStyle&&(_0x5cf12b['module']&&_0x504af5['push'](EditorView['styleModule']['of'](_0x5cf12b['module'])),_0x41219f=_0x5cf12b['themeType']),(null==_0x17adaf?void 0x0:_0x17adaf['fallback'])?_0x504af5['push'](fallbackHighlighter['of'](_0x5cf12b)):_0x41219f?_0x504af5['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0x510262=>_0x510262['facet'](EditorView['darkTheme'])==('dark'==_0x41219f)?[_0x5cf12b]:[])):_0x504af5['push'](highlighterFacet['of'](_0x5cf12b)),_0x504af5;}class TreeHighlighter{constructor(_0x45e535){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x45e535['state']),this['decorations']=this['buildDeco'](_0x45e535,getHighlighters(_0x45e535['state'])),this['decoratedTo']=_0x45e535['viewport']['to'];}['update'](_0x58e0da){let _0x2064fc=syntaxTree(_0x58e0da['state']),_0x5afd7f=getHighlighters(_0x58e0da['state']),_0x1e18ff=_0x5afd7f!=getHighlighters(_0x58e0da['startState']),{viewport:_0x1d7bee}=_0x58e0da['view'],_0x5ac082=_0x58e0da['changes']['mapPos'](this['decoratedTo'],0x1);_0x2064fc['length']<_0x1d7bee['to']&&!_0x1e18ff&&_0x2064fc['type']==this['tree']['type']&&_0x5ac082>=_0x1d7bee['to']?(this['decorations']=this['decorations']['map'](_0x58e0da['changes']),this['decoratedTo']=_0x5ac082):(_0x2064fc!=this['tree']||_0x58e0da['viewportChanged']||_0x1e18ff)&&(this['tree']=_0x2064fc,this['decorations']=this['buildDeco'](_0x58e0da['view'],_0x5afd7f),this['decoratedTo']=_0x1d7bee['to']);}['buildDeco'](_0x1b7435,_0x4a8f22){if(!_0x4a8f22||!this['tree']['length'])return Decoration['none'];let _0x2e50c5=new RangeSetBuilder();for(let {from:_0x2205cb,to:_0x1701e8}of _0x1b7435['visibleRanges'])highlightTree(this['tree'],_0x4a8f22,(_0x5766ef,_0x2a3fd7,_0xfa08bc)=>{_0x2e50c5['add'](_0x5766ef,_0x2a3fd7,this['markCache'][_0xfa08bc]||(this['markCache'][_0xfa08bc]=Decoration['mark']({'class':_0xfa08bc})));},_0x2205cb,_0x1701e8);return _0x2e50c5['finish']();}}const treeHighlighter=Prec['high'](ViewPlugin['fromClass'](TreeHighlighter,{'decorations':_0x308d47=>_0x308d47['decorations']})),defaultHighlightStyle=HighlightStyle['define']([{'tag':tags$1['meta'],'color':'#404740'},{'tag':tags$1['link'],'textDecoration':'underline'},{'tag':tags$1['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['keyword'],'color':'#708'},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['url'],tags$1['contentSeparator'],tags$1['labelName']],'color':'#219'},{'tag':[tags$1['literal'],tags$1['inserted']],'color':'#164'},{'tag':[tags$1['string'],tags$1['deleted']],'color':'#a11'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'color':'#e40'},{'tag':tags$1['definition'](tags$1['variableName']),'color':'#00f'},{'tag':tags$1['local'](tags$1['variableName']),'color':'#30a'},{'tag':[tags$1['typeName'],tags$1['namespace']],'color':'#085'},{'tag':tags$1['className'],'color':'#167'},{'tag':[tags$1['special'](tags$1['variableName']),tags$1['macroName']],'color':'#256'},{'tag':tags$1['definition'](tags$1['propertyName']),'color':'#00c'},{'tag':tags$1['comment'],'color':'#940'},{'tag':tags$1['invalid'],'color':'#f00'}]),baseTheme$2=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x55b7cf=>combineConfig(_0x55b7cf,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x454647){let _0x57d81c=[],_0x4fbe89=_0x454647['matched']?matchingMark:nonmatchingMark;return _0x57d81c['push'](_0x4fbe89['range'](_0x454647['start']['from'],_0x454647['start']['to'])),_0x454647['end']&&_0x57d81c['push'](_0x4fbe89['range'](_0x454647['end']['from'],_0x454647['end']['to'])),_0x57d81c;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0xd34df,_0x3b1e03){if(!_0x3b1e03['docChanged']&&!_0x3b1e03['selection'])return _0xd34df;let _0x274967=[],_0x3a817a=_0x3b1e03['state']['facet'](bracketMatchingConfig);for(let _0x3ff6fe of _0x3b1e03['state']['selection']['ranges']){if(!_0x3ff6fe['empty'])continue;let _0x59c71e=matchBrackets(_0x3b1e03['state'],_0x3ff6fe['head'],-0x1,_0x3a817a)||_0x3ff6fe['head']>0x0&&matchBrackets(_0x3b1e03['state'],_0x3ff6fe['head']-0x1,0x1,_0x3a817a)||_0x3a817a['afterCursor']&&(matchBrackets(_0x3b1e03['state'],_0x3ff6fe['head'],0x1,_0x3a817a)||_0x3ff6fe['head']<_0x3b1e03['state']['doc']['length']&&matchBrackets(_0x3b1e03['state'],_0x3ff6fe['head']+0x1,-0x1,_0x3a817a));_0x59c71e&&(_0x274967=_0x274967['concat'](_0x3a817a['renderMatch'](_0x59c71e,_0x3b1e03['state'])));}return Decoration['set'](_0x274967,!0x0);},'provide':_0x500d81=>EditorView['decorations']['from'](_0x500d81)}),bracketMatchingUnique=[bracketMatchingState,baseTheme$2];function bracketMatching(_0x46b079={}){return[bracketMatchingConfig['of'](_0x46b079),bracketMatchingUnique];}const bracketMatchingHandle=new NodeProp();function matchingNodes(_0x2252e9,_0x512756,_0x250594){let _0x5b4abd=_0x2252e9['prop'](_0x512756<0x0?NodeProp['openedBy']:NodeProp['closedBy']);if(_0x5b4abd)return _0x5b4abd;if(0x1==_0x2252e9['name']['length']){let _0x4e7d95=_0x250594['indexOf'](_0x2252e9['name']);if(_0x4e7d95>-0x1&&_0x4e7d95%0x2==(_0x512756<0x0?0x1:0x0))return[_0x250594[_0x4e7d95+_0x512756]];}return null;}function findHandle(_0x1cef3c){let _0x28253c=_0x1cef3c['type']['prop'](bracketMatchingHandle);return _0x28253c?_0x28253c(_0x1cef3c['node']):_0x1cef3c;}function matchBrackets(_0x5c4107,_0x17f5b2,_0x563c4c,_0x466a28={}){let _0x4742b6=_0x466a28['maxScanDistance']||DefaultScanDist,_0x2e200e=_0x466a28['brackets']||DefaultBrackets,_0x31b775=syntaxTree(_0x5c4107),_0x4f749b=_0x31b775['resolveInner'](_0x17f5b2,_0x563c4c);for(let _0x5889e2=_0x4f749b;_0x5889e2;_0x5889e2=_0x5889e2['parent']){let _0x5040d8=matchingNodes(_0x5889e2['type'],_0x563c4c,_0x2e200e);if(_0x5040d8&&_0x5889e2['from']<_0x5889e2['to']){let _0x5542c5=findHandle(_0x5889e2);if(_0x5542c5&&(_0x563c4c>0x0?_0x17f5b2>=_0x5542c5['from']&&_0x17f5b2<_0x5542c5['to']:_0x17f5b2>_0x5542c5['from']&&_0x17f5b2<=_0x5542c5['to']))return matchMarkedBrackets(_0x5c4107,_0x17f5b2,_0x563c4c,_0x5889e2,_0x5542c5,_0x5040d8,_0x2e200e);}}return matchPlainBrackets(_0x5c4107,_0x17f5b2,_0x563c4c,_0x31b775,_0x4f749b['type'],_0x4742b6,_0x2e200e);}function matchMarkedBrackets(_0x3b7826,_0x20c039,_0x193c94,_0x560f11,_0x1a7976,_0x1341c3,_0x44c285){let _0x4f1717=_0x560f11['parent'],_0x2e9281={'from':_0x1a7976['from'],'to':_0x1a7976['to']},_0x2b2b70=0x0,_0x2ae745=null==_0x4f1717?void 0x0:_0x4f1717['cursor']();if(_0x2ae745&&(_0x193c94<0x0?_0x2ae745['childBefore'](_0x560f11['from']):_0x2ae745['childAfter'](_0x560f11['to'])))do{if(_0x193c94<0x0?_0x2ae745['to']<=_0x560f11['from']:_0x2ae745['from']>=_0x560f11['to']){if(0x0==_0x2b2b70&&_0x1341c3['indexOf'](_0x2ae745['type']['name'])>-0x1&&_0x2ae745['from']<_0x2ae745['to']){let _0x284f41=findHandle(_0x2ae745);return{'start':_0x2e9281,'end':_0x284f41?{'from':_0x284f41['from'],'to':_0x284f41['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x2ae745['type'],_0x193c94,_0x44c285))_0x2b2b70++;else{if(matchingNodes(_0x2ae745['type'],-_0x193c94,_0x44c285)){if(0x0==_0x2b2b70){let _0x4e440f=findHandle(_0x2ae745);return{'start':_0x2e9281,'end':_0x4e440f&&_0x4e440f['from']<_0x4e440f['to']?{'from':_0x4e440f['from'],'to':_0x4e440f['to']}:void 0x0,'matched':!0x1};}_0x2b2b70--;}}}}while(_0x193c94<0x0?_0x2ae745['prevSibling']():_0x2ae745['nextSibling']());return{'start':_0x2e9281,'matched':!0x1};}function matchPlainBrackets(_0x49db87,_0x1020f9,_0x5bca92,_0x5f0204,_0x3b9835,_0x9d4395,_0x295f44){let _0x5810cb=_0x5bca92<0x0?_0x49db87['sliceDoc'](_0x1020f9-0x1,_0x1020f9):_0x49db87['sliceDoc'](_0x1020f9,_0x1020f9+0x1),_0x6c0400=_0x295f44['indexOf'](_0x5810cb);if(_0x6c0400<0x0||_0x6c0400%0x2==0x0!=_0x5bca92>0x0)return null;let _0x674f2d={'from':_0x5bca92<0x0?_0x1020f9-0x1:_0x1020f9,'to':_0x5bca92>0x0?_0x1020f9+0x1:_0x1020f9},_0x1d1746=_0x49db87['doc']['iterRange'](_0x1020f9,_0x5bca92>0x0?_0x49db87['doc']['length']:0x0),_0x4eacd6=0x0;for(let _0x3e3da4=0x0;!_0x1d1746['next']()['done']&&_0x3e3da4<=_0x9d4395;){let _0x43f6e1=_0x1d1746['value'];_0x5bca92<0x0&&(_0x3e3da4+=_0x43f6e1['length']);let _0x298667=_0x1020f9+_0x3e3da4*_0x5bca92;for(let _0x584478=_0x5bca92>0x0?0x0:_0x43f6e1['length']-0x1,_0x393f8a=_0x5bca92>0x0?_0x43f6e1['length']:-0x1;_0x584478!=_0x393f8a;_0x584478+=_0x5bca92){let _0x56f8ee=_0x295f44['indexOf'](_0x43f6e1[_0x584478]);if(!(_0x56f8ee<0x0||_0x5f0204['resolveInner'](_0x298667+_0x584478,0x1)['type']!=_0x3b9835)){if(_0x56f8ee%0x2==0x0==_0x5bca92>0x0)_0x4eacd6++;else{if(0x1==_0x4eacd6)return{'start':_0x674f2d,'end':{'from':_0x298667+_0x584478,'to':_0x298667+_0x584478+0x1},'matched':_0x56f8ee>>0x1==_0x6c0400>>0x1};_0x4eacd6--;}}}_0x5bca92>0x0&&(_0x3e3da4+=_0x43f6e1['length']);}return _0x1d1746['done']?{'start':_0x674f2d,'matched':!0x1}:null;}const noTokens=Object['create'](null),typeArray=[NodeType['none']],warned=[],byTag=Object['create'](null),defaultTable=Object['create'](null);for(let [e,i]of[['variable','variableName'],['variable-2','variableName.special'],['string-2','string.special'],['def','variableName.definition'],['tag','tagName'],['attribute','attributeName'],['type','typeName'],['builtin','variableName.standard'],['qualifier','modifier'],['error','invalid'],['header','heading'],['property','propertyName']])defaultTable[e]=createTokenType(noTokens,i);function warnForPart(_0x96f899,_0x5cac6b){warned['indexOf'](_0x96f899)>-0x1||(warned['push'](_0x96f899),console['warn'](_0x5cac6b));}function createTokenType(_0x4de2fa,_0x3d449a){let _0x34508e=[];for(let _0x35e6d4 of _0x3d449a['split']('\x20')){let _0x37b4b3=[];for(let _0x5354a0 of _0x35e6d4['split']('.')){let _0x481cd0=_0x4de2fa[_0x5354a0]||tags$1[_0x5354a0];_0x481cd0?'function'==typeof _0x481cd0?_0x37b4b3['length']?_0x37b4b3=_0x37b4b3['map'](_0x481cd0):warnForPart(_0x5354a0,'Modifier\x20'+_0x5354a0+'\x20used\x20at\x20start\x20of\x20tag'):_0x37b4b3['length']?warnForPart(_0x5354a0,'Tag\x20'+_0x5354a0+'\x20used\x20as\x20modifier'):_0x37b4b3=Array['isArray'](_0x481cd0)?_0x481cd0:[_0x481cd0]:warnForPart(_0x5354a0,'Unknown\x20highlighting\x20tag\x20'+_0x5354a0);}for(let _0xcd8de3 of _0x37b4b3)_0x34508e['push'](_0xcd8de3);}if(!_0x34508e['length'])return 0x0;let _0x59b597=_0x3d449a['replace'](/ /g,'_'),_0x36cbdd=_0x59b597+'\x20'+_0x34508e['map'](t=>t['id']),_0x16a7b5=byTag[_0x36cbdd];if(_0x16a7b5)return _0x16a7b5['id'];let _0xa72dde=byTag[_0x36cbdd]=NodeType['define']({'id':typeArray['length'],'name':_0x59b597,'props':[styleTags({[_0x59b597]:_0x34508e})]});return typeArray['push'](_0xa72dde),_0xa72dde['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x4fa88a=>{let {state:_0x5bf96b}=_0x4fa88a,_0x1ca9aa=_0x5bf96b['doc']['lineAt'](_0x5bf96b['selection']['main']['from']),_0x6ba118=getConfig(_0x4fa88a['state'],_0x1ca9aa['from']);return _0x6ba118['line']?toggleLineComment(_0x4fa88a):!!_0x6ba118['block']&&toggleBlockCommentByLine(_0x4fa88a);};function command(_0x34672,_0x1cb7f2){return({state:_0x3fac57,dispatch:_0x4308f3})=>{if(_0x3fac57['readOnly'])return!0x1;let _0x5ab91e=_0x34672(_0x1cb7f2,_0x3fac57);return!!_0x5ab91e&&(_0x4308f3(_0x3fac57['update'](_0x5ab91e)),!0x0);};}const toggleLineComment=command(changeLineComment,0x0),toggleBlockComment=command(changeBlockComment,0x0),toggleBlockCommentByLine=command((_0x17b754,_0x5c0cb6)=>changeBlockComment(_0x17b754,_0x5c0cb6,selectedLineRanges(_0x5c0cb6)),0x0);function getConfig(_0x2d0f35,_0x489c3d){let _0x2019d0=_0x2d0f35['languageDataAt']('commentTokens',_0x489c3d);return _0x2019d0['length']?_0x2019d0[0x0]:{};}const SearchMargin=0x32;function findBlockComment(_0x20afb1,{open:_0x53a692,close:_0xd467d4},_0xd76d7b,_0x1348e5){let _0x2cf206,_0x1a102c,_0x411c81=_0x20afb1['sliceDoc'](_0xd76d7b-SearchMargin,_0xd76d7b),_0xc1e6b6=_0x20afb1['sliceDoc'](_0x1348e5,_0x1348e5+SearchMargin),_0x5e3641=/\s*$/['exec'](_0x411c81)[0x0]['length'],_0x5f0d81=/^\s*/['exec'](_0xc1e6b6)[0x0]['length'],_0x773321=_0x411c81['length']-_0x5e3641;if(_0x411c81['slice'](_0x773321-_0x53a692['length'],_0x773321)==_0x53a692&&_0xc1e6b6['slice'](_0x5f0d81,_0x5f0d81+_0xd467d4['length'])==_0xd467d4)return{'open':{'pos':_0xd76d7b-_0x5e3641,'margin':_0x5e3641&&0x1},'close':{'pos':_0x1348e5+_0x5f0d81,'margin':_0x5f0d81&&0x1}};_0x1348e5-_0xd76d7b<=0x2*SearchMargin?_0x2cf206=_0x1a102c=_0x20afb1['sliceDoc'](_0xd76d7b,_0x1348e5):(_0x2cf206=_0x20afb1['sliceDoc'](_0xd76d7b,_0xd76d7b+SearchMargin),_0x1a102c=_0x20afb1['sliceDoc'](_0x1348e5-SearchMargin,_0x1348e5));let _0x38feb1=/^\s*/['exec'](_0x2cf206)[0x0]['length'],_0x58d501=/\s*$/['exec'](_0x1a102c)[0x0]['length'],_0x4841e0=_0x1a102c['length']-_0x58d501-_0xd467d4['length'];return _0x2cf206['slice'](_0x38feb1,_0x38feb1+_0x53a692['length'])==_0x53a692&&_0x1a102c['slice'](_0x4841e0,_0x4841e0+_0xd467d4['length'])==_0xd467d4?{'open':{'pos':_0xd76d7b+_0x38feb1+_0x53a692['length'],'margin':/\s/['test'](_0x2cf206['charAt'](_0x38feb1+_0x53a692['length']))?0x1:0x0},'close':{'pos':_0x1348e5-_0x58d501-_0xd467d4['length'],'margin':/\s/['test'](_0x1a102c['charAt'](_0x4841e0-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x22d91f){let _0x2cee5b=[];for(let _0x44e204 of _0x22d91f['selection']['ranges']){let _0x2aaffa=_0x22d91f['doc']['lineAt'](_0x44e204['from']),_0x2fc28b=_0x44e204['to']<=_0x2aaffa['to']?_0x2aaffa:_0x22d91f['doc']['lineAt'](_0x44e204['to']);_0x2fc28b['from']>_0x2aaffa['from']&&_0x2fc28b['from']==_0x44e204['to']&&(_0x2fc28b=_0x44e204['to']==_0x2aaffa['to']+0x1?_0x2aaffa:_0x22d91f['doc']['lineAt'](_0x44e204['to']-0x1));let _0x589a25=_0x2cee5b['length']-0x1;_0x589a25>=0x0&&_0x2cee5b[_0x589a25]['to']>_0x2aaffa['from']?_0x2cee5b[_0x589a25]['to']=_0x2fc28b['to']:_0x2cee5b['push']({'from':_0x2aaffa['from']+/^\s*/['exec'](_0x2aaffa['text'])[0x0]['length'],'to':_0x2fc28b['to']});}return _0x2cee5b;}function changeBlockComment(_0x54743a,_0x17c60c,_0x2b6adc=_0x17c60c['selection']['ranges']){let _0x2b3a0e=_0x2b6adc['map'](_0x2d1e9f=>getConfig(_0x17c60c,_0x2d1e9f['from'])['block']);if(!_0x2b3a0e['every'](_0x31e7ab=>_0x31e7ab))return null;let _0x745d88=_0x2b6adc['map']((_0x196894,_0x33e53c)=>findBlockComment(_0x17c60c,_0x2b3a0e[_0x33e53c],_0x196894['from'],_0x196894['to']));if(0x2!=_0x54743a&&!_0x745d88['every'](_0x56a8bc=>_0x56a8bc))return{'changes':_0x17c60c['changes'](_0x2b6adc['map']((_0xb4bb3e,_0x4de2ce)=>_0x745d88[_0x4de2ce]?[]:[{'from':_0xb4bb3e['from'],'insert':_0x2b3a0e[_0x4de2ce]['open']+'\x20'},{'from':_0xb4bb3e['to'],'insert':'\x20'+_0x2b3a0e[_0x4de2ce]['close']}]))};if(0x1!=_0x54743a&&_0x745d88['some'](_0x167b19=>_0x167b19)){let _0x20c0c3=[];for(let _0x4c8d9a,_0x3e3c64=0x0;_0x3e3c64<_0x745d88['length'];_0x3e3c64++)if(_0x4c8d9a=_0x745d88[_0x3e3c64]){let _0x43d97b=_0x2b3a0e[_0x3e3c64],{open:_0x2cd992,close:_0x478e21}=_0x4c8d9a;_0x20c0c3['push']({'from':_0x2cd992['pos']-_0x43d97b['open']['length'],'to':_0x2cd992['pos']+_0x2cd992['margin']},{'from':_0x478e21['pos']-_0x478e21['margin'],'to':_0x478e21['pos']+_0x43d97b['close']['length']});}return{'changes':_0x20c0c3};}return null;}function changeLineComment(_0x46e8ad,_0x1aa2bc,_0x2737bd=_0x1aa2bc['selection']['ranges']){let _0x354760=[],_0x200981=-0x1;for(let {from:_0x31dd5f,to:_0x280316}of _0x2737bd){let _0x293621=_0x354760['length'],_0x41251f=0x3b9aca00,_0x530db3=getConfig(_0x1aa2bc,_0x31dd5f)['line'];if(_0x530db3){for(let _0xbec712=_0x31dd5f;_0xbec712<=_0x280316;){let _0x371cd9=_0x1aa2bc['doc']['lineAt'](_0xbec712);if(_0x371cd9['from']>_0x200981&&(_0x31dd5f==_0x280316||_0x280316>_0x371cd9['from'])){_0x200981=_0x371cd9['from'];let _0x25cbf7=/^\s*/['exec'](_0x371cd9['text'])[0x0]['length'],_0x2a48f7=_0x25cbf7==_0x371cd9['length'],_0x543e87=_0x371cd9['text']['slice'](_0x25cbf7,_0x25cbf7+_0x530db3['length'])==_0x530db3?_0x25cbf7:-0x1;_0x25cbf7<_0x371cd9['text']['length']&&_0x25cbf7<_0x41251f&&(_0x41251f=_0x25cbf7),_0x354760['push']({'line':_0x371cd9,'comment':_0x543e87,'token':_0x530db3,'indent':_0x25cbf7,'empty':_0x2a48f7,'single':!0x1});}_0xbec712=_0x371cd9['to']+0x1;}if(_0x41251f<0x3b9aca00){for(let _0x28cf69=_0x293621;_0x28cf69<_0x354760['length'];_0x28cf69++)_0x354760[_0x28cf69]['indent']<_0x354760[_0x28cf69]['line']['text']['length']&&(_0x354760[_0x28cf69]['indent']=_0x41251f);}_0x354760['length']==_0x293621+0x1&&(_0x354760[_0x293621]['single']=!0x0);}}if(0x2!=_0x46e8ad&&_0x354760['some'](_0x42099d=>_0x42099d['comment']<0x0&&(!_0x42099d['empty']||_0x42099d['single']))){let _0x4be314=[];for(let {line:_0x34ea91,token:_0x15954,indent:_0x4b0f8d,empty:_0x39cc51,single:_0x3df36a}of _0x354760)!_0x3df36a&&_0x39cc51||_0x4be314['push']({'from':_0x34ea91['from']+_0x4b0f8d,'insert':_0x15954+'\x20'});let _0x2d393c=_0x1aa2bc['changes'](_0x4be314);return{'changes':_0x2d393c,'selection':_0x1aa2bc['selection']['map'](_0x2d393c,0x1)};}if(0x1!=_0x46e8ad&&_0x354760['some'](_0x6d9872=>_0x6d9872['comment']>=0x0)){let _0x623c4d=[];for(let {line:_0x3f44b6,comment:_0x2cb3d6,token:_0x47060b}of _0x354760)if(_0x2cb3d6>=0x0){let _0x32dba6=_0x3f44b6['from']+_0x2cb3d6,_0x27dde1=_0x32dba6+_0x47060b['length'];'\x20'==_0x3f44b6['text'][_0x27dde1-_0x3f44b6['from']]&&_0x27dde1++,_0x623c4d['push']({'from':_0x32dba6,'to':_0x27dde1});}return{'changes':_0x623c4d};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x476b09=>combineConfig(_0x476b09,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x286e18,_0x225a36)=>_0x225a36},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x337525,_0x58cd92)=>(_0x2d41dd,_0x209d50)=>_0x337525(_0x2d41dd,_0x209d50)||_0x58cd92(_0x2d41dd,_0x209d50)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0xaa194d,_0x1749c1){let _0x2871de=_0x1749c1['state']['facet'](historyConfig),_0x25af4e=_0x1749c1['annotation'](fromHistory);if(_0x25af4e){let _0x444ac8=HistEvent['fromTransaction'](_0x1749c1,_0x25af4e['selection']),_0x10e325=_0x25af4e['side'],_0x2681f0=0x0==_0x10e325?_0xaa194d['undone']:_0xaa194d['done'];return _0x2681f0=_0x444ac8?updateBranch(_0x2681f0,_0x2681f0['length'],_0x2871de['minDepth'],_0x444ac8):addSelection(_0x2681f0,_0x1749c1['startState']['selection']),new HistoryState(0x0==_0x10e325?_0x25af4e['rest']:_0x2681f0,0x0==_0x10e325?_0x2681f0:_0x25af4e['rest']);}let _0x2f9865=_0x1749c1['annotation'](isolateHistory);if('full'!=_0x2f9865&&'before'!=_0x2f9865||(_0xaa194d=_0xaa194d['isolate']()),!0x1===_0x1749c1['annotation'](Transaction['addToHistory']))return _0x1749c1['changes']['empty']?_0xaa194d:_0xaa194d['addMapping'](_0x1749c1['changes']['desc']);let _0x2070c8=HistEvent['fromTransaction'](_0x1749c1),_0xd26229=_0x1749c1['annotation'](Transaction['time']),_0x240532=_0x1749c1['annotation'](Transaction['userEvent']);return _0x2070c8?_0xaa194d=_0xaa194d['addChanges'](_0x2070c8,_0xd26229,_0x240532,_0x2871de,_0x1749c1):_0x1749c1['selection']&&(_0xaa194d=_0xaa194d['addSelection'](_0x1749c1['startState']['selection'],_0xd26229,_0x240532,_0x2871de['newGroupDelay'])),'full'!=_0x2f9865&&'after'!=_0x2f9865||(_0xaa194d=_0xaa194d['isolate']()),_0xaa194d;},'toJSON':_0x4182f3=>({'done':_0x4182f3['done']['map'](_0x142dd7=>_0x142dd7['toJSON']()),'undone':_0x4182f3['undone']['map'](_0x1d506d=>_0x1d506d['toJSON']())}),'fromJSON':_0x47f73f=>new HistoryState(_0x47f73f['done']['map'](HistEvent['fromJSON']),_0x47f73f['undone']['map'](HistEvent['fromJSON']))});function history(_0x9e3d16={}){return[historyField_,historyConfig['of'](_0x9e3d16),EditorView['domEventHandlers']({'beforeinput'(_0x45d521,_0x413006){let _0x3775ee='historyUndo'==_0x45d521['inputType']?undo:'historyRedo'==_0x45d521['inputType']?redo:null;return!!_0x3775ee&&(_0x45d521['preventDefault'](),_0x3775ee(_0x413006));}})];}function cmd(_0x49e50b,_0x1ef2b3){return function({state:_0x4b018a,dispatch:_0x4e0c33}){if(!_0x1ef2b3&&_0x4b018a['readOnly'])return!0x1;let _0x34bd92=_0x4b018a['field'](historyField_,!0x1);if(!_0x34bd92)return!0x1;let _0x4d5813=_0x34bd92['pop'](_0x49e50b,_0x4b018a,_0x1ef2b3);return!!_0x4d5813&&(_0x4e0c33(_0x4d5813),!0x0);};}const undo=cmd(0x0,!0x1),redo=cmd(0x1,!0x1),undoSelection=cmd(0x0,!0x0),redoSelection=cmd(0x1,!0x0);class HistEvent{constructor(_0x468c2c,_0x2c7a0a,_0x514e99,_0x544352,_0x473058){this['changes']=_0x468c2c,this['effects']=_0x2c7a0a,this['mapped']=_0x514e99,this['startSelection']=_0x544352,this['selectionsAfter']=_0x473058;}['setSelAfter'](_0x5b461d){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x5b461d);}['toJSON'](){var _0x1f2ad3,_0x23c849,_0x504a1f;return{'changes':null===(_0x1f2ad3=this['changes'])||void 0x0===_0x1f2ad3?void 0x0:_0x1f2ad3['toJSON'](),'mapped':null===(_0x23c849=this['mapped'])||void 0x0===_0x23c849?void 0x0:_0x23c849['toJSON'](),'startSelection':null===(_0x504a1f=this['startSelection'])||void 0x0===_0x504a1f?void 0x0:_0x504a1f['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x59f8f1=>_0x59f8f1['toJSON']())};}static['fromJSON'](_0x4336bd){return new HistEvent(_0x4336bd['changes']&&ChangeSet['fromJSON'](_0x4336bd['changes']),[],_0x4336bd['mapped']&&ChangeDesc['fromJSON'](_0x4336bd['mapped']),_0x4336bd['startSelection']&&EditorSelection['fromJSON'](_0x4336bd['startSelection']),_0x4336bd['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x28203f,_0x19a84c){let _0x41ed45=none$2;for(let _0x5acdc1 of _0x28203f['startState']['facet'](invertedEffects)){let _0x3eb3c7=_0x5acdc1(_0x28203f);_0x3eb3c7['length']&&(_0x41ed45=_0x41ed45['concat'](_0x3eb3c7));}return!_0x41ed45['length']&&_0x28203f['changes']['empty']?null:new HistEvent(_0x28203f['changes']['invert'](_0x28203f['startState']['doc']),_0x41ed45,void 0x0,_0x19a84c||_0x28203f['startState']['selection'],none$2);}static['selection'](_0x37c866){return new HistEvent(void 0x0,none$2,void 0x0,void 0x0,_0x37c866);}}function updateBranch(_0x43d722,_0x1a0d6a,_0x1c55f4,_0x2b6f62){let _0xcc7e2d=_0x1a0d6a+0x1>_0x1c55f4+0x14?_0x1a0d6a-_0x1c55f4-0x1:0x0,_0x99fa8b=_0x43d722['slice'](_0xcc7e2d,_0x1a0d6a);return _0x99fa8b['push'](_0x2b6f62),_0x99fa8b;}function isAdjacent(_0x3f2b5d,_0x57a0be){let _0x532ca8=[],_0x5c19bc=!0x1;return _0x3f2b5d['iterChangedRanges']((_0x418555,t)=>_0x532ca8['push'](_0x418555,t)),_0x57a0be['iterChangedRanges']((_0x41bc29,_0x3f229e,_0x48363f,t)=>{for(let _0x5c69ee=0x0;_0x5c69ee<_0x532ca8['length'];){let _0x367196=_0x532ca8[_0x5c69ee++],_0x27c90e=_0x532ca8[_0x5c69ee++];t>=_0x367196&&_0x48363f<=_0x27c90e&&(_0x5c19bc=!0x0);}}),_0x5c19bc;}function eqSelectionShape(_0x20ff32,_0x13cfb0){return _0x20ff32['ranges']['length']==_0x13cfb0['ranges']['length']&&0x0===_0x20ff32['ranges']['filter']((_0x335358,_0x1d5d09)=>_0x335358['empty']!=_0x13cfb0['ranges'][_0x1d5d09]['empty'])['length'];}function conc(_0xb61d86,_0x423242){return _0xb61d86['length']?_0x423242['length']?_0xb61d86['concat'](_0x423242):_0xb61d86:_0x423242;}const none$2=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x5a9d99,_0x576158){if(_0x5a9d99['length']){let _0x517a51=_0x5a9d99[_0x5a9d99['length']-0x1],_0x488047=_0x517a51['selectionsAfter']['slice'](Math['max'](0x0,_0x517a51['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x488047['length']&&_0x488047[_0x488047['length']-0x1]['eq'](_0x576158)?_0x5a9d99:(_0x488047['push'](_0x576158),updateBranch(_0x5a9d99,_0x5a9d99['length']-0x1,0x3b9aca00,_0x517a51['setSelAfter'](_0x488047)));}return[HistEvent['selection']([_0x576158])];}function popSelection(_0xd8e59d){let _0x479fa1=_0xd8e59d[_0xd8e59d['length']-0x1],_0x451222=_0xd8e59d['slice']();return _0x451222[_0xd8e59d['length']-0x1]=_0x479fa1['setSelAfter'](_0x479fa1['selectionsAfter']['slice'](0x0,_0x479fa1['selectionsAfter']['length']-0x1)),_0x451222;}function addMappingToBranch(_0x185e81,_0x254747){if(!_0x185e81['length'])return _0x185e81;let _0x5e3035=_0x185e81['length'],_0x283765=none$2;for(;_0x5e3035;){let _0x23ed49=mapEvent(_0x185e81[_0x5e3035-0x1],_0x254747,_0x283765);if(_0x23ed49['changes']&&!_0x23ed49['changes']['empty']||_0x23ed49['effects']['length']){let _0x3a99b7=_0x185e81['slice'](0x0,_0x5e3035);return _0x3a99b7[_0x5e3035-0x1]=_0x23ed49,_0x3a99b7;}_0x254747=_0x23ed49['mapped'],_0x5e3035--,_0x283765=_0x23ed49['selectionsAfter'];}return _0x283765['length']?[HistEvent['selection'](_0x283765)]:none$2;}function mapEvent(_0x9a970e,_0x3aadac,_0x354660){let _0x43545b=conc(_0x9a970e['selectionsAfter']['length']?_0x9a970e['selectionsAfter']['map'](_0x3c3547=>_0x3c3547['map'](_0x3aadac)):none$2,_0x354660);if(!_0x9a970e['changes'])return HistEvent['selection'](_0x43545b);let _0x43b54e=_0x9a970e['changes']['map'](_0x3aadac),_0x5b5ec1=_0x3aadac['mapDesc'](_0x9a970e['changes'],!0x0),_0x29c609=_0x9a970e['mapped']?_0x9a970e['mapped']['composeDesc'](_0x5b5ec1):_0x5b5ec1;return new HistEvent(_0x43b54e,StateEffect['mapEffects'](_0x9a970e['effects'],_0x3aadac),_0x29c609,_0x9a970e['startSelection']['map'](_0x5b5ec1),_0x43545b);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x50c69c,_0x22cc5c,_0x3b87eb=0x0,_0x53fce7=void 0x0){this['done']=_0x50c69c,this['undone']=_0x22cc5c,this['prevTime']=_0x3b87eb,this['prevUserEvent']=_0x53fce7;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x23f500,_0x35a596,_0x39d035,_0x383685,_0x2fe0cc){let _0x477915=this['done'],_0x4edf69=_0x477915[_0x477915['length']-0x1];return _0x477915=_0x4edf69&&_0x4edf69['changes']&&!_0x4edf69['changes']['empty']&&_0x23f500['changes']&&(!_0x39d035||joinableUserEvent['test'](_0x39d035))&&(!_0x4edf69['selectionsAfter']['length']&&_0x35a596-this['prevTime']<_0x383685['newGroupDelay']&&_0x383685['joinToEvent'](_0x2fe0cc,isAdjacent(_0x4edf69['changes'],_0x23f500['changes']))||'input.type.compose'==_0x39d035)?updateBranch(_0x477915,_0x477915['length']-0x1,_0x383685['minDepth'],new HistEvent(_0x23f500['changes']['compose'](_0x4edf69['changes']),conc(StateEffect['mapEffects'](_0x23f500['effects'],_0x4edf69['changes']),_0x4edf69['effects']),_0x4edf69['mapped'],_0x4edf69['startSelection'],none$2)):updateBranch(_0x477915,_0x477915['length'],_0x383685['minDepth'],_0x23f500),new HistoryState(_0x477915,none$2,_0x35a596,_0x39d035);}['addSelection'](_0xc890e4,_0x3649a7,_0x3f6442,_0x410d1d){let _0x354249=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:none$2;return _0x354249['length']>0x0&&_0x3649a7-this['prevTime']<_0x410d1d&&_0x3f6442==this['prevUserEvent']&&_0x3f6442&&/^select($|\.)/['test'](_0x3f6442)&&eqSelectionShape(_0x354249[_0x354249['length']-0x1],_0xc890e4)?this:new HistoryState(addSelection(this['done'],_0xc890e4),this['undone'],_0x3649a7,_0x3f6442);}['addMapping'](_0x2fb53d){return new HistoryState(addMappingToBranch(this['done'],_0x2fb53d),addMappingToBranch(this['undone'],_0x2fb53d),this['prevTime'],this['prevUserEvent']);}['pop'](_0x515ee2,_0x5563b8,_0x41c30a){let _0x349e22=0x0==_0x515ee2?this['done']:this['undone'];if(0x0==_0x349e22['length'])return null;let _0x1da0fa=_0x349e22[_0x349e22['length']-0x1],_0x5b37bc=_0x1da0fa['selectionsAfter'][0x0]||_0x5563b8['selection'];if(_0x41c30a&&_0x1da0fa['selectionsAfter']['length'])return _0x5563b8['update']({'selection':_0x1da0fa['selectionsAfter'][_0x1da0fa['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x515ee2,'rest':popSelection(_0x349e22),'selection':_0x5b37bc}),'userEvent':0x0==_0x515ee2?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x1da0fa['changes']){let _0x3defd3=0x1==_0x349e22['length']?none$2:_0x349e22['slice'](0x0,_0x349e22['length']-0x1);return _0x1da0fa['mapped']&&(_0x3defd3=addMappingToBranch(_0x3defd3,_0x1da0fa['mapped'])),_0x5563b8['update']({'changes':_0x1da0fa['changes'],'selection':_0x1da0fa['startSelection'],'effects':_0x1da0fa['effects'],'annotations':fromHistory['of']({'side':_0x515ee2,'rest':_0x3defd3,'selection':_0x5b37bc}),'filter':!0x1,'userEvent':0x0==_0x515ee2?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(none$2,none$2);const historyKeymap=[{'key':'Mod-z','run':undo,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':redo,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':redo,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x30a67b,_0x4d420e){return EditorSelection['create'](_0x30a67b['ranges']['map'](_0x4d420e),_0x30a67b['mainIndex']);}function setSel(_0x27b0f0,_0x3537f1){return _0x27b0f0['update']({'selection':_0x3537f1,'scrollIntoView':!0x0,'userEvent':'select'});}function moveSel({state:_0x5f58a1,dispatch:_0x515d0b},_0x2b7ecd){let _0x359f04=updateSel(_0x5f58a1['selection'],_0x2b7ecd);return!_0x359f04['eq'](_0x5f58a1['selection'],!0x0)&&(_0x515d0b(setSel(_0x5f58a1,_0x359f04)),!0x0);}function rangeEnd(_0x1f0d5,_0x318792){return EditorSelection['cursor'](_0x318792?_0x1f0d5['to']:_0x1f0d5['from']);}function cursorByChar(_0x337d59,_0x1da23a){return moveSel(_0x337d59,_0x5b8f97=>_0x5b8f97['empty']?_0x337d59['moveByChar'](_0x5b8f97,_0x1da23a):rangeEnd(_0x5b8f97,_0x1da23a));}function ltrAtCursor(_0x470c20){return _0x470c20['textDirectionAt'](_0x470c20['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0xbaa93a=>cursorByChar(_0xbaa93a,!ltrAtCursor(_0xbaa93a)),cursorCharRight=_0xd07bb1=>cursorByChar(_0xd07bb1,ltrAtCursor(_0xd07bb1));function cursorByGroup(_0x8829f0,_0x4397e9){return moveSel(_0x8829f0,_0x4f6f26=>_0x4f6f26['empty']?_0x8829f0['moveByGroup'](_0x4f6f26,_0x4397e9):rangeEnd(_0x4f6f26,_0x4397e9));}const cursorGroupLeft=_0x510706=>cursorByGroup(_0x510706,!ltrAtCursor(_0x510706)),cursorGroupRight=_0x7d527d=>cursorByGroup(_0x7d527d,ltrAtCursor(_0x7d527d));function interestingNode(_0x3b320c,_0x423c41,_0xa2ae51){if(_0x423c41['type']['prop'](_0xa2ae51))return!0x0;let _0x34e9eb=_0x423c41['to']-_0x423c41['from'];return _0x34e9eb&&(_0x34e9eb>0x2||/[^\s,.;:]/['test'](_0x3b320c['sliceDoc'](_0x423c41['from'],_0x423c41['to'])))||_0x423c41['firstChild'];}function moveBySyntax(_0x165a56,_0x3c0509,_0x2323c9){let _0x270cc0,_0x35584a,_0x16c38e=syntaxTree(_0x165a56)['resolveInner'](_0x3c0509['head']),_0xde66e2=_0x2323c9?NodeProp['closedBy']:NodeProp['openedBy'];for(let _0x42eab4=_0x3c0509['head'];;){let _0x4f0bc5=_0x2323c9?_0x16c38e['childAfter'](_0x42eab4):_0x16c38e['childBefore'](_0x42eab4);if(!_0x4f0bc5)break;interestingNode(_0x165a56,_0x4f0bc5,_0xde66e2)?_0x16c38e=_0x4f0bc5:_0x42eab4=_0x2323c9?_0x4f0bc5['to']:_0x4f0bc5['from'];}return _0x35584a=_0x16c38e['type']['prop'](_0xde66e2)&&(_0x270cc0=_0x2323c9?matchBrackets(_0x165a56,_0x16c38e['from'],0x1):matchBrackets(_0x165a56,_0x16c38e['to'],-0x1))&&_0x270cc0['matched']?_0x2323c9?_0x270cc0['end']['to']:_0x270cc0['end']['from']:_0x2323c9?_0x16c38e['to']:_0x16c38e['from'],EditorSelection['cursor'](_0x35584a,_0x2323c9?-0x1:0x1);}const cursorSyntaxLeft=_0x2042d4=>moveSel(_0x2042d4,_0x388295=>moveBySyntax(_0x2042d4['state'],_0x388295,!ltrAtCursor(_0x2042d4))),cursorSyntaxRight=_0x34ca6a=>moveSel(_0x34ca6a,_0x4e37cf=>moveBySyntax(_0x34ca6a['state'],_0x4e37cf,ltrAtCursor(_0x34ca6a)));function cursorByLine(_0x90d9cf,_0x322a31){return moveSel(_0x90d9cf,_0x136755=>{if(!_0x136755['empty'])return rangeEnd(_0x136755,_0x322a31);let _0x1aaf51=_0x90d9cf['moveVertically'](_0x136755,_0x322a31);return _0x1aaf51['head']!=_0x136755['head']?_0x1aaf51:_0x90d9cf['moveToLineBoundary'](_0x136755,_0x322a31);});}const cursorLineUp=_0x10ddca=>cursorByLine(_0x10ddca,!0x1),cursorLineDown=_0x3fb66b=>cursorByLine(_0x3fb66b,!0x0);function pageInfo(_0x2921c5){let _0x4d401f,_0x293958=_0x2921c5['scrollDOM']['clientHeight']<_0x2921c5['scrollDOM']['scrollHeight']-0x2,_0x33dcd4=0x0,_0x227969=0x0;if(_0x293958){for(let _0x349735 of _0x2921c5['state']['facet'](EditorView['scrollMargins'])){let _0x499fc3=_0x349735(_0x2921c5);(null==_0x499fc3?void 0x0:_0x499fc3['top'])&&(_0x33dcd4=Math['max'](null==_0x499fc3?void 0x0:_0x499fc3['top'],_0x33dcd4)),(null==_0x499fc3?void 0x0:_0x499fc3['bottom'])&&(_0x227969=Math['max'](null==_0x499fc3?void 0x0:_0x499fc3['bottom'],_0x227969));}_0x4d401f=_0x2921c5['scrollDOM']['clientHeight']-_0x33dcd4-_0x227969;}else _0x4d401f=(_0x2921c5['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x33dcd4,'marginBottom':_0x227969,'selfScroll':_0x293958,'height':Math['max'](_0x2921c5['defaultLineHeight'],_0x4d401f-0x5)};}function cursorByPage(_0x8d5b9,_0x5108bf){let _0x5a6dd2,_0x4f5d1d=pageInfo(_0x8d5b9),{state:_0x4d97aa}=_0x8d5b9,_0x1a04bf=updateSel(_0x4d97aa['selection'],_0x41a0b3=>_0x41a0b3['empty']?_0x8d5b9['moveVertically'](_0x41a0b3,_0x5108bf,_0x4f5d1d['height']):rangeEnd(_0x41a0b3,_0x5108bf));if(_0x1a04bf['eq'](_0x4d97aa['selection']))return!0x1;if(_0x4f5d1d['selfScroll']){let _0x48b394=_0x8d5b9['coordsAtPos'](_0x4d97aa['selection']['main']['head']),_0x1b50b2=_0x8d5b9['scrollDOM']['getBoundingClientRect'](),_0x59a410=_0x1b50b2['top']+_0x4f5d1d['marginTop'],_0x4b7eca=_0x1b50b2['bottom']-_0x4f5d1d['marginBottom'];_0x48b394&&_0x48b394['top']>_0x59a410&&_0x48b394['bottom']<_0x4b7eca&&(_0x5a6dd2=EditorView['scrollIntoView'](_0x1a04bf['main']['head'],{'y':'start','yMargin':_0x48b394['top']-_0x59a410}));}return _0x8d5b9['dispatch'](setSel(_0x4d97aa,_0x1a04bf),{'effects':_0x5a6dd2}),!0x0;}const cursorPageUp=_0x37cb3d=>cursorByPage(_0x37cb3d,!0x1),cursorPageDown=_0x502c4d=>cursorByPage(_0x502c4d,!0x0);function moveByLineBoundary(_0x1329b7,_0x3ec3ac,_0x1e5398){let _0x3770f1=_0x1329b7['lineBlockAt'](_0x3ec3ac['head']),_0x2758f3=_0x1329b7['moveToLineBoundary'](_0x3ec3ac,_0x1e5398);if(_0x2758f3['head']==_0x3ec3ac['head']&&_0x2758f3['head']!=(_0x1e5398?_0x3770f1['to']:_0x3770f1['from'])&&(_0x2758f3=_0x1329b7['moveToLineBoundary'](_0x3ec3ac,_0x1e5398,!0x1)),!_0x1e5398&&_0x2758f3['head']==_0x3770f1['from']&&_0x3770f1['length']){let _0x3db2a6=/^\s*/['exec'](_0x1329b7['state']['sliceDoc'](_0x3770f1['from'],Math['min'](_0x3770f1['from']+0x64,_0x3770f1['to'])))[0x0]['length'];_0x3db2a6&&_0x3ec3ac['head']!=_0x3770f1['from']+_0x3db2a6&&(_0x2758f3=EditorSelection['cursor'](_0x3770f1['from']+_0x3db2a6));}return _0x2758f3;}const cursorLineBoundaryForward=_0x553abe=>moveSel(_0x553abe,_0x210959=>moveByLineBoundary(_0x553abe,_0x210959,!0x0)),cursorLineBoundaryBackward=_0x46dd1d=>moveSel(_0x46dd1d,_0x541b5e=>moveByLineBoundary(_0x46dd1d,_0x541b5e,!0x1)),cursorLineBoundaryLeft=_0xb9db81=>moveSel(_0xb9db81,_0x840887=>moveByLineBoundary(_0xb9db81,_0x840887,!ltrAtCursor(_0xb9db81))),cursorLineBoundaryRight=_0xc1fb48=>moveSel(_0xc1fb48,_0x5b13f2=>moveByLineBoundary(_0xc1fb48,_0x5b13f2,ltrAtCursor(_0xc1fb48))),cursorLineStart=_0x3250e8=>moveSel(_0x3250e8,_0x2d9fd8=>EditorSelection['cursor'](_0x3250e8['lineBlockAt'](_0x2d9fd8['head'])['from'],0x1)),cursorLineEnd=_0x34d0a7=>moveSel(_0x34d0a7,_0x5e1bbd=>EditorSelection['cursor'](_0x34d0a7['lineBlockAt'](_0x5e1bbd['head'])['to'],-0x1));function toMatchingBracket(_0x17eccc,_0x2423dd,_0x111bb3){let _0x18abd4=!0x1,_0x552271=updateSel(_0x17eccc['selection'],_0x59be6b=>{let _0x154a81=matchBrackets(_0x17eccc,_0x59be6b['head'],-0x1)||matchBrackets(_0x17eccc,_0x59be6b['head'],0x1)||_0x59be6b['head']>0x0&&matchBrackets(_0x17eccc,_0x59be6b['head']-0x1,0x1)||_0x59be6b['head']<_0x17eccc['doc']['length']&&matchBrackets(_0x17eccc,_0x59be6b['head']+0x1,-0x1);if(!_0x154a81||!_0x154a81['end'])return _0x59be6b;_0x18abd4=!0x0;let _0x362184=_0x154a81['start']['from']==_0x59be6b['head']?_0x154a81['end']['to']:_0x154a81['end']['from'];return EditorSelection['cursor'](_0x362184);});return!!_0x18abd4&&(_0x2423dd(setSel(_0x17eccc,_0x552271)),!0x0);}const cursorMatchingBracket=({state:_0x1a5e1b,dispatch:_0x5e5d3a})=>toMatchingBracket(_0x1a5e1b,_0x5e5d3a);function extendSel(_0x320714,_0x423468){let _0x52cbb4=updateSel(_0x320714['state']['selection'],_0x1deab1=>{let _0x389595=_0x423468(_0x1deab1);return EditorSelection['range'](_0x1deab1['anchor'],_0x389595['head'],_0x389595['goalColumn'],_0x389595['bidiLevel']||void 0x0);});return!_0x52cbb4['eq'](_0x320714['state']['selection'])&&(_0x320714['dispatch'](setSel(_0x320714['state'],_0x52cbb4)),!0x0);}function selectByChar(_0x444414,_0x2c600d){return extendSel(_0x444414,_0x32b6a1=>_0x444414['moveByChar'](_0x32b6a1,_0x2c600d));}const selectCharLeft=_0x37458f=>selectByChar(_0x37458f,!ltrAtCursor(_0x37458f)),selectCharRight=_0x7baec9=>selectByChar(_0x7baec9,ltrAtCursor(_0x7baec9));function selectByGroup(_0x251e02,_0x452b1a){return extendSel(_0x251e02,_0x982f5=>_0x251e02['moveByGroup'](_0x982f5,_0x452b1a));}const selectGroupLeft=_0x2d4e73=>selectByGroup(_0x2d4e73,!ltrAtCursor(_0x2d4e73)),selectGroupRight=_0x20049d=>selectByGroup(_0x20049d,ltrAtCursor(_0x20049d)),selectSyntaxLeft=_0x332d56=>extendSel(_0x332d56,_0x51014c=>moveBySyntax(_0x332d56['state'],_0x51014c,!ltrAtCursor(_0x332d56))),selectSyntaxRight=_0x3d755b=>extendSel(_0x3d755b,_0x4178c4=>moveBySyntax(_0x3d755b['state'],_0x4178c4,ltrAtCursor(_0x3d755b)));function selectByLine(_0xdabc73,_0xeacbfd){return extendSel(_0xdabc73,_0x47a7f2=>_0xdabc73['moveVertically'](_0x47a7f2,_0xeacbfd));}const selectLineUp=_0x2511d9=>selectByLine(_0x2511d9,!0x1),selectLineDown=_0x41d483=>selectByLine(_0x41d483,!0x0);function selectByPage(_0x25dce2,_0x24249b){return extendSel(_0x25dce2,_0x56481f=>_0x25dce2['moveVertically'](_0x56481f,_0x24249b,pageInfo(_0x25dce2)['height']));}const selectPageUp=_0x8a3fe6=>selectByPage(_0x8a3fe6,!0x1),selectPageDown=_0x2ddff6=>selectByPage(_0x2ddff6,!0x0),selectLineBoundaryForward=_0x20fa64=>extendSel(_0x20fa64,_0x5a87b5=>moveByLineBoundary(_0x20fa64,_0x5a87b5,!0x0)),selectLineBoundaryBackward=_0x31e28f=>extendSel(_0x31e28f,_0x5cfccf=>moveByLineBoundary(_0x31e28f,_0x5cfccf,!0x1)),selectLineBoundaryLeft=_0x17b92d=>extendSel(_0x17b92d,_0x2893d3=>moveByLineBoundary(_0x17b92d,_0x2893d3,!ltrAtCursor(_0x17b92d))),selectLineBoundaryRight=_0xb3fff1=>extendSel(_0xb3fff1,_0x3cfd24=>moveByLineBoundary(_0xb3fff1,_0x3cfd24,ltrAtCursor(_0xb3fff1))),selectLineStart=_0x298dff=>extendSel(_0x298dff,_0x5d7550=>EditorSelection['cursor'](_0x298dff['lineBlockAt'](_0x5d7550['head'])['from'])),selectLineEnd=_0x852e3a=>extendSel(_0x852e3a,_0x525e4d=>EditorSelection['cursor'](_0x852e3a['lineBlockAt'](_0x525e4d['head'])['to'])),cursorDocStart=({state:_0x534696,dispatch:_0x44ab29})=>(_0x44ab29(setSel(_0x534696,{'anchor':0x0})),!0x0),cursorDocEnd=({state:_0x23f6a3,dispatch:_0x473a5d})=>(_0x473a5d(setSel(_0x23f6a3,{'anchor':_0x23f6a3['doc']['length']})),!0x0),selectDocStart=({state:_0x2e9425,dispatch:_0xc1daaa})=>(_0xc1daaa(setSel(_0x2e9425,{'anchor':_0x2e9425['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x379162,dispatch:_0x3a7e3c})=>(_0x3a7e3c(setSel(_0x379162,{'anchor':_0x379162['selection']['main']['anchor'],'head':_0x379162['doc']['length']})),!0x0),selectAll=({state:_0x390da6,dispatch:_0x32ef9e})=>(_0x32ef9e(_0x390da6['update']({'selection':{'anchor':0x0,'head':_0x390da6['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x5fb789,dispatch:_0x4e3996})=>{let _0x1d0df6=selectedLineBlocks(_0x5fb789)['map'](({from:_0x434c84,to:_0xb58cfd})=>EditorSelection['range'](_0x434c84,Math['min'](_0xb58cfd+0x1,_0x5fb789['doc']['length'])));return _0x4e3996(_0x5fb789['update']({'selection':EditorSelection['create'](_0x1d0df6),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x382162,dispatch:_0x3cc750})=>{let _0x716fbe=updateSel(_0x382162['selection'],_0x398bfa=>{let _0x251d74=syntaxTree(_0x382162),_0x1c4760=_0x251d74['resolveStack'](_0x398bfa['from'],0x1);if(_0x398bfa['empty']){let _0x93b1f6=_0x251d74['resolveStack'](_0x398bfa['from'],-0x1);_0x93b1f6['node']['from']>=_0x1c4760['node']['from']&&_0x93b1f6['node']['to']<=_0x1c4760['node']['to']&&(_0x1c4760=_0x93b1f6);}for(let _0x55e7cd=_0x1c4760;_0x55e7cd;_0x55e7cd=_0x55e7cd['next']){let {node:_0x499095}=_0x55e7cd;if((_0x499095['from']<_0x398bfa['from']&&_0x499095['to']>=_0x398bfa['to']||_0x499095['to']>_0x398bfa['to']&&_0x499095['from']<=_0x398bfa['from'])&&_0x55e7cd['next'])return EditorSelection['range'](_0x499095['to'],_0x499095['from']);}return _0x398bfa;});return!_0x716fbe['eq'](_0x382162['selection'])&&(_0x3cc750(setSel(_0x382162,_0x716fbe)),!0x0);},simplifySelection=({state:_0x4f45f0,dispatch:_0x512aa6})=>{let _0x5e6f17=_0x4f45f0['selection'],_0x19c5f3=null;return _0x5e6f17['ranges']['length']>0x1?_0x19c5f3=EditorSelection['create']([_0x5e6f17['main']]):_0x5e6f17['main']['empty']||(_0x19c5f3=EditorSelection['create']([EditorSelection['cursor'](_0x5e6f17['main']['head'])])),!!_0x19c5f3&&(_0x512aa6(setSel(_0x4f45f0,_0x19c5f3)),!0x0);};function deleteBy(_0x57649c,_0x15e59e){if(_0x57649c['state']['readOnly'])return!0x1;let _0x11c3db='delete.selection',{state:_0xa9113c}=_0x57649c,_0x182412=_0xa9113c['changeByRange'](_0x511336=>{let {from:_0x2b740f,to:_0x4bb8fb}=_0x511336;if(_0x2b740f==_0x4bb8fb){let _0x35a41a=_0x15e59e(_0x511336);_0x35a41a<_0x2b740f?(_0x11c3db='delete.backward',_0x35a41a=skipAtomic(_0x57649c,_0x35a41a,!0x1)):_0x35a41a>_0x2b740f&&(_0x11c3db='delete.forward',_0x35a41a=skipAtomic(_0x57649c,_0x35a41a,!0x0)),_0x2b740f=Math['min'](_0x2b740f,_0x35a41a),_0x4bb8fb=Math['max'](_0x4bb8fb,_0x35a41a);}else _0x2b740f=skipAtomic(_0x57649c,_0x2b740f,!0x1),_0x4bb8fb=skipAtomic(_0x57649c,_0x4bb8fb,!0x0);return _0x2b740f==_0x4bb8fb?{'range':_0x511336}:{'changes':{'from':_0x2b740f,'to':_0x4bb8fb},'range':EditorSelection['cursor'](_0x2b740f,_0x2b740f<_0x511336['head']?-0x1:0x1)};});return!_0x182412['changes']['empty']&&(_0x57649c['dispatch'](_0xa9113c['update'](_0x182412,{'scrollIntoView':!0x0,'userEvent':_0x11c3db,'effects':'delete.selection'==_0x11c3db?EditorView['announce']['of'](_0xa9113c['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x1166fb,_0x22e76d,_0x467cc9){if(_0x1166fb instanceof EditorView){for(let _0x46abad of _0x1166fb['state']['facet'](EditorView['atomicRanges'])['map'](_0x250876=>_0x250876(_0x1166fb)))_0x46abad['between'](_0x22e76d,_0x22e76d,(_0x1ef536,_0x460203)=>{_0x1ef536<_0x22e76d&&_0x460203>_0x22e76d&&(_0x22e76d=_0x467cc9?_0x460203:_0x1ef536);});}return _0x22e76d;}const deleteByChar=(_0x5461a7,_0x98c86a,_0x5f4d17)=>deleteBy(_0x5461a7,_0x2fe167=>{let _0x5c89bc,_0x2a5439,_0x4a0955=_0x2fe167['from'],{state:_0x13968b}=_0x5461a7,_0x745c90=_0x13968b['doc']['lineAt'](_0x4a0955);if(_0x5f4d17&&!_0x98c86a&&_0x4a0955>_0x745c90['from']&&_0x4a0955<_0x745c90['from']+0xc8&&!/[^ \t]/['test'](_0x5c89bc=_0x745c90['text']['slice'](0x0,_0x4a0955-_0x745c90['from']))){if('\x09'==_0x5c89bc[_0x5c89bc['length']-0x1])return _0x4a0955-0x1;let _0x22403e=countColumn(_0x5c89bc,_0x13968b['tabSize'])%getIndentUnit(_0x13968b)||getIndentUnit(_0x13968b);for(let _0x211f10=0x0;_0x211f10<_0x22403e&&'\x20'==_0x5c89bc[_0x5c89bc['length']-0x1-_0x211f10];_0x211f10++)_0x4a0955--;_0x2a5439=_0x4a0955;}else _0x2a5439=findClusterBreak(_0x745c90['text'],_0x4a0955-_0x745c90['from'],_0x98c86a,_0x98c86a)+_0x745c90['from'],_0x2a5439==_0x4a0955&&_0x745c90['number']!=(_0x98c86a?_0x13968b['doc']['lines']:0x1)?_0x2a5439+=_0x98c86a?0x1:-0x1:!_0x98c86a&&/[\ufe00-\ufe0f]/['test'](_0x745c90['text']['slice'](_0x2a5439-_0x745c90['from'],_0x4a0955-_0x745c90['from']))&&(_0x2a5439=findClusterBreak(_0x745c90['text'],_0x2a5439-_0x745c90['from'],!0x1,!0x1)+_0x745c90['from']);return _0x2a5439;}),deleteCharBackward=_0x1fa712=>deleteByChar(_0x1fa712,!0x1,!0x0),deleteCharForward=_0x24ce47=>deleteByChar(_0x24ce47,!0x0,!0x1),deleteByGroup=(_0x4f48af,_0x46a2ff)=>deleteBy(_0x4f48af,_0x40bff1=>{let _0x4d5b31=_0x40bff1['head'],{state:_0x311c87}=_0x4f48af,_0x50fcec=_0x311c87['doc']['lineAt'](_0x4d5b31),_0x156e46=_0x311c87['charCategorizer'](_0x4d5b31);for(let _0x46cd7c=null;;){if(_0x4d5b31==(_0x46a2ff?_0x50fcec['to']:_0x50fcec['from'])){_0x4d5b31==_0x40bff1['head']&&_0x50fcec['number']!=(_0x46a2ff?_0x311c87['doc']['lines']:0x1)&&(_0x4d5b31+=_0x46a2ff?0x1:-0x1);break;}let _0x5698d8=findClusterBreak(_0x50fcec['text'],_0x4d5b31-_0x50fcec['from'],_0x46a2ff)+_0x50fcec['from'],_0x2eb8f1=_0x50fcec['text']['slice'](Math['min'](_0x4d5b31,_0x5698d8)-_0x50fcec['from'],Math['max'](_0x4d5b31,_0x5698d8)-_0x50fcec['from']),_0x1f17b2=_0x156e46(_0x2eb8f1);if(null!=_0x46cd7c&&_0x1f17b2!=_0x46cd7c)break;'\x20'==_0x2eb8f1&&_0x4d5b31==_0x40bff1['head']||(_0x46cd7c=_0x1f17b2),_0x4d5b31=_0x5698d8;}return _0x4d5b31;}),deleteGroupBackward=_0x499e29=>deleteByGroup(_0x499e29,!0x1),deleteGroupForward=_0x3afcd3=>deleteByGroup(_0x3afcd3,!0x0),deleteToLineEnd=_0x27620d=>deleteBy(_0x27620d,_0x3275f9=>{let _0x41f239=_0x27620d['lineBlockAt'](_0x3275f9['head'])['to'];return _0x3275f9['head']<_0x41f239?_0x41f239:Math['min'](_0x27620d['state']['doc']['length'],_0x3275f9['head']+0x1);}),deleteLineBoundaryBackward=_0x293a18=>deleteBy(_0x293a18,_0x5d84e0=>{let _0x29aabf=_0x293a18['moveToLineBoundary'](_0x5d84e0,!0x1)['head'];return _0x5d84e0['head']>_0x29aabf?_0x29aabf:Math['max'](0x0,_0x5d84e0['head']-0x1);}),deleteLineBoundaryForward=_0x6acba=>deleteBy(_0x6acba,_0x41a4e7=>{let _0x4299f5=_0x6acba['moveToLineBoundary'](_0x41a4e7,!0x0)['head'];return _0x41a4e7['head']<_0x4299f5?_0x4299f5:Math['min'](_0x6acba['state']['doc']['length'],_0x41a4e7['head']+0x1);}),splitLine=({state:_0x3554c1,dispatch:_0x15e051})=>{if(_0x3554c1['readOnly'])return!0x1;let _0x4edb83=_0x3554c1['changeByRange'](_0x232eeb=>({'changes':{'from':_0x232eeb['from'],'to':_0x232eeb['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x232eeb['from'])}));return _0x15e051(_0x3554c1['update'](_0x4edb83,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x4b7e49,dispatch:_0x4bedb0})=>{if(_0x4b7e49['readOnly'])return!0x1;let _0x87e07d=_0x4b7e49['changeByRange'](_0x5eebc3=>{if(!_0x5eebc3['empty']||0x0==_0x5eebc3['from']||_0x5eebc3['from']==_0x4b7e49['doc']['length'])return{'range':_0x5eebc3};let _0x4f6c43=_0x5eebc3['from'],_0x47d4d4=_0x4b7e49['doc']['lineAt'](_0x4f6c43),_0x2de38e=_0x4f6c43==_0x47d4d4['from']?_0x4f6c43-0x1:findClusterBreak(_0x47d4d4['text'],_0x4f6c43-_0x47d4d4['from'],!0x1)+_0x47d4d4['from'],_0x5f0066=_0x4f6c43==_0x47d4d4['to']?_0x4f6c43+0x1:findClusterBreak(_0x47d4d4['text'],_0x4f6c43-_0x47d4d4['from'],!0x0)+_0x47d4d4['from'];return{'changes':{'from':_0x2de38e,'to':_0x5f0066,'insert':_0x4b7e49['doc']['slice'](_0x4f6c43,_0x5f0066)['append'](_0x4b7e49['doc']['slice'](_0x2de38e,_0x4f6c43))},'range':EditorSelection['cursor'](_0x5f0066)};});return!_0x87e07d['changes']['empty']&&(_0x4bedb0(_0x4b7e49['update'](_0x87e07d,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0xc9c321){let _0x4a82e8=[],_0x3d316b=-0x1;for(let _0x51996e of _0xc9c321['selection']['ranges']){let _0x4ebe48=_0xc9c321['doc']['lineAt'](_0x51996e['from']),_0x5a55a4=_0xc9c321['doc']['lineAt'](_0x51996e['to']);if(_0x51996e['empty']||_0x51996e['to']!=_0x5a55a4['from']||(_0x5a55a4=_0xc9c321['doc']['lineAt'](_0x51996e['to']-0x1)),_0x3d316b>=_0x4ebe48['number']){let _0x589e95=_0x4a82e8[_0x4a82e8['length']-0x1];_0x589e95['to']=_0x5a55a4['to'],_0x589e95['ranges']['push'](_0x51996e);}else _0x4a82e8['push']({'from':_0x4ebe48['from'],'to':_0x5a55a4['to'],'ranges':[_0x51996e]});_0x3d316b=_0x5a55a4['number']+0x1;}return _0x4a82e8;}function moveLine(_0x2709cf,_0x136380,_0x24d230){if(_0x2709cf['readOnly'])return!0x1;let _0xa07ee3=[],_0x2e7a57=[];for(let _0x18be95 of selectedLineBlocks(_0x2709cf)){if(_0x24d230?_0x18be95['to']==_0x2709cf['doc']['length']:0x0==_0x18be95['from'])continue;let _0x3d62e7=_0x2709cf['doc']['lineAt'](_0x24d230?_0x18be95['to']+0x1:_0x18be95['from']-0x1),_0x27eaf7=_0x3d62e7['length']+0x1;if(_0x24d230){_0xa07ee3['push']({'from':_0x18be95['to'],'to':_0x3d62e7['to']},{'from':_0x18be95['from'],'insert':_0x3d62e7['text']+_0x2709cf['lineBreak']});for(let _0x206473 of _0x18be95['ranges'])_0x2e7a57['push'](EditorSelection['range'](Math['min'](_0x2709cf['doc']['length'],_0x206473['anchor']+_0x27eaf7),Math['min'](_0x2709cf['doc']['length'],_0x206473['head']+_0x27eaf7)));}else{_0xa07ee3['push']({'from':_0x3d62e7['from'],'to':_0x18be95['from']},{'from':_0x18be95['to'],'insert':_0x2709cf['lineBreak']+_0x3d62e7['text']});for(let _0x5a38a1 of _0x18be95['ranges'])_0x2e7a57['push'](EditorSelection['range'](_0x5a38a1['anchor']-_0x27eaf7,_0x5a38a1['head']-_0x27eaf7));}}return!!_0xa07ee3['length']&&(_0x136380(_0x2709cf['update']({'changes':_0xa07ee3,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x2e7a57,_0x2709cf['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const moveLineUp=({state:_0x31f264,dispatch:_0x1d8d3c})=>moveLine(_0x31f264,_0x1d8d3c,!0x1),moveLineDown=({state:_0x19cc95,dispatch:_0x1509aa})=>moveLine(_0x19cc95,_0x1509aa,!0x0);function copyLine(_0x4a65b4,_0x1a7dbf,_0x1c3333){if(_0x4a65b4['readOnly'])return!0x1;let _0x469e42=[];for(let _0x1708f0 of selectedLineBlocks(_0x4a65b4))_0x1c3333?_0x469e42['push']({'from':_0x1708f0['from'],'insert':_0x4a65b4['doc']['slice'](_0x1708f0['from'],_0x1708f0['to'])+_0x4a65b4['lineBreak']}):_0x469e42['push']({'from':_0x1708f0['to'],'insert':_0x4a65b4['lineBreak']+_0x4a65b4['doc']['slice'](_0x1708f0['from'],_0x1708f0['to'])});return _0x1a7dbf(_0x4a65b4['update']({'changes':_0x469e42,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const copyLineUp=({state:_0x3c5253,dispatch:_0x2204f4})=>copyLine(_0x3c5253,_0x2204f4,!0x1),copyLineDown=({state:_0x2fd317,dispatch:_0x1026ec})=>copyLine(_0x2fd317,_0x1026ec,!0x0),deleteLine=_0x396ff0=>{if(_0x396ff0['state']['readOnly'])return!0x1;let {state:_0x463b18}=_0x396ff0,_0x558877=_0x463b18['changes'](selectedLineBlocks(_0x463b18)['map'](({from:_0x25413a,to:_0x2812f2})=>(_0x25413a>0x0?_0x25413a--:_0x2812f2<_0x463b18['doc']['length']&&_0x2812f2++,{'from':_0x25413a,'to':_0x2812f2}))),_0x34f397=updateSel(_0x463b18['selection'],_0x567fb8=>{let _0x37f336;if(_0x396ff0['lineWrapping']){let _0x196a8a=_0x396ff0['lineBlockAt'](_0x567fb8['head']),_0x5258df=_0x396ff0['coordsAtPos'](_0x567fb8['head'],_0x567fb8['assoc']||0x1);_0x5258df&&(_0x37f336=_0x196a8a['bottom']+_0x396ff0['documentTop']-_0x5258df['bottom']+_0x396ff0['defaultLineHeight']/0x2);}return _0x396ff0['moveVertically'](_0x567fb8,!0x0,_0x37f336);})['map'](_0x558877);return _0x396ff0['dispatch']({'changes':_0x558877,'selection':_0x34f397,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x2a9720,_0x471f56){if(/\(\)|\[\]|\{\}/['test'](_0x2a9720['sliceDoc'](_0x471f56-0x1,_0x471f56+0x1)))return{'from':_0x471f56,'to':_0x471f56};let _0xe40e9a,_0x1c410c=syntaxTree(_0x2a9720)['resolveInner'](_0x471f56),_0x1a2694=_0x1c410c['childBefore'](_0x471f56),_0x9deefd=_0x1c410c['childAfter'](_0x471f56);return _0x1a2694&&_0x9deefd&&_0x1a2694['to']<=_0x471f56&&_0x9deefd['from']>=_0x471f56&&(_0xe40e9a=_0x1a2694['type']['prop'](NodeProp['closedBy']))&&_0xe40e9a['indexOf'](_0x9deefd['name'])>-0x1&&_0x2a9720['doc']['lineAt'](_0x1a2694['to'])['from']==_0x2a9720['doc']['lineAt'](_0x9deefd['from'])['from']&&!/\S/['test'](_0x2a9720['sliceDoc'](_0x1a2694['to'],_0x9deefd['from']))?{'from':_0x1a2694['to'],'to':_0x9deefd['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x10d64a){return({state:_0xc315eb,dispatch:_0x1abfe3})=>{if(_0xc315eb['readOnly'])return!0x1;let _0x177966=_0xc315eb['changeByRange'](_0x321d16=>{let {from:_0x3addd3,to:_0x5b0c18}=_0x321d16,_0x26bb2d=_0xc315eb['doc']['lineAt'](_0x3addd3),_0x390075=!_0x10d64a&&_0x3addd3==_0x5b0c18&&isBetweenBrackets(_0xc315eb,_0x3addd3);_0x10d64a&&(_0x3addd3=_0x5b0c18=(_0x5b0c18<=_0x26bb2d['to']?_0x26bb2d:_0xc315eb['doc']['lineAt'](_0x5b0c18))['to']);let _0x5a2b3b=new IndentContext(_0xc315eb,{'simulateBreak':_0x3addd3,'simulateDoubleBreak':!!_0x390075}),_0xd47c65=getIndentation(_0x5a2b3b,_0x3addd3);for(null==_0xd47c65&&(_0xd47c65=countColumn(/^\s*/['exec'](_0xc315eb['doc']['lineAt'](_0x3addd3)['text'])[0x0],_0xc315eb['tabSize']));_0x5b0c18<_0x26bb2d['to']&&/\s/['test'](_0x26bb2d['text'][_0x5b0c18-_0x26bb2d['from']]);)_0x5b0c18++;_0x390075?{from:_0x3addd3,to:_0x5b0c18}=_0x390075:_0x3addd3>_0x26bb2d['from']&&_0x3addd3<_0x26bb2d['from']+0x64&&!/\S/['test'](_0x26bb2d['text']['slice'](0x0,_0x3addd3))&&(_0x3addd3=_0x26bb2d['from']);let _0x140a35=['',indentString(_0xc315eb,_0xd47c65)];return _0x390075&&_0x140a35['push'](indentString(_0xc315eb,_0x5a2b3b['lineIndent'](_0x26bb2d['from'],-0x1))),{'changes':{'from':_0x3addd3,'to':_0x5b0c18,'insert':Text['of'](_0x140a35)},'range':EditorSelection['cursor'](_0x3addd3+0x1+_0x140a35[0x1]['length'])};});return _0x1abfe3(_0xc315eb['update'](_0x177966,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x471b30,_0x4d6461){let _0x5de17c=-0x1;return _0x471b30['changeByRange'](_0x13b42f=>{let _0x1405cc=[];for(let _0x3fe9c9=_0x13b42f['from'];_0x3fe9c9<=_0x13b42f['to'];){let _0x236bb8=_0x471b30['doc']['lineAt'](_0x3fe9c9);_0x236bb8['number']>_0x5de17c&&(_0x13b42f['empty']||_0x13b42f['to']>_0x236bb8['from'])&&(_0x4d6461(_0x236bb8,_0x1405cc,_0x13b42f),_0x5de17c=_0x236bb8['number']),_0x3fe9c9=_0x236bb8['to']+0x1;}let _0x57c88a=_0x471b30['changes'](_0x1405cc);return{'changes':_0x1405cc,'range':EditorSelection['range'](_0x57c88a['mapPos'](_0x13b42f['anchor'],0x1),_0x57c88a['mapPos'](_0x13b42f['head'],0x1))};});}const indentSelection=({state:_0x2295f9,dispatch:_0x38321f})=>{if(_0x2295f9['readOnly'])return!0x1;let _0x1a75a1=Object['create'](null),_0x54cfb6=new IndentContext(_0x2295f9,{'overrideIndentation':_0x4e9e96=>{let _0x3f84e1=_0x1a75a1[_0x4e9e96];return null==_0x3f84e1?-0x1:_0x3f84e1;}}),_0x1f9e97=changeBySelectedLine(_0x2295f9,(_0x150b51,_0x557a20,_0x1cb366)=>{let _0x35b055=getIndentation(_0x54cfb6,_0x150b51['from']);if(null==_0x35b055)return;/\S/['test'](_0x150b51['text'])||(_0x35b055=0x0);let _0x5dbb9b=/^\s*/['exec'](_0x150b51['text'])[0x0],_0x331cb5=indentString(_0x2295f9,_0x35b055);(_0x5dbb9b!=_0x331cb5||_0x1cb366['from']<_0x150b51['from']+_0x5dbb9b['length'])&&(_0x1a75a1[_0x150b51['from']]=_0x35b055,_0x557a20['push']({'from':_0x150b51['from'],'to':_0x150b51['from']+_0x5dbb9b['length'],'insert':_0x331cb5}));});return _0x1f9e97['changes']['empty']||_0x38321f(_0x2295f9['update'](_0x1f9e97,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0x130675,dispatch:_0x21adec})=>!_0x130675['readOnly']&&(_0x21adec(_0x130675['update'](changeBySelectedLine(_0x130675,(_0x1ad5aa,_0xfeabd7)=>{_0xfeabd7['push']({'from':_0x1ad5aa['from'],'insert':_0x130675['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x236da8,dispatch:_0x3be348})=>!_0x236da8['readOnly']&&(_0x3be348(_0x236da8['update'](changeBySelectedLine(_0x236da8,(_0x45a258,_0x2ac323)=>{let _0x38cbcd=/^\s*/['exec'](_0x45a258['text'])[0x0];if(!_0x38cbcd)return;let _0x3b75c9=countColumn(_0x38cbcd,_0x236da8['tabSize']),_0x38d702=0x0,_0x3bba45=indentString(_0x236da8,Math['max'](0x0,_0x3b75c9-getIndentUnit(_0x236da8)));for(;_0x38d702<_0x38cbcd['length']&&_0x38d702<_0x3bba45['length']&&_0x38cbcd['charCodeAt'](_0x38d702)==_0x3bba45['charCodeAt'](_0x38d702);)_0x38d702++;_0x2ac323['push']({'from':_0x45a258['from']+_0x38d702,'to':_0x45a258['from']+_0x38cbcd['length'],'insert':_0x3bba45['slice'](_0x38d702)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x1d2d17=>(_0x1d2d17['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':cursorLineUp,'shift':selectLineUp},{'key':'Ctrl-n','run':cursorLineDown,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':cursorLineEnd,'shift':selectLineEnd},{'key':'Ctrl-d','run':deleteCharForward},{'key':'Ctrl-h','run':deleteCharBackward},{'key':'Ctrl-k','run':deleteToLineEnd},{'key':'Ctrl-Alt-h','run':deleteGroupBackward},{'key':'Ctrl-o','run':splitLine},{'key':'Ctrl-t','run':transposeChars},{'key':'Ctrl-v','run':cursorPageDown}],standardKeymap=[{'key':'ArrowLeft','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':cursorGroupLeft,'shift':selectGroupLeft,'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':cursorLineBoundaryLeft,'shift':selectLineBoundaryLeft,'preventDefault':!0x0},{'key':'ArrowRight','run':cursorCharRight,'shift':selectCharRight,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':cursorGroupRight,'shift':selectGroupRight,'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':cursorLineBoundaryRight,'shift':selectLineBoundaryRight,'preventDefault':!0x0},{'key':'ArrowUp','run':cursorLineUp,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':cursorPageUp,'shift':selectPageUp},{'key':'ArrowDown','run':cursorLineDown,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':cursorDocEnd,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':cursorPageDown,'shift':selectPageDown},{'key':'PageUp','run':cursorPageUp,'shift':selectPageUp},{'key':'PageDown','run':cursorPageDown,'shift':selectPageDown},{'key':'Home','run':cursorLineBoundaryBackward,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':cursorLineBoundaryForward,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':cursorDocEnd,'shift':selectDocEnd},{'key':'Enter','run':insertNewlineAndIndent,'shift':insertNewlineAndIndent},{'key':'Mod-a','run':selectAll},{'key':'Backspace','run':deleteCharBackward,'shift':deleteCharBackward},{'key':'Delete','run':deleteCharForward},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':deleteGroupBackward},{'key':'Mod-Delete','mac':'Alt-Delete','run':deleteGroupForward},{'mac':'Mod-Backspace','run':deleteLineBoundaryBackward},{'mac':'Mod-Delete','run':deleteLineBoundaryForward}]['concat'](emacsStyleKeymap['map'](_0x444630=>({'mac':_0x444630['key'],'run':_0x444630['run'],'shift':_0x444630['shift']}))),defaultKeymap=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':cursorSyntaxLeft,'shift':selectSyntaxLeft},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':cursorSyntaxRight,'shift':selectSyntaxRight},{'key':'Alt-ArrowUp','run':moveLineUp},{'key':'Shift-Alt-ArrowUp','run':copyLineUp},{'key':'Alt-ArrowDown','run':moveLineDown},{'key':'Shift-Alt-ArrowDown','run':copyLineDown},{'key':'Escape','run':simplifySelection},{'key':'Mod-Enter','run':insertBlankLine},{'key':'Alt-l','mac':'Ctrl-l','run':selectLine},{'key':'Mod-i','run':selectParentSyntax,'preventDefault':!0x0},{'key':'Mod-[','run':indentLess},{'key':'Mod-]','run':indentMore},{'key':'Mod-Alt-\x5c','run':indentSelection},{'key':'Shift-Mod-k','run':deleteLine},{'key':'Shift-Mod-\x5c','run':cursorMatchingBracket},{'key':'Mod-/','run':toggleComment},{'key':'Alt-A','run':toggleBlockComment},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':toggleTabFocusMode}]['concat'](standardKeymap);class CompletionContext{constructor(_0x105944,_0x54cc4f,_0x16646b,_0x1409f8){this['state']=_0x105944,this['pos']=_0x54cc4f,this['explicit']=_0x16646b,this['view']=_0x1409f8,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0xcd138b){let _0x1d0996=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x1d0996&&_0xcd138b['indexOf'](_0x1d0996['name'])<0x0;)_0x1d0996=_0x1d0996['parent'];return _0x1d0996?{'from':_0x1d0996['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x1d0996['from'],this['pos']),'type':_0x1d0996['type']}:null;}['matchBefore'](_0x4f8431){let _0x221d21=this['state']['doc']['lineAt'](this['pos']),_0x19555e=Math['max'](_0x221d21['from'],this['pos']-0xfa),_0x186a47=_0x221d21['text']['slice'](_0x19555e-_0x221d21['from'],this['pos']-_0x221d21['from']),_0x13a12d=_0x186a47['search'](ensureAnchor(_0x4f8431,!0x1));return _0x13a12d<0x0?null:{'from':_0x19555e+_0x13a12d,'to':this['pos'],'text':_0x186a47['slice'](_0x13a12d)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x3b91db,_0x46ec4f,_0x977104){'abort'==_0x3b91db&&this['abortListeners']&&(this['abortListeners']['push'](_0x46ec4f),_0x977104&&_0x977104['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x5cc0bd){let _0x5758ae=Object['keys'](_0x5cc0bd)['join'](''),_0x41b97e=/\w/['test'](_0x5758ae);return _0x41b97e&&(_0x5758ae=_0x5758ae['replace'](/\w/g,'')),'['+(_0x41b97e?'\x5cw':'')+_0x5758ae['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0x1d6c57){let _0x59c852=Object['create'](null),_0x206f68=Object['create'](null);for(let {label:_0x594156}of _0x1d6c57){_0x59c852[_0x594156[0x0]]=!0x0;for(let _0x2cfdbc=0x1;_0x2cfdbc<_0x594156['length'];_0x2cfdbc++)_0x206f68[_0x594156[_0x2cfdbc]]=!0x0;}let _0x54e6a2=toSet(_0x59c852)+toSet(_0x206f68)+'*$';return[new RegExp('^'+_0x54e6a2),new RegExp(_0x54e6a2)];}function completeFromList(_0x3c9f79){let _0x1de158=_0x3c9f79['map'](_0x561cab=>'string'==typeof _0x561cab?{'label':_0x561cab}:_0x561cab),[_0x20e30f,_0x32603a]=_0x1de158['every'](_0x44b2ef=>/^\w+$/['test'](_0x44b2ef['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x1de158);return _0x1e68ed=>{let _0x407c58=_0x1e68ed['matchBefore'](_0x32603a);return _0x407c58||_0x1e68ed['explicit']?{'from':_0x407c58?_0x407c58['from']:_0x1e68ed['pos'],'options':_0x1de158,'validFor':_0x20e30f}:null;};}function ifNotIn(_0x4b0e4b,_0x1fd456){return _0x40c585=>{for(let _0x420201=syntaxTree(_0x40c585['state'])['resolveInner'](_0x40c585['pos'],-0x1);_0x420201;_0x420201=_0x420201['parent']){if(_0x4b0e4b['indexOf'](_0x420201['name'])>-0x1)return null;if(_0x420201['type']['isTop'])break;}return _0x1fd456(_0x40c585);};}class Option{constructor(_0x4650bb,_0x5d7450,_0x10eba5,_0x303b28){this['completion']=_0x4650bb,this['source']=_0x5d7450,this['match']=_0x10eba5,this['score']=_0x303b28;}}function cur(_0x56ab3b){return _0x56ab3b['selection']['main']['from'];}function ensureAnchor(_0x2be894,_0x5ba992){var _0x1ad403;let {source:_0x2c0ddc}=_0x2be894,_0xa37344=_0x5ba992&&'^'!=_0x2c0ddc[0x0],_0x8777ac='$'!=_0x2c0ddc[_0x2c0ddc['length']-0x1];return _0xa37344||_0x8777ac?new RegExp((_0xa37344?'^':'')+'(?:'+_0x2c0ddc+')'+(_0x8777ac?'$':''),null!==(_0x1ad403=_0x2be894['flags'])&&void 0x0!==_0x1ad403?_0x1ad403:_0x2be894['ignoreCase']?'i':''):_0x2be894;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x2a30ea,_0x37bb04,_0x527e6c,_0x2d480d){let {main:_0xd2a45a}=_0x2a30ea['selection'],_0x43d1b7=_0x527e6c-_0xd2a45a['from'],_0x527006=_0x2d480d-_0xd2a45a['from'];return Object['assign'](Object['assign']({},_0x2a30ea['changeByRange'](_0x44deb6=>{if(_0x44deb6!=_0xd2a45a&&_0x527e6c!=_0x2d480d&&_0x2a30ea['sliceDoc'](_0x44deb6['from']+_0x43d1b7,_0x44deb6['from']+_0x527006)!=_0x2a30ea['sliceDoc'](_0x527e6c,_0x2d480d))return{'range':_0x44deb6};let _0x17b51c=_0x2a30ea['toText'](_0x37bb04);return{'changes':{'from':_0x44deb6['from']+_0x43d1b7,'to':_0x2d480d==_0xd2a45a['from']?_0x44deb6['to']:_0x44deb6['from']+_0x527006,'insert':_0x17b51c},'range':EditorSelection['cursor'](_0x44deb6['from']+_0x43d1b7+_0x17b51c['length'])};})),{'scrollIntoView':!0x0,'userEvent':'input.complete'});}const SourceCache=new WeakMap();function asSource(_0x1c492b){if(!Array['isArray'](_0x1c492b))return _0x1c492b;let _0x33c099=SourceCache['get'](_0x1c492b);return _0x33c099||SourceCache['set'](_0x1c492b,_0x33c099=completeFromList(_0x1c492b)),_0x33c099;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0xd5175c){this['pattern']=_0xd5175c,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x4e3109=0x0;_0x4e3109<_0xd5175c['length'];){let _0x3fc421=codePointAt(_0xd5175c,_0x4e3109),_0x248489=codePointSize(_0x3fc421);this['chars']['push'](_0x3fc421);let _0x463cce=_0xd5175c['slice'](_0x4e3109,_0x4e3109+_0x248489),_0x651f91=_0x463cce['toUpperCase']();this['folded']['push'](codePointAt(_0x651f91==_0x463cce?_0x463cce['toLowerCase']():_0x651f91,0x0)),_0x4e3109+=_0x248489;}this['astral']=_0xd5175c['length']!=this['chars']['length'];}['ret'](_0x2c44de,_0x2fc84d){return this['score']=_0x2c44de,this['matched']=_0x2fc84d,this;}['match'](_0x31be06){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x31be06['length']<this['pattern']['length'])return null;let {chars:_0x3bde60,folded:_0x5f0f31,any:_0x50f63e,precise:_0x1b37f3,byWord:_0x1065a9}=this;if(0x1==_0x3bde60['length']){let _0x2e471e=codePointAt(_0x31be06,0x0),_0x3f9e0a=codePointSize(_0x2e471e),_0x57e453=_0x3f9e0a==_0x31be06['length']?0x0:-0x64;if(_0x2e471e==_0x3bde60[0x0]);else{if(_0x2e471e!=_0x5f0f31[0x0])return null;_0x57e453+=-0xc8;}return this['ret'](_0x57e453,[0x0,_0x3f9e0a]);}let _0x333741=_0x31be06['indexOf'](this['pattern']);if(0x0==_0x333741)return this['ret'](_0x31be06['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x5f7b62=_0x3bde60['length'],_0x4f58e8=0x0;if(_0x333741<0x0){for(let _0x57c5e4=0x0,_0x525b5e=Math['min'](_0x31be06['length'],0xc8);_0x57c5e4<_0x525b5e&&_0x4f58e8<_0x5f7b62;){let _0x36a498=codePointAt(_0x31be06,_0x57c5e4);_0x36a498!=_0x3bde60[_0x4f58e8]&&_0x36a498!=_0x5f0f31[_0x4f58e8]||(_0x50f63e[_0x4f58e8++]=_0x57c5e4),_0x57c5e4+=codePointSize(_0x36a498);}if(_0x4f58e8<_0x5f7b62)return null;}let _0x261f28=0x0,_0x593a48=0x0,_0x1f8713=!0x1,_0x23131c=0x0,_0x467117=-0x1,_0x3014c0=-0x1,_0x3e9f4e=/[a-z]/['test'](_0x31be06),_0x20cdd1=!0x0;for(let _0x3a0b7a=0x0,_0x2e5435=Math['min'](_0x31be06['length'],0xc8),_0x379ab1=0x0;_0x3a0b7a<_0x2e5435&&_0x593a48<_0x5f7b62;){let _0x509f49=codePointAt(_0x31be06,_0x3a0b7a);_0x333741<0x0&&(_0x261f28<_0x5f7b62&&_0x509f49==_0x3bde60[_0x261f28]&&(_0x1b37f3[_0x261f28++]=_0x3a0b7a),_0x23131c<_0x5f7b62&&(_0x509f49==_0x3bde60[_0x23131c]||_0x509f49==_0x5f0f31[_0x23131c]?(0x0==_0x23131c&&(_0x467117=_0x3a0b7a),_0x3014c0=_0x3a0b7a+0x1,_0x23131c++):_0x23131c=0x0));let _0x1cf6ec,_0xdabdac=_0x509f49<0xff?_0x509f49>=0x30&&_0x509f49<=0x39||_0x509f49>=0x61&&_0x509f49<=0x7a?0x2:_0x509f49>=0x41&&_0x509f49<=0x5a?0x1:0x0:(_0x1cf6ec=fromCodePoint(_0x509f49))!=_0x1cf6ec['toLowerCase']()?0x1:_0x1cf6ec!=_0x1cf6ec['toUpperCase']()?0x2:0x0;(!_0x3a0b7a||0x1==_0xdabdac&&_0x3e9f4e||0x0==_0x379ab1&&0x0!=_0xdabdac)&&(_0x3bde60[_0x593a48]==_0x509f49||_0x5f0f31[_0x593a48]==_0x509f49&&(_0x1f8713=!0x0)?_0x1065a9[_0x593a48++]=_0x3a0b7a:_0x1065a9['length']&&(_0x20cdd1=!0x1)),_0x379ab1=_0xdabdac,_0x3a0b7a+=codePointSize(_0x509f49);}return _0x593a48==_0x5f7b62&&0x0==_0x1065a9[0x0]&&_0x20cdd1?this['result']((_0x1f8713?-0xc8:0x0)-0x64,_0x1065a9,_0x31be06):_0x23131c==_0x5f7b62&&0x0==_0x467117?this['ret'](-0xc8-_0x31be06['length']+(_0x3014c0==_0x31be06['length']?0x0:-0x64),[0x0,_0x3014c0]):_0x333741>-0x1?this['ret'](-0x2bc-_0x31be06['length'],[_0x333741,_0x333741+this['pattern']['length']]):_0x23131c==_0x5f7b62?this['ret'](-0x384-_0x31be06['length'],[_0x467117,_0x3014c0]):_0x593a48==_0x5f7b62?this['result']((_0x1f8713?-0xc8:0x0)-0x64-0x2bc+(_0x20cdd1?0x0:-0x44c),_0x1065a9,_0x31be06):0x2==_0x3bde60['length']?null:this['result']((_0x50f63e[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x50f63e,_0x31be06);}['result'](_0x8e115c,_0x2d09fc,_0x51244d){let _0x166cca=[],_0x26e566=0x0;for(let _0xe42786 of _0x2d09fc){let _0x37cb23=_0xe42786+(this['astral']?codePointSize(codePointAt(_0x51244d,_0xe42786)):0x1);_0x26e566&&_0x166cca[_0x26e566-0x1]==_0xe42786?_0x166cca[_0x26e566-0x1]=_0x37cb23:(_0x166cca[_0x26e566++]=_0xe42786,_0x166cca[_0x26e566++]=_0x37cb23);}return this['ret'](_0x8e115c-_0x51244d['length'],_0x166cca);}}class StrictMatcher{constructor(_0x11e608){this['pattern']=_0x11e608,this['matched']=[],this['score']=0x0,this['folded']=_0x11e608['toLowerCase']();}['match'](_0x346b2b){if(_0x346b2b['length']<this['pattern']['length'])return null;let _0x403094=_0x346b2b['slice'](0x0,this['pattern']['length']),_0x1692b6=_0x403094==this['pattern']?0x0:_0x403094['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x1692b6?null:(this['matched']=[0x0,_0x403094['length']],this['score']=_0x1692b6+(_0x346b2b['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x56840b=>combineConfig(_0x56840b,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':defaultPositionInfo,'filterStrict':!0x1,'compareCompletions':(_0x5139b7,_0x5daf0d)=>_0x5139b7['label']['localeCompare'](_0x5daf0d['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x4c21f1,_0x1ac716)=>_0x4c21f1&&_0x1ac716,'closeOnBlur':(_0x5862ac,_0x5583d0)=>_0x5862ac&&_0x5583d0,'icons':(_0x17e872,_0x2a1333)=>_0x17e872&&_0x2a1333,'tooltipClass':(_0x97f72a,_0x2c2551)=>_0x5b0191=>joinClass(_0x97f72a(_0x5b0191),_0x2c2551(_0x5b0191)),'optionClass':(_0x26fecb,_0x4041e0)=>_0x10d427=>joinClass(_0x26fecb(_0x10d427),_0x4041e0(_0x10d427)),'addToOptions':(_0x41ae53,_0x4d6f49)=>_0x41ae53['concat'](_0x4d6f49),'filterStrict':(_0x1beac8,_0x23c34b)=>_0x1beac8||_0x23c34b})});function joinClass(_0x10fb32,_0x53d1f7){return _0x10fb32?_0x53d1f7?_0x10fb32+'\x20'+_0x53d1f7:_0x10fb32:_0x53d1f7;}function defaultPositionInfo(_0x1248b3,_0x128bde,_0x478dd5,_0x2f6730,_0x555cbd,_0x2509a1){let _0x205bed,_0x3f003e,_0x445c6c=_0x1248b3['textDirection']==Direction['RTL'],_0x49bd92=_0x445c6c,_0x2fb561=!0x1,_0x2e1fba='top',_0x3c4607=_0x128bde['left']-_0x555cbd['left'],_0x444a6b=_0x555cbd['right']-_0x128bde['right'],_0x6e04c2=_0x2f6730['right']-_0x2f6730['left'],_0x200d12=_0x2f6730['bottom']-_0x2f6730['top'];if(_0x49bd92&&_0x3c4607<Math['min'](_0x6e04c2,_0x444a6b)?_0x49bd92=!0x1:!_0x49bd92&&_0x444a6b<Math['min'](_0x6e04c2,_0x3c4607)&&(_0x49bd92=!0x0),_0x6e04c2<=(_0x49bd92?_0x3c4607:_0x444a6b))_0x205bed=Math['max'](_0x555cbd['top'],Math['min'](_0x478dd5['top'],_0x555cbd['bottom']-_0x200d12))-_0x128bde['top'],_0x3f003e=Math['min'](0x190,_0x49bd92?_0x3c4607:_0x444a6b);else{_0x2fb561=!0x0,_0x3f003e=Math['min'](0x190,(_0x445c6c?_0x128bde['right']:_0x555cbd['right']-_0x128bde['left'])-0x1e);let _0x2f715b=_0x555cbd['bottom']-_0x128bde['bottom'];_0x2f715b>=_0x200d12||_0x2f715b>_0x128bde['top']?_0x205bed=_0x478dd5['bottom']-_0x128bde['top']:(_0x2e1fba='bottom',_0x205bed=_0x128bde['bottom']-_0x478dd5['top']);}return{'style':_0x2e1fba+':\x20'+_0x205bed/((_0x128bde['bottom']-_0x128bde['top'])/_0x2509a1['offsetHeight'])+'px;\x20max-width:\x20'+_0x3f003e/((_0x128bde['right']-_0x128bde['left'])/_0x2509a1['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x2fb561?_0x445c6c?'left-narrow':'right-narrow':_0x49bd92?'left':'right')};}function optionContent(_0x54aee2){let _0x28ea62=_0x54aee2['addToOptions']['slice']();return _0x54aee2['icons']&&_0x28ea62['push']({'render'(_0x555fde){let _0x3b67b4=document['createElement']('div');return _0x3b67b4['classList']['add']('cm-completionIcon'),_0x555fde['type']&&_0x3b67b4['classList']['add'](..._0x555fde['type']['split'](/\s+/g)['map'](_0x1b9a27=>'cm-completionIcon-'+_0x1b9a27)),_0x3b67b4['setAttribute']('aria-hidden','true'),_0x3b67b4;},'position':0x14}),_0x28ea62['push']({'render'(_0x249fd0,_0x239541,_0x1de644,_0x525414){let _0x596cb9=document['createElement']('span');_0x596cb9['className']='cm-completionLabel';let _0x288537=_0x249fd0['displayLabel']||_0x249fd0['label'],_0x2fee09=0x0;for(let _0x231a9b=0x0;_0x231a9b<_0x525414['length'];){let _0x3f6333=_0x525414[_0x231a9b++],_0x2c8fa0=_0x525414[_0x231a9b++];_0x3f6333>_0x2fee09&&_0x596cb9['appendChild'](document['createTextNode'](_0x288537['slice'](_0x2fee09,_0x3f6333)));let _0x40f7ed=_0x596cb9['appendChild'](document['createElement']('span'));_0x40f7ed['appendChild'](document['createTextNode'](_0x288537['slice'](_0x3f6333,_0x2c8fa0))),_0x40f7ed['className']='cm-completionMatchedText',_0x2fee09=_0x2c8fa0;}return _0x2fee09<_0x288537['length']&&_0x596cb9['appendChild'](document['createTextNode'](_0x288537['slice'](_0x2fee09))),_0x596cb9;},'position':0x32},{'render'(_0xd18ee5){if(!_0xd18ee5['detail'])return null;let _0x5611bc=document['createElement']('span');return _0x5611bc['className']='cm-completionDetail',_0x5611bc['textContent']=_0xd18ee5['detail'],_0x5611bc;},'position':0x50}),_0x28ea62['sort']((_0x1c7dd0,_0x47ab64)=>_0x1c7dd0['position']-_0x47ab64['position'])['map'](_0x2ed3de=>_0x2ed3de['render']);}function rangeAroundSelected(_0xc17c7,_0x8cb1c2,_0x2ede0a){if(_0xc17c7<=_0x2ede0a)return{'from':0x0,'to':_0xc17c7};if(_0x8cb1c2<0x0&&(_0x8cb1c2=0x0),_0x8cb1c2<=_0xc17c7>>0x1){let _0x4869b4=Math['floor'](_0x8cb1c2/_0x2ede0a);return{'from':_0x4869b4*_0x2ede0a,'to':(_0x4869b4+0x1)*_0x2ede0a};}let _0x4f99c7=Math['floor']((_0xc17c7-_0x8cb1c2)/_0x2ede0a);return{'from':_0xc17c7-(_0x4f99c7+0x1)*_0x2ede0a,'to':_0xc17c7-_0x4f99c7*_0x2ede0a};}class CompletionTooltip{constructor(_0x3dda19,_0x5a8fb2,_0x1c4980){this['view']=_0x3dda19,this['stateField']=_0x5a8fb2,this['applyCompletion']=_0x1c4980,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x1580cc=>this['placeInfo'](_0x1580cc),'key':this},this['space']=null,this['currentClass']='';let _0x1d1385=_0x3dda19['state']['field'](_0x5a8fb2),{options:_0x39a212,selected:_0x1a2b25}=_0x1d1385['open'],_0xcf76a6=_0x3dda19['state']['facet'](completionConfig);this['optionContent']=optionContent(_0xcf76a6),this['optionClass']=_0xcf76a6['optionClass'],this['tooltipClass']=_0xcf76a6['tooltipClass'],this['range']=rangeAroundSelected(_0x39a212['length'],_0x1a2b25,_0xcf76a6['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x3dda19['state']),this['dom']['addEventListener']('mousedown',_0x48cb09=>{let {options:_0x34f5c9}=_0x3dda19['state']['field'](_0x5a8fb2)['open'];for(let _0x111e4a,_0x798ca8=_0x48cb09['target'];_0x798ca8&&_0x798ca8!=this['dom'];_0x798ca8=_0x798ca8['parentNode'])if('LI'==_0x798ca8['nodeName']&&(_0x111e4a=/-(\d+)$/['exec'](_0x798ca8['id']))&&+_0x111e4a[0x1]<_0x34f5c9['length'])return this['applyCompletion'](_0x3dda19,_0x34f5c9[+_0x111e4a[0x1]]),void _0x48cb09['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x3d538a=>{let _0x423359=_0x3dda19['state']['field'](this['stateField'],!0x1);_0x423359&&_0x423359['tooltip']&&_0x3dda19['state']['facet'](completionConfig)['closeOnBlur']&&_0x3d538a['relatedTarget']!=_0x3dda19['contentDOM']&&_0x3dda19['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x39a212,_0x1d1385['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x14970e,_0xa74e89){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x14970e,_0xa74e89,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x58e97e){var _0x300cd4;let _0xf2e8b8=_0x58e97e['state']['field'](this['stateField']),_0x925434=_0x58e97e['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x58e97e['state']),_0xf2e8b8!=_0x925434){let {options:_0x1706ac,selected:_0x5a8c95,disabled:_0x16356f}=_0xf2e8b8['open'];_0x925434['open']&&_0x925434['open']['options']==_0x1706ac||(this['range']=rangeAroundSelected(_0x1706ac['length'],_0x5a8c95,_0x58e97e['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x1706ac,_0xf2e8b8['id'])),this['updateSel'](),_0x16356f!=(null===(_0x300cd4=_0x925434['open'])||void 0x0===_0x300cd4?void 0x0:_0x300cd4['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x16356f);}}['updateTooltipClass'](_0x3acb11){let _0x113fb3=this['tooltipClass'](_0x3acb11);if(_0x113fb3!=this['currentClass']){for(let _0x5e99d3 of this['currentClass']['split']('\x20'))_0x5e99d3&&this['dom']['classList']['remove'](_0x5e99d3);for(let _0x65642e of _0x113fb3['split']('\x20'))_0x65642e&&this['dom']['classList']['add'](_0x65642e);this['currentClass']=_0x113fb3;}}['positioned'](_0x3233aa){this['space']=_0x3233aa,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x39b95d=this['view']['state']['field'](this['stateField']),_0x284d01=_0x39b95d['open'];if((_0x284d01['selected']>-0x1&&_0x284d01['selected']<this['range']['from']||_0x284d01['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x284d01['options']['length'],_0x284d01['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x284d01['options'],_0x39b95d['id'])),this['updateSelectedOption'](_0x284d01['selected'])){this['destroyInfo']();let {completion:_0x5ef667}=_0x284d01['options'][_0x284d01['selected']],{info:_0x2c8163}=_0x5ef667;if(!_0x2c8163)return;let _0x3657d4='string'==typeof _0x2c8163?document['createTextNode'](_0x2c8163):_0x2c8163(_0x5ef667);if(!_0x3657d4)return;'then'in _0x3657d4?_0x3657d4['then'](_0x28c94c=>{_0x28c94c&&this['view']['state']['field'](this['stateField'],!0x1)==_0x39b95d&&this['addInfoPane'](_0x28c94c,_0x5ef667);})['catch'](_0x355ceb=>logException(this['view']['state'],_0x355ceb,'completion\x20info')):this['addInfoPane'](_0x3657d4,_0x5ef667);}}['addInfoPane'](_0x3af199,_0x3daf1b){this['destroyInfo']();let _0x1ff6f4=this['info']=document['createElement']('div');if(_0x1ff6f4['className']='cm-tooltip\x20cm-completionInfo',null!=_0x3af199['nodeType'])_0x1ff6f4['appendChild'](_0x3af199),this['infoDestroy']=null;else{let {dom:_0x4a4323,destroy:_0x9ac470}=_0x3af199;_0x1ff6f4['appendChild'](_0x4a4323),this['infoDestroy']=_0x9ac470||null;}this['dom']['appendChild'](_0x1ff6f4),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x48afaa){let _0x5b313a=null;for(let _0x49a84b=this['list']['firstChild'],_0x140bd5=this['range']['from'];_0x49a84b;_0x49a84b=_0x49a84b['nextSibling'],_0x140bd5++)'LI'==_0x49a84b['nodeName']&&_0x49a84b['id']?_0x140bd5==_0x48afaa?_0x49a84b['hasAttribute']('aria-selected')||(_0x49a84b['setAttribute']('aria-selected','true'),_0x5b313a=_0x49a84b):_0x49a84b['hasAttribute']('aria-selected')&&_0x49a84b['removeAttribute']('aria-selected'):_0x140bd5--;return _0x5b313a&&scrollIntoView(this['list'],_0x5b313a),_0x5b313a;}['measureInfo'](){let _0x219e07=this['dom']['querySelector']('[aria-selected]');if(!_0x219e07||!this['info'])return null;let _0x2827eb=this['dom']['getBoundingClientRect'](),_0x1dcd82=this['info']['getBoundingClientRect'](),_0x4f49fc=_0x219e07['getBoundingClientRect'](),_0x411839=this['space'];if(!_0x411839){let _0x31c783=this['dom']['ownerDocument']['documentElement'];_0x411839={'left':0x0,'top':0x0,'right':_0x31c783['clientWidth'],'bottom':_0x31c783['clientHeight']};}return _0x4f49fc['top']>Math['min'](_0x411839['bottom'],_0x2827eb['bottom'])-0xa||_0x4f49fc['bottom']<Math['max'](_0x411839['top'],_0x2827eb['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x2827eb,_0x4f49fc,_0x1dcd82,_0x411839,this['dom']);}['placeInfo'](_0x1f7fd0){this['info']&&(_0x1f7fd0?(_0x1f7fd0['style']&&(this['info']['style']['cssText']=_0x1f7fd0['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x1f7fd0['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x194326,_0x540b31,_0x1c405c){const _0x296461=document['createElement']('ul');_0x296461['id']=_0x540b31,_0x296461['setAttribute']('role','listbox'),_0x296461['setAttribute']('aria-expanded','true'),_0x296461['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x296461['addEventListener']('mousedown',_0x19c590=>{_0x19c590['target']==_0x296461&&_0x19c590['preventDefault']();});let _0x5629da=null;for(let _0xe6219e=_0x1c405c['from'];_0xe6219e<_0x1c405c['to'];_0xe6219e++){let {completion:_0x22e3e0,match:_0x316fdb}=_0x194326[_0xe6219e],{section:_0x507358}=_0x22e3e0;if(_0x507358){let _0x6e1e32='string'==typeof _0x507358?_0x507358:_0x507358['name'];if(_0x6e1e32!=_0x5629da&&(_0xe6219e>_0x1c405c['from']||0x0==_0x1c405c['from'])){if(_0x5629da=_0x6e1e32,'string'!=typeof _0x507358&&_0x507358['header'])_0x296461['appendChild'](_0x507358['header'](_0x507358));else _0x296461['appendChild'](document['createElement']('completion-section'))['textContent']=_0x6e1e32;}}const _0x4c6304=_0x296461['appendChild'](document['createElement']('li'));_0x4c6304['id']=_0x540b31+'-'+_0xe6219e,_0x4c6304['setAttribute']('role','option');let _0xe99eb0=this['optionClass'](_0x22e3e0);_0xe99eb0&&(_0x4c6304['className']=_0xe99eb0);for(let _0x1c3a3f of this['optionContent']){let _0xf6f1d1=_0x1c3a3f(_0x22e3e0,this['view']['state'],this['view'],_0x316fdb);_0xf6f1d1&&_0x4c6304['appendChild'](_0xf6f1d1);}}return _0x1c405c['from']&&_0x296461['classList']['add']('cm-completionListIncompleteTop'),_0x1c405c['to']<_0x194326['length']&&_0x296461['classList']['add']('cm-completionListIncompleteBottom'),_0x296461;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0x41fda3,_0x4bf3b9){return _0x2b1b0e=>new CompletionTooltip(_0x2b1b0e,_0x41fda3,_0x4bf3b9);}function scrollIntoView(_0xbd44ae,_0x50f03b){let _0x33636f=_0xbd44ae['getBoundingClientRect'](),_0x1fc9aa=_0x50f03b['getBoundingClientRect'](),_0x13a910=_0x33636f['height']/_0xbd44ae['offsetHeight'];_0x1fc9aa['top']<_0x33636f['top']?_0xbd44ae['scrollTop']-=(_0x33636f['top']-_0x1fc9aa['top'])/_0x13a910:_0x1fc9aa['bottom']>_0x33636f['bottom']&&(_0xbd44ae['scrollTop']+=(_0x1fc9aa['bottom']-_0x33636f['bottom'])/_0x13a910);}function score(_0x3c4694){return 0x64*(_0x3c4694['boost']||0x0)+(_0x3c4694['apply']?0xa:0x0)+(_0x3c4694['info']?0x5:0x0)+(_0x3c4694['type']?0x1:0x0);}function sortOptions(_0x49a659,_0x5aa210){let _0x40062f=[],_0x36d66b=null,_0x4ef14f=_0x28182f=>{_0x40062f['push'](_0x28182f);let {section:_0x499561}=_0x28182f['completion'];if(_0x499561){_0x36d66b||(_0x36d66b=[]);let _0x52b880='string'==typeof _0x499561?_0x499561:_0x499561['name'];_0x36d66b['some'](_0xb5d41c=>_0xb5d41c['name']==_0x52b880)||_0x36d66b['push']('string'==typeof _0x499561?{'name':_0x52b880}:_0x499561);}},_0x23f329=_0x5aa210['facet'](completionConfig);for(let _0x224804 of _0x49a659)if(_0x224804['hasResult']()){let _0x1a3c3d=_0x224804['result']['getMatch'];if(!0x1===_0x224804['result']['filter']){for(let _0xa94dcd of _0x224804['result']['options'])_0x4ef14f(new Option(_0xa94dcd,_0x224804['source'],_0x1a3c3d?_0x1a3c3d(_0xa94dcd):[],0x3b9aca00-_0x40062f['length']));}else{let _0x2d5cd1,_0x473d95=_0x5aa210['sliceDoc'](_0x224804['from'],_0x224804['to']),_0x47c467=_0x23f329['filterStrict']?new StrictMatcher(_0x473d95):new FuzzyMatcher(_0x473d95);for(let _0x3b5a8c of _0x224804['result']['options'])if(_0x2d5cd1=_0x47c467['match'](_0x3b5a8c['label'])){let _0x393c5d=_0x3b5a8c['displayLabel']?_0x1a3c3d?_0x1a3c3d(_0x3b5a8c,_0x2d5cd1['matched']):[]:_0x2d5cd1['matched'];_0x4ef14f(new Option(_0x3b5a8c,_0x224804['source'],_0x393c5d,_0x2d5cd1['score']+(_0x3b5a8c['boost']||0x0)));}}}if(_0x36d66b){let _0x4e37dc=Object['create'](null),_0x59cf15=0x0,_0xe29dd5=(_0xa72e7f,_0x3af1a4)=>{var _0x1dcaa7,_0x2df5a1;return(null!==(_0x1dcaa7=_0xa72e7f['rank'])&&void 0x0!==_0x1dcaa7?_0x1dcaa7:0x3b9aca00)-(null!==(_0x2df5a1=_0x3af1a4['rank'])&&void 0x0!==_0x2df5a1?_0x2df5a1:0x3b9aca00)||(_0xa72e7f['name']<_0x3af1a4['name']?-0x1:0x1);};for(let _0x2b768f of _0x36d66b['sort'](_0xe29dd5))_0x59cf15-=0x186a0,_0x4e37dc[_0x2b768f['name']]=_0x59cf15;for(let _0x262f9b of _0x40062f){let {section:_0x1257b1}=_0x262f9b['completion'];_0x1257b1&&(_0x262f9b['score']+=_0x4e37dc['string'==typeof _0x1257b1?_0x1257b1:_0x1257b1['name']]);}}let _0x1d5ac6=[],_0x5c2f7a=null,_0x1382ec=_0x23f329['compareCompletions'];for(let _0x39661b of _0x40062f['sort']((_0x494af3,_0x50ddc5)=>_0x50ddc5['score']-_0x494af3['score']||_0x1382ec(_0x494af3['completion'],_0x50ddc5['completion']))){let _0x3e57ba=_0x39661b['completion'];!_0x5c2f7a||_0x5c2f7a['label']!=_0x3e57ba['label']||_0x5c2f7a['detail']!=_0x3e57ba['detail']||null!=_0x5c2f7a['type']&&null!=_0x3e57ba['type']&&_0x5c2f7a['type']!=_0x3e57ba['type']||_0x5c2f7a['apply']!=_0x3e57ba['apply']||_0x5c2f7a['boost']!=_0x3e57ba['boost']?_0x1d5ac6['push'](_0x39661b):score(_0x39661b['completion'])>score(_0x5c2f7a)&&(_0x1d5ac6[_0x1d5ac6['length']-0x1]=_0x39661b),_0x5c2f7a=_0x39661b['completion'];}return _0x1d5ac6;}class CompletionDialog{constructor(_0x1bb9cd,_0x2ee22c,_0x39a0dd,_0x39f38d,_0x12ffcf,_0x104aed){this['options']=_0x1bb9cd,this['attrs']=_0x2ee22c,this['tooltip']=_0x39a0dd,this['timestamp']=_0x39f38d,this['selected']=_0x12ffcf,this['disabled']=_0x104aed;}['setSelected'](_0x22fab3,_0x29a4d9){return _0x22fab3==this['selected']||_0x22fab3>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x29a4d9,_0x22fab3),this['tooltip'],this['timestamp'],_0x22fab3,this['disabled']);}static['build'](_0x5a786d,_0x8b7679,_0x1e366b,_0xab8cb3,_0x24312b,_0x22fc10){if(_0xab8cb3&&!_0x22fc10&&_0x5a786d['some'](_0x13d419=>_0x13d419['isPending']))return _0xab8cb3['setDisabled']();let _0x957e78=sortOptions(_0x5a786d,_0x8b7679);if(!_0x957e78['length'])return _0xab8cb3&&_0x5a786d['some'](_0x36e269=>_0x36e269['isPending'])?_0xab8cb3['setDisabled']():null;let _0x197bdc=_0x8b7679['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0xab8cb3&&_0xab8cb3['selected']!=_0x197bdc&&-0x1!=_0xab8cb3['selected']){let _0x335961=_0xab8cb3['options'][_0xab8cb3['selected']]['completion'];for(let _0x293bf9=0x0;_0x293bf9<_0x957e78['length'];_0x293bf9++)if(_0x957e78[_0x293bf9]['completion']==_0x335961){_0x197bdc=_0x293bf9;break;}}return new CompletionDialog(_0x957e78,makeAttrs(_0x1e366b,_0x197bdc),{'pos':_0x5a786d['reduce']((_0x47a356,_0x1b1ea2)=>_0x1b1ea2['hasResult']()?Math['min'](_0x47a356,_0x1b1ea2['from']):_0x47a356,0x5f5e100),'create':createTooltip,'above':_0x24312b['aboveCursor']},_0xab8cb3?_0xab8cb3['timestamp']:Date['now'](),_0x197bdc,!0x1);}['map'](_0x2fe782){return new CompletionDialog(this['options'],this['attrs'],Object['assign'](Object['assign']({},this['tooltip']),{'pos':_0x2fe782['mapPos'](this['tooltip']['pos'])}),this['timestamp'],this['selected'],this['disabled']);}['setDisabled'](){return new CompletionDialog(this['options'],this['attrs'],this['tooltip'],this['timestamp'],this['selected'],!0x0);}}class CompletionState{constructor(_0x136d0c,_0x4ce63,_0x11d5a4){this['active']=_0x136d0c,this['id']=_0x4ce63,this['open']=_0x11d5a4;}static['start'](){return new CompletionState(none$1,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x1466e3){let {state:_0x2646de}=_0x1466e3,_0x3cb887=_0x2646de['facet'](completionConfig),_0x25f9c5=(_0x3cb887['override']||_0x2646de['languageDataAt']('autocomplete',cur(_0x2646de))['map'](asSource))['map'](_0x5f25ca=>{let _0x105527=this['active']['find'](_0x1c8a32=>_0x1c8a32['source']==_0x5f25ca)||new ActiveSource(_0x5f25ca,this['active']['some'](_0x1404c4=>0x0!=_0x1404c4['state'])?0x1:0x0);return _0x105527['update'](_0x1466e3,_0x3cb887);});_0x25f9c5['length']==this['active']['length']&&_0x25f9c5['every']((_0x70f973,_0x55a900)=>_0x70f973==this['active'][_0x55a900])&&(_0x25f9c5=this['active']);let _0x4a4df7=this['open'],_0xabf889=_0x1466e3['effects']['some'](_0x584835=>_0x584835['is'](setActiveEffect));_0x4a4df7&&_0x1466e3['docChanged']&&(_0x4a4df7=_0x4a4df7['map'](_0x1466e3['changes'])),_0x1466e3['selection']||_0x25f9c5['some'](_0x1fe9bf=>_0x1fe9bf['hasResult']()&&_0x1466e3['changes']['touchesRange'](_0x1fe9bf['from'],_0x1fe9bf['to']))||!sameResults(_0x25f9c5,this['active'])||_0xabf889?_0x4a4df7=CompletionDialog['build'](_0x25f9c5,_0x2646de,this['id'],_0x4a4df7,_0x3cb887,_0xabf889):_0x4a4df7&&_0x4a4df7['disabled']&&!_0x25f9c5['some'](_0x3f174e=>_0x3f174e['isPending'])&&(_0x4a4df7=null),!_0x4a4df7&&_0x25f9c5['every'](_0x3034a2=>!_0x3034a2['isPending'])&&_0x25f9c5['some'](_0x1313bd=>_0x1313bd['hasResult']())&&(_0x25f9c5=_0x25f9c5['map'](_0x1649ed=>_0x1649ed['hasResult']()?new ActiveSource(_0x1649ed['source'],0x0):_0x1649ed));for(let _0x236144 of _0x1466e3['effects'])_0x236144['is'](setSelectedEffect)&&(_0x4a4df7=_0x4a4df7&&_0x4a4df7['setSelected'](_0x236144['value'],this['id']));return _0x25f9c5==this['active']&&_0x4a4df7==this['open']?this:new CompletionState(_0x25f9c5,this['id'],_0x4a4df7);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x3688e3,_0x450486){if(_0x3688e3==_0x450486)return!0x0;for(let _0x597ac2=0x0,_0x3777c4=0x0;;){for(;_0x597ac2<_0x3688e3['length']&&!_0x3688e3[_0x597ac2]['hasResult']();)_0x597ac2++;for(;_0x3777c4<_0x450486['length']&&!_0x450486[_0x3777c4]['hasResult']();)_0x3777c4++;let _0xe1a44d=_0x597ac2==_0x3688e3['length'],_0x50e2c5=_0x3777c4==_0x450486['length'];if(_0xe1a44d||_0x50e2c5)return _0xe1a44d==_0x50e2c5;if(_0x3688e3[_0x597ac2++]['result']!=_0x450486[_0x3777c4++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x34e2bd,_0x1426f7){let _0x60f86b={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x34e2bd};return _0x1426f7>-0x1&&(_0x60f86b['aria-activedescendant']=_0x34e2bd+'-'+_0x1426f7),_0x60f86b;}const none$1=[];function getUpdateType(_0x211edd,_0xceaca3){if(_0x211edd['isUserEvent']('input.complete')){let _0x21dba3=_0x211edd['annotation'](pickedCompletion);if(_0x21dba3&&_0xceaca3['activateOnCompletion'](_0x21dba3))return 0xc;}let _0x21e874=_0x211edd['isUserEvent']('input.type');return _0x21e874&&_0xceaca3['activateOnTyping']?0x5:_0x21e874?0x1:_0x211edd['isUserEvent']('delete.backward')?0x2:_0x211edd['selection']?0x8:_0x211edd['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x2c033c,_0x31738f,_0x5415be=!0x1){this['source']=_0x2c033c,this['state']=_0x31738f,this['explicit']=_0x5415be;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x2c7e68,_0xbba85){let _0x44ab60=getUpdateType(_0x2c7e68,_0xbba85),_0x3d1516=this;(0x8&_0x44ab60||0x10&_0x44ab60&&this['touches'](_0x2c7e68))&&(_0x3d1516=new ActiveSource(_0x3d1516['source'],0x0)),0x4&_0x44ab60&&0x0==_0x3d1516['state']&&(_0x3d1516=new ActiveSource(this['source'],0x1)),_0x3d1516=_0x3d1516['updateFor'](_0x2c7e68,_0x44ab60);for(let _0x46a113 of _0x2c7e68['effects'])if(_0x46a113['is'](startCompletionEffect))_0x3d1516=new ActiveSource(_0x3d1516['source'],0x1,_0x46a113['value']);else{if(_0x46a113['is'](closeCompletionEffect))_0x3d1516=new ActiveSource(_0x3d1516['source'],0x0);else{if(_0x46a113['is'](setActiveEffect)){for(let _0x2a7fec of _0x46a113['value'])_0x2a7fec['source']==_0x3d1516['source']&&(_0x3d1516=_0x2a7fec);}}}return _0x3d1516;}['updateFor'](_0x4bbeb6,_0x1304d){return this['map'](_0x4bbeb6['changes']);}['map'](_0x30cb2b){return this;}['touches'](_0x58aab7){return _0x58aab7['changes']['touchesRange'](cur(_0x58aab7['state']));}}class ActiveResult extends ActiveSource{constructor(_0x3b2677,_0x320c9c,_0x4fb86c,_0x1de736,_0x402ebd,_0x32daef){super(_0x3b2677,0x3,_0x320c9c),this['limit']=_0x4fb86c,this['result']=_0x1de736,this['from']=_0x402ebd,this['to']=_0x32daef;}['hasResult'](){return!0x0;}['updateFor'](_0x1c5337,_0x51c548){var _0x286afe;if(!(0x3&_0x51c548))return this['map'](_0x1c5337['changes']);let _0x461ba7=this['result'];_0x461ba7['map']&&!_0x1c5337['changes']['empty']&&(_0x461ba7=_0x461ba7['map'](_0x461ba7,_0x1c5337['changes']));let _0x1a6189=_0x1c5337['changes']['mapPos'](this['from']),_0x28d264=_0x1c5337['changes']['mapPos'](this['to'],0x1),_0x2fba59=cur(_0x1c5337['state']);if(_0x2fba59>_0x28d264||!_0x461ba7||0x2&_0x51c548&&(cur(_0x1c5337['startState'])==this['from']||_0x2fba59<this['limit']))return new ActiveSource(this['source'],0x4&_0x51c548?0x1:0x0);let _0x3a9a8c=_0x1c5337['changes']['mapPos'](this['limit']);return checkValid(_0x461ba7['validFor'],_0x1c5337['state'],_0x1a6189,_0x28d264)?new ActiveResult(this['source'],this['explicit'],_0x3a9a8c,_0x461ba7,_0x1a6189,_0x28d264):_0x461ba7['update']&&(_0x461ba7=_0x461ba7['update'](_0x461ba7,_0x1a6189,_0x28d264,new CompletionContext(_0x1c5337['state'],_0x2fba59,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x3a9a8c,_0x461ba7,_0x461ba7['from'],null!==(_0x286afe=_0x461ba7['to'])&&void 0x0!==_0x286afe?_0x286afe:cur(_0x1c5337['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0xad1740){if(_0xad1740['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0xad1740):this['result'])?new ActiveResult(this['source'],this['explicit'],_0xad1740['mapPos'](this['limit']),this['result'],_0xad1740['mapPos'](this['from']),_0xad1740['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x18eb41){return _0x18eb41['changes']['touchesRange'](this['from'],this['to']);}}function checkValid(_0x3f09d3,_0xf878ec,_0xbf902a,_0x444bf8){if(!_0x3f09d3)return!0x1;let _0x57535d=_0xf878ec['sliceDoc'](_0xbf902a,_0x444bf8);return'function'==typeof _0x3f09d3?_0x3f09d3(_0x57535d,_0xbf902a,_0x444bf8,_0xf878ec):ensureAnchor(_0x3f09d3,!0x0)['test'](_0x57535d);}const setActiveEffect=StateEffect['define']({'map':(_0x5caf06,_0x3b5a7d)=>_0x5caf06['map'](_0x365266=>_0x365266['map'](_0x3b5a7d))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x3a07ab,_0x53b9bd)=>_0x3a07ab['update'](_0x53b9bd),'provide':_0xd8871a=>[showTooltip['from'](_0xd8871a,_0x20d3d2=>_0x20d3d2['tooltip']),EditorView['contentAttributes']['from'](_0xd8871a,_0x4ed3c8=>_0x4ed3c8['attrs'])]});function applyCompletion(_0x230d85,_0xc8a10e){const _0x4b46c0=_0xc8a10e['completion']['apply']||_0xc8a10e['completion']['label'];let _0x1e81a4=_0x230d85['state']['field'](completionState)['active']['find'](_0x2874f5=>_0x2874f5['source']==_0xc8a10e['source']);return _0x1e81a4 instanceof ActiveResult&&('string'==typeof _0x4b46c0?_0x230d85['dispatch'](Object['assign'](Object['assign']({},insertCompletionText(_0x230d85['state'],_0x4b46c0,_0x1e81a4['from'],_0x1e81a4['to'])),{'annotations':pickedCompletion['of'](_0xc8a10e['completion'])})):_0x4b46c0(_0x230d85,_0xc8a10e['completion'],_0x1e81a4['from'],_0x1e81a4['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x20e1d3,_0x56bd60='option'){return _0x559211=>{let _0x661b56=_0x559211['state']['field'](completionState,!0x1);if(!_0x661b56||!_0x661b56['open']||_0x661b56['open']['disabled']||Date['now']()-_0x661b56['open']['timestamp']<_0x559211['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x1b82a8,_0x95af4c=0x1;'page'==_0x56bd60&&(_0x1b82a8=getTooltip(_0x559211,_0x661b56['open']['tooltip']))&&(_0x95af4c=Math['max'](0x2,Math['floor'](_0x1b82a8['dom']['offsetHeight']/_0x1b82a8['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x2c3649}=_0x661b56['open']['options'],_0x2d8a3d=_0x661b56['open']['selected']>-0x1?_0x661b56['open']['selected']+_0x95af4c*(_0x20e1d3?0x1:-0x1):_0x20e1d3?0x0:_0x2c3649-0x1;return _0x2d8a3d<0x0?_0x2d8a3d='page'==_0x56bd60?0x0:_0x2c3649-0x1:_0x2d8a3d>=_0x2c3649&&(_0x2d8a3d='page'==_0x56bd60?_0x2c3649-0x1:0x0),_0x559211['dispatch']({'effects':setSelectedEffect['of'](_0x2d8a3d)}),!0x0;};}const acceptCompletion=_0x4a8eb9=>{let _0x376dc3=_0x4a8eb9['state']['field'](completionState,!0x1);return!(_0x4a8eb9['state']['readOnly']||!_0x376dc3||!_0x376dc3['open']||_0x376dc3['open']['selected']<0x0||_0x376dc3['open']['disabled']||Date['now']()-_0x376dc3['open']['timestamp']<_0x4a8eb9['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x4a8eb9,_0x376dc3['open']['options'][_0x376dc3['open']['selected']]);},startCompletion=_0x1c5fbf=>!!_0x1c5fbf['state']['field'](completionState,!0x1)&&(_0x1c5fbf['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x5e010b=>{let _0xf3c023=_0x5e010b['state']['field'](completionState,!0x1);return!(!_0xf3c023||!_0xf3c023['active']['some'](_0x28d287=>0x0!=_0x28d287['state']))&&(_0x5e010b['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class RunningQuery{constructor(_0x4840c8,_0x1b83e5){this['active']=_0x4840c8,this['context']=_0x1b83e5,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=ViewPlugin['fromClass'](class{constructor(_0x2de9a2){this['view']=_0x2de9a2,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x4cb7f9 of _0x2de9a2['state']['field'](completionState)['active'])_0x4cb7f9['isPending']&&this['startQuery'](_0x4cb7f9);}['update'](_0x199e48){let _0x53d995=_0x199e48['state']['field'](completionState),_0x10c910=_0x199e48['state']['facet'](completionConfig);if(!_0x199e48['selectionSet']&&!_0x199e48['docChanged']&&_0x199e48['startState']['field'](completionState)==_0x53d995)return;let _0x3e513b=_0x199e48['transactions']['some'](_0x9ea59d=>{let _0x4236a3=getUpdateType(_0x9ea59d,_0x10c910);return 0x8&_0x4236a3||(_0x9ea59d['selection']||_0x9ea59d['docChanged'])&&!(0x3&_0x4236a3);});for(let _0x8ad028=0x0;_0x8ad028<this['running']['length'];_0x8ad028++){let _0x8463b6=this['running'][_0x8ad028];if(_0x3e513b||_0x8463b6['context']['abortOnDocChange']&&_0x199e48['docChanged']||_0x8463b6['updates']['length']+_0x199e48['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x8463b6['time']>MinAbortTime){for(let _0x877d73 of _0x8463b6['context']['abortListeners'])try{_0x877d73();}catch(_0x20f5a8){logException(this['view']['state'],_0x20f5a8);}_0x8463b6['context']['abortListeners']=null,this['running']['splice'](_0x8ad028--,0x1);}else _0x8463b6['updates']['push'](..._0x199e48['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x199e48['transactions']['some'](_0x41b930=>_0x41b930['effects']['some'](_0x49f929=>_0x49f929['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x2a0c83=this['pendingStart']?0x32:_0x10c910['activateOnTypingDelay'];if(this['debounceUpdate']=_0x53d995['active']['some'](_0x5b2e09=>_0x5b2e09['isPending']&&!this['running']['some'](_0x19b5be=>_0x19b5be['active']['source']==_0x5b2e09['source']))?setTimeout(()=>this['startUpdate'](),_0x2a0c83):-0x1,0x0!=this['composing']){for(let _0x177f60 of _0x199e48['transactions'])_0x177f60['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x177f60['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x368e7c}=this['view'],_0x4f36c1=_0x368e7c['field'](completionState);for(let _0x4a21e7 of _0x4f36c1['active'])_0x4a21e7['isPending']&&!this['running']['some'](_0x99b898=>_0x99b898['active']['source']==_0x4a21e7['source'])&&this['startQuery'](_0x4a21e7);this['running']['length']&&_0x4f36c1['open']&&_0x4f36c1['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x3ed305){let {state:_0xad9eb9}=this['view'],_0x3af608=cur(_0xad9eb9),_0x20ddc7=new CompletionContext(_0xad9eb9,_0x3af608,_0x3ed305['explicit'],this['view']),_0x4bf106=new RunningQuery(_0x3ed305,_0x20ddc7);this['running']['push'](_0x4bf106),Promise['resolve'](_0x3ed305['source'](_0x20ddc7))['then'](_0x5790e8=>{_0x4bf106['context']['aborted']||(_0x4bf106['done']=_0x5790e8||null,this['scheduleAccept']());},_0x48edb5=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x48edb5);});}['scheduleAccept'](){this['running']['every'](_0x117f61=>void 0x0!==_0x117f61['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x396643;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x40d3da=[],_0x43c178=this['view']['state']['facet'](completionConfig),_0x52e1ae=this['view']['state']['field'](completionState);for(let _0x29a1e5=0x0;_0x29a1e5<this['running']['length'];_0x29a1e5++){let _0x238cfe=this['running'][_0x29a1e5];if(void 0x0===_0x238cfe['done'])continue;if(this['running']['splice'](_0x29a1e5--,0x1),_0x238cfe['done']){let _0x4e26c1=cur(_0x238cfe['updates']['length']?_0x238cfe['updates'][0x0]['startState']:this['view']['state']),_0x47fcc2=Math['min'](_0x4e26c1,_0x238cfe['done']['from']+(_0x238cfe['active']['explicit']?0x0:0x1)),_0x37d1c3=new ActiveResult(_0x238cfe['active']['source'],_0x238cfe['active']['explicit'],_0x47fcc2,_0x238cfe['done'],_0x238cfe['done']['from'],null!==(_0x396643=_0x238cfe['done']['to'])&&void 0x0!==_0x396643?_0x396643:_0x4e26c1);for(let _0x19c05e of _0x238cfe['updates'])_0x37d1c3=_0x37d1c3['update'](_0x19c05e,_0x43c178);if(_0x37d1c3['hasResult']()){_0x40d3da['push'](_0x37d1c3);continue;}}let _0x5ba1e5=_0x52e1ae['active']['find'](_0x2817f4=>_0x2817f4['source']==_0x238cfe['active']['source']);if(_0x5ba1e5&&_0x5ba1e5['isPending']){if(null==_0x238cfe['done']){let _0x2886c3=new ActiveSource(_0x238cfe['active']['source'],0x0);for(let _0x3bf846 of _0x238cfe['updates'])_0x2886c3=_0x2886c3['update'](_0x3bf846,_0x43c178);_0x2886c3['isPending']||_0x40d3da['push'](_0x2886c3);}else this['startQuery'](_0x5ba1e5);}}(_0x40d3da['length']||_0x52e1ae['open']&&_0x52e1ae['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0x40d3da)});}},{'eventHandlers':{'blur'(_0x67b314){let _0x160a07=this['view']['state']['field'](completionState,!0x1);if(_0x160a07&&_0x160a07['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x3c16a4=_0x160a07['open']&&getTooltip(this['view'],_0x160a07['open']['tooltip']);_0x3c16a4&&_0x3c16a4['dom']['contains'](_0x67b314['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':startCompletionEffect['of'](!0x1)}),0x14),this['composing']=0x0;}}}),windows='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=Prec['highest'](EditorView['domEventHandlers']({'keydown'(_0x56aa80,_0xf146b1){let _0x2a9af7=_0xf146b1['state']['field'](completionState,!0x1);if(!_0x2a9af7||!_0x2a9af7['open']||_0x2a9af7['open']['disabled']||_0x2a9af7['open']['selected']<0x0||_0x56aa80['key']['length']>0x1||_0x56aa80['ctrlKey']&&(!windows||!_0x56aa80['altKey'])||_0x56aa80['metaKey'])return!0x1;let _0x31e467=_0x2a9af7['open']['options'][_0x2a9af7['open']['selected']],_0x24f273=_0x2a9af7['active']['find'](_0x3f6551=>_0x3f6551['source']==_0x31e467['source']),_0x2b48fe=_0x31e467['completion']['commitCharacters']||_0x24f273['result']['commitCharacters'];return _0x2b48fe&&_0x2b48fe['indexOf'](_0x56aa80['key'])>-0x1&&applyCompletion(_0xf146b1,_0x31e467),!0x1;}})),baseTheme=EditorView['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});class FieldPos{constructor(_0x579ca7,_0xfa1958,_0x429dd3,_0x4da4d6){this['field']=_0x579ca7,this['line']=_0xfa1958,this['from']=_0x429dd3,this['to']=_0x4da4d6;}}class FieldRange{constructor(_0x29cbf6,_0x590ae3,_0x323004){this['field']=_0x29cbf6,this['from']=_0x590ae3,this['to']=_0x323004;}['map'](_0x405a22){let _0x14fcac=_0x405a22['mapPos'](this['from'],-0x1,MapMode['TrackDel']),_0x1368e3=_0x405a22['mapPos'](this['to'],0x1,MapMode['TrackDel']);return null==_0x14fcac||null==_0x1368e3?null:new FieldRange(this['field'],_0x14fcac,_0x1368e3);}}class Snippet{constructor(_0x1e367a,_0x469d93){this['lines']=_0x1e367a,this['fieldPositions']=_0x469d93;}['instantiate'](_0x159375,_0x4c3ae6){let _0x3faf1c=[],_0x309506=[_0x4c3ae6],_0x5e49f2=_0x159375['doc']['lineAt'](_0x4c3ae6),_0x37c614=/^\s*/['exec'](_0x5e49f2['text'])[0x0];for(let _0x295278 of this['lines']){if(_0x3faf1c['length']){let _0x159ed3=_0x37c614,_0x5f3dcf=/^\t*/['exec'](_0x295278)[0x0]['length'];for(let _0x5e469b=0x0;_0x5e469b<_0x5f3dcf;_0x5e469b++)_0x159ed3+=_0x159375['facet'](indentUnit);_0x309506['push'](_0x4c3ae6+_0x159ed3['length']-_0x5f3dcf),_0x295278=_0x159ed3+_0x295278['slice'](_0x5f3dcf);}_0x3faf1c['push'](_0x295278),_0x4c3ae6+=_0x295278['length']+0x1;}let _0xd139e4=this['fieldPositions']['map'](_0x42d4aa=>new FieldRange(_0x42d4aa['field'],_0x309506[_0x42d4aa['line']]+_0x42d4aa['from'],_0x309506[_0x42d4aa['line']]+_0x42d4aa['to']));return{'text':_0x3faf1c,'ranges':_0xd139e4};}static['parse'](_0x190049){let _0x3fff50,_0x12e149=[],_0x5ae0a4=[],_0x1693bb=[];for(let _0xf25754 of _0x190049['split'](/\r\n?|\n/)){for(;_0x3fff50=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/['exec'](_0xf25754);){let _0x4081cb=_0x3fff50[0x1]?+_0x3fff50[0x1]:null,_0x3a05f5=_0x3fff50[0x2]||_0x3fff50[0x3]||'',_0x5c1eeb=-0x1,_0x5de15d=_0x3a05f5['replace'](/\\[{}]/g,_0x1af6bd=>_0x1af6bd[0x1]);for(let _0x30173c=0x0;_0x30173c<_0x12e149['length'];_0x30173c++)(null!=_0x4081cb?_0x12e149[_0x30173c]['seq']==_0x4081cb:_0x5de15d&&_0x12e149[_0x30173c]['name']==_0x5de15d)&&(_0x5c1eeb=_0x30173c);if(_0x5c1eeb<0x0){let _0x5ad219=0x0;for(;_0x5ad219<_0x12e149['length']&&(null==_0x4081cb||null!=_0x12e149[_0x5ad219]['seq']&&_0x12e149[_0x5ad219]['seq']<_0x4081cb);)_0x5ad219++;_0x12e149['splice'](_0x5ad219,0x0,{'seq':_0x4081cb,'name':_0x5de15d}),_0x5c1eeb=_0x5ad219;for(let _0x59b336 of _0x1693bb)_0x59b336['field']>=_0x5c1eeb&&_0x59b336['field']++;}_0x1693bb['push'](new FieldPos(_0x5c1eeb,_0x5ae0a4['length'],_0x3fff50['index'],_0x3fff50['index']+_0x5de15d['length'])),_0xf25754=_0xf25754['slice'](0x0,_0x3fff50['index'])+_0x3a05f5+_0xf25754['slice'](_0x3fff50['index']+_0x3fff50[0x0]['length']);}_0xf25754=_0xf25754['replace'](/\\([{}])/g,(_0x6dd869,_0x372a28,_0x954157)=>{for(let _0x14f3ae of _0x1693bb)_0x14f3ae['line']==_0x5ae0a4['length']&&_0x14f3ae['from']>_0x954157&&(_0x14f3ae['from']--,_0x14f3ae['to']--);return _0x372a28;}),_0x5ae0a4['push'](_0xf25754);}return new Snippet(_0x5ae0a4,_0x1693bb);}}let fieldMarker=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x178ba3=document['createElement']('span');return _0x178ba3['className']='cm-snippetFieldPosition',_0x178ba3;}['ignoreEvent'](){return!0x1;}}()}),fieldRange=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x275b1f,_0x191d06){this['ranges']=_0x275b1f,this['active']=_0x191d06,this['deco']=Decoration['set'](_0x275b1f['map'](_0x28dfbb=>(_0x28dfbb['from']==_0x28dfbb['to']?fieldMarker:fieldRange)['range'](_0x28dfbb['from'],_0x28dfbb['to'])));}['map'](_0x381312){let _0x51ddbc=[];for(let _0x110b57 of this['ranges']){let _0x1784ca=_0x110b57['map'](_0x381312);if(!_0x1784ca)return null;_0x51ddbc['push'](_0x1784ca);}return new ActiveSnippet(_0x51ddbc,this['active']);}['selectionInsideField'](_0x5cf3c3){return _0x5cf3c3['ranges']['every'](_0xddf450=>this['ranges']['some'](_0x15172e=>_0x15172e['field']==this['active']&&_0x15172e['from']<=_0xddf450['from']&&_0x15172e['to']>=_0xddf450['to']));}}const setActive=StateEffect['define']({'map':(_0x31d014,_0x31dd6f)=>_0x31d014&&_0x31d014['map'](_0x31dd6f)}),moveToField=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x477eed,_0x4aca60){for(let _0x464aa5 of _0x4aca60['effects']){if(_0x464aa5['is'](setActive))return _0x464aa5['value'];if(_0x464aa5['is'](moveToField)&&_0x477eed)return new ActiveSnippet(_0x477eed['ranges'],_0x464aa5['value']);}return _0x477eed&&_0x4aca60['docChanged']&&(_0x477eed=_0x477eed['map'](_0x4aca60['changes'])),_0x477eed&&_0x4aca60['selection']&&!_0x477eed['selectionInsideField'](_0x4aca60['selection'])&&(_0x477eed=null),_0x477eed;},'provide':_0x2679bd=>EditorView['decorations']['from'](_0x2679bd,_0x41d315=>_0x41d315?_0x41d315['deco']:Decoration['none'])});function fieldSelection(_0x4002e9,_0x11fee2){return EditorSelection['create'](_0x4002e9['filter'](_0x338813=>_0x338813['field']==_0x11fee2)['map'](_0x189c7f=>EditorSelection['range'](_0x189c7f['from'],_0x189c7f['to'])));}function snippet(_0x34c683){let _0x293725=Snippet['parse'](_0x34c683);return(_0x1df4c6,_0x2b6635,_0x4838c4,_0x16c71e)=>{let {text:_0x537f4b,ranges:_0x3789a9}=_0x293725['instantiate'](_0x1df4c6['state'],_0x4838c4),{main:_0x1a9444}=_0x1df4c6['state']['selection'],_0x47ed8={'changes':{'from':_0x4838c4,'to':_0x16c71e==_0x1a9444['from']?_0x1a9444['to']:_0x16c71e,'insert':Text['of'](_0x537f4b)},'scrollIntoView':!0x0,'annotations':_0x2b6635?[pickedCompletion['of'](_0x2b6635),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x3789a9['length']&&(_0x47ed8['selection']=fieldSelection(_0x3789a9,0x0)),_0x3789a9['some'](_0x344e2a=>_0x344e2a['field']>0x0)){let _0x5ad3a2=new ActiveSnippet(_0x3789a9,0x0),_0x34d317=_0x47ed8['effects']=[setActive['of'](_0x5ad3a2)];void 0x0===_0x1df4c6['state']['field'](snippetState,!0x1)&&_0x34d317['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,baseTheme]));}_0x1df4c6['dispatch'](_0x1df4c6['state']['update'](_0x47ed8));};}function moveField(_0x58b285){return({state:_0x2014a7,dispatch:_0x4d93b5})=>{let _0x2df5af=_0x2014a7['field'](snippetState,!0x1);if(!_0x2df5af||_0x58b285<0x0&&0x0==_0x2df5af['active'])return!0x1;let _0x55bb2a=_0x2df5af['active']+_0x58b285,_0x181bb5=_0x58b285>0x0&&!_0x2df5af['ranges']['some'](_0x1c7db9=>_0x1c7db9['field']==_0x55bb2a+_0x58b285);return _0x4d93b5(_0x2014a7['update']({'selection':fieldSelection(_0x2df5af['ranges'],_0x55bb2a),'effects':setActive['of'](_0x181bb5?null:new ActiveSnippet(_0x2df5af['ranges'],_0x55bb2a)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x4f107f,dispatch:_0x13a2cc})=>!!_0x4f107f['field'](snippetState,!0x1)&&(_0x13a2cc(_0x4f107f['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=moveField(0x1),prevSnippetField=moveField(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x5906be=>_0x5906be['length']?_0x5906be[0x0]:defaultSnippetKeymap}),addSnippetKeymap=Prec['highest'](keymap['compute']([snippetKeymap],_0x19641e=>_0x19641e['facet'](snippetKeymap)));function snippetCompletion(_0x3f9260,_0x1f9c19){return Object['assign'](Object['assign']({},_0x1f9c19),{'apply':snippet(_0x3f9260)});}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x595993,_0x215404){let _0x1d60be,_0x1c7e52=_0x215404['state']['field'](snippetState,!0x1);if(!_0x1c7e52||null==(_0x1d60be=_0x215404['posAtCoords']({'x':_0x595993['clientX'],'y':_0x595993['clientY']})))return!0x1;let _0x253c14=_0x1c7e52['ranges']['find'](_0x21eb05=>_0x21eb05['from']<=_0x1d60be&&_0x21eb05['to']>=_0x1d60be);return!(!_0x253c14||_0x253c14['field']==_0x1c7e52['active'])&&(_0x215404['dispatch']({'selection':fieldSelection(_0x1c7e52['ranges'],_0x253c14['field']),'effects':setActive['of'](_0x1c7e52['ranges']['some'](_0x5f2a70=>_0x5f2a70['field']>_0x253c14['field'])?new ActiveSnippet(_0x1c7e52['ranges'],_0x253c14['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x21e312,_0x2a7033){let _0xd87fa8=_0x2a7033['mapPos'](_0x21e312,-0x1,MapMode['TrackAfter']);return null==_0xd87fa8?void 0x0:_0xd87fa8;}}),closedBracket=new class extends RangeValue{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x1e7100,_0x1dbe4a){if(_0x1e7100=_0x1e7100['map'](_0x1dbe4a['changes']),_0x1dbe4a['selection']){let _0x51dfe3=_0x1dbe4a['state']['doc']['lineAt'](_0x1dbe4a['selection']['main']['head']);_0x1e7100=_0x1e7100['update']({'filter':_0x58cce7=>_0x58cce7>=_0x51dfe3['from']&&_0x58cce7<=_0x51dfe3['to']});}for(let _0x310764 of _0x1dbe4a['effects'])_0x310764['is'](closeBracketEffect)&&(_0x1e7100=_0x1e7100['update']({'add':[closedBracket['range'](_0x310764['value'],_0x310764['value']+0x1)]}));return _0x1e7100;}});function closeBrackets(){return[inputHandler,bracketState];}const definedClosing='()[]{}<>«»»«［］｛｝';function closing(_0x1ade36){for(let _0x2aa11d=0x0;_0x2aa11d<definedClosing['length'];_0x2aa11d+=0x2)if(definedClosing['charCodeAt'](_0x2aa11d)==_0x1ade36)return definedClosing['charAt'](_0x2aa11d+0x1);return fromCodePoint(_0x1ade36<0x80?_0x1ade36:_0x1ade36+0x1);}function config(_0x4309e7,_0x4929de){return _0x4309e7['languageDataAt']('closeBrackets',_0x4929de)[0x0]||defaults;}const android$1='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x25711d,_0x2af333,_0x1d272c,_0x364059)=>{if((android$1?_0x25711d['composing']:_0x25711d['compositionStarted'])||_0x25711d['state']['readOnly'])return!0x1;let _0xbb9288=_0x25711d['state']['selection']['main'];if(_0x364059['length']>0x2||0x2==_0x364059['length']&&0x1==codePointSize(codePointAt(_0x364059,0x0))||_0x2af333!=_0xbb9288['from']||_0x1d272c!=_0xbb9288['to'])return!0x1;let _0x4eea4c=insertBracket(_0x25711d['state'],_0x364059);return!!_0x4eea4c&&(_0x25711d['dispatch'](_0x4eea4c),!0x0);}),deleteBracketPair=({state:_0x36b019,dispatch:_0x42ea57})=>{if(_0x36b019['readOnly'])return!0x1;let _0xe13a2e=config(_0x36b019,_0x36b019['selection']['main']['head'])['brackets']||defaults['brackets'],_0x1b0374=null,_0x3cac49=_0x36b019['changeByRange'](_0x778ca5=>{if(_0x778ca5['empty']){let _0x74081e=prevChar(_0x36b019['doc'],_0x778ca5['head']);for(let _0x191f70 of _0xe13a2e)if(_0x191f70==_0x74081e&&nextChar(_0x36b019['doc'],_0x778ca5['head'])==closing(codePointAt(_0x191f70,0x0)))return{'changes':{'from':_0x778ca5['head']-_0x191f70['length'],'to':_0x778ca5['head']+_0x191f70['length']},'range':EditorSelection['cursor'](_0x778ca5['head']-_0x191f70['length'])};}return{'range':_0x1b0374=_0x778ca5};});return _0x1b0374||_0x42ea57(_0x36b019['update'](_0x3cac49,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x1b0374;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x5a34ae,_0x8e117d){let _0x488f7f=config(_0x5a34ae,_0x5a34ae['selection']['main']['head']),_0x279306=_0x488f7f['brackets']||defaults['brackets'];for(let _0x3095cf of _0x279306){let _0x52b6c6=closing(codePointAt(_0x3095cf,0x0));if(_0x8e117d==_0x3095cf)return _0x52b6c6==_0x3095cf?handleSame(_0x5a34ae,_0x3095cf,_0x279306['indexOf'](_0x3095cf+_0x3095cf+_0x3095cf)>-0x1,_0x488f7f):handleOpen(_0x5a34ae,_0x3095cf,_0x52b6c6,_0x488f7f['before']||defaults['before']);if(_0x8e117d==_0x52b6c6&&closedBracketAt(_0x5a34ae,_0x5a34ae['selection']['main']['from']))return handleClose(_0x5a34ae,_0x3095cf,_0x52b6c6);}return null;}function closedBracketAt(_0xa5fb54,_0x12a24b){let _0x585a37=!0x1;return _0xa5fb54['field'](bracketState)['between'](0x0,_0xa5fb54['doc']['length'],_0x104f84=>{_0x104f84==_0x12a24b&&(_0x585a37=!0x0);}),_0x585a37;}function nextChar(_0x4f0201,_0x167464){let _0x2b4c77=_0x4f0201['sliceString'](_0x167464,_0x167464+0x2);return _0x2b4c77['slice'](0x0,codePointSize(codePointAt(_0x2b4c77,0x0)));}function prevChar(_0x784d5,_0x87365a){let _0x434bb3=_0x784d5['sliceString'](_0x87365a-0x2,_0x87365a);return codePointSize(codePointAt(_0x434bb3,0x0))==_0x434bb3['length']?_0x434bb3:_0x434bb3['slice'](0x1);}function handleOpen(_0x1c572f,_0x214727,_0x25cc60,_0x3e3783){let _0x164821=null,_0x3e8a0a=_0x1c572f['changeByRange'](_0x56dcb8=>{if(!_0x56dcb8['empty'])return{'changes':[{'insert':_0x214727,'from':_0x56dcb8['from']},{'insert':_0x25cc60,'from':_0x56dcb8['to']}],'effects':closeBracketEffect['of'](_0x56dcb8['to']+_0x214727['length']),'range':EditorSelection['range'](_0x56dcb8['anchor']+_0x214727['length'],_0x56dcb8['head']+_0x214727['length'])};let _0x358137=nextChar(_0x1c572f['doc'],_0x56dcb8['head']);return!_0x358137||/\s/['test'](_0x358137)||_0x3e3783['indexOf'](_0x358137)>-0x1?{'changes':{'insert':_0x214727+_0x25cc60,'from':_0x56dcb8['head']},'effects':closeBracketEffect['of'](_0x56dcb8['head']+_0x214727['length']),'range':EditorSelection['cursor'](_0x56dcb8['head']+_0x214727['length'])}:{'range':_0x164821=_0x56dcb8};});return _0x164821?null:_0x1c572f['update'](_0x3e8a0a,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function handleClose(_0x334ce5,_0x389130,_0x5842d8){let _0x23bbcd=null,_0x592959=_0x334ce5['changeByRange'](_0x2c972e=>_0x2c972e['empty']&&nextChar(_0x334ce5['doc'],_0x2c972e['head'])==_0x5842d8?{'changes':{'from':_0x2c972e['head'],'to':_0x2c972e['head']+_0x5842d8['length'],'insert':_0x5842d8},'range':EditorSelection['cursor'](_0x2c972e['head']+_0x5842d8['length'])}:_0x23bbcd={'range':_0x2c972e});return _0x23bbcd?null:_0x334ce5['update'](_0x592959,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function handleSame(_0xb75648,_0x2583c7,_0x3a6567,_0x3eeced){let _0x4e460e=_0x3eeced['stringPrefixes']||defaults['stringPrefixes'],_0x102561=null,_0xd617fc=_0xb75648['changeByRange'](_0x357663=>{if(!_0x357663['empty'])return{'changes':[{'insert':_0x2583c7,'from':_0x357663['from']},{'insert':_0x2583c7,'from':_0x357663['to']}],'effects':closeBracketEffect['of'](_0x357663['to']+_0x2583c7['length']),'range':EditorSelection['range'](_0x357663['anchor']+_0x2583c7['length'],_0x357663['head']+_0x2583c7['length'])};let _0x35f154,_0x1bca4d=_0x357663['head'],_0x53b7de=nextChar(_0xb75648['doc'],_0x1bca4d);if(_0x53b7de==_0x2583c7){if(nodeStart(_0xb75648,_0x1bca4d))return{'changes':{'insert':_0x2583c7+_0x2583c7,'from':_0x1bca4d},'effects':closeBracketEffect['of'](_0x1bca4d+_0x2583c7['length']),'range':EditorSelection['cursor'](_0x1bca4d+_0x2583c7['length'])};if(closedBracketAt(_0xb75648,_0x1bca4d)){let _0x5900f1=_0x3a6567&&_0xb75648['sliceDoc'](_0x1bca4d,_0x1bca4d+0x3*_0x2583c7['length'])==_0x2583c7+_0x2583c7+_0x2583c7?_0x2583c7+_0x2583c7+_0x2583c7:_0x2583c7;return{'changes':{'from':_0x1bca4d,'to':_0x1bca4d+_0x5900f1['length'],'insert':_0x5900f1},'range':EditorSelection['cursor'](_0x1bca4d+_0x5900f1['length'])};}}else{if(_0x3a6567&&_0xb75648['sliceDoc'](_0x1bca4d-0x2*_0x2583c7['length'],_0x1bca4d)==_0x2583c7+_0x2583c7&&(_0x35f154=canStartStringAt(_0xb75648,_0x1bca4d-0x2*_0x2583c7['length'],_0x4e460e))>-0x1&&nodeStart(_0xb75648,_0x35f154))return{'changes':{'insert':_0x2583c7+_0x2583c7+_0x2583c7+_0x2583c7,'from':_0x1bca4d},'effects':closeBracketEffect['of'](_0x1bca4d+_0x2583c7['length']),'range':EditorSelection['cursor'](_0x1bca4d+_0x2583c7['length'])};if(_0xb75648['charCategorizer'](_0x1bca4d)(_0x53b7de)!=CharCategory['Word']&&canStartStringAt(_0xb75648,_0x1bca4d,_0x4e460e)>-0x1&&!probablyInString(_0xb75648,_0x1bca4d,_0x2583c7,_0x4e460e))return{'changes':{'insert':_0x2583c7+_0x2583c7,'from':_0x1bca4d},'effects':closeBracketEffect['of'](_0x1bca4d+_0x2583c7['length']),'range':EditorSelection['cursor'](_0x1bca4d+_0x2583c7['length'])};}return{'range':_0x102561=_0x357663};});return _0x102561?null:_0xb75648['update'](_0xd617fc,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0x29766f,_0x4d9fe8){let _0x1f6ac0=syntaxTree(_0x29766f)['resolveInner'](_0x4d9fe8+0x1);return _0x1f6ac0['parent']&&_0x1f6ac0['from']==_0x4d9fe8;}function probablyInString(_0x5831d4,_0x297260,_0x2bc547,_0x37f466){let _0x156fd7=syntaxTree(_0x5831d4)['resolveInner'](_0x297260,-0x1),_0x582328=_0x37f466['reduce']((_0x5103d5,_0x4c80a6)=>Math['max'](_0x5103d5,_0x4c80a6['length']),0x0);for(let _0x2bd500=0x0;_0x2bd500<0x5;_0x2bd500++){let _0x26f575=_0x5831d4['sliceDoc'](_0x156fd7['from'],Math['min'](_0x156fd7['to'],_0x156fd7['from']+_0x2bc547['length']+_0x582328)),_0x436eed=_0x26f575['indexOf'](_0x2bc547);if(!_0x436eed||_0x436eed>-0x1&&_0x37f466['indexOf'](_0x26f575['slice'](0x0,_0x436eed))>-0x1){let _0x174cc9=_0x156fd7['firstChild'];for(;_0x174cc9&&_0x174cc9['from']==_0x156fd7['from']&&_0x174cc9['to']-_0x174cc9['from']>_0x2bc547['length']+_0x436eed;){if(_0x5831d4['sliceDoc'](_0x174cc9['to']-_0x2bc547['length'],_0x174cc9['to'])==_0x2bc547)return!0x1;_0x174cc9=_0x174cc9['firstChild'];}return!0x0;}let _0x30cd48=_0x156fd7['to']==_0x297260&&_0x156fd7['parent'];if(!_0x30cd48)break;_0x156fd7=_0x30cd48;}return!0x1;}function canStartStringAt(_0x2171ec,_0x4414a1,_0x23d94b){let _0x4c7fcc=_0x2171ec['charCategorizer'](_0x4414a1);if(_0x4c7fcc(_0x2171ec['sliceDoc'](_0x4414a1-0x1,_0x4414a1))!=CharCategory['Word'])return _0x4414a1;for(let _0x5ca2e9 of _0x23d94b){let _0x3a18d0=_0x4414a1-_0x5ca2e9['length'];if(_0x2171ec['sliceDoc'](_0x3a18d0,_0x4414a1)==_0x5ca2e9&&_0x4c7fcc(_0x2171ec['sliceDoc'](_0x3a18d0-0x1,_0x3a18d0))!=CharCategory['Word'])return _0x3a18d0;}return-0x1;}function autocompletion(_0x42e428={}){return[commitCharacters,completionState,completionConfig['of'](_0x42e428),completionPlugin,completionKeymapExt,baseTheme];}const completionKeymap=[{'key':'Ctrl-Space','run':startCompletion},{'mac':'Alt-`','run':startCompletion},{'key':'Escape','run':closeCompletion},{'key':'ArrowDown','run':moveCompletionSelection(!0x0)},{'key':'ArrowUp','run':moveCompletionSelection(!0x1)},{'key':'PageDown','run':moveCompletionSelection(!0x0,'page')},{'key':'PageUp','run':moveCompletionSelection(!0x1,'page')},{'key':'Enter','run':acceptCompletion}],completionKeymapExt=Prec['highest'](keymap['computeN']([completionConfig],_0x1b647c=>_0x1b647c['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x4db19e,_0x4a3653,_0x3fa934,_0x4fad60,_0x30d5da,_0x4862bf,_0x27dab,_0x17cc8b,_0x3b7308,_0x374bfc=0x0,_0x5c6ab5){this['p']=_0x4db19e,this['stack']=_0x4a3653,this['state']=_0x3fa934,this['reducePos']=_0x4fad60,this['pos']=_0x30d5da,this['score']=_0x4862bf,this['buffer']=_0x27dab,this['bufferBase']=_0x17cc8b,this['curContext']=_0x3b7308,this['lookAhead']=_0x374bfc,this['parent']=_0x5c6ab5;}['toString'](){return'['+this['stack']['filter']((_0x4790aa,_0x441880)=>_0x441880%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x899430,_0xc94068,_0x1c61e9=0x0){let _0x48c4c2=_0x899430['parser']['context'];return new Stack(_0x899430,[],_0xc94068,_0x1c61e9,_0x1c61e9,0x0,[],0x0,_0x48c4c2?new StackContext(_0x48c4c2,_0x48c4c2['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x26ecd7,_0x1b4a27){this['stack']['push'](this['state'],_0x1b4a27,this['bufferBase']+this['buffer']['length']),this['state']=_0x26ecd7;}['reduce'](_0x4614f7){var _0x11af7f;let _0x32d445=_0x4614f7>>0x13,_0x5ce834=0xffff&_0x4614f7,{parser:_0x13e2a2}=this['p'],_0x519a0c=this['reducePos']<this['pos']-0x19;_0x519a0c&&this['setLookAhead'](this['pos']);let _0x545749=_0x13e2a2['dynamicPrecedence'](_0x5ce834);if(_0x545749&&(this['score']+=_0x545749),0x0==_0x32d445)return this['pushState'](_0x13e2a2['getGoto'](this['state'],_0x5ce834,!0x0),this['reducePos']),_0x5ce834<_0x13e2a2['minRepeatTerm']&&this['storeNode'](_0x5ce834,this['reducePos'],this['reducePos'],_0x519a0c?0x8:0x4,!0x0),void this['reduceContext'](_0x5ce834,this['reducePos']);let _0x3784d7=this['stack']['length']-0x3*(_0x32d445-0x1)-(0x40000&_0x4614f7?0x6:0x0),_0x1c0d60=_0x3784d7?this['stack'][_0x3784d7-0x2]:this['p']['ranges'][0x0]['from'],_0x1f269b=this['reducePos']-_0x1c0d60;_0x1f269b>=0x7d0&&!(null===(_0x11af7f=this['p']['parser']['nodeSet']['types'][_0x5ce834])||void 0x0===_0x11af7f?void 0x0:_0x11af7f['isAnonymous'])&&(_0x1c0d60==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x1f269b):this['p']['lastBigReductionSize']<_0x1f269b&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x1c0d60,this['p']['lastBigReductionSize']=_0x1f269b));let _0x286679=_0x3784d7?this['stack'][_0x3784d7-0x1]:0x0,_0x5319a6=this['bufferBase']+this['buffer']['length']-_0x286679;if(_0x5ce834<_0x13e2a2['minRepeatTerm']||0x20000&_0x4614f7){let _0x3a3f1f=_0x13e2a2['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x5ce834,_0x1c0d60,_0x3a3f1f,_0x5319a6+0x4,!0x0);}if(0x40000&_0x4614f7)this['state']=this['stack'][_0x3784d7];else{let _0x31da49=this['stack'][_0x3784d7-0x3];this['state']=_0x13e2a2['getGoto'](_0x31da49,_0x5ce834,!0x0);}for(;this['stack']['length']>_0x3784d7;)this['stack']['pop']();this['reduceContext'](_0x5ce834,_0x1c0d60);}['storeNode'](_0x3f6c5f,_0x28de34,_0x5baf8f,_0x127cd0=0x4,_0x47bcdb=!0x1){if(0x0==_0x3f6c5f&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x3991f6=this,_0xd9517c=this['buffer']['length'];if(0x0==_0xd9517c&&_0x3991f6['parent']&&(_0xd9517c=_0x3991f6['bufferBase']-_0x3991f6['parent']['bufferBase'],_0x3991f6=_0x3991f6['parent']),_0xd9517c>0x0&&0x0==_0x3991f6['buffer'][_0xd9517c-0x4]&&_0x3991f6['buffer'][_0xd9517c-0x1]>-0x1){if(_0x28de34==_0x5baf8f)return;if(_0x3991f6['buffer'][_0xd9517c-0x2]>=_0x28de34)return void(_0x3991f6['buffer'][_0xd9517c-0x2]=_0x5baf8f);}}if(_0x47bcdb&&this['pos']!=_0x5baf8f){let _0x584cf2=this['buffer']['length'];if(_0x584cf2>0x0&&0x0!=this['buffer'][_0x584cf2-0x4]){let _0x1dc34f=!0x1;for(let _0x53685f=_0x584cf2;_0x53685f>0x0&&this['buffer'][_0x53685f-0x2]>_0x5baf8f;_0x53685f-=0x4)if(this['buffer'][_0x53685f-0x1]>=0x0){_0x1dc34f=!0x0;break;}if(_0x1dc34f){for(;_0x584cf2>0x0&&this['buffer'][_0x584cf2-0x2]>_0x5baf8f;)this['buffer'][_0x584cf2]=this['buffer'][_0x584cf2-0x4],this['buffer'][_0x584cf2+0x1]=this['buffer'][_0x584cf2-0x3],this['buffer'][_0x584cf2+0x2]=this['buffer'][_0x584cf2-0x2],this['buffer'][_0x584cf2+0x3]=this['buffer'][_0x584cf2-0x1],_0x584cf2-=0x4,_0x127cd0>0x4&&(_0x127cd0-=0x4);}}this['buffer'][_0x584cf2]=_0x3f6c5f,this['buffer'][_0x584cf2+0x1]=_0x28de34,this['buffer'][_0x584cf2+0x2]=_0x5baf8f,this['buffer'][_0x584cf2+0x3]=_0x127cd0;}else this['buffer']['push'](_0x3f6c5f,_0x28de34,_0x5baf8f,_0x127cd0);}['shift'](_0x450f4e,_0x433d83,_0x49bad2,_0x4d0039){if(0x20000&_0x450f4e)this['pushState'](0xffff&_0x450f4e,this['pos']);else{if(0x40000&_0x450f4e)this['pos']=_0x4d0039,this['shiftContext'](_0x433d83,_0x49bad2),_0x433d83<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x433d83,_0x49bad2,_0x4d0039,0x4);else{let _0x3f890b=_0x450f4e,{parser:_0x56ee63}=this['p'];(_0x4d0039>this['pos']||_0x433d83<=_0x56ee63['maxNode'])&&(this['pos']=_0x4d0039,_0x56ee63['stateFlag'](_0x3f890b,0x1)||(this['reducePos']=_0x4d0039)),this['pushState'](_0x3f890b,_0x49bad2),this['shiftContext'](_0x433d83,_0x49bad2),_0x433d83<=_0x56ee63['maxNode']&&this['buffer']['push'](_0x433d83,_0x49bad2,_0x4d0039,0x4);}}}['apply'](_0x2b4cc3,_0x4549e2,_0x1c471e,_0x5c5343){0x10000&_0x2b4cc3?this['reduce'](_0x2b4cc3):this['shift'](_0x2b4cc3,_0x4549e2,_0x1c471e,_0x5c5343);}['useNode'](_0x14493d,_0x446b84){let _0x5c1c13=this['p']['reused']['length']-0x1;(_0x5c1c13<0x0||this['p']['reused'][_0x5c1c13]!=_0x14493d)&&(this['p']['reused']['push'](_0x14493d),_0x5c1c13++);let _0x4b3b3a=this['pos'];this['reducePos']=this['pos']=_0x4b3b3a+_0x14493d['length'],this['pushState'](_0x446b84,_0x4b3b3a),this['buffer']['push'](_0x5c1c13,_0x4b3b3a,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x14493d,this,this['p']['stream']['reset'](this['pos']-_0x14493d['length'])));}['split'](){let _0x3924d2=this,_0x471250=_0x3924d2['buffer']['length'];for(;_0x471250>0x0&&_0x3924d2['buffer'][_0x471250-0x2]>_0x3924d2['reducePos'];)_0x471250-=0x4;let _0x30a902=_0x3924d2['buffer']['slice'](_0x471250),_0x15b8d4=_0x3924d2['bufferBase']+_0x471250;for(;_0x3924d2&&_0x15b8d4==_0x3924d2['bufferBase'];)_0x3924d2=_0x3924d2['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x30a902,_0x15b8d4,this['curContext'],this['lookAhead'],_0x3924d2);}['recoverByDelete'](_0x2def9f,_0x45a173){let _0xcac6be=_0x2def9f<=this['p']['parser']['maxNode'];_0xcac6be&&this['storeNode'](_0x2def9f,this['pos'],_0x45a173,0x4),this['storeNode'](0x0,this['pos'],_0x45a173,_0xcac6be?0x8:0x4),this['pos']=this['reducePos']=_0x45a173,this['score']-=0xbe;}['canShift'](_0x4e0e2b){for(let _0x1858e3=new SimulatedStack(this);;){let _0x1e28d6=this['p']['parser']['stateSlot'](_0x1858e3['state'],0x4)||this['p']['parser']['hasAction'](_0x1858e3['state'],_0x4e0e2b);if(0x0==_0x1e28d6)return!0x1;if(!(0x10000&_0x1e28d6))return!0x0;_0x1858e3['reduce'](_0x1e28d6);}}['recoverByInsert'](_0x3f586a){if(this['stack']['length']>=0x12c)return[];let _0x5593a8=this['p']['parser']['nextStates'](this['state']);if(_0x5593a8['length']>0x8||this['stack']['length']>=0x78){let _0x3ddc11=[];for(let _0x2eafc5,_0xb20bd4=0x0;_0xb20bd4<_0x5593a8['length'];_0xb20bd4+=0x2)(_0x2eafc5=_0x5593a8[_0xb20bd4+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x2eafc5,_0x3f586a)&&_0x3ddc11['push'](_0x5593a8[_0xb20bd4],_0x2eafc5);if(this['stack']['length']<0x78)for(let _0x2a29dd=0x0;_0x3ddc11['length']<0x8&&_0x2a29dd<_0x5593a8['length'];_0x2a29dd+=0x2){let _0x1b8741=_0x5593a8[_0x2a29dd+0x1];_0x3ddc11['some']((_0x3c5284,_0x1b806d)=>0x1&_0x1b806d&&_0x3c5284==_0x1b8741)||_0x3ddc11['push'](_0x5593a8[_0x2a29dd],_0x1b8741);}_0x5593a8=_0x3ddc11;}let _0x5af411=[];for(let _0x2a34a4=0x0;_0x2a34a4<_0x5593a8['length']&&_0x5af411['length']<0x4;_0x2a34a4+=0x2){let _0x1be363=_0x5593a8[_0x2a34a4+0x1];if(_0x1be363==this['state'])continue;let _0x509853=this['split']();_0x509853['pushState'](_0x1be363,this['pos']),_0x509853['storeNode'](0x0,_0x509853['pos'],_0x509853['pos'],0x4,!0x0),_0x509853['shiftContext'](_0x5593a8[_0x2a34a4],this['pos']),_0x509853['reducePos']=this['pos'],_0x509853['score']-=0xc8,_0x5af411['push'](_0x509853);}return _0x5af411;}['forceReduce'](){let {parser:_0x3d6a11}=this['p'],_0x2e3f21=_0x3d6a11['stateSlot'](this['state'],0x5);if(!(0x10000&_0x2e3f21))return!0x1;if(!_0x3d6a11['validAction'](this['state'],_0x2e3f21)){let _0x50c8ba=_0x2e3f21>>0x13,_0xefe589=0xffff&_0x2e3f21,_0x1fa5f3=this['stack']['length']-0x3*_0x50c8ba;if(_0x1fa5f3<0x0||_0x3d6a11['getGoto'](this['stack'][_0x1fa5f3],_0xefe589,!0x1)<0x0){let _0x39f5be=this['findForcedReduction']();if(null==_0x39f5be)return!0x1;_0x2e3f21=_0x39f5be;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x2e3f21),!0x0;}['findForcedReduction'](){let {parser:_0x38ffbf}=this['p'],_0x2bcb72=[],_0x16beaa=(_0x458e9f,_0x1f2da0)=>{if(!_0x2bcb72['includes'](_0x458e9f))return _0x2bcb72['push'](_0x458e9f),_0x38ffbf['allActions'](_0x458e9f,_0x221203=>{if(0x60000&_0x221203);else{if(0x10000&_0x221203){let _0x9e679a=(_0x221203>>0x13)-_0x1f2da0;if(_0x9e679a>0x1){let _0x92825c=0xffff&_0x221203,_0x38edba=this['stack']['length']-0x3*_0x9e679a;if(_0x38edba>=0x0&&_0x38ffbf['getGoto'](this['stack'][_0x38edba],_0x92825c,!0x1)>=0x0)return _0x9e679a<<0x13|0x10000|_0x92825c;}}else{let _0x4f9d80=_0x16beaa(_0x221203,_0x1f2da0+0x1);if(null!=_0x4f9d80)return _0x4f9d80;}}});};return _0x16beaa(this['state'],0x0);}['forceAll'](){for(;!this['p']['parser']['stateFlag'](this['state'],0x2);)if(!this['forceReduce']()){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0);break;}return this;}get['deadEnd'](){if(0x3!=this['stack']['length'])return!0x1;let {parser:_0x95c0df}=this['p'];return 0xffff==_0x95c0df['data'][_0x95c0df['stateSlot'](this['state'],0x1)]&&!_0x95c0df['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x180230){if(this['state']!=_0x180230['state']||this['stack']['length']!=_0x180230['stack']['length'])return!0x1;for(let _0xa83f5f=0x0;_0xa83f5f<this['stack']['length'];_0xa83f5f+=0x3)if(this['stack'][_0xa83f5f]!=_0x180230['stack'][_0xa83f5f])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x5be060){return this['p']['parser']['dialect']['flags'][_0x5be060];}['shiftContext'](_0x52ea1f,_0x558854){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x52ea1f,this,this['p']['stream']['reset'](_0x558854)));}['reduceContext'](_0x4e0962,_0x437d00){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x4e0962,this,this['p']['stream']['reset'](_0x437d00)));}['emitContext'](){let _0x180c65=this['buffer']['length']-0x1;(_0x180c65<0x0||-0x3!=this['buffer'][_0x180c65])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x1e3764=this['buffer']['length']-0x1;(_0x1e3764<0x0||-0x4!=this['buffer'][_0x1e3764])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x406a71){if(_0x406a71!=this['curContext']['context']){let _0x73a6e3=new StackContext(this['curContext']['tracker'],_0x406a71);_0x73a6e3['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x73a6e3;}}['setLookAhead'](_0x10e46a){_0x10e46a>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x10e46a);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x5aee0f,_0x8fbaf1){this['tracker']=_0x5aee0f,this['context']=_0x8fbaf1,this['hash']=_0x5aee0f['strict']?_0x5aee0f['hash'](_0x8fbaf1):0x0;}}class SimulatedStack{constructor(_0x1a35e7){this['start']=_0x1a35e7,this['state']=_0x1a35e7['state'],this['stack']=_0x1a35e7['stack'],this['base']=this['stack']['length'];}['reduce'](_0x460118){let _0x2a4c07=0xffff&_0x460118,_0x22e567=_0x460118>>0x13;0x0==_0x22e567?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x22e567-0x1);let _0x1cce9e=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x2a4c07,!0x0);this['state']=_0x1cce9e;}}class StackBufferCursor{constructor(_0x185a40,_0x56ca23,_0x10500b){this['stack']=_0x185a40,this['pos']=_0x56ca23,this['index']=_0x10500b,this['buffer']=_0x185a40['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x1bd669,_0x5b3efc=_0x1bd669['bufferBase']+_0x1bd669['buffer']['length']){return new StackBufferCursor(_0x1bd669,_0x5b3efc,_0x5b3efc-_0x1bd669['bufferBase']);}['maybeNext'](){let _0x53c067=this['stack']['parent'];null!=_0x53c067&&(this['index']=this['stack']['bufferBase']-_0x53c067['bufferBase'],this['stack']=_0x53c067,this['buffer']=_0x53c067['buffer']);}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}['next'](){this['index']-=0x4,this['pos']-=0x4,0x0==this['index']&&this['maybeNext']();}['fork'](){return new StackBufferCursor(this['stack'],this['pos'],this['index']);}}function decodeArray(_0x49c2b7,_0x1760d9=Uint16Array){if('string'!=typeof _0x49c2b7)return _0x49c2b7;let _0x566b5a=null;for(let _0x45d48f=0x0,_0x1de024=0x0;_0x45d48f<_0x49c2b7['length'];){let _0x34e502=0x0;for(;;){let _0x22f404=_0x49c2b7['charCodeAt'](_0x45d48f++),_0x448acf=!0x1;if(0x7e==_0x22f404){_0x34e502=0xffff;break;}_0x22f404>=0x5c&&_0x22f404--,_0x22f404>=0x22&&_0x22f404--;let _0x3bf80e=_0x22f404-0x20;if(_0x3bf80e>=0x2e&&(_0x3bf80e-=0x2e,_0x448acf=!0x0),_0x34e502+=_0x3bf80e,_0x448acf)break;_0x34e502*=0x2e;}_0x566b5a?_0x566b5a[_0x1de024++]=_0x34e502:_0x566b5a=new _0x1760d9(_0x34e502);}return _0x566b5a;}class CachedToken{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const nullToken=new CachedToken();class InputStream{constructor(_0x4123ef,_0xe1ad73){this['input']=_0x4123ef,this['ranges']=_0xe1ad73,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=nullToken,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0xe1ad73[0x0]['from'],this['range']=_0xe1ad73[0x0],this['end']=_0xe1ad73[_0xe1ad73['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x33f8b0,_0x46a5ff){let _0x265824=this['range'],_0x60baff=this['rangeIndex'],_0x12578b=this['pos']+_0x33f8b0;for(;_0x12578b<_0x265824['from'];){if(!_0x60baff)return null;let _0x3e30eb=this['ranges'][--_0x60baff];_0x12578b-=_0x265824['from']-_0x3e30eb['to'],_0x265824=_0x3e30eb;}for(;_0x46a5ff<0x0?_0x12578b>_0x265824['to']:_0x12578b>=_0x265824['to'];){if(_0x60baff==this['ranges']['length']-0x1)return null;let _0x5ae55d=this['ranges'][++_0x60baff];_0x12578b+=_0x5ae55d['from']-_0x265824['to'],_0x265824=_0x5ae55d;}return _0x12578b;}['clipPos'](_0x11ef21){if(_0x11ef21>=this['range']['from']&&_0x11ef21<this['range']['to'])return _0x11ef21;for(let _0x451cf9 of this['ranges'])if(_0x451cf9['to']>_0x11ef21)return Math['max'](_0x11ef21,_0x451cf9['from']);return this['end'];}['peek'](_0x366d20){let _0x192803,_0xce9be6,_0x28b30d=this['chunkOff']+_0x366d20;if(_0x28b30d>=0x0&&_0x28b30d<this['chunk']['length'])_0x192803=this['pos']+_0x366d20,_0xce9be6=this['chunk']['charCodeAt'](_0x28b30d);else{let _0x4d1203=this['resolveOffset'](_0x366d20,0x1);if(null==_0x4d1203)return-0x1;if(_0x192803=_0x4d1203,_0x192803>=this['chunk2Pos']&&_0x192803<this['chunk2Pos']+this['chunk2']['length'])_0xce9be6=this['chunk2']['charCodeAt'](_0x192803-this['chunk2Pos']);else{let _0x2a0edd=this['rangeIndex'],_0x8e5501=this['range'];for(;_0x8e5501['to']<=_0x192803;)_0x8e5501=this['ranges'][++_0x2a0edd];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x192803),_0x192803+this['chunk2']['length']>_0x8e5501['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x8e5501['to']-_0x192803)),_0xce9be6=this['chunk2']['charCodeAt'](0x0);}}return _0x192803>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x192803+0x1),_0xce9be6;}['acceptToken'](_0x1ba4e1,_0x4a9ed0=0x0){let _0x118aa4=_0x4a9ed0?this['resolveOffset'](_0x4a9ed0,-0x1):this['pos'];if(null==_0x118aa4||_0x118aa4<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x1ba4e1,this['token']['end']=_0x118aa4;}['acceptTokenTo'](_0x3e4631,_0x4778b3){this['token']['value']=_0x3e4631,this['token']['end']=_0x4778b3;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x56bafa,chunkPos:_0x36afb6}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x56bafa,this['chunk2Pos']=_0x36afb6,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0xb78929=this['input']['chunk'](this['pos']),_0x4952eb=this['pos']+_0xb78929['length'];this['chunk']=_0x4952eb>this['range']['to']?_0xb78929['slice'](0x0,this['range']['to']-this['pos']):_0xb78929,this['chunkPos']=this['pos'],this['chunkOff']=0x0;}}['readNext'](){return this['chunkOff']>=this['chunk']['length']&&(this['getChunk'](),this['chunkOff']==this['chunk']['length'])?this['next']=-0x1:this['next']=this['chunk']['charCodeAt'](this['chunkOff']);}['advance'](_0x14f255=0x1){for(this['chunkOff']+=_0x14f255;this['pos']+_0x14f255>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x14f255-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x14f255,this['pos']>=this['token']['lookAhead']&&(this['token']['lookAhead']=this['pos']+0x1),this['readNext']();}['setDone'](){return this['pos']=this['chunkPos']=this['end'],this['range']=this['ranges'][this['rangeIndex']=this['ranges']['length']-0x1],this['chunk']='',this['next']=-0x1;}['reset'](_0x3e3df8,_0x137f78){if(_0x137f78?(this['token']=_0x137f78,_0x137f78['start']=_0x3e3df8,_0x137f78['lookAhead']=_0x3e3df8+0x1,_0x137f78['value']=_0x137f78['extended']=-0x1):this['token']=nullToken,this['pos']!=_0x3e3df8){if(this['pos']=_0x3e3df8,_0x3e3df8==this['end'])return this['setDone'](),this;for(;_0x3e3df8<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x3e3df8>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x3e3df8>=this['chunkPos']&&_0x3e3df8<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x3e3df8-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x1766e0,_0x211874){if(_0x1766e0>=this['chunkPos']&&_0x211874<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x1766e0-this['chunkPos'],_0x211874-this['chunkPos']);if(_0x1766e0>=this['chunk2Pos']&&_0x211874<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x1766e0-this['chunk2Pos'],_0x211874-this['chunk2Pos']);if(_0x1766e0>=this['range']['from']&&_0x211874<=this['range']['to'])return this['input']['read'](_0x1766e0,_0x211874);let _0x10a86d='';for(let _0x35aeb1 of this['ranges']){if(_0x35aeb1['from']>=_0x211874)break;_0x35aeb1['to']>_0x1766e0&&(_0x10a86d+=this['input']['read'](Math['max'](_0x35aeb1['from'],_0x1766e0),Math['min'](_0x35aeb1['to'],_0x211874)));}return _0x10a86d;}}class TokenGroup{constructor(_0x4eba4e,_0x5db8bb){this['data']=_0x4eba4e,this['id']=_0x5db8bb;}['token'](_0x7ca1b7,_0x4ab17c){let {parser:_0x45fca5}=_0x4ab17c['p'];readToken(this['data'],_0x7ca1b7,_0x4ab17c,this['id'],_0x45fca5['data'],_0x45fca5['tokenPrecTable']);}}TokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class LocalTokenGroup{constructor(_0x479713,_0x160a7f,_0x567c3b){this['precTable']=_0x160a7f,this['elseToken']=_0x567c3b,this['data']='string'==typeof _0x479713?decodeArray(_0x479713):_0x479713;}['token'](_0x328375,_0x4e3c7a){let _0x11008c=_0x328375['pos'],_0x2fa2a8=0x0;for(;;){let _0xa5b4f2=_0x328375['next']<0x0,_0x204814=_0x328375['resolveOffset'](0x1,0x1);if(readToken(this['data'],_0x328375,_0x4e3c7a,0x0,this['data'],this['precTable']),_0x328375['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0xa5b4f2||_0x2fa2a8++,null==_0x204814)break;_0x328375['reset'](_0x204814,_0x328375['token']);}_0x2fa2a8&&(_0x328375['reset'](_0x11008c,_0x328375['token']),_0x328375['acceptToken'](this['elseToken'],_0x2fa2a8));}}LocalTokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x15f5b7,_0x583442={}){this['token']=_0x15f5b7,this['contextual']=!!_0x583442['contextual'],this['fallback']=!!_0x583442['fallback'],this['extend']=!!_0x583442['extend'];}}function readToken(_0x105654,_0x3df22f,_0x32899f,_0x69d708,_0x51cac2,_0x5705d0){let _0x22126c=0x0,_0x383d22=0x1<<_0x69d708,{dialect:_0x3e0bb6}=_0x32899f['p']['parser'];t:for(;_0x383d22&_0x105654[_0x22126c];){let _0x1bf06d=_0x105654[_0x22126c+0x1];for(let _0x2d0a1d=_0x22126c+0x3;_0x2d0a1d<_0x1bf06d;_0x2d0a1d+=0x2)if((_0x105654[_0x2d0a1d+0x1]&_0x383d22)>0x0){let _0x1dea8b=_0x105654[_0x2d0a1d];if(_0x3e0bb6['allows'](_0x1dea8b)&&(-0x1==_0x3df22f['token']['value']||_0x3df22f['token']['value']==_0x1dea8b||overrides(_0x1dea8b,_0x3df22f['token']['value'],_0x51cac2,_0x5705d0))){_0x3df22f['acceptToken'](_0x1dea8b);break;}}let _0xfff80f=_0x3df22f['next'],_0x3359df=0x0,_0x383d75=_0x105654[_0x22126c+0x2];if(!(_0x3df22f['next']<0x0&&_0x383d75>_0x3359df&&0xffff==_0x105654[_0x1bf06d+0x3*_0x383d75-0x3])){for(;_0x3359df<_0x383d75;){let _0x346170=_0x3359df+_0x383d75>>0x1,_0x568694=_0x1bf06d+_0x346170+(_0x346170<<0x1),_0x3c04ed=_0x105654[_0x568694],_0x47911a=_0x105654[_0x568694+0x1]||0x10000;if(_0xfff80f<_0x3c04ed)_0x383d75=_0x346170;else{if(!(_0xfff80f>=_0x47911a)){_0x22126c=_0x105654[_0x568694+0x2],_0x3df22f['advance']();continue t;}_0x3359df=_0x346170+0x1;}}break;}_0x22126c=_0x105654[_0x1bf06d+0x3*_0x383d75-0x1];}}function findOffset(_0x13545f,_0x377c03,_0x27e16f){for(let _0x3ee921,_0x590686=_0x377c03;0xffff!=(_0x3ee921=_0x13545f[_0x590686]);_0x590686++)if(_0x3ee921==_0x27e16f)return _0x590686-_0x377c03;return-0x1;}function overrides(_0x34f3ec,_0x5504b7,_0x537a38,_0x55bef6){let _0x16af8e=findOffset(_0x537a38,_0x55bef6,_0x5504b7);return _0x16af8e<0x0||findOffset(_0x537a38,_0x55bef6,_0x34f3ec)<_0x16af8e;}const verbose='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x5d5ccf,_0x120b4b,_0x49ad74){let _0x428cf4=_0x5d5ccf['cursor'](IterMode['IncludeAnonymous']);for(_0x428cf4['moveTo'](_0x120b4b);;)if(!(_0x49ad74<0x0?_0x428cf4['childBefore'](_0x120b4b):_0x428cf4['childAfter'](_0x120b4b)))for(;;){if((_0x49ad74<0x0?_0x428cf4['to']<_0x120b4b:_0x428cf4['from']>_0x120b4b)&&!_0x428cf4['type']['isError'])return _0x49ad74<0x0?Math['max'](0x0,Math['min'](_0x428cf4['to']-0x1,_0x120b4b-0x19)):Math['min'](_0x5d5ccf['length'],Math['max'](_0x428cf4['from']+0x1,_0x120b4b+0x19));if(_0x49ad74<0x0?_0x428cf4['prevSibling']():_0x428cf4['nextSibling']())break;if(!_0x428cf4['parent']())return _0x49ad74<0x0?0x0:_0x5d5ccf['length'];}}let FragmentCursor$1=class{constructor(_0x4549d8,_0x1ecd2f){this['fragments']=_0x4549d8,this['nodeSet']=_0x1ecd2f,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x1f6220=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x1f6220){for(this['safeFrom']=_0x1f6220['openStart']?cutAt(_0x1f6220['tree'],_0x1f6220['from']+_0x1f6220['offset'],0x1)-_0x1f6220['offset']:_0x1f6220['from'],this['safeTo']=_0x1f6220['openEnd']?cutAt(_0x1f6220['tree'],_0x1f6220['to']+_0x1f6220['offset'],-0x1)-_0x1f6220['offset']:_0x1f6220['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x1f6220['tree']),this['start']['push'](-_0x1f6220['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x5cff34){if(_0x5cff34<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x5cff34;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x55e3b8=this['trees']['length']-0x1;if(_0x55e3b8<0x0)return this['nextFragment'](),null;let _0x44fb2c=this['trees'][_0x55e3b8],_0x20daef=this['index'][_0x55e3b8];if(_0x20daef==_0x44fb2c['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x5b2034=_0x44fb2c['children'][_0x20daef],_0x5889a0=this['start'][_0x55e3b8]+_0x44fb2c['positions'][_0x20daef];if(_0x5889a0>_0x5cff34)return this['nextStart']=_0x5889a0,null;if(_0x5b2034 instanceof Tree){if(_0x5889a0==_0x5cff34){if(_0x5889a0<this['safeFrom'])return null;let _0xe586de=_0x5889a0+_0x5b2034['length'];if(_0xe586de<=this['safeTo']){let _0x37fb35=_0x5b2034['prop'](NodeProp['lookAhead']);if(!_0x37fb35||_0xe586de+_0x37fb35<this['fragment']['to'])return _0x5b2034;}}this['index'][_0x55e3b8]++,_0x5889a0+_0x5b2034['length']>=Math['max'](this['safeFrom'],_0x5cff34)&&(this['trees']['push'](_0x5b2034),this['start']['push'](_0x5889a0),this['index']['push'](0x0));}else this['index'][_0x55e3b8]++,this['nextStart']=_0x5889a0+_0x5b2034['length'];}}};class TokenCache{constructor(_0x396a9d,_0x497427){this['stream']=_0x497427,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x396a9d['tokenizers']['map'](_0x528a95=>new CachedToken());}['getActions'](_0x411758){let _0x3d1447=0x0,_0xc95fa8=null,{parser:_0x15f6f4}=_0x411758['p'],{tokenizers:_0x2f651c}=_0x15f6f4,_0x2e3b78=_0x15f6f4['stateSlot'](_0x411758['state'],0x3),_0x4786c7=_0x411758['curContext']?_0x411758['curContext']['hash']:0x0,_0x3a750f=0x0;for(let _0x52717d=0x0;_0x52717d<_0x2f651c['length'];_0x52717d++){if(!(0x1<<_0x52717d&_0x2e3b78))continue;let _0x2d7802=_0x2f651c[_0x52717d],_0x4529a6=this['tokens'][_0x52717d];if((!_0xc95fa8||_0x2d7802['fallback'])&&((_0x2d7802['contextual']||_0x4529a6['start']!=_0x411758['pos']||_0x4529a6['mask']!=_0x2e3b78||_0x4529a6['context']!=_0x4786c7)&&(this['updateCachedToken'](_0x4529a6,_0x2d7802,_0x411758),_0x4529a6['mask']=_0x2e3b78,_0x4529a6['context']=_0x4786c7),_0x4529a6['lookAhead']>_0x4529a6['end']+0x19&&(_0x3a750f=Math['max'](_0x4529a6['lookAhead'],_0x3a750f)),0x0!=_0x4529a6['value'])){let _0x669aa5=_0x3d1447;if(_0x4529a6['extended']>-0x1&&(_0x3d1447=this['addActions'](_0x411758,_0x4529a6['extended'],_0x4529a6['end'],_0x3d1447)),_0x3d1447=this['addActions'](_0x411758,_0x4529a6['value'],_0x4529a6['end'],_0x3d1447),!_0x2d7802['extend']&&(_0xc95fa8=_0x4529a6,_0x3d1447>_0x669aa5))break;}}for(;this['actions']['length']>_0x3d1447;)this['actions']['pop']();return _0x3a750f&&_0x411758['setLookAhead'](_0x3a750f),_0xc95fa8||_0x411758['pos']!=this['stream']['end']||(_0xc95fa8=new CachedToken(),_0xc95fa8['value']=_0x411758['p']['parser']['eofTerm'],_0xc95fa8['start']=_0xc95fa8['end']=_0x411758['pos'],_0x3d1447=this['addActions'](_0x411758,_0xc95fa8['value'],_0xc95fa8['end'],_0x3d1447)),this['mainToken']=_0xc95fa8,this['actions'];}['getMainToken'](_0x21f9d8){if(this['mainToken'])return this['mainToken'];let _0x1161e7=new CachedToken(),{pos:_0x4d0356,p:_0x3e2457}=_0x21f9d8;return _0x1161e7['start']=_0x4d0356,_0x1161e7['end']=Math['min'](_0x4d0356+0x1,_0x3e2457['stream']['end']),_0x1161e7['value']=_0x4d0356==_0x3e2457['stream']['end']?_0x3e2457['parser']['eofTerm']:0x0,_0x1161e7;}['updateCachedToken'](_0x59527f,_0x4be84f,_0xbfc0c6){let _0x24a87f=this['stream']['clipPos'](_0xbfc0c6['pos']);if(_0x4be84f['token'](this['stream']['reset'](_0x24a87f,_0x59527f),_0xbfc0c6),_0x59527f['value']>-0x1){let {parser:_0x1e4142}=_0xbfc0c6['p'];for(let _0x135915=0x0;_0x135915<_0x1e4142['specialized']['length'];_0x135915++)if(_0x1e4142['specialized'][_0x135915]==_0x59527f['value']){let _0x790b7=_0x1e4142['specializers'][_0x135915](this['stream']['read'](_0x59527f['start'],_0x59527f['end']),_0xbfc0c6);if(_0x790b7>=0x0&&_0xbfc0c6['p']['parser']['dialect']['allows'](_0x790b7>>0x1)){0x1&_0x790b7?_0x59527f['extended']=_0x790b7>>0x1:_0x59527f['value']=_0x790b7>>0x1;break;}}}else _0x59527f['value']=0x0,_0x59527f['end']=this['stream']['clipPos'](_0x24a87f+0x1);}['putAction'](_0x3a895f,_0x2c0e56,_0x2ea473,_0x90477c){for(let _0x5f3494=0x0;_0x5f3494<_0x90477c;_0x5f3494+=0x3)if(this['actions'][_0x5f3494]==_0x3a895f)return _0x90477c;return this['actions'][_0x90477c++]=_0x3a895f,this['actions'][_0x90477c++]=_0x2c0e56,this['actions'][_0x90477c++]=_0x2ea473,_0x90477c;}['addActions'](_0x4e15c7,_0xbae648,_0x3387c6,_0x5ec22b){let {state:_0x47469e}=_0x4e15c7,{parser:_0x5d4bf1}=_0x4e15c7['p'],{data:_0x35db63}=_0x5d4bf1;for(let _0x4f8ba2=0x0;_0x4f8ba2<0x2;_0x4f8ba2++)for(let _0x1e1204=_0x5d4bf1['stateSlot'](_0x47469e,_0x4f8ba2?0x2:0x1);;_0x1e1204+=0x3){if(0xffff==_0x35db63[_0x1e1204]){if(0x1!=_0x35db63[_0x1e1204+0x1]){0x0==_0x5ec22b&&0x2==_0x35db63[_0x1e1204+0x1]&&(_0x5ec22b=this['putAction'](pair(_0x35db63,_0x1e1204+0x2),_0xbae648,_0x3387c6,_0x5ec22b));break;}_0x1e1204=pair(_0x35db63,_0x1e1204+0x2);}_0x35db63[_0x1e1204]==_0xbae648&&(_0x5ec22b=this['putAction'](pair(_0x35db63,_0x1e1204+0x1),_0xbae648,_0x3387c6,_0x5ec22b));}return _0x5ec22b;}}class Parse{constructor(_0x4b6289,_0x1d82fa,_0x1e7928,_0x2233aa){this['parser']=_0x4b6289,this['input']=_0x1d82fa,this['ranges']=_0x2233aa,this['recovering']=0x0,this['nextStackID']=0x2654,this['minStackPos']=0x0,this['reused']=[],this['stoppedAt']=null,this['lastBigReductionStart']=-0x1,this['lastBigReductionSize']=0x0,this['bigReductionCount']=0x0,this['stream']=new InputStream(_0x1d82fa,_0x2233aa),this['tokens']=new TokenCache(_0x4b6289,this['stream']),this['topTerm']=_0x4b6289['top'][0x1];let {from:_0x4399f5}=_0x2233aa[0x0];this['stacks']=[Stack['start'](this,_0x4b6289['top'][0x0],_0x4399f5)],this['fragments']=_0x1e7928['length']&&this['stream']['end']-_0x4399f5>0x4*_0x4b6289['bufferLength']?new FragmentCursor$1(_0x1e7928,_0x4b6289['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x53426e,_0x44ba49,_0x101b61=this['stacks'],_0x5a15b0=this['minStackPos'],_0x3926ed=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x101b61['length']){let [_0x2a14a7]=_0x101b61;for(;_0x2a14a7['forceReduce']()&&_0x2a14a7['stack']['length']&&_0x2a14a7['stack'][_0x2a14a7['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x4379c9=0x0;_0x4379c9<_0x101b61['length'];_0x4379c9++){let _0x2f52f4=_0x101b61[_0x4379c9];for(;;){if(this['tokens']['mainToken']=null,_0x2f52f4['pos']>_0x5a15b0)_0x3926ed['push'](_0x2f52f4);else{if(this['advanceStack'](_0x2f52f4,_0x3926ed,_0x101b61))continue;{_0x53426e||(_0x53426e=[],_0x44ba49=[]),_0x53426e['push'](_0x2f52f4);let _0x1a3cb1=this['tokens']['getMainToken'](_0x2f52f4);_0x44ba49['push'](_0x1a3cb1['value'],_0x1a3cb1['end']);}}break;}}if(!_0x3926ed['length']){let _0x3301fb=_0x53426e&&findFinished(_0x53426e);if(_0x3301fb)return verbose&&console['log']('Finish\x20with\x20'+this['stackID'](_0x3301fb)),this['stackToTree'](_0x3301fb);if(this['parser']['strict'])throw verbose&&_0x53426e&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x5a15b0);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x53426e){let _0x5b84b2=null!=this['stoppedAt']&&_0x53426e[0x0]['pos']>this['stoppedAt']?_0x53426e[0x0]:this['runRecovery'](_0x53426e,_0x44ba49,_0x3926ed);if(_0x5b84b2)return verbose&&console['log']('Force-finish\x20'+this['stackID'](_0x5b84b2)),this['stackToTree'](_0x5b84b2['forceAll']());}if(this['recovering']){let _0x23a771=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x3926ed['length']>_0x23a771){for(_0x3926ed['sort']((_0x4766a6,_0x1961e4)=>_0x1961e4['score']-_0x4766a6['score']);_0x3926ed['length']>_0x23a771;)_0x3926ed['pop']();}_0x3926ed['some'](_0xe3510c=>_0xe3510c['reducePos']>_0x5a15b0)&&this['recovering']--;}else{if(_0x3926ed['length']>0x1){t:for(let _0x5c5550=0x0;_0x5c5550<_0x3926ed['length']-0x1;_0x5c5550++){let _0x47e9db=_0x3926ed[_0x5c5550];for(let _0x4f1d0e=_0x5c5550+0x1;_0x4f1d0e<_0x3926ed['length'];_0x4f1d0e++){let _0x154cb7=_0x3926ed[_0x4f1d0e];if(_0x47e9db['sameState'](_0x154cb7)||_0x47e9db['buffer']['length']>0x1f4&&_0x154cb7['buffer']['length']>0x1f4){if(!((_0x47e9db['score']-_0x154cb7['score']||_0x47e9db['buffer']['length']-_0x154cb7['buffer']['length'])>0x0)){_0x3926ed['splice'](_0x5c5550--,0x1);continue t;}_0x3926ed['splice'](_0x4f1d0e--,0x1);}}}_0x3926ed['length']>0xc&&_0x3926ed['splice'](0xc,_0x3926ed['length']-0xc);}}this['minStackPos']=_0x3926ed[0x0]['pos'];for(let _0x180344=0x1;_0x180344<_0x3926ed['length'];_0x180344++)_0x3926ed[_0x180344]['pos']<this['minStackPos']&&(this['minStackPos']=_0x3926ed[_0x180344]['pos']);return null;}['stopAt'](_0x27c1f3){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x27c1f3)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x27c1f3;}['advanceStack'](_0x482ca5,_0x1b7b28,_0x1a3d1e){let _0xecbf33=_0x482ca5['pos'],{parser:_0x4bb394}=this,_0x3fbc00=verbose?this['stackID'](_0x482ca5)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0xecbf33>this['stoppedAt'])return _0x482ca5['forceReduce']()?_0x482ca5:null;if(this['fragments']){let _0x2717df=_0x482ca5['curContext']&&_0x482ca5['curContext']['tracker']['strict'],_0x3491d3=_0x2717df?_0x482ca5['curContext']['hash']:0x0;for(let _0x2a7d35=this['fragments']['nodeAt'](_0xecbf33);_0x2a7d35;){let _0x28fd88=this['parser']['nodeSet']['types'][_0x2a7d35['type']['id']]==_0x2a7d35['type']?_0x4bb394['getGoto'](_0x482ca5['state'],_0x2a7d35['type']['id']):-0x1;if(_0x28fd88>-0x1&&_0x2a7d35['length']&&(!_0x2717df||(_0x2a7d35['prop'](NodeProp['contextHash'])||0x0)==_0x3491d3))return _0x482ca5['useNode'](_0x2a7d35,_0x28fd88),verbose&&console['log'](_0x3fbc00+this['stackID'](_0x482ca5)+('\x20(via\x20reuse\x20of\x20'+_0x4bb394['getName'](_0x2a7d35['type']['id'])+')')),!0x0;if(!(_0x2a7d35 instanceof Tree)||0x0==_0x2a7d35['children']['length']||_0x2a7d35['positions'][0x0]>0x0)break;let _0x95d3ed=_0x2a7d35['children'][0x0];if(!(_0x95d3ed instanceof Tree&&0x0==_0x2a7d35['positions'][0x0]))break;_0x2a7d35=_0x95d3ed;}}let _0x1f6585=_0x4bb394['stateSlot'](_0x482ca5['state'],0x4);if(_0x1f6585>0x0)return _0x482ca5['reduce'](_0x1f6585),verbose&&console['log'](_0x3fbc00+this['stackID'](_0x482ca5)+('\x20(via\x20always-reduce\x20'+_0x4bb394['getName'](0xffff&_0x1f6585)+')')),!0x0;if(_0x482ca5['stack']['length']>=0x20d0){for(;_0x482ca5['stack']['length']>0x1770&&_0x482ca5['forceReduce'](););}let _0x194b8d=this['tokens']['getActions'](_0x482ca5);for(let _0x62c6c3=0x0;_0x62c6c3<_0x194b8d['length'];){let _0x44bfdd=_0x194b8d[_0x62c6c3++],_0x101aa9=_0x194b8d[_0x62c6c3++],_0xe58ace=_0x194b8d[_0x62c6c3++],_0x473896=_0x62c6c3==_0x194b8d['length']||!_0x1a3d1e,_0x3802e6=_0x473896?_0x482ca5:_0x482ca5['split'](),_0x5b8bb8=this['tokens']['mainToken'];if(_0x3802e6['apply'](_0x44bfdd,_0x101aa9,_0x5b8bb8?_0x5b8bb8['start']:_0x3802e6['pos'],_0xe58ace),verbose&&console['log'](_0x3fbc00+this['stackID'](_0x3802e6)+('\x20(via\x20'+(0x10000&_0x44bfdd?'reduce\x20of\x20'+_0x4bb394['getName'](0xffff&_0x44bfdd):'shift')+'\x20for\x20'+_0x4bb394['getName'](_0x101aa9)+'\x20@\x20'+_0xecbf33+(_0x3802e6==_0x482ca5?'':',\x20split')+')')),_0x473896)return!0x0;_0x3802e6['pos']>_0xecbf33?_0x1b7b28['push'](_0x3802e6):_0x1a3d1e['push'](_0x3802e6);}return!0x1;}['advanceFully'](_0x2e75f4,_0x350562){let _0x2f7cca=_0x2e75f4['pos'];for(;;){if(!this['advanceStack'](_0x2e75f4,null,null))return!0x1;if(_0x2e75f4['pos']>_0x2f7cca)return pushStackDedup(_0x2e75f4,_0x350562),!0x0;}}['runRecovery'](_0x263b5c,_0x4c27cc,_0x521aee){let _0x5e5c81=null,_0x5be841=!0x1;for(let _0x3c0366=0x0;_0x3c0366<_0x263b5c['length'];_0x3c0366++){let _0x4a01af=_0x263b5c[_0x3c0366],_0x457ec5=_0x4c27cc[_0x3c0366<<0x1],_0x39780a=_0x4c27cc[0x1+(_0x3c0366<<0x1)],_0x3b15bf=verbose?this['stackID'](_0x4a01af)+'\x20->\x20':'';if(_0x4a01af['deadEnd']){if(_0x5be841)continue;if(_0x5be841=!0x0,_0x4a01af['restart'](),verbose&&console['log'](_0x3b15bf+this['stackID'](_0x4a01af)+'\x20(restarted)'),this['advanceFully'](_0x4a01af,_0x521aee))continue;}let _0x125671=_0x4a01af['split'](),_0x1ae280=_0x3b15bf;for(let _0x585e57=0x0;_0x125671['forceReduce']()&&_0x585e57<0xa;_0x585e57++){if(verbose&&console['log'](_0x1ae280+this['stackID'](_0x125671)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x125671,_0x521aee))break;verbose&&(_0x1ae280=this['stackID'](_0x125671)+'\x20->\x20');}for(let _0x4a6fcc of _0x4a01af['recoverByInsert'](_0x457ec5))verbose&&console['log'](_0x3b15bf+this['stackID'](_0x4a6fcc)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x4a6fcc,_0x521aee);this['stream']['end']>_0x4a01af['pos']?(_0x39780a==_0x4a01af['pos']&&(_0x39780a++,_0x457ec5=0x0),_0x4a01af['recoverByDelete'](_0x457ec5,_0x39780a),verbose&&console['log'](_0x3b15bf+this['stackID'](_0x4a01af)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x457ec5)+')')),pushStackDedup(_0x4a01af,_0x521aee)):(!_0x5e5c81||_0x5e5c81['score']<_0x4a01af['score'])&&(_0x5e5c81=_0x4a01af);}return _0x5e5c81;}['stackToTree'](_0x184f32){return _0x184f32['close'](),Tree['build']({'buffer':StackBufferCursor['create'](_0x184f32),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x184f32['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x1f3cf8){let _0x4ca674=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x1f3cf8);return _0x4ca674||stackIDs['set'](_0x1f3cf8,_0x4ca674=String['fromCodePoint'](this['nextStackID']++)),_0x4ca674+_0x1f3cf8;}}function pushStackDedup(_0xe07557,_0x21c324){for(let _0x1d34cc=0x0;_0x1d34cc<_0x21c324['length'];_0x1d34cc++){let _0x4fe7f4=_0x21c324[_0x1d34cc];if(_0x4fe7f4['pos']==_0xe07557['pos']&&_0x4fe7f4['sameState'](_0xe07557))return void(_0x21c324[_0x1d34cc]['score']<_0xe07557['score']&&(_0x21c324[_0x1d34cc]=_0xe07557));}_0x21c324['push'](_0xe07557);}class Dialect{constructor(_0x3e9206,_0x21419c,_0x31f182){this['source']=_0x3e9206,this['flags']=_0x21419c,this['disabled']=_0x31f182;}['allows'](_0x300e51){return!this['disabled']||0x0==this['disabled'][_0x300e51];}}const id=_0xdd5a80=>_0xdd5a80;class ContextTracker{constructor(_0x3e6331){this['start']=_0x3e6331['start'],this['shift']=_0x3e6331['shift']||id,this['reduce']=_0x3e6331['reduce']||id,this['reuse']=_0x3e6331['reuse']||id,this['hash']=_0x3e6331['hash']||(()=>0x0),this['strict']=!0x1!==_0x3e6331['strict'];}}class LRParser extends Parser{constructor(_0x3c867e){if(super(),this['wrappers']=[],0xe!=_0x3c867e['version'])throw new RangeError('Parser\x20version\x20('+_0x3c867e['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x438e65=_0x3c867e['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x438e65['length'];for(let _0x4524fc=0x0;_0x4524fc<_0x3c867e['repeatNodeCount'];_0x4524fc++)_0x438e65['push']('');let _0x562a97=Object['keys'](_0x3c867e['topRules'])['map'](_0x2815e4=>_0x3c867e['topRules'][_0x2815e4][0x1]),_0x1a88b6=[];for(let _0x533414=0x0;_0x533414<_0x438e65['length'];_0x533414++)_0x1a88b6['push']([]);function _0x1bfc8f(_0x2539ce,_0x30b48d,_0x8ba648){_0x1a88b6[_0x2539ce]['push']([_0x30b48d,_0x30b48d['deserialize'](String(_0x8ba648))]);}if(_0x3c867e['nodeProps'])for(let _0x11ba57 of _0x3c867e['nodeProps']){let _0x576d6a=_0x11ba57[0x0];'string'==typeof _0x576d6a&&(_0x576d6a=NodeProp[_0x576d6a]);for(let _0xa0663=0x1;_0xa0663<_0x11ba57['length'];){let _0xe1c6da=_0x11ba57[_0xa0663++];if(_0xe1c6da>=0x0)_0x1bfc8f(_0xe1c6da,_0x576d6a,_0x11ba57[_0xa0663++]);else{let _0x5047c5=_0x11ba57[_0xa0663+-_0xe1c6da];for(let _0x52d999=-_0xe1c6da;_0x52d999>0x0;_0x52d999--)_0x1bfc8f(_0x11ba57[_0xa0663++],_0x576d6a,_0x5047c5);_0xa0663++;}}}this['nodeSet']=new NodeSet(_0x438e65['map']((_0x2ed6a2,_0x33fb0a)=>NodeType['define']({'name':_0x33fb0a>=this['minRepeatTerm']?void 0x0:_0x2ed6a2,'id':_0x33fb0a,'props':_0x1a88b6[_0x33fb0a],'top':_0x562a97['indexOf'](_0x33fb0a)>-0x1,'error':0x0==_0x33fb0a,'skipped':_0x3c867e['skippedNodes']&&_0x3c867e['skippedNodes']['indexOf'](_0x33fb0a)>-0x1}))),_0x3c867e['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x3c867e['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x845581=decodeArray(_0x3c867e['tokenData']);this['context']=_0x3c867e['context'],this['specializerSpecs']=_0x3c867e['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x36c27b=0x0;_0x36c27b<this['specializerSpecs']['length'];_0x36c27b++)this['specialized'][_0x36c27b]=this['specializerSpecs'][_0x36c27b]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=decodeArray(_0x3c867e['states'],Uint32Array),this['data']=decodeArray(_0x3c867e['stateData']),this['goto']=decodeArray(_0x3c867e['goto']),this['maxTerm']=_0x3c867e['maxTerm'],this['tokenizers']=_0x3c867e['tokenizers']['map'](_0x11ac54=>'number'==typeof _0x11ac54?new TokenGroup(_0x845581,_0x11ac54):_0x11ac54),this['topRules']=_0x3c867e['topRules'],this['dialects']=_0x3c867e['dialects']||{},this['dynamicPrecedences']=_0x3c867e['dynamicPrecedences']||null,this['tokenPrecTable']=_0x3c867e['tokenPrec'],this['termNames']=_0x3c867e['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x5f22f6,_0x5a8578,_0x5e32aa){let _0x36bae6=new Parse(this,_0x5f22f6,_0x5a8578,_0x5e32aa);for(let _0x49e503 of this['wrappers'])_0x36bae6=_0x49e503(_0x36bae6,_0x5f22f6,_0x5a8578,_0x5e32aa);return _0x36bae6;}['getGoto'](_0x4f52a9,_0x2ac8c6,_0xf0583f=!0x1){let _0x81570d=this['goto'];if(_0x2ac8c6>=_0x81570d[0x0])return-0x1;for(let _0xd94f13=_0x81570d[_0x2ac8c6+0x1];;){let _0x2e6f3a=_0x81570d[_0xd94f13++],_0x1a6fa4=0x1&_0x2e6f3a,_0x23ce3c=_0x81570d[_0xd94f13++];if(_0x1a6fa4&&_0xf0583f)return _0x23ce3c;for(let _0x524fc1=_0xd94f13+(_0x2e6f3a>>0x1);_0xd94f13<_0x524fc1;_0xd94f13++)if(_0x81570d[_0xd94f13]==_0x4f52a9)return _0x23ce3c;if(_0x1a6fa4)return-0x1;}}['hasAction'](_0x11039d,_0x43ebe6){let _0xf01ada=this['data'];for(let _0x48ab00=0x0;_0x48ab00<0x2;_0x48ab00++)for(let _0x324173,_0x83286e=this['stateSlot'](_0x11039d,_0x48ab00?0x2:0x1);;_0x83286e+=0x3){if(0xffff==(_0x324173=_0xf01ada[_0x83286e])){if(0x1!=_0xf01ada[_0x83286e+0x1]){if(0x2==_0xf01ada[_0x83286e+0x1])return pair(_0xf01ada,_0x83286e+0x2);break;}_0x324173=_0xf01ada[_0x83286e=pair(_0xf01ada,_0x83286e+0x2)];}if(_0x324173==_0x43ebe6||0x0==_0x324173)return pair(_0xf01ada,_0x83286e+0x1);}return 0x0;}['stateSlot'](_0x1a2188,_0x41a816){return this['states'][0x6*_0x1a2188+_0x41a816];}['stateFlag'](_0x4342e6,_0x79cf4){return(this['stateSlot'](_0x4342e6,0x0)&_0x79cf4)>0x0;}['validAction'](_0x1dc234,_0x2ffc0c){return!!this['allActions'](_0x1dc234,_0x3ae142=>_0x3ae142==_0x2ffc0c||null);}['allActions'](_0x5ad8f6,_0x476d87){let _0x2635a4=this['stateSlot'](_0x5ad8f6,0x4),_0x480ee2=_0x2635a4?_0x476d87(_0x2635a4):void 0x0;for(let _0x41ee74=this['stateSlot'](_0x5ad8f6,0x1);null==_0x480ee2;_0x41ee74+=0x3){if(0xffff==this['data'][_0x41ee74]){if(0x1!=this['data'][_0x41ee74+0x1])break;_0x41ee74=pair(this['data'],_0x41ee74+0x2);}_0x480ee2=_0x476d87(pair(this['data'],_0x41ee74+0x1));}return _0x480ee2;}['nextStates'](_0x21fd36){let _0x16d993=[];for(let _0x447a27=this['stateSlot'](_0x21fd36,0x1);;_0x447a27+=0x3){if(0xffff==this['data'][_0x447a27]){if(0x1!=this['data'][_0x447a27+0x1])break;_0x447a27=pair(this['data'],_0x447a27+0x2);}if(!(0x1&this['data'][_0x447a27+0x2])){let _0x2e0891=this['data'][_0x447a27+0x1];_0x16d993['some']((_0x1bdfaf,_0x57f094)=>0x1&_0x57f094&&_0x1bdfaf==_0x2e0891)||_0x16d993['push'](this['data'][_0x447a27],_0x2e0891);}}return _0x16d993;}['configure'](_0xc341e1){let _0x1f8447=Object['assign'](Object['create'](LRParser['prototype']),this);if(_0xc341e1['props']&&(_0x1f8447['nodeSet']=this['nodeSet']['extend'](..._0xc341e1['props'])),_0xc341e1['top']){let _0x1c3042=this['topRules'][_0xc341e1['top']];if(!_0x1c3042)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0xc341e1['top']);_0x1f8447['top']=_0x1c3042;}return _0xc341e1['tokenizers']&&(_0x1f8447['tokenizers']=this['tokenizers']['map'](t=>{let _0x4e677b=_0xc341e1['tokenizers']['find'](_0x4dd052=>_0x4dd052['from']==t);return _0x4e677b?_0x4e677b['to']:t;})),_0xc341e1['specializers']&&(_0x1f8447['specializers']=this['specializers']['slice'](),_0x1f8447['specializerSpecs']=this['specializerSpecs']['map']((_0x4f8b96,_0x415d92)=>{let _0x2fee62=_0xc341e1['specializers']['find'](_0x2bd331=>_0x2bd331['from']==_0x4f8b96['external']);if(!_0x2fee62)return _0x4f8b96;let _0x88d966=Object['assign'](Object['assign']({},_0x4f8b96),{'external':_0x2fee62['to']});return _0x1f8447['specializers'][_0x415d92]=getSpecializer(_0x88d966),_0x88d966;})),_0xc341e1['contextTracker']&&(_0x1f8447['context']=_0xc341e1['contextTracker']),_0xc341e1['dialect']&&(_0x1f8447['dialect']=this['parseDialect'](_0xc341e1['dialect'])),null!=_0xc341e1['strict']&&(_0x1f8447['strict']=_0xc341e1['strict']),_0xc341e1['wrap']&&(_0x1f8447['wrappers']=_0x1f8447['wrappers']['concat'](_0xc341e1['wrap'])),null!=_0xc341e1['bufferLength']&&(_0x1f8447['bufferLength']=_0xc341e1['bufferLength']),_0x1f8447;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x2179e5){return this['termNames']?this['termNames'][_0x2179e5]:String(_0x2179e5<=this['maxNode']&&this['nodeSet']['types'][_0x2179e5]['name']||_0x2179e5);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x33a38d){let _0x52b9e0=this['dynamicPrecedences'];return null==_0x52b9e0?0x0:_0x52b9e0[_0x33a38d]||0x0;}['parseDialect'](_0x2882f9){let _0x254094=Object['keys'](this['dialects']),_0x48baf7=_0x254094['map'](()=>!0x1);if(_0x2882f9)for(let _0x4a764f of _0x2882f9['split']('\x20')){let _0x230674=_0x254094['indexOf'](_0x4a764f);_0x230674>=0x0&&(_0x48baf7[_0x230674]=!0x0);}let _0x4f5414=null;for(let _0x202869=0x0;_0x202869<_0x254094['length'];_0x202869++)if(!_0x48baf7[_0x202869]){for(let _0x3f8203,_0x548515=this['dialects'][_0x254094[_0x202869]];0xffff!=(_0x3f8203=this['data'][_0x548515++]);)(_0x4f5414||(_0x4f5414=new Uint8Array(this['maxTerm']+0x1)))[_0x3f8203]=0x1;}return new Dialect(_0x2882f9,_0x48baf7,_0x4f5414);}static['deserialize'](_0x516f52){return new LRParser(_0x516f52);}}function pair(_0x1d4020,_0x1b7f73){return _0x1d4020[_0x1b7f73]|_0x1d4020[_0x1b7f73+0x1]<<0x10;}function findFinished(_0x15ffea){let _0x17d3f3=null;for(let _0x30b542 of _0x15ffea){let _0x31d5fd=_0x30b542['p']['stoppedAt'];(_0x30b542['pos']==_0x30b542['p']['stream']['end']||null!=_0x31d5fd&&_0x30b542['pos']>_0x31d5fd)&&_0x30b542['p']['parser']['stateFlag'](_0x30b542['state'],0x2)&&(!_0x17d3f3||_0x17d3f3['score']<_0x30b542['score'])&&(_0x17d3f3=_0x30b542);}return _0x17d3f3;}function getSpecializer(_0x1af072){if(_0x1af072['external']){let _0x6fc779=_0x1af072['extend']?0x1:0x0;return(_0x58db44,_0xe8a35e)=>_0x1af072['external'](_0x58db44,_0xe8a35e)<<0x1|_0x6fc779;}return _0x1af072['get'];}const scriptText=0x36,StartCloseScriptTag=0x1,styleText=0x37,StartCloseStyleTag=0x2,textareaText=0x38,StartCloseTextareaTag=0x3,EndTag=0x4,SelfClosingEndTag=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,missingCloseTag=0x39,IncompleteCloseTag=0xe,commentContent$1=0x3a,Element$2=0x14,TagName=0x16,Attribute=0x17,AttributeName=0x18,AttributeValue=0x1a,UnquotedAttributeValue=0x1b,ScriptText=0x1c,StyleText=0x1f,TextareaText=0x22,OpenTag=0x24,CloseTag=0x25,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,selfClosers$1={'area':!0x0,'base':!0x0,'br':!0x0,'col':!0x0,'command':!0x0,'embed':!0x0,'frame':!0x0,'hr':!0x0,'img':!0x0,'input':!0x0,'keygen':!0x0,'link':!0x0,'meta':!0x0,'param':!0x0,'source':!0x0,'track':!0x0,'wbr':!0x0,'menuitem':!0x0},implicitlyClosed={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},closeOnOpen={'dd':{'dd':!0x0,'dt':!0x0},'dt':{'dd':!0x0,'dt':!0x0},'li':{'li':!0x0},'option':{'option':!0x0,'optgroup':!0x0},'optgroup':{'optgroup':!0x0},'p':{'address':!0x0,'article':!0x0,'aside':!0x0,'blockquote':!0x0,'dir':!0x0,'div':!0x0,'dl':!0x0,'fieldset':!0x0,'footer':!0x0,'form':!0x0,'h1':!0x0,'h2':!0x0,'h3':!0x0,'h4':!0x0,'h5':!0x0,'h6':!0x0,'header':!0x0,'hgroup':!0x0,'hr':!0x0,'menu':!0x0,'nav':!0x0,'ol':!0x0,'p':!0x0,'pre':!0x0,'section':!0x0,'table':!0x0,'ul':!0x0},'rp':{'rp':!0x0,'rt':!0x0},'rt':{'rp':!0x0,'rt':!0x0},'tbody':{'tbody':!0x0,'tfoot':!0x0},'td':{'td':!0x0,'th':!0x0},'tfoot':{'tbody':!0x0},'th':{'td':!0x0,'th':!0x0},'thead':{'tbody':!0x0,'tfoot':!0x0},'tr':{'tr':!0x0}};function nameChar(_0xc5b741){return 0x2d==_0xc5b741||0x2e==_0xc5b741||0x3a==_0xc5b741||_0xc5b741>=0x41&&_0xc5b741<=0x5a||0x5f==_0xc5b741||_0xc5b741>=0x61&&_0xc5b741<=0x7a||_0xc5b741>=0xa1;}function isSpace(_0x58397c){return 0x9==_0x58397c||0xa==_0x58397c||0xd==_0x58397c||0x20==_0x58397c;}let cachedName=null,cachedInput=null,cachedPos=0x0;function tagNameAfter(_0x42b06d,_0x320664){let _0x3f78ad=_0x42b06d['pos']+_0x320664;if(cachedPos==_0x3f78ad&&cachedInput==_0x42b06d)return cachedName;let _0x1216db=_0x42b06d['peek'](_0x320664);for(;isSpace(_0x1216db);)_0x1216db=_0x42b06d['peek'](++_0x320664);let _0x1480bc='';for(;nameChar(_0x1216db);)_0x1480bc+=String['fromCharCode'](_0x1216db),_0x1216db=_0x42b06d['peek'](++_0x320664);return cachedInput=_0x42b06d,cachedPos=_0x3f78ad,cachedName=_0x1480bc?_0x1480bc['toLowerCase']():_0x1216db==question$1||_0x1216db==bang?void 0x0:null;}const lessThan=0x3c,greaterThan=0x3e,slash$1=0x2f,question$1=0x3f,bang=0x21,dash$1=0x2d;function ElementContext(_0x1870ec,_0x496947){this['name']=_0x1870ec,this['parent']=_0x496947;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x5c4bf7,_0x4cdfc9,_0x571dee,_0x215e3b)=>startTagTerms['indexOf'](_0x4cdfc9)>-0x1?new ElementContext(tagNameAfter(_0x215e3b,0x1)||'',_0x5c4bf7):_0x5c4bf7,'reduce':(_0x3f9710,_0x90c6cc)=>_0x90c6cc==Element$2&&_0x3f9710?_0x3f9710['parent']:_0x3f9710,'reuse'(_0x34bc8b,_0x5cad51,_0x342611,_0x40e494){let _0x2a3038=_0x5cad51['type']['id'];return _0x2a3038==StartTag||_0x2a3038==OpenTag?new ElementContext(tagNameAfter(_0x40e494,0x1)||'',_0x34bc8b):_0x34bc8b;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0x56d389,_0x452826)=>{if(_0x56d389['next']!=lessThan)return void(_0x56d389['next']<0x0&&_0x452826['context']&&_0x56d389['acceptToken'](missingCloseTag));_0x56d389['advance']();let _0x504dba=_0x56d389['next']==slash$1;_0x504dba&&_0x56d389['advance']();let _0x14952e=tagNameAfter(_0x56d389,0x0);if(void 0x0===_0x14952e)return;if(!_0x14952e)return _0x56d389['acceptToken'](_0x504dba?IncompleteCloseTag:StartTag);let _0x1099fb=_0x452826['context']?_0x452826['context']['name']:null;if(_0x504dba){if(_0x14952e==_0x1099fb)return _0x56d389['acceptToken'](StartCloseTag);if(_0x1099fb&&implicitlyClosed[_0x1099fb])return _0x56d389['acceptToken'](missingCloseTag,-0x2);if(_0x452826['dialectEnabled'](Dialect_noMatch))return _0x56d389['acceptToken'](NoMatchStartCloseTag);for(let _0x54b760=_0x452826['context'];_0x54b760;_0x54b760=_0x54b760['parent'])if(_0x54b760['name']==_0x14952e)return;_0x56d389['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0x14952e)return _0x56d389['acceptToken'](StartScriptTag);if('style'==_0x14952e)return _0x56d389['acceptToken'](StartStyleTag);if('textarea'==_0x14952e)return _0x56d389['acceptToken'](StartTextareaTag);if(selfClosers$1['hasOwnProperty'](_0x14952e))return _0x56d389['acceptToken'](StartSelfClosingTag);_0x1099fb&&closeOnOpen[_0x1099fb]&&closeOnOpen[_0x1099fb][_0x14952e]?_0x56d389['acceptToken'](missingCloseTag,-0x1):_0x56d389['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x29668b=>{for(let _0x2edee6=0x0,_0x50a8cb=0x0;;_0x50a8cb++){if(_0x29668b['next']<0x0){_0x50a8cb&&_0x29668b['acceptToken'](commentContent$1);break;}if(_0x29668b['next']==dash$1)_0x2edee6++;else{if(_0x29668b['next']==greaterThan&&_0x2edee6>=0x2){_0x50a8cb>=0x3&&_0x29668b['acceptToken'](commentContent$1,-0x2);break;}_0x2edee6=0x0;}_0x29668b['advance']();}});function inForeignElement(_0x4c02fe){for(;_0x4c02fe;_0x4c02fe=_0x4c02fe['parent'])if('svg'==_0x4c02fe['name']||'math'==_0x4c02fe['name'])return!0x0;return!0x1;}const endTag=new ExternalTokenizer((_0x7eca1b,_0x2ebcc7)=>{if(_0x7eca1b['next']==slash$1&&_0x7eca1b['peek'](0x1)==greaterThan){let _0x513680=_0x2ebcc7['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0x2ebcc7['context']);_0x7eca1b['acceptToken'](_0x513680?SelfClosingEndTag:EndTag,0x2);}else _0x7eca1b['next']==greaterThan&&_0x7eca1b['acceptToken'](EndTag,0x1);});function contentTokenizer(_0x13626b,_0x54f499,_0x31be34){let _0x5b4081=0x2+_0x13626b['length'];return new ExternalTokenizer(_0xc48582=>{for(let _0x179ccf=0x0,_0x301145=0x0,_0x1a063f=0x0;;_0x1a063f++){if(_0xc48582['next']<0x0){_0x1a063f&&_0xc48582['acceptToken'](_0x54f499);break;}if(0x0==_0x179ccf&&_0xc48582['next']==lessThan||0x1==_0x179ccf&&_0xc48582['next']==slash$1||_0x179ccf>=0x2&&_0x179ccf<_0x5b4081&&_0xc48582['next']==_0x13626b['charCodeAt'](_0x179ccf-0x2))_0x179ccf++,_0x301145++;else{if(0x2!=_0x179ccf&&_0x179ccf!=_0x5b4081||!isSpace(_0xc48582['next'])){if(_0x179ccf==_0x5b4081&&_0xc48582['next']==greaterThan){_0x1a063f>_0x301145?_0xc48582['acceptToken'](_0x54f499,-_0x301145):_0xc48582['acceptToken'](_0x31be34,-(_0x301145-0x2));break;}if((0xa==_0xc48582['next']||0xd==_0xc48582['next'])&&_0x1a063f){_0xc48582['acceptToken'](_0x54f499,0x1);break;}_0x179ccf=_0x301145=0x0;}else _0x301145++;}_0xc48582['advance']();}});}const scriptTokens=contentTokenizer('script',scriptText,StartCloseScriptTag),styleTokens=contentTokenizer('style',styleText,StartCloseStyleTag),textareaTokens=contentTokenizer('textarea',textareaText,StartCloseTextareaTag),htmlHighlighting=styleTags({'Text\x20RawText':tags$1['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':tags$1['angleBracket'],'TagName':tags$1['tagName'],'MismatchedCloseTag/TagName':[tags$1['tagName'],tags$1['invalid']],'AttributeName':tags$1['attributeName'],'AttributeValue\x20UnquotedAttributeValue':tags$1['attributeValue'],'Is':tags$1['definitionOperator'],'EntityReference\x20CharacterReference':tags$1['character'],'Comment':tags$1['blockComment'],'ProcessingInst':tags$1['processingInstruction'],'DoctypeDecl':tags$1['documentMeta']}),parser$3=LRParser['deserialize']({'version':0xe,'states':',xOVO!rOOO!WQ#tO\x27#CqO!]Q#tO\x27#CzO!bQ#tO\x27#C}O!gQ#tO\x27#DQO!lQ#tO\x27#DSO!qOaO\x27#CpO!|ObO\x27#CpO#XOdO\x27#CpO$eO!rO\x27#CpOOO`\x27#Cp\x27#CpO$lO$fO\x27#DTO$tQ#tO\x27#DVO$yQ#tO\x27#DWOOO`\x27#Dk\x27#DkOOO`\x27#DY\x27#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa\x27#D^\x27#D^O&XOaO\x27#CxO&dOaO,59[OOOb\x27#D_\x27#D_O&lObO\x27#C{O&wObO,59[OOOd\x27#D`\x27#D`O\x27POdO\x27#DOO\x27[OdO,59[OOO`\x27#Da\x27#DaO\x27dO!rO,59[O\x27kQ#tO\x27#DROOO`,59[,59[OOOp\x27#Db\x27#DbO\x27pO$fO,59oOOO`,59o,59oO\x27xQ#|O,59qO\x27}Q#|O,59rOOO`-E7W-E7WO(SQ&rO\x27#CsOOQW\x27#DZ\x27#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO\x27#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO\x27#C|OOOd-E7^-E7^O)uQ#tO\x27#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O\x27#CvO*|OMhO\x27#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO\x27#D[\x27#D[O+_O7[O,59bOOQW,59b,59bOOOO\x27#D]\x27#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z','stateData':',]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~','goto':'%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp','nodeNames':'⚠\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20EndTag\x20SelfClosingEndTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20IncompleteCloseTag\x20Document\x20Text\x20EntityReference\x20CharacterReference\x20InvalidEntity\x20Element\x20OpenTag\x20TagName\x20Attribute\x20AttributeName\x20Is\x20AttributeValue\x20UnquotedAttributeValue\x20ScriptText\x20CloseTag\x20OpenTag\x20StyleText\x20CloseTag\x20OpenTag\x20TextareaText\x20CloseTag\x20OpenTag\x20CloseTag\x20SelfClosingTag\x20Comment\x20ProcessingInst\x20MismatchedCloseTag\x20CloseTag\x20DoctypeDecl','maxTerm':0x43,'context':elementContext,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x15,0x1e,0x21,0x24,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1d,0x20,0x23,0x25,'OpenTag'],['group',-0x9,0xe,0x11,0x12,0x13,0x14,0x27,0x28,0x29,0x2a,'Entity',0x10,'Entity\x20TextContent',-0x3,0x1c,0x1f,0x22,'TextContent\x20Entity'],['isolate',-0xb,0x15,0x1d,0x1e,0x20,0x21,0x23,0x24,0x25,0x26,0x29,0x2a,'ltr',-0x3,0x1a,0x1b,0x27,'']],'propSources':[htmlHighlighting],'skippedNodes':[0x0],'repeatNodeCount':0x9,'tokenData':'!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;\x27S$q;\x27S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UV`P!cpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pT`POv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!cpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!a`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;\x27S1k;\x27S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;\x27S@O;\x27S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;\x27SAY;\x27S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!\x27]!g#W*V#W#X!0`#X;\x27S*V;\x27S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;\x27S!,h;\x27S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;\x27S!-S;\x27S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;\x27S!5k;\x27S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;\x27S!6V;\x27S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;\x27S!6V;\x27S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[scriptTokens,styleTokens,textareaTokens,endTag,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0xf]},'dialects':{'noMatch':0x0,'selfClosing':0x1fd},'tokenPrec':0x1ff});function getAttrs(_0xf43574,_0x442501){let _0x16142d=Object['create'](null);for(let _0x3f75b1 of _0xf43574['getChildren'](Attribute)){let _0x378f54=_0x3f75b1['getChild'](AttributeName),_0x54a964=_0x3f75b1['getChild'](AttributeValue)||_0x3f75b1['getChild'](UnquotedAttributeValue);_0x378f54&&(_0x16142d[_0x442501['read'](_0x378f54['from'],_0x378f54['to'])]=_0x54a964?_0x54a964['type']['id']==AttributeValue?_0x442501['read'](_0x54a964['from']+0x1,_0x54a964['to']-0x1):_0x442501['read'](_0x54a964['from'],_0x54a964['to']):'');}return _0x16142d;}function findTagName(_0x364d63,_0xce133d){let _0x43112f=_0x364d63['getChild'](TagName);return _0x43112f?_0xce133d['read'](_0x43112f['from'],_0x43112f['to']):'\x20';}function maybeNest(_0x447f64,_0x534f8f,_0x5e0006){let _0x4cc299;for(let _0x2c5b01 of _0x5e0006)if(!_0x2c5b01['attrs']||_0x2c5b01['attrs'](_0x4cc299||(_0x4cc299=getAttrs(_0x447f64['node']['parent']['firstChild'],_0x534f8f))))return{'parser':_0x2c5b01['parser']};return null;}function configureNesting(_0x157398=[],_0x5dc8db=[]){let _0xffa871=[],_0x2ec9ab=[],_0x2fafcc=[],_0x195846=[];for(let _0x30045e of _0x157398){('script'==_0x30045e['tag']?_0xffa871:'style'==_0x30045e['tag']?_0x2ec9ab:'textarea'==_0x30045e['tag']?_0x2fafcc:_0x195846)['push'](_0x30045e);}let _0x3fd879=_0x5dc8db['length']?Object['create'](null):null;for(let _0x225256 of _0x5dc8db)(_0x3fd879[_0x225256['name']]||(_0x3fd879[_0x225256['name']]=[]))['push'](_0x225256);return parseMixed((_0x3c0504,_0x244c6b)=>{let _0x17b409=_0x3c0504['type']['id'];if(_0x17b409==ScriptText)return maybeNest(_0x3c0504,_0x244c6b,_0xffa871);if(_0x17b409==StyleText)return maybeNest(_0x3c0504,_0x244c6b,_0x2ec9ab);if(_0x17b409==TextareaText)return maybeNest(_0x3c0504,_0x244c6b,_0x2fafcc);if(_0x17b409==Element$2&&_0x195846['length']){let _0x4c5e03,_0x5a0cbd=_0x3c0504['node'],_0x41f26b=_0x5a0cbd['firstChild'],_0x2db529=_0x41f26b&&findTagName(_0x41f26b,_0x244c6b);if(_0x2db529){for(let _0x498302 of _0x195846)if(_0x498302['tag']==_0x2db529&&(!_0x498302['attrs']||_0x498302['attrs'](_0x4c5e03||(_0x4c5e03=getAttrs(_0x41f26b,_0x244c6b))))){let _0x1bfa30=_0x5a0cbd['lastChild'],_0x563828=_0x1bfa30['type']['id']==CloseTag?_0x1bfa30['from']:_0x5a0cbd['to'];if(_0x563828>_0x41f26b['to'])return{'parser':_0x498302['parser'],'overlay':[{'from':_0x41f26b['to'],'to':_0x563828}]};}}}if(_0x3fd879&&_0x17b409==Attribute){let _0x49b1ad,_0x1be5f4=_0x3c0504['node'];if(_0x49b1ad=_0x1be5f4['firstChild']){let _0x4ced3c=_0x3fd879[_0x244c6b['read'](_0x49b1ad['from'],_0x49b1ad['to'])];if(_0x4ced3c)for(let _0xe51401 of _0x4ced3c){if(_0xe51401['tagName']&&_0xe51401['tagName']!=findTagName(_0x1be5f4['parent'],_0x244c6b))continue;let _0x27cd7a=_0x1be5f4['lastChild'];if(_0x27cd7a['type']['id']==AttributeValue){let _0x166c4b=_0x27cd7a['from']+0x1,_0x4101df=_0x27cd7a['lastChild'],_0x49b026=_0x27cd7a['to']-(_0x4101df&&_0x4101df['isError']?0x0:0x1);if(_0x49b026>_0x166c4b)return{'parser':_0xe51401['parser'],'overlay':[{'from':_0x166c4b,'to':_0x49b026}]};}else{if(_0x27cd7a['type']['id']==UnquotedAttributeValue)return{'parser':_0xe51401['parser'],'overlay':[{'from':_0x27cd7a['from'],'to':_0x27cd7a['to']}]};}}}}return null;});}const descendantOp=0x64,Unit=0x1,callee=0x65,identifier$2=0x66,VariableName=0x2,space$2=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000],colon=0x3a,parenL=0x28,underscore=0x5f,bracketL$1=0x5b,dash=0x2d,period=0x2e,hash=0x23,percent=0x25,ampersand=0x26,backslash=0x5c,newline$1=0xa;function isAlpha(_0x140628){return _0x140628>=0x41&&_0x140628<=0x5a||_0x140628>=0x61&&_0x140628<=0x7a||_0x140628>=0xa1;}function isDigit(_0x322c8a){return _0x322c8a>=0x30&&_0x322c8a<=0x39;}const identifiers=new ExternalTokenizer((_0x434075,_0x5a0727)=>{for(let _0x32ab06=!0x1,_0x5cdb12=0x0,_0x33c3ce=0x0;;_0x33c3ce++){let {next:_0x27fc3c}=_0x434075;if(isAlpha(_0x27fc3c)||_0x27fc3c==dash||_0x27fc3c==underscore||_0x32ab06&&isDigit(_0x27fc3c))!_0x32ab06&&(_0x27fc3c!=dash||_0x33c3ce>0x0)&&(_0x32ab06=!0x0),_0x5cdb12===_0x33c3ce&&_0x27fc3c==dash&&_0x5cdb12++,_0x434075['advance']();else{if(_0x27fc3c!=backslash||_0x434075['peek'](0x1)==newline$1){_0x32ab06&&_0x434075['acceptToken'](_0x27fc3c==parenL?callee:0x2==_0x5cdb12&&_0x5a0727['canShift'](VariableName)?VariableName:identifier$2);break;}_0x434075['advance'](),_0x434075['next']>-0x1&&_0x434075['advance'](),_0x32ab06=!0x0;}}}),descendant=new ExternalTokenizer(_0x78e198=>{if(space$2['includes'](_0x78e198['peek'](-0x1))){let {next:_0x45532a}=_0x78e198;(isAlpha(_0x45532a)||_0x45532a==underscore||_0x45532a==hash||_0x45532a==period||_0x45532a==bracketL$1||_0x45532a==colon&&isAlpha(_0x78e198['peek'](0x1))||_0x45532a==dash||_0x45532a==ampersand)&&_0x78e198['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x9bed70=>{if(!space$2['includes'](_0x9bed70['peek'](-0x1))){let {next:_0x5b89fe}=_0x9bed70;if(_0x5b89fe==percent&&(_0x9bed70['advance'](),_0x9bed70['acceptToken'](Unit)),isAlpha(_0x5b89fe)){do{_0x9bed70['advance']();}while(isAlpha(_0x9bed70['next'])||isDigit(_0x9bed70['next']));_0x9bed70['acceptToken'](Unit);}}}),cssHighlighting=styleTags({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':tags$1['definitionKeyword'],'from\x20to\x20selector':tags$1['keyword'],'NamespaceName':tags$1['namespace'],'KeyframeName':tags$1['labelName'],'KeyframeRangeName':tags$1['operatorKeyword'],'TagName':tags$1['tagName'],'ClassName':tags$1['className'],'PseudoClassName':tags$1['constant'](tags$1['className']),'IdName':tags$1['labelName'],'FeatureName\x20PropertyName':tags$1['propertyName'],'AttributeName':tags$1['attributeName'],'NumberLiteral':tags$1['number'],'KeywordQuery':tags$1['keyword'],'UnaryQueryOp':tags$1['operatorKeyword'],'CallTag\x20ValueName':tags$1['atom'],'VariableName':tags$1['variableName'],'Callee':tags$1['operatorKeyword'],'Unit':tags$1['unit'],'UniversalSelector\x20NestingSelector':tags$1['definitionOperator'],'MatchOp':tags$1['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':tags$1['logicOperator'],'BinOp':tags$1['arithmeticOperator'],'Important':tags$1['modifier'],'Comment':tags$1['blockComment'],'ColorLiteral':tags$1['color'],'ParenthesizedContent\x20StringLiteral':tags$1['string'],':':tags$1['punctuation'],'PseudoOp\x20#':tags$1['derefOperator'],';\x20,':tags$1['separator'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace']}),spec_callee={'__proto__':null,'lang':0x22,'nth-child':0x22,'nth-last-child':0x22,'nth-of-type':0x22,'nth-last-of-type':0x22,'dir':0x22,'host-context':0x22,'url':0x3e,'url-prefix':0x3e,'domain':0x3e,'regexp':0x3e,'selector':0x8c},spec_AtKeyword={'__proto__':null,'@import':0x78,'@media':0x90,'@charset':0x94,'@namespace':0x98,'@keyframes':0x9e,'@supports':0xaa},spec_identifier$1={'__proto__':null,'not':0x86,'only':0x86},parser$2=LRParser['deserialize']({'version':0xe,'states':':jQYQ[OOO#_Q[OOP#fOWOOOOQP\x27#Cd\x27#CdOOQP\x27#Cc\x27#CcO#kQ[O\x27#CfO$_QXO\x27#CaO$fQ[O\x27#CiO$qQ[O\x27#DUO$vQ[O\x27#DXOOQP\x27#En\x27#EnO${QdO\x27#DhO%jQ[O\x27#DuO${QdO\x27#DwO%{Q[O\x27#DyO&WQ[O\x27#D|O&`Q[O\x27#ESO&nQ[O\x27#EUOOQS\x27#Em\x27#EmOOQS\x27#EX\x27#EXQYQ[OOO&uQXO\x27#CdO\x27jQWO\x27#DdO\x27oQWO\x27#EsO\x27zQ[O\x27#EsQOQWOOP(UO#tO\x27#C_POOO)C@])C@]OOQP\x27#Ch\x27#ChOOQP,59Q,59QO#kQ[O,59QO(aQ[O\x27#E]O({QWO,58{O)TQ[O,59TO$qQ[O,59pO$vQ[O,59sO(aQ[O,59vO(aQ[O,59xO(aQ[O,59yO)`Q[O\x27#DcOOQS,58{,58{OOQP\x27#Cl\x27#ClOOQO\x27#DS\x27#DSOOQP,59T,59TO)gQWO,59TO)lQWO,59TOOQP\x27#DW\x27#DWOOQP,59p,59pOOQO\x27#DY\x27#DYO)qQ`O,59sOOQS\x27#Cq\x27#CqO${QdO\x27#CrO)yQvO\x27#CtO+ZQtO,5:SOOQO\x27#Cy\x27#CyO)lQWO\x27#CxO+oQWO\x27#CzO+tQ[O\x27#DPOOQS\x27#Ep\x27#EpOOQO\x27#Dk\x27#DkO+|Q[O\x27#DrO,[QWO\x27#EtO&`Q[O\x27#DpO,jQWO\x27#DsOOQO\x27#Eu\x27#EuO)OQWO,5:aO,oQpO,5:cOOQS\x27#D{\x27#D{O,wQWO,5:eO,|Q[O,5:eOOQO\x27#EO\x27#EOO-UQWO,5:hO-ZQWO,5:nO-cQWO,5:pOOQS-E8V-E8VO-kQdO,5:OO-{Q[O\x27#E_O.YQWO,5;_O.YQWO,5;_POOO\x27#EW\x27#EWP.eO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO/[QXO,5:wOOQO-E8Z-E8ZOOQS1G.g1G.gOOQP1G.o1G.oO)gQWO1G.oO)lQWO1G.oOOQP1G/[1G/[O/iQ`O1G/_O0SQXO1G/bO0jQXO1G/dO1QQXO1G/eO1hQWO,59}O1mQ[O\x27#DTO1tQdO\x27#CpOOQP1G/_1G/_O${QdO1G/_O1{QpO,59^OOQS,59`,59`O${QdO,59bO2TQWO1G/nOOQS,59d,59dO2YQ!bO,59fOOQS\x27#DQ\x27#DQOOQS\x27#EZ\x27#EZO2eQ[O,59kOOQS,59k,59kO2mQWO\x27#DkO2xQWO,5:WO2}QWO,5:^O&`Q[O,5:YO&`Q[O\x27#E`O3VQWO,5;`O3bQWO,5:[O(aQ[O,5:_OOQS1G/{1G/{OOQS1G/}1G/}OOQS1G0P1G0PO3sQWO1G0PO3xQdO\x27#EPOOQS1G0S1G0SOOQS1G0Y1G0YOOQS1G0[1G0[O4TQtO1G/jOOQO1G/j1G/jOOQO,5:y,5:yO4kQ[O,5:yOOQO-E8]-E8]O4xQWO1G0yPOOO-E8U-E8UPOOO1G.e1G.eOOQP7+$Z7+$ZOOQP7+$y7+$yO${QdO7+$yOOQS1G/i1G/iO5TQXO\x27#ErO5[QWO,59oO5aQtO\x27#EYO6XQdO\x27#EoO6cQWO,59[O6hQpO7+$yOOQS1G.x1G.xOOQS1G.|1G.|OOQS7+%Y7+%YOOQS1G/Q1G/QO6pQWO1G/QOOQS-E8X-E8XOOQS1G/V1G/VO${QdO1G/rOOQO1G/x1G/xOOQO1G/t1G/tO6uQWO,5:zOOQO-E8^-E8^O7TQXO1G/yOOQS7+%k7+%kO7[QYO\x27#CtOOQO\x27#ER\x27#ERO7gQ`O\x27#EQOOQO\x27#EQ\x27#EQO7rQWO\x27#EaO7zQdO,5:kOOQS,5:k,5:kO8VQtO\x27#E^O${QdO\x27#E^O9WQdO7+%UOOQO7+%U7+%UOOQO1G0e1G0eO9kQpO<<HeO9sQWO,5;^OOQP1G/Z1G/ZOOQS-E8W-E8WO${QdO\x27#E[O9{QWO,5;ZOOQT1G.v1G.vOOQP<<He<<HeOOQS7+$l7+$lO:TQdO7+%^OOQO7+%e7+%eOOQO,5:l,5:lO3{QdO\x27#EbO7rQWO,5:{OOQS,5:{,5:{OOQS-E8_-E8_OOQS1G0V1G0VO:[QtO,5:xOOQS-E8[-E8[OOQO<<Hp<<HpOOQPAN>PAN>PO;]QdO,5:vOOQO-E8Y-E8YOOQO<<Hx<<HxOOQO,5:|,5:|OOQO-E8`-E8`OOQS1G0g1G0g','stateData':';o~O#[OS#]QQ~OUYOXYOZTO^VO_VOrXOyWO!]aO!^ZO!j[O!l]O!n^O!q_O!w`O#YRO~OQfOUYOXYOZTO^VO_VOrXOyWO!]aO!^ZO!j[O!l]O!n^O!q_O!w`O#YeO~O#V#gP~P!ZO#]jO~O#YlO~OZnO^qO_qOrsOuoOyrO!PtO!SvO#WuO~O!UwO~P#pOa}O#XzO#YyO~O#Y!OO~O#Y!QO~OQ![Oc!TOg![Oi![Oo!YOr!ZO#X!WO#Y!SO#e!UO~Oc!^O!e!`O!h!aO#Y!]O!U#hP~Oi!fOo!YO#Y!eO~Oi!hO#Y!hO~Oc!^O!e!`O!h!aO#Y!]O~O!Z#hP~P%jOZWX^WX^!XX_WXrWXuWXyWX!PWX!SWX!UWX#WWX~O^!mO~O!Z!nO#V#gX!T#gX~O#V#gX!T#gX~P!ZO#^!qO#_!qO#`!sO~OUYOXYOZTO^VO_VOrXOyWO#YRO~OuoO!UwO~Oa!zO#XzO#YyO~O!T#gP~P!ZOc#RO~Oc#SO~Oq#TO}#UO~OP#WOchXkhX!ZhX!ehX!hhX#YhXbhXQhXghXihXohXrhXuhX!YhX#VhX#XhX#ehXqhX!ThX~Oc!^Ok#XO!e!`O!h!aO#Y!]O!Z#hP~Oc#[O~Oq#`O#Y#]O~Oc!^O!e!`O!h!aO#Y#aO~Ou#eO!c#dO!U#hX!Z#hX~Oc#hO~Ok#XO!Z#jO~O!Z#kO~Oi#lOo!YO~O!U#mO~O!UwO!c#dO~O!UwO!Z#pO~O!Y#rO!Z!Wa#V!Wa!T!Wa~P${O!Z#RX#V#RX!T#RX~P!ZO!Z!nO#V#ga!T#ga~O#^!qO#_!qO#`#xO~OZnO^qO_qOrsOyrO!PtO!SvO#WuO~Ou#Pa!U#Pab#Pa~P.pOq#zO}#{O~OZnO^qO_qOrsOyrO~Ou!Oi!P!Oi!S!Oi!U!Oi#W!Oib!Oi~P/qOu!Qi!P!Qi!S!Qi!U!Qi#W!Qib!Qi~P/qOu!Ri!P!Ri!S!Ri!U!Ri#W!Rib!Ri~P/qO!T#|O~Ob#fP~P(aOb#cP~P${Ob$TOk#XO~O!Z$VO~Ob$WOi$XOp$XO~Oq$ZO#Y#]O~O^!aXb!_X!c!_X~O^$[O~Ob$]O!c#dO~Ou#eO!U#ha!Z#ha~O!c#dOu!da!U!da!Z!dab!da~O!Z$bO~O!T$iO#Y$dO#e$cO~Ok#XOu$kO!Y$mO!Z!Wi#V!Wi!T!Wi~P${O!Z#Ra#V#Ra!T#Ra~P!ZO!Z!nO#V#gi!T#gi~Ob#fX~P#pOb$qO~Ok#XOQ!|Xb!|Xc!|Xg!|Xi!|Xo!|Xr!|Xu!|X#X!|X#Y!|X#e!|X~Ou$sOb#cX~P${Ob$uO~Ok#XOq$vO~Ob$wO~O!c#dOu#Sa!U#Sa!Z#Sa~Ob$yO~P.pOP#WOuhX!UhX~O#e$cOu!tX!U!tX~Ou${O!UwO~O!T%PO#Y$dO#e$cO~Ok#XOQ#QXc#QXg#QXi#QXo#QXr#QXu#QX!Y#QX!Z#QX#V#QX#X#QX#Y#QX#e#QX!T#QX~Ou$kO!Y%SO!Z!Wq#V!Wq!T!Wq~P${Ok#XOq%TO~OuoOb#fa~Ou$sOb#ca~Ob%WO~P${Ok#XOQ#Qac#Qag#Qai#Qao#Qar#Qau#Qa!Y#Qa!Z#Qa#V#Qa#X#Qa#Y#Qa#e#Qa!T#Qa~Ob#Oau#Oa~P${O#[p#]#ek!S#e~','goto':'-g#jPPP#kP#nP#w$WP#wP$g#wPP$mPPP$s$|$|P%`P$|P$|%z&^PPPP$|&vP&z\x27Q#wP\x27W#w\x27^P#wP#w#wPPP\x27d\x27y(WPP#nPP(_(_(i(_P(_P(_(_P#nP#nP#nP(l#nP(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+Z+v+yP,o,r,x-RRkQ_bOPdhw!n#tkYOPdhotuvw!n#R#h#tkSOPdhotuvw!n#R#h#tQmTR!tnQ{VR!xqQ!x}Q#Z!XR#y!zq![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UU$f#m$h${R$z$eq!XZ]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#y!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ$}$gR%Z$|SgPwQ!phQ#s!nR$n#tZfPhw!n#ta!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$g#m$hR%X${V$e#m$h${Q!rjR#w!rQdOShPwU!ldh#tR#t!nQ$Q#SU$r$Q$x%UQ$x$[R%U$sQ#_!ZR$Y#_Q$t$QR%V$tQpUS!vp$pR$p#}Q$l#qR%R$lQ!ogS#u!o#vR#v!pQ#f!_R$`#fQ$h#mR%O$hQ$|$gR%Y$|_cOPdhw!n#t^UOPdhw!n#tQ!uoQ!}tQ#OuQ#PvQ#}#RR$a#hR$R#SQ!VZQ!d]Q#V!TQ#q!m[$P#S$Q$[$s$x%UQ$S#UQ$U#XS$j#q$lQ$o#{R%Q$kR$O#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$^#dR$_#e','nodeNames':'⚠\x20Unit\x20VariableName\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20]\x20[\x20LineNames\x20LineName\x20,\x20PseudoClassName\x20ArgList\x20IdSelector\x20#\x20IdName\x20AttributeSelector\x20AttributeName\x20MatchOp\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20}\x20{\x20Block\x20Declaration\x20PropertyName\x20Important\x20;\x20ImportStatement\x20AtKeyword\x20import\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20AtRule\x20Styles','maxTerm':0x75,'nodeProps':[['isolate',-0x2,0x3,0x19,''],['openedBy',0x12,'(',0x21,'[',0x33,'{'],['closedBy',0x13,')',0x22,']',0x34,'}']],'propSources':[cssHighlighting],'skippedNodes':[0x0,0x3,0x58],'repeatNodeCount':0xb,'tokenData':'J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;\x27S$};\x27S;=`JW<%lO$}`%QSOy%^z;\x27S%^;\x27S;=`%o<%lO%^`%cSp`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^`%rP;=`<%l%^~%zh#[~OX%^X^\x27f^p%^pq\x27fqy%^z#y%^#y#z\x27f#z$f%^$f$g\x27f$g#BY%^#BY#BZ\x27f#BZ$IS%^$IS$I_\x27f$I_$I|%^$I|$JO\x27f$JO$JT%^$JT$JU\x27f$JU$KV%^$KV$KW\x27f$KW&FU%^&FU&FV\x27f&FV;\x27S%^;\x27S;=`%o<%lO%^~\x27mh#[~p`OX%^X^\x27f^p%^pq\x27fqy%^z#y%^#y#z\x27f#z$f%^$f$g\x27f$g#BY%^#BY#BZ\x27f#BZ$IS%^$IS$I_\x27f$I_$I|%^$I|$JO\x27f$JO$JT%^$JT$JU\x27f$JU$KV%^$KV$KW\x27f$KW&FU%^&FU&FV\x27f&FV;\x27S%^;\x27S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;\x27S%^;\x27S;=`%o<%lO%^l)sUp`Oy%^z#a%^#a#b*V#b;\x27S%^;\x27S;=`%o<%lO%^l*[Up`Oy%^z#d%^#d#e*n#e;\x27S%^;\x27S;=`%o<%lO%^l*sUp`Oy%^z#c%^#c#d+V#d;\x27S%^;\x27S;=`%o<%lO%^l+[Up`Oy%^z#f%^#f#g+n#g;\x27S%^;\x27S;=`%o<%lO%^l+sUp`Oy%^z#h%^#h#i,V#i;\x27S%^;\x27S;=`%o<%lO%^l,[Up`Oy%^z#T%^#T#U,n#U;\x27S%^;\x27S;=`%o<%lO%^l,sUp`Oy%^z#b%^#b#c-V#c;\x27S%^;\x27S;=`%o<%lO%^l-[Up`Oy%^z#h%^#h#i-n#i;\x27S%^;\x27S;=`%o<%lO%^l-uS!Y[p`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;\x27S.R;\x27S;=`/o<%lO.R~.sOi~~.vRO;\x27S.R;\x27S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;\x27S.R;\x27S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYyQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;\x27S%^;\x27S;=`%o<%lO%^l0oYp`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;\x27S%^;\x27S;=`%o<%lO%^l1dYp`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;\x27S%^;\x27S;=`%o<%lO%^l2ZYg[p`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;\x27S%^;\x27S;=`%o<%lO%^l3QYg[p`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;\x27S%^;\x27S;=`%o<%lO%^l3uYp`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;\x27S%^;\x27S;=`%o<%lO%^l4lYg[p`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;\x27S%^;\x27S;=`%o<%lO%^l5aYp`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;\x27S%^;\x27S;=`%o<%lO%^l6WSg[p`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;\x27S%^;\x27S;=`%o<%lO%^d7QS}Sp`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^b7cSXQOy%^z;\x27S%^;\x27S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;\x27S7o;\x27S;=`9W<%lO7o~8_RO;\x27S7o;\x27S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;\x27S7o;\x27S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSc^Oy%^z;\x27S%^;\x27S;=`%o<%lO%^~9tOb~n9{UUQkWOy%^z!_%^!_!`6y!`;\x27S%^;\x27S;=`%o<%lO%^n:fWkW!SQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;\x27S%^;\x27S;=`%o<%lO%^l;TUp`Oy%^z!Q%^!Q![;g![;\x27S%^;\x27S;=`%o<%lO%^l;nYp`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;\x27S%^;\x27S;=`%o<%lO%^l<cYp`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;\x27S%^;\x27S;=`%o<%lO%^l=WUp`Oy%^z!Q%^!Q![=j![;\x27S%^;\x27S;=`%o<%lO%^l=qUp`#e[Oy%^z!Q%^!Q![=j![;\x27S%^;\x27S;=`%o<%lO%^l>[[p`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;\x27S%^;\x27S;=`%o<%lO%^n?VSu^Oy%^z;\x27S%^;\x27S;=`%o<%lO%^l?hWkWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;\x27S%^;\x27S;=`%o<%lO%^n@VUZQOy%^z!Q%^!Q![;g![;\x27S%^;\x27S;=`%o<%lO%^~@nTkWOy%^z{@}{;\x27S%^;\x27S;=`%o<%lO%^~AUSp`#]~Oy%^z;\x27S%^;\x27S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;\x27S%^;\x27S;=`%o<%lO%^bBbU^QOy%^z![%^![!]Bt!];\x27S%^;\x27S;=`%o<%lO%^bB{S_Qp`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^nC^S!Z^Oy%^z;\x27S%^;\x27S;=`%o<%lO%^dCoS}SOy%^z;\x27S%^;\x27S;=`%o<%lO%^bDQU!PQOy%^z!`%^!`!aDd!a;\x27S%^;\x27S;=`%o<%lO%^bDkS!PQp`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;\x27S%^;\x27S;=`%o<%lO%^bEk[!]Qp`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;\x27S%^;\x27S;=`%o<%lO%^nFfSr^Oy%^z;\x27S%^;\x27S;=`%o<%lO%^nFwSq^Oy%^z;\x27S%^;\x27S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;\x27S%^;\x27S;=`%o<%lO%^bGoUp`Oy%^z#W%^#W#XHR#X;\x27S%^;\x27S;=`%o<%lO%^bHYS!cQp`Oy%^z;\x27S%^;\x27S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;\x27S%^;\x27S;=`%o<%lO%^fIQS!UUOy%^z;\x27S%^;\x27S;=`%o<%lO%^nIcS!T^Oy%^z;\x27S%^;\x27S;=`%o<%lO%^fItU!SQOy%^z!_%^!_!`6y!`;\x27S%^;\x27S;=`%o<%lO%^`JZP;=`<%l$}','tokenizers':[descendant,unitToken,identifiers,0x1,0x2,0x3,0x4,new LocalTokenGroup('m~RRYZ[z{a~~g~aO#_~~dP!P!Qg~lO#`~~',0x1c,0x6a)],'topRules':{'StyleSheet':[0x0,0x4],'Styles':[0x1,0x57]},'specialized':[{'term':0x65,'get':_0x537e2a=>spec_callee[_0x537e2a]||-0x1},{'term':0x3b,'get':_0x3e7f81=>spec_AtKeyword[_0x3e7f81]||-0x1},{'term':0x66,'get':_0x4b99d1=>spec_identifier$1[_0x4b99d1]||-0x1}],'tokenPrec':0x4c3});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0x520eb1}=document['body'],_0x3ac66a=[],_0x34d366=new Set();for(let _0x21c315 in _0x520eb1)'cssText'!=_0x21c315&&'cssFloat'!=_0x21c315&&'string'==typeof _0x520eb1[_0x21c315]&&(/[A-Z]/['test'](_0x21c315)&&(_0x21c315=_0x21c315['replace'](/[A-Z]/g,_0x507dc2=>'-'+_0x507dc2['toLowerCase']())),_0x34d366['has'](_0x21c315)||(_0x3ac66a['push'](_0x21c315),_0x34d366['add'](_0x21c315)));_properties=_0x3ac66a['sort']()['map'](_0x466e4a=>({'type':'property','label':_0x466e4a,'apply':_0x466e4a+':\x20'}));}return _properties||[];}const pseudoClasses=['active','after','any-link','autofill','backdrop','before','checked','cue','default','defined','disabled','empty','enabled','file-selector-button','first','first-child','first-letter','first-line','first-of-type','focus','focus-visible','focus-within','fullscreen','has','host','host-context','hover','in-range','indeterminate','invalid','is','lang','last-child','last-of-type','left','link','marker','modal','not','nth-child','nth-last-child','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','part','placeholder','placeholder-shown','read-only','read-write','required','right','root','scope','selection','slotted','target','target-text','valid','visited','where']['map'](_0x2ab385=>({'type':'class','label':_0x2ab385})),values=['above','absolute','activeborder','additive','activecaption','after-white-space','ahead','alias','all','all-scroll','alphabetic','alternate','always','antialiased','appworkspace','asterisks','attr','auto','auto-flow','avoid','avoid-column','avoid-page','avoid-region','axis-pan','background','backwards','baseline','below','bidi-override','blink','block','block-axis','bold','bolder','border','border-box','both','bottom','break','break-all','break-word','bullets','button','button-bevel','buttonface','buttonhighlight','buttonshadow','buttontext','calc','capitalize','caps-lock-indicator','caption','captiontext','caret','cell','center','checkbox','circle','cjk-decimal','clear','clip','close-quote','col-resize','collapse','color','color-burn','color-dodge','column','column-reverse','compact','condensed','contain','content','contents','content-box','context-menu','continuous','copy','counter','counters','cover','crop','cross','crosshair','currentcolor','cursive','cyclic','darken','dashed','decimal','decimal-leading-zero','default','default-button','dense','destination-atop','destination-in','destination-out','destination-over','difference','disc','discard','disclosure-closed','disclosure-open','document','dot-dash','dot-dot-dash','dotted','double','down','e-resize','ease','ease-in','ease-in-out','ease-out','element','ellipse','ellipsis','embed','end','ethiopic-abegede-gez','ethiopic-halehame-aa-er','ethiopic-halehame-gez','ew-resize','exclusion','expanded','extends','extra-condensed','extra-expanded','fantasy','fast','fill','fill-box','fixed','flat','flex','flex-end','flex-start','footnotes','forwards','from','geometricPrecision','graytext','grid','groove','hand','hard-light','help','hidden','hide','higher','highlight','highlighttext','horizontal','hsl','hsla','hue','icon','ignore','inactiveborder','inactivecaption','inactivecaptiontext','infinite','infobackground','infotext','inherit','initial','inline','inline-axis','inline-block','inline-flex','inline-grid','inline-table','inset','inside','intrinsic','invert','italic','justify','keep-all','landscape','large','larger','left','level','lighter','lighten','line-through','linear','linear-gradient','lines','list-item','listbox','listitem','local','logical','loud','lower','lower-hexadecimal','lower-latin','lower-norwegian','lowercase','ltr','luminosity','manipulation','match','matrix','matrix3d','medium','menu','menutext','message-box','middle','min-intrinsic','mix','monospace','move','multiple','multiple_mask_images','multiply','n-resize','narrower','ne-resize','nesw-resize','no-close-quote','no-drop','no-open-quote','no-repeat','none','normal','not-allowed','nowrap','ns-resize','numbers','numeric','nw-resize','nwse-resize','oblique','opacity','open-quote','optimizeLegibility','optimizeSpeed','outset','outside','outside-shape','overlay','overline','padding','padding-box','painted','page','paused','perspective','pinch-zoom','plus-darker','plus-lighter','pointer','polygon','portrait','pre','pre-line','pre-wrap','preserve-3d','progress','push-button','radial-gradient','radio','read-only','read-write','read-write-plaintext-only','rectangle','region','relative','repeat','repeating-linear-gradient','repeating-radial-gradient','repeat-x','repeat-y','reset','reverse','rgb','rgba','ridge','right','rotate','rotate3d','rotateX','rotateY','rotateZ','round','row','row-resize','row-reverse','rtl','run-in','running','s-resize','sans-serif','saturation','scale','scale3d','scaleX','scaleY','scaleZ','screen','scroll','scrollbar','scroll-position','se-resize','self-start','self-end','semi-condensed','semi-expanded','separate','serif','show','single','skew','skewX','skewY','skip-white-space','slide','slider-horizontal','slider-vertical','sliderthumb-horizontal','sliderthumb-vertical','slow','small','small-caps','small-caption','smaller','soft-light','solid','source-atop','source-in','source-out','source-over','space','space-around','space-between','space-evenly','spell-out','square','start','static','status-bar','stretch','stroke','stroke-box','sub','subpixel-antialiased','svg_masks','super','sw-resize','symbolic','symbols','system-ui','table','table-caption','table-cell','table-column','table-column-group','table-footer-group','table-header-group','table-row','table-row-group','text','text-bottom','text-top','textarea','textfield','thick','thin','threeddarkshadow','threedface','threedhighlight','threedlightshadow','threedshadow','to','top','transform','translate','translate3d','translateX','translateY','translateZ','transparent','ultra-condensed','ultra-expanded','underline','unidirectional-pan','unset','up','upper-latin','uppercase','url','var','vertical','vertical-text','view-box','visible','visibleFill','visiblePainted','visibleStroke','visual','w-resize','wait','wave','wider','window','windowframe','windowtext','words','wrap','wrap-reverse','x-large','x-small','xor','xx-large','xx-small']['map'](_0x536746=>({'type':'keyword','label':_0x536746}))['concat'](['aliceblue','antiquewhite','aqua','aquamarine','azure','beige','bisque','black','blanchedalmond','blue','blueviolet','brown','burlywood','cadetblue','chartreuse','chocolate','coral','cornflowerblue','cornsilk','crimson','cyan','darkblue','darkcyan','darkgoldenrod','darkgray','darkgreen','darkkhaki','darkmagenta','darkolivegreen','darkorange','darkorchid','darkred','darksalmon','darkseagreen','darkslateblue','darkslategray','darkturquoise','darkviolet','deeppink','deepskyblue','dimgray','dodgerblue','firebrick','floralwhite','forestgreen','fuchsia','gainsboro','ghostwhite','gold','goldenrod','gray','grey','green','greenyellow','honeydew','hotpink','indianred','indigo','ivory','khaki','lavender','lavenderblush','lawngreen','lemonchiffon','lightblue','lightcoral','lightcyan','lightgoldenrodyellow','lightgray','lightgreen','lightpink','lightsalmon','lightseagreen','lightskyblue','lightslategray','lightsteelblue','lightyellow','lime','limegreen','linen','magenta','maroon','mediumaquamarine','mediumblue','mediumorchid','mediumpurple','mediumseagreen','mediumslateblue','mediumspringgreen','mediumturquoise','mediumvioletred','midnightblue','mintcream','mistyrose','moccasin','navajowhite','navy','oldlace','olive','olivedrab','orange','orangered','orchid','palegoldenrod','palegreen','paleturquoise','palevioletred','papayawhip','peachpuff','peru','pink','plum','powderblue','purple','rebeccapurple','red','rosybrown','royalblue','saddlebrown','salmon','sandybrown','seagreen','seashell','sienna','silver','skyblue','slateblue','slategray','snow','springgreen','steelblue','tan','teal','thistle','tomato','turquoise','violet','wheat','white','whitesmoke','yellow','yellowgreen']['map'](_0x409da4=>({'type':'constant','label':_0x409da4}))),tags=['a','abbr','address','article','aside','b','bdi','bdo','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','dd','del','details','dfn','dialog','div','dl','dt','em','figcaption','figure','footer','form','header','hgroup','h1','h2','h3','h4','h5','h6','hr','html','i','iframe','img','input','ins','kbd','label','legend','li','main','meter','nav','ol','output','p','pre','ruby','section','select','small','source','span','strong','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','tr','u','ul']['map'](_0x3ed4ea=>({'type':'type','label':_0x3ed4ea})),atRules=['@charset','@color-profile','@container','@counter-style','@font-face','@font-feature-values','@font-palette-values','@import','@keyframes','@layer','@media','@namespace','@page','@position-try','@property','@scope','@starting-style','@supports','@view-transition']['map'](_0x48b1a7=>({'type':'keyword','label':_0x48b1a7})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,variable=/^-(-[\w-]*)?$/;function isVarArg(_0x6c3de5,_0xbb330d){var _0x37fa1e;if(('('==_0x6c3de5['name']||_0x6c3de5['type']['isError'])&&(_0x6c3de5=_0x6c3de5['parent']||_0x6c3de5),'ArgList'!=_0x6c3de5['name'])return!0x1;let _0x3ddc51=null===(_0x37fa1e=_0x6c3de5['parent'])||void 0x0===_0x37fa1e?void 0x0:_0x37fa1e['firstChild'];return'Callee'==(null==_0x3ddc51?void 0x0:_0x3ddc51['name'])&&'var'==_0xbb330d['sliceString'](_0x3ddc51['from'],_0x3ddc51['to']);}const VariablesByNode=new NodeWeakMap(),declSelector=['Declaration'];function astTop(_0x13c3a6){for(let _0x3b06bf=_0x13c3a6;;){if(_0x3b06bf['type']['isTop'])return _0x3b06bf;if(!(_0x3b06bf=_0x3b06bf['parent']))return _0x13c3a6;}}function variableNames(_0x6879cc,_0x2d924f,_0x57db83){if(_0x2d924f['to']-_0x2d924f['from']>0x1000){let _0x18ffca=VariablesByNode['get'](_0x2d924f);if(_0x18ffca)return _0x18ffca;let _0x2df8dc=[],_0x5b48d6=new Set(),_0x4a6dd0=_0x2d924f['cursor'](IterMode['IncludeAnonymous']);if(_0x4a6dd0['firstChild']())do{for(let _0x3bff28 of variableNames(_0x6879cc,_0x4a6dd0['node'],_0x57db83))_0x5b48d6['has'](_0x3bff28['label'])||(_0x5b48d6['add'](_0x3bff28['label']),_0x2df8dc['push'](_0x3bff28));}while(_0x4a6dd0['nextSibling']());return VariablesByNode['set'](_0x2d924f,_0x2df8dc),_0x2df8dc;}{let _0xefdc3f=[],_0x37cc98=new Set();return _0x2d924f['cursor']()['iterate'](_0x21cb3e=>{var _0xc9d496;if(_0x57db83(_0x21cb3e)&&_0x21cb3e['matchContext'](declSelector)&&':'==(null===(_0xc9d496=_0x21cb3e['node']['nextSibling'])||void 0x0===_0xc9d496?void 0x0:_0xc9d496['name'])){let _0x256a3a=_0x6879cc['sliceString'](_0x21cb3e['from'],_0x21cb3e['to']);_0x37cc98['has'](_0x256a3a)||(_0x37cc98['add'](_0x256a3a),_0xefdc3f['push']({'label':_0x256a3a,'type':'variable'}));}}),_0xefdc3f;}}const defineCSSCompletionSource=_0x2775dc=>_0x7edbab=>{let {state:_0x12e601,pos:_0x145896}=_0x7edbab,_0x555d0f=syntaxTree(_0x12e601)['resolveInner'](_0x145896,-0x1),_0x39c645=_0x555d0f['type']['isError']&&_0x555d0f['from']==_0x555d0f['to']-0x1&&'-'==_0x12e601['doc']['sliceString'](_0x555d0f['from'],_0x555d0f['to']);if('PropertyName'==_0x555d0f['name']||(_0x39c645||'TagName'==_0x555d0f['name'])&&/^(Block|Styles)$/['test'](_0x555d0f['resolve'](_0x555d0f['to'])['name']))return{'from':_0x555d0f['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x555d0f['name'])return{'from':_0x555d0f['from'],'options':values,'validFor':identifier$1};if('PseudoClassName'==_0x555d0f['name'])return{'from':_0x555d0f['from'],'options':pseudoClasses,'validFor':identifier$1};if(_0x2775dc(_0x555d0f)||(_0x7edbab['explicit']||_0x39c645)&&isVarArg(_0x555d0f,_0x12e601['doc']))return{'from':_0x2775dc(_0x555d0f)||_0x39c645?_0x555d0f['from']:_0x145896,'options':variableNames(_0x12e601['doc'],astTop(_0x555d0f),_0x2775dc),'validFor':variable};if('TagName'==_0x555d0f['name']){for(let {parent:_0x199d92}=_0x555d0f;_0x199d92;_0x199d92=_0x199d92['parent'])if('Block'==_0x199d92['name'])return{'from':_0x555d0f['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x555d0f['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x555d0f['name'])return{'from':_0x555d0f['from'],'options':atRules,'validFor':identifier$1};if(!_0x7edbab['explicit'])return null;let _0x2a87eb=_0x555d0f['resolve'](_0x145896),_0x252870=_0x2a87eb['childBefore'](_0x145896);return _0x252870&&':'==_0x252870['name']&&'PseudoClassSelector'==_0x2a87eb['name']?{'from':_0x145896,'options':pseudoClasses,'validFor':identifier$1}:_0x252870&&':'==_0x252870['name']&&'Declaration'==_0x2a87eb['name']||'ArgList'==_0x2a87eb['name']?{'from':_0x145896,'options':values,'validFor':identifier$1}:'Block'==_0x2a87eb['name']||'Styles'==_0x2a87eb['name']?{'from':_0x145896,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x20ab43=>'VariableName'==_0x20ab43['name']),cssLanguage=LRLanguage['define']({'name':'css','parser':parser$2['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),foldNodeProp['add']({'Block\x20KeyframeList':foldInside})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function css(){return new LanguageSupport(cssLanguage,cssLanguage['data']['of']({'autocomplete':cssCompletionSource}));}const noSemi=0x13a,noSemiType=0x13b,incdec=0x1,incdecPrefix=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13c,spaces=0x13e,newline=0x13f,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,space$1=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000],braceR=0x7d,semicolon=0x3b,slash=0x2f,star=0x2a,plus=0x2b,minus=0x2d,lt=0x3c,comma=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x2a28e0,_0x3a183f)=>_0x3a183f==LineComment||_0x3a183f==BlockComment||_0x3a183f==spaces?_0x2a28e0:_0x3a183f==newline,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x75209c,_0x40592d)=>{let {next:_0x69ca07}=_0x75209c;(_0x69ca07==braceR||-0x1==_0x69ca07||_0x40592d['context'])&&_0x75209c['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),noSemicolon=new ExternalTokenizer((_0x19a02d,_0xae8cc9)=>{let _0x32363d,{next:_0x5042c5}=_0x19a02d;space$1['indexOf'](_0x5042c5)>-0x1||(_0x5042c5!=slash||(_0x32363d=_0x19a02d['peek'](0x1))!=slash&&_0x32363d!=star)&&(_0x5042c5==braceR||_0x5042c5==semicolon||-0x1==_0x5042c5||_0xae8cc9['context']||_0x19a02d['acceptToken'](noSemi));},{'contextual':!0x0}),noSemicolonType=new ExternalTokenizer((_0x370b61,_0x575b70)=>{_0x370b61['next']!=bracketL||_0x575b70['context']||_0x370b61['acceptToken'](noSemiType);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x3190a2,_0x9072cc)=>{let {next:_0x12825d}=_0x3190a2;if(_0x12825d==plus||_0x12825d==minus){if(_0x3190a2['advance'](),_0x12825d==_0x3190a2['next']){_0x3190a2['advance']();let _0x1cf24c=!_0x9072cc['context']&&_0x9072cc['canShift'](incdec);_0x3190a2['acceptToken'](_0x1cf24c?incdec:incdecPrefix);}}else _0x12825d==question&&_0x3190a2['peek'](0x1)==dot&&(_0x3190a2['advance'](),_0x3190a2['advance'](),(_0x3190a2['next']<0x30||_0x3190a2['next']>0x39)&&_0x3190a2['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x38f596,_0x174458){return _0x38f596>=0x41&&_0x38f596<=0x5a||_0x38f596>=0x61&&_0x38f596<=0x7a||0x5f==_0x38f596||_0x38f596>=0xc0||!_0x174458&&_0x38f596>=0x30&&_0x38f596<=0x39;}const jsx=new ExternalTokenizer((_0x3bd769,_0x21bbdb)=>{if(_0x3bd769['next']!=lt||!_0x21bbdb['dialectEnabled'](Dialect_jsx))return;if(_0x3bd769['advance'](),_0x3bd769['next']==slash)return;let _0x122163=0x0;for(;space$1['indexOf'](_0x3bd769['next'])>-0x1;)_0x3bd769['advance'](),_0x122163++;if(identifierChar(_0x3bd769['next'],!0x0)){for(_0x3bd769['advance'](),_0x122163++;identifierChar(_0x3bd769['next'],!0x1);)_0x3bd769['advance'](),_0x122163++;for(;space$1['indexOf'](_0x3bd769['next'])>-0x1;)_0x3bd769['advance'](),_0x122163++;if(_0x3bd769['next']==comma)return;for(let _0x102d05=0x0;;_0x102d05++){if(0x7==_0x102d05){if(!identifierChar(_0x3bd769['next'],!0x0))return;break;}if(_0x3bd769['next']!='extends'['charCodeAt'](_0x102d05))break;_0x3bd769['advance'](),_0x122163++;}}_0x3bd769['acceptToken'](JSXStartTag,-_0x122163);}),jsHighlight=styleTags({'get\x20set\x20async\x20static':tags$1['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case':tags$1['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof':tags$1['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':tags$1['definitionKeyword'],'import\x20export\x20from':tags$1['moduleKeyword'],'with\x20debugger\x20as\x20new':tags$1['keyword'],'TemplateString':tags$1['special'](tags$1['string']),'super':tags$1['atom'],'BooleanLiteral':tags$1['bool'],'this':tags$1['self'],'null':tags$1['null'],'Star':tags$1['modifier'],'VariableName':tags$1['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':tags$1['function'](tags$1['variableName']),'VariableDefinition':tags$1['definition'](tags$1['variableName']),'Label':tags$1['labelName'],'PropertyName':tags$1['propertyName'],'PrivatePropertyName':tags$1['special'](tags$1['propertyName']),'CallExpression/MemberExpression/PropertyName':tags$1['function'](tags$1['propertyName']),'FunctionDeclaration/VariableDefinition':tags$1['function'](tags$1['definition'](tags$1['variableName'])),'ClassDeclaration/VariableDefinition':tags$1['definition'](tags$1['className']),'NewExpression/VariableName':tags$1['className'],'PropertyDefinition':tags$1['definition'](tags$1['propertyName']),'PrivatePropertyDefinition':tags$1['definition'](tags$1['special'](tags$1['propertyName'])),'UpdateOp':tags$1['updateOperator'],'LineComment\x20Hashbang':tags$1['lineComment'],'BlockComment':tags$1['blockComment'],'Number':tags$1['number'],'String':tags$1['string'],'Escape':tags$1['escape'],'ArithOp':tags$1['arithmeticOperator'],'LogicOp':tags$1['logicOperator'],'BitOp':tags$1['bitwiseOperator'],'CompareOp':tags$1['compareOperator'],'RegExp':tags$1['regexp'],'Equals':tags$1['definitionOperator'],'Arrow':tags$1['function'](tags$1['punctuation']),':\x20Spread':tags$1['punctuation'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace'],'InterpolationStart\x20InterpolationEnd':tags$1['special'](tags$1['brace']),'.':tags$1['derefOperator'],',\x20;':tags$1['separator'],'@':tags$1['meta'],'TypeName':tags$1['typeName'],'TypeDefinition':tags$1['definition'](tags$1['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':tags$1['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':tags$1['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':tags$1['operatorKeyword'],'JSXAttributeValue':tags$1['attributeValue'],'JSXText':tags$1['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':tags$1['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':tags$1['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':tags$1['attributeName'],'JSXBuiltin/JSXIdentifier':tags$1['standard'](tags$1['tagName'])}),spec_identifier={'__proto__':null,'export':0x14,'as':0x19,'from':0x21,'default':0x24,'async':0x29,'function':0x2a,'const':0x34,'extends':0x38,'this':0x3c,'true':0x44,'false':0x44,'null':0x50,'void':0x54,'typeof':0x58,'super':0x68,'new':0x8a,'delete':0x96,'yield':0x9f,'await':0xa3,'class':0xa8,'public':0xe7,'private':0xe7,'protected':0xe7,'readonly':0xe9,'instanceof':0xfc,'satisfies':0xff,'in':0x100,'import':0x122,'keyof':0x15b,'unique':0x15f,'infer':0x165,'asserts':0x189,'is':0x18b,'abstract':0x19f,'implements':0x1a1,'type':0x1a3,'let':0x1a6,'var':0x1a8,'using':0x1ab,'interface':0x1b1,'enum':0x1b5,'namespace':0x1bb,'module':0x1bd,'declare':0x1c1,'global':0x1c5,'for':0x1d8,'of':0x1e1,'while':0x1e4,'with':0x1e8,'do':0x1ec,'if':0x1f0,'else':0x1f2,'switch':0x1f6,'case':0x1fc,'try':0x202,'catch':0x206,'finally':0x20a,'return':0x20e,'throw':0x212,'break':0x216,'continue':0x21a,'debugger':0x21e},spec_word={'__proto__':null,'async':0x7d,'get':0x7f,'set':0x81,'declare':0xbf,'public':0xc1,'private':0xc1,'protected':0xc1,'static':0xc3,'abstract':0xc5,'override':0xc7,'readonly':0xcd,'accessor':0xcf,'new':0x18f},spec_LessThan={'__proto__':null,'<':0xbd},parser$1=LRParser['deserialize']({'version':0xe,'states':'$EOQ%TQlOOO%[QlOOO\x27_QpOOP(lO`OOO*zQ!0MxO\x27#CiO+RO#tO\x27#CjO+aO&jO\x27#CjO+oO#@ItO\x27#D_O.QQlO\x27#DeO.bQlO\x27#DpO%[QlO\x27#DxO0fQlO\x27#EQOOQ!0Lf\x27#EY\x27#EYO1PQ`O\x27#EVOOQO\x27#En\x27#EnOOQO\x27#Ij\x27#IjO1XQ`O\x27#GrO1dQ`O\x27#EmO1iQ`O\x27#EmO3hQ!0MxO\x27#JpO6[Q!0MxO\x27#JqO6uQ`O\x27#F[O6zQ,UO\x27#FsOOQ!0Lf\x27#Fe\x27#FeO7VO7dO\x27#FeO7eQMhO\x27#F{O9UQ`O\x27#FzOOQ!0Lf\x27#Jq\x27#JqOOQ!0Lb\x27#Jp\x27#JpO9ZQ`O\x27#GvOOQ[\x27#K]\x27#K]O9fQ`O\x27#IWO9kQ!0LrO\x27#IXOOQ[\x27#J^\x27#J^OOQ[\x27#I]\x27#I]Q`QlOOQ`QlOOO9sQ!L^O\x27#DtO9zQlO\x27#D|O:RQlO\x27#EOO9aQ`O\x27#GrO:YQMhO\x27#CoO:hQ`O\x27#ElO:sQ`O\x27#EwO:xQMhO\x27#FdO;gQ`O\x27#GrOOQO\x27#K^\x27#K^O;lQ`O\x27#K^O;zQ`O\x27#GzO;zQ`O\x27#G{O;zQ`O\x27#G}O9aQ`O\x27#HQO<qQ`O\x27#HTO>YQ`O\x27#CeO>jQ`O\x27#HaO>rQ`O\x27#HgO>rQ`O\x27#HiO`QlO\x27#HkO>rQ`O\x27#HmO>rQ`O\x27#HpO>wQ`O\x27#HvO>|Q!0LsO\x27#H|O%[QlO\x27#IOO?XQ!0LsO\x27#IQO?dQ!0LsO\x27#ISO9kQ!0LrO\x27#IUO?oQ!0MxO\x27#CiO@qQpO\x27#DjQOQ`OOO%[QlO\x27#EOOAXQ`O\x27#ERO:YQMhO\x27#ElOAdQ`O\x27#ElOAoQ!bO\x27#FdOOQ[\x27#Cg\x27#CgOOQ!0Lb\x27#Do\x27#DoOOQ!0Lb\x27#Jt\x27#JtO%[QlO\x27#JtOOQO\x27#Jw\x27#JwOOQO\x27#If\x27#IfOBoQpO\x27#EeOOQ!0Lb\x27#Ed\x27#EdOOQ!0Lb\x27#J{\x27#J{OCkQ!0MSO\x27#EeOCuQpO\x27#EUOOQO\x27#Jv\x27#JvODZQpO\x27#JwOEhQpO\x27#EUOCuQpO\x27#EePEuO&2DjO\x27#CbPOOO)CD{)CD{OOOO\x27#I^\x27#I^OFQO#tO,59UOOQ!0Lh,59U,59UOOOO\x27#I_\x27#I_OF`O&jO,59UOFnQ!L^O\x27#DaOOOO\x27#Ia\x27#IaOFuO#@ItO,59yOOQ!0Lf,59y,59yOGTQlO\x27#IbOGhQ`O\x27#JrOIgQ!fO\x27#JrO+}QlO\x27#JrOInQ`O,5:POJUQ`O\x27#EnOJcQ`O\x27#KROJnQ`O\x27#KQOJnQ`O\x27#KQOJvQ`O,5;[OJ{Q`O\x27#KPOOQ!0Ln,5:[,5:[OKSQlO,5:[OMQQ!0MxO,5:dOMqQ`O,5:lON[Q!0LrO\x27#KOONcQ`O\x27#J}O9ZQ`O\x27#J}ONwQ`O\x27#J}O!\x20PQ`O,5;ZO!\x20UQ`O\x27#J}O!#ZQ!fO\x27#JqOOQ!0Lh\x27#Ci\x27#CiO%[QlO\x27#EQO!#yQ!fO,5:qOOQS\x27#Jx\x27#JxOOQO-E<h-E<hO9aQ`O,5=^O!$aQ`O,5=^O!$fQlO,5;XO!&iQMhO\x27#EiO!(SQ`O,5;XO!(XQlO\x27#DwO!(cQpO,5;bO!(kQpO,5;bO%[QlO,5;bOOQ[\x27#FS\x27#FSOOQ[\x27#FU\x27#FUO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cO%[QlO,5;cOOQ[\x27#FY\x27#FYO!(yQlO,5;sOOQ!0Lf,5;x,5;xOOQ!0Lf,5;y,5;yOOQ!0Lf,5;{,5;{O%[QlO\x27#InO!*|Q!0LrO,5<hO%[QlO,5;cO!&iQMhO,5;cO!+kQMhO,5;cO!-]QMhO\x27#E[O%[QlO,5;vOOQ!0Lf,5;z,5;zO!-dQ,UO\x27#FiO!.aQ,UO\x27#KVO!-{Q,UO\x27#KVO!.hQ,UO\x27#KVOOQO\x27#KV\x27#KVO!.|Q,UO,5<ROOOW,5<_,5<_O!/_QlO\x27#FuOOOW\x27#Im\x27#ImO7VO7dO,5<PO!/fQ,UO\x27#FwOOQ!0Lf,5<P,5<PO!0VQ$IUO\x27#CwOOQ!0Lh\x27#C{\x27#C{O!0jO#@ItO\x27#DPO!1WQMjO,5<dO!1_Q`O,5<gO!2zQ(CWO\x27#GWO!3XQ`O\x27#GXO!3^Q`O\x27#GXO!4|Q(CWO\x27#G]O!6RQpO\x27#GaOOQO\x27#Gm\x27#GmO!+rQMhO\x27#GlOOQO\x27#Go\x27#GoO!+rQMhO\x27#GnO!6tQ$IUO\x27#JjOOQ!0Lh\x27#Jj\x27#JjO!7OQ`O\x27#JiO!7^Q`O\x27#JhO!7fQ`O\x27#CuOOQ!0Lh\x27#Cy\x27#CyO!7qQ`O\x27#C{OOQ!0Lh\x27#DT\x27#DTOOQ!0Lh\x27#DV\x27#DVO1SQ`O\x27#DXO!+rQMhO\x27#GOO!+rQMhO\x27#GQO!7vQ`O\x27#GSO!7{Q`O\x27#GTO!3^Q`O\x27#GZO!+rQMhO\x27#G`O;zQ`O\x27#JiO!8QQ`O\x27#EoO!8oQ`O,5<fOOQ!0Lb\x27#Cr\x27#CrO!8wQ`O\x27#EpO!9qQpO\x27#EqOOQ!0Lb\x27#KP\x27#KPO!9xQ!0LrO\x27#K_O9kQ!0LrO,5=bO`QlO,5>rOOQ[\x27#Jf\x27#JfOOQ[,5>s,5>sOOQ[-E<Z-E<ZO!;wQ!0MxO,5:`O!9lQpO,5:^O!>bQ!0MxO,5:hO%[QlO,5:hO!@xQ!0MxO,5:jOOQO,5@x,5@xO!AiQMhO,5=^O!AwQ!0LrO\x27#JgO9UQ`O\x27#JgO!BYQ!0LrO,59ZO!BeQpO,59ZO!BmQMhO,59ZO:YQMhO,59ZO!BxQ`O,5;XO!CQQ`O\x27#H`O!CfQ`O\x27#KbO%[QlO,5;|O!9lQpO,5<OO!CnQ`O,5=yO!CsQ`O,5=yO!CxQ`O,5=yO9kQ!0LrO,5=yO;zQ`O,5=iOOQO\x27#Cw\x27#CwO!DWQpO,5=fO!D`QMhO,5=gO!DkQ`O,5=iO!DpQ!bO,5=lO!DxQ`O\x27#K^O>wQ`O\x27#HVO9aQ`O\x27#HXO!D}Q`O\x27#HXO:YQMhO\x27#HZO!ESQ`O\x27#HZOOQ[,5=o,5=oO!EXQ`O\x27#H[O!EjQ`O\x27#CoO!EoQ`O,59PO!EyQ`O,59PO!HOQlO,59POOQ[,59P,59PO!H`Q!0LrO,59PO%[QlO,59PO!JkQlO\x27#HcOOQ[\x27#Hd\x27#HdOOQ[\x27#He\x27#HeO`QlO,5={O!KRQ`O,5={O`QlO,5>RO`QlO,5>TO!KWQ`O,5>VO`QlO,5>XO!K]Q`O,5>[O!KbQlO,5>bOOQ[,5>h,5>hO%[QlO,5>hO9kQ!0LrO,5>jOOQ[,5>l,5>lO#\x20lQ`O,5>lOOQ[,5>n,5>nO#\x20lQ`O,5>nOOQ[,5>p,5>pO#!YQpO\x27#D]O%[QlO\x27#JtO#!{QpO\x27#JtO##VQpO\x27#DkO##hQpO\x27#DkO#%yQlO\x27#DkO#&QQ`O\x27#JsO#&YQ`O,5:UO#&_Q`O\x27#ErO#&mQ`O\x27#KSO#&uQ`O,5;]O#&zQpO\x27#DkO#\x27XQpO\x27#ETOOQ!0Lf,5:m,5:mO%[QlO,5:mO#\x27`Q`O,5:mO>wQ`O,5;WO!BeQpO,5;WO!BmQMhO,5;WO:YQMhO,5;WO#\x27hQ`O,5@`O#\x27mQ07dO,5:qOOQO-E<d-E<dO#(sQ!0MSO,5;POCuQpO,5:pO#(}QpO,5:pOCuQpO,5;PO!BYQ!0LrO,5:pOOQ!0Lb\x27#Eh\x27#EhOOQO,5;P,5;PO%[QlO,5;PO#)[Q!0LrO,5;PO#)gQ!0LrO,5;PO!BeQpO,5:pOOQO,5;V,5;VO#)uQ!0LrO,5;PPOOO\x27#I[\x27#I[P#*ZO&2DjO,58|POOO,58|,58|OOOO-E<[-E<[OOQ!0Lh1G.p1G.pOOOO-E<]-E<]OOOO,59{,59{O#*fQ!bO,59{OOOO-E<_-E<_OOQ!0Lf1G/e1G/eO#*kQ!fO,5>|O+}QlO,5>|OOQO,5?S,5?SO#*uQlO\x27#IbOOQO-E<`-E<`O#+SQ`O,5@^O#+[Q!fO,5@^O#+cQ`O,5@lOOQ!0Lf1G/k1G/kO%[QlO,5@mO#+kQ`O\x27#IhOOQO-E<f-E<fO#+cQ`O,5@lOOQ!0Lb1G0v1G0vOOQ!0Ln1G/v1G/vOOQ!0Ln1G0W1G0WO%[QlO,5@jO#,PQ!0LrO,5@jO#,bQ!0LrO,5@jO#,iQ`O,5@iO9ZQ`O,5@iO#,qQ`O,5@iO#-PQ`O\x27#IkO#,iQ`O,5@iOOQ!0Lb1G0u1G0uO!(cQpO,5:sO!(nQpO,5:sOOQS,5:u,5:uO#-qQdO,5:uO#-yQMhO1G2xO9aQ`O1G2xOOQ!0Lf1G0s1G0sO#.XQ!0MxO1G0sO#/^Q!0MvO,5;TOOQ!0Lh\x27#GV\x27#GVO#/zQ!0MzO\x27#JjO!$fQlO1G0sO#2VQ!fO\x27#JuO%[QlO\x27#JuO#2aQ`O,5:cOOQ!0Lh\x27#D]\x27#D]OOQ!0Lf1G0|1G0|O%[QlO1G0|OOQ!0Lf1G1e1G1eO#2fQ`O1G0|O#4zQ!0MxO1G0}O#5RQ!0MxO1G0}O#7iQ!0MxO1G0}O#7pQ!0MxO1G0}O#:WQ!0MxO1G0}O#<nQ!0MxO1G0}O#<uQ!0MxO1G0}O#<|Q!0MxO1G0}O#?dQ!0MxO1G0}O#?kQ!0MxO1G0}O#AxQ?MtO\x27#CiO#CsQ?MtO1G1_O#CzQ?MtO\x27#JqO#D_Q!0MxO,5?YOOQ!0Lb-E<l-E<lO#FlQ!0MxO1G0}O#GiQ!0MzO1G0}OOQ!0Lf1G0}1G0}O#HlQMjO\x27#JzO#HvQ`O,5:vO#H{Q!0MxO1G1bO#IoQ,UO,5<VO#IwQ,UO,5<WO#JPQ,UO\x27#FnO#JhQ`O\x27#FmOOQO\x27#KW\x27#KWOOQO\x27#Il\x27#IlO#JmQ,UO1G1mOOQ!0Lf1G1m1G1mOOOW1G1x1G1xO#KOQ?MtO\x27#JpO#KYQ`O,5<aO!(yQlO,5<aOOOW-E<k-E<kOOQ!0Lf1G1k1G1kO#K_QpO\x27#KVOOQ!0Lf,5<c,5<cO#KgQpO,5<cO#KlQMhO\x27#DROOOO\x27#I`\x27#I`O#KsO#@ItO,59kOOQ!0Lh,59k,59kO%[QlO1G2OO!7{Q`O\x27#IpO#LOQ`O,5<yOOQ!0Lh,5<v,5<vO!+rQMhO\x27#IsO#LlQMjO,5=WO!+rQMhO\x27#IuO#M_QMjO,5=YO!&iQMhO,5=[OOQO1G2R1G2RO#MiQ!dO\x27#CrO#M|Q(CWO\x27#EpO$\x20RQpO\x27#GaO$\x20iQ!dO,5<rO$\x20pQ`O\x27#KYO9ZQ`O\x27#KYO$!OQ`O,5<tO!+rQMhO,5<sO$!TQ`O\x27#GYO$!fQ`O,5<sO$!kQ!dO\x27#GVO$!xQ!dO\x27#KZO$#SQ`O\x27#KZO!&iQMhO\x27#KZO$#XQ`O,5<wO$#^QlO\x27#JtO$#hQpO\x27#GbO##hQpO\x27#GbO$#yQ`O\x27#GfO!3^Q`O\x27#GjO$$OQ!0LrO\x27#IrO$$ZQpO,5<{OOQ!0Lp,5<{,5<{O$$bQpO\x27#GbO$$oQpO\x27#GcO$%QQpO\x27#GcO$%VQMjO,5=WO$%gQMjO,5=YOOQ!0Lh,5=],5=]O!+rQMhO,5@TO!+rQMhO,5@TO$%wQ`O\x27#IwO$&VQ`O,5@SO$&_Q`O,59aOOQ!0Lh,59g,59gO$\x27UQ$IYO,59sOOQ!0Lh\x27#Jn\x27#JnO$\x27wQMjO,5<jO$(jQMjO,5<lO@iQ`O,5<nOOQ!0Lh,5<o,5<oO$(tQ`O,5<uO$(yQMjO,5<zO$)ZQ`O,5@TO$)iQ`O\x27#J}O!$fQlO1G2QO$)nQ`O1G2QO9ZQ`O\x27#KQO9ZQ`O\x27#ErO%[QlO\x27#ErO9ZQ`O\x27#IyO$)sQ!0LrO,5@yOOQ[1G2|1G2|OOQ[1G4^1G4^OOQ!0Lf1G/z1G/zOOQ!0Lf1G/x1G/xO$+uQ!0MxO1G0SOOQ[1G2x1G2xO!&iQMhO1G2xO%[QlO1G2xO#-|Q`O1G2xO$-yQMhO\x27#EiOOQ!0Lb,5@R,5@RO$.WQ!0LrO,5@ROOQ[1G.u1G.uO!BYQ!0LrO1G.uO!BeQpO1G.uO!BmQMhO1G.uO$.iQ`O1G0sO$.nQ`O\x27#CiO$.yQ`O\x27#KcO$/RQ`O,5=zO$/WQ`O\x27#KcO$/]Q`O\x27#KcO$/kQ`O\x27#JPO$/yQ`O,5@|O$0RQ!fO1G1hOOQ!0Lf1G1j1G1jO9aQ`O1G3eO@iQ`O1G3eO$0YQ`O1G3eO$0_Q`O1G3eOOQ[1G3e1G3eO!DkQ`O1G3TO!&iQMhO1G3QO$0dQ`O1G3QOOQ[1G3R1G3RO!&iQMhO1G3RO$0iQ`O1G3RO$0qQpO\x27#HPOOQ[1G3T1G3TO!5|QpO\x27#I{O!DpQ!bO1G3WOOQ[1G3W1G3WOOQ[,5=q,5=qO$0yQMhO,5=sO9aQ`O,5=sO$#yQ`O,5=uO9UQ`O,5=uO!BeQpO,5=uO!BmQMhO,5=uO:YQMhO,5=uO$1XQ`O\x27#KaO$1dQ`O,5=vOOQ[1G.k1G.kO$1iQ!0LrO1G.kO@iQ`O1G.kO$1tQ`O1G.kO9kQ!0LrO1G.kO$3|Q!fO,5AOO$4ZQ`O,5AOO9ZQ`O,5AOO$4fQlO,5=}O$4mQ`O,5=}OOQ[1G3g1G3gO`QlO1G3gOOQ[1G3m1G3mOOQ[1G3o1G3oO>rQ`O1G3qO$4rQlO1G3sO$8vQlO\x27#HrOOQ[1G3v1G3vO$9TQ`O\x27#HxO>wQ`O\x27#HzOOQ[1G3|1G3|O$9]QlO1G3|O9kQ!0LrO1G4SOOQ[1G4U1G4UOOQ!0Lb\x27#G^\x27#G^O9kQ!0LrO1G4WO9kQ!0LrO1G4YO$=dQ`O,5@`O!(yQlO,5;^O9ZQ`O,5;^O>wQ`O,5:VO!(yQlO,5:VO!BeQpO,5:VO$=iQ?MtO,5:VOOQO,5;^,5;^O$=sQpO\x27#IcO$>ZQ`O,5@_OOQ!0Lf1G/p1G/pO$>cQpO\x27#IiO$>mQ`O,5@nOOQ!0Lb1G0w1G0wO##hQpO,5:VOOQO\x27#Ie\x27#IeO$>uQpO,5:oOOQ!0Ln,5:o,5:oO#\x27cQ`O1G0XOOQ!0Lf1G0X1G0XO%[QlO1G0XOOQ!0Lf1G0r1G0rO>wQ`O1G0rO!BeQpO1G0rO!BmQMhO1G0rOOQ!0Lb1G5z1G5zO!BYQ!0LrO1G0[OOQO1G0k1G0kO%[QlO1G0kO$>|Q!0LrO1G0kO$?XQ!0LrO1G0kO!BeQpO1G0[OCuQpO1G0[O$?gQ!0LrO1G0kOOQO1G0[1G0[O$?{Q!0MxO1G0kPOOO-E<Y-E<YPOOO1G.h1G.hOOOO1G/g1G/gO$@VQ!bO,5<hO$@_Q!fO1G4hOOQO1G4n1G4nO%[QlO,5>|O$@iQ`O1G5xO$@qQ`O1G6WO$@yQ!fO1G6XO9ZQ`O,5?SO$ATQ!0MxO1G6UO%[QlO1G6UO$AeQ!0LrO1G6UO$AvQ`O1G6TO$AvQ`O1G6TO9ZQ`O1G6TO$BOQ`O,5?VO9ZQ`O,5?VOOQO,5?V,5?VO$BdQ`O,5?VO$)iQ`O,5?VOOQO-E<i-E<iOOQS1G0_1G0_OOQS1G0a1G0aO#-tQ`O1G0aOOQ[7+(d7+(dO!&iQMhO7+(dO%[QlO7+(dO$BrQ`O7+(dO$B}QMhO7+(dO$C]Q!0MzO,5=WO$EhQ!0MzO,5=YO$GsQ!0MzO,5=WO$JUQ!0MzO,5=YO$LgQ!0MzO,59sO$NlQ!0MzO,5<jO%!wQ!0MzO,5<lO%%SQ!0MzO,5<zOOQ!0Lf7+&_7+&_O%\x27eQ!0MxO7+&_O%(XQlO\x27#IdO%(fQ`O,5@aO%(nQ!fO,5@aOOQ!0Lf1G/}1G/}O%(xQ`O7+&hOOQ!0Lf7+&h7+&hO%(}Q?MtO,5:dO%[QlO7+&yO%)XQ?MtO,5:`O%)fQ?MtO,5:hO%)pQ?MtO,5:jO%)zQMhO\x27#IgO%*UQ`O,5@fOOQ!0Lh1G0b1G0bOOQO1G1q1G1qOOQO1G1r1G1rO%*^Q!jO,5<YO!(yQlO,5<XOOQO-E<j-E<jOOQ!0Lf7+\x27X7+\x27XOOOW7+\x27d7+\x27dOOOW1G1{1G1{O%*iQ`O1G1{OOQ!0Lf1G1}1G1}OOOO,59m,59mO%*nQ!dO,59mOOOO-E<^-E<^OOQ!0Lh1G/V1G/VO%*uQ!0MxO7+\x27jOOQ!0Lh,5?[,5?[O%+iQMhO1G2eP%+pQ`O\x27#IpPOQ!0Lh-E<n-E<nO%,^QMjO,5?_OOQ!0Lh-E<q-E<qO%-PQMjO,5?aOOQ!0Lh-E<s-E<sO%-ZQ!dO1G2vO%-bQ!dO\x27#CrO%-xQMhO\x27#KQO$#^QlO\x27#JtOOQ!0Lh1G2^1G2^O%.PQ`O\x27#IoO%.eQ`O,5@tO%.eQ`O,5@tO%.mQ`O,5@tO%.xQ`O,5@tOOQO1G2`1G2`O%/WQMjO1G2_O!+rQMhO1G2_O%/hQ(CWO\x27#IqO%/uQ`O,5@uO!&iQMhO,5@uO%/}Q!dO,5@uOOQ!0Lh1G2c1G2cO%2_Q!fO\x27#CiO%2iQ`O,5=OOOQ!0Lb,5<|,5<|O%2qQpO,5<|OOQ!0Lb,5<},5<}OCfQ`O,5<|O%2|QpO,5<|OOQ!0Lb,5=Q,5=QO$)iQ`O,5=UOOQO,5?^,5?^OOQO-E<p-E<pOOQ!0Lp1G2g1G2gO##hQpO,5<|O$#^QlO,5=OO%3[Q`O,5<}O%3gQpO,5<}O!+rQMhO\x27#IsO%4aQMjO1G2rO!+rQMhO\x27#IuO%5SQMjO1G2tO%5^QMjO1G5oO%5hQMjO1G5oOOQO,5?c,5?cOOQO-E<u-E<uOOQO1G.{1G.{O!9lQpO,59uO%[QlO,59uOOQ!0Lh,5<i,5<iO%5uQ`O1G2YO!+rQMhO1G2aO!+rQMhO1G5oO!+rQMhO1G5oO%5zQ!0MxO7+\x27lOOQ!0Lf7+\x27l7+\x27lO!$fQlO7+\x27lO%6nQ`O,5;^OOQ!0Lb,5?e,5?eOOQ!0Lb-E<w-E<wO%6sQ!dO\x27#K[O#\x27cQ`O7+(dO4UQ!fO7+(dO$BuQ`O7+(dO%6}Q!0MvO\x27#CiO%7nQ!0LrO,5=RO%8PQ!0MvO,5=RO%8dQ`O,5=ROOQ!0Lb1G5m1G5mOOQ[7+$a7+$aO!BYQ!0LrO7+$aO!BeQpO7+$aO!$fQlO7+&_O%8lQ`O\x27#JOO%9TQ`O,5@}OOQO1G3f1G3fO9aQ`O,5@}O%9TQ`O,5@}O%9]Q`O,5@}OOQO,5?k,5?kOOQO-E<}-E<}OOQ!0Lf7+\x27S7+\x27SO%9bQ`O7+)PO9kQ!0LrO7+)PO9aQ`O7+)PO@iQ`O7+)POOQ[7+(o7+(oO%9gQ!0MvO7+(lO!&iQMhO7+(lO!DfQ`O7+(mOOQ[7+(m7+(mO!&iQMhO7+(mO%9qQ`O\x27#K`O%9|Q`O,5=kOOQO,5?g,5?gOOQO-E<y-E<yOOQ[7+(r7+(rO%;`QpO\x27#HYOOQ[1G3_1G3_O!&iQMhO1G3_O%[QlO1G3_O%;gQ`O1G3_O%;rQMhO1G3_O9kQ!0LrO1G3aO$#yQ`O1G3aO9UQ`O1G3aO!BeQpO1G3aO!BmQMhO1G3aO%<QQ`O\x27#I}O%<fQ`O,5@{O%<nQpO,5@{OOQ!0Lb1G3b1G3bOOQ[7+$V7+$VO@iQ`O7+$VO9kQ!0LrO7+$VO%<yQ`O7+$VO%[QlO1G6jO%[QlO1G6kO%=OQ!0LrO1G6jO%=YQlO1G3iO%=aQ`O1G3iO%=fQlO1G3iOOQ[7+)R7+)RO9kQ!0LrO7+)]O`QlO7+)_OOQ[\x27#Kf\x27#KfOOQ[\x27#JQ\x27#JQO%=mQlO,5>^OOQ[,5>^,5>^O%[QlO\x27#HsO%=zQ`O\x27#HuOOQ[,5>d,5>dO9ZQ`O,5>dOOQ[,5>f,5>fOOQ[7+)h7+)hOOQ[7+)n7+)nOOQ[7+)r7+)rOOQ[7+)t7+)tO%>PQpO1G5zO%>kQ?MtO1G0xO%>uQ`O1G0xOOQO1G/q1G/qO%?QQ?MtO1G/qO>wQ`O1G/qO!(yQlO\x27#DkOOQO,5>},5>}OOQO-E<a-E<aOOQO,5?T,5?TOOQO-E<g-E<gO!BeQpO1G/qOOQO-E<c-E<cOOQ!0Ln1G0Z1G0ZOOQ!0Lf7+%s7+%sO#\x27cQ`O7+%sOOQ!0Lf7+&^7+&^O>wQ`O7+&^O!BeQpO7+&^OOQO7+%v7+%vO$?{Q!0MxO7+&VOOQO7+&V7+&VO%[QlO7+&VO%?[Q!0LrO7+&VO!BYQ!0LrO7+%vO!BeQpO7+%vO%?gQ!0LrO7+&VO%?uQ!0MxO7++pO%[QlO7++pO%@VQ`O7++oO%@VQ`O7++oOOQO1G4q1G4qO9ZQ`O1G4qO%@_Q`O1G4qOOQS7+%{7+%{O#\x27cQ`O<<LOO4UQ!fO<<LOO%@mQ`O<<LOOOQ[<<LO<<LOO!&iQMhO<<LOO%[QlO<<LOO%@uQ`O<<LOO%AQQ!0MzO,5?_O%C]Q!0MzO,5?aO%EhQ!0MzO1G2_O%GyQ!0MzO1G2rO%JUQ!0MzO1G2tO%LaQ!fO,5?OO%[QlO,5?OOOQO-E<b-E<bO%LkQ`O1G5{OOQ!0Lf<<JS<<JSO%LsQ?MtO1G0sO%NzQ?MtO1G0}O&\x20RQ?MtO1G0}O&#SQ?MtO1G0}O&#ZQ?MtO1G0}O&%[Q?MtO1G0}O&\x27]Q?MtO1G0}O&\x27dQ?MtO1G0}O&\x27kQ?MtO1G0}O&)lQ?MtO1G0}O&)sQ?MtO1G0}O&)zQ!0MxO<<JeO&+rQ?MtO1G0}O&,oQ?MvO1G0}O&-rQ?MvO\x27#JjO&/xQ?MtO1G1bO&0VQ?MtO1G0SO&0aQMjO,5?ROOQO-E<e-E<eO!(yQlO\x27#FpOOQO\x27#KX\x27#KXOOQO1G1t1G1tO&0kQ`O1G1sO&0pQ?MtO,5?YOOOW7+\x27g7+\x27gOOOO1G/X1G/XO&0zQ!dO1G4vOOQ!0Lh7+(P7+(PP!&iQMhO,5?[O!+rQMhO7+(bO&1RQ`O,5?ZO9ZQ`O,5?ZOOQO-E<m-E<mO&1aQ`O1G6`O&1aQ`O1G6`O&1iQ`O1G6`O&1tQMjO7+\x27yO&2UQ!dO,5?]O&2`Q`O,5?]O!&iQMhO,5?]OOQO-E<o-E<oO&2eQ!dO1G6aO&2oQ`O1G6aO&2wQ`O1G2jO!&iQMhO1G2jOOQ!0Lb1G2h1G2hOOQ!0Lb1G2i1G2iO%2qQpO1G2hO!BeQpO1G2hOCfQ`O1G2hOOQ!0Lb1G2p1G2pO&2|QpO1G2hO&3[Q`O1G2jO$)iQ`O1G2iOCfQ`O1G2iO$#^QlO1G2jO&3dQ`O1G2iO&4WQMjO,5?_OOQ!0Lh-E<r-E<rO&4yQMjO,5?aOOQ!0Lh-E<t-E<tO!+rQMhO7++ZOOQ!0Lh1G/a1G/aO&5TQ`O1G/aOOQ!0Lh7+\x27t7+\x27tO&5YQMjO7+\x27{O&5jQMjO7++ZO&5tQMjO7++ZO&6RQ!0MxO<<KWOOQ!0Lf<<KW<<KWO&6uQ`O1G0xO!&iQMhO\x27#IxO&6zQ`O,5@vO&8|Q!fO<<LOO!&iQMhO1G2mO&9TQ!0LrO1G2mOOQ[<<G{<<G{O!BYQ!0LrO<<G{O&9fQ!0MxO<<IyOOQ!0Lf<<Iy<<IyOOQO,5?j,5?jO&:YQ`O,5?jO&:_Q`O,5?jOOQO-E<|-E<|O&:mQ`O1G6iO&:mQ`O1G6iO9aQ`O1G6iO@iQ`O<<LkOOQ[<<Lk<<LkO&:uQ`O<<LkO9kQ!0LrO<<LkOOQ[<<LW<<LWO%9gQ!0MvO<<LWOOQ[<<LX<<LXO!DfQ`O<<LXO&:zQpO\x27#IzO&;VQ`O,5@zO!(yQlO,5@zOOQ[1G3V1G3VOOQO\x27#I|\x27#I|O9kQ!0LrO\x27#I|O&;_QpO,5=tOOQ[,5=t,5=tO&;fQpO\x27#EeO&;mQpO\x27#GdO&;rQ`O7+(yO&;wQ`O7+(yOOQ[7+(y7+(yO!&iQMhO7+(yO%[QlO7+(yO&<PQ`O7+(yOOQ[7+({7+({O9kQ!0LrO7+({O$#yQ`O7+({O9UQ`O7+({O!BeQpO7+({O&<[Q`O,5?iOOQO-E<{-E<{OOQO\x27#H]\x27#H]O&<gQ`O1G6gO9kQ!0LrO<<GqOOQ[<<Gq<<GqO@iQ`O<<GqO&<oQ`O7+,UO&<tQ`O7+,VO%[QlO7+,UO%[QlO7+,VOOQ[7+)T7+)TO&<yQ`O7+)TO&=OQlO7+)TO&=VQ`O7+)TOOQ[<<Lw<<LwOOQ[<<Ly<<LyOOQ[-E=O-E=OOOQ[1G3x1G3xO&=[Q`O,5>_OOQ[,5>a,5>aO&=aQ`O1G4OO9ZQ`O7+&dO!(yQlO7+&dOOQO7+%]7+%]O&=fQ?MtO1G6XO>wQ`O7+%]OOQ!0Lf<<I_<<I_OOQ!0Lf<<Ix<<IxO>wQ`O<<IxOOQO<<Iq<<IqO$?{Q!0MxO<<IqO%[QlO<<IqOOQO<<Ib<<IbO!BYQ!0LrO<<IbO&=pQ!0LrO<<IqO&={Q!0MxO<=\x20[O&>]Q`O<=\x20ZOOQO7+*]7+*]O9ZQ`O7+*]OOQ[ANAjANAjO&>eQ!fOANAjO!&iQMhOANAjO#\x27cQ`OANAjO4UQ!fOANAjO&>lQ`OANAjO%[QlOANAjO&>tQ!0MzO7+\x27yO&AVQ!0MzO,5?_O&CbQ!0MzO,5?aO&EmQ!0MzO7+\x27{O&HOQ!fO1G4jO&HYQ?MtO7+&_O&J^Q?MvO,5=WO&LeQ?MvO,5=YO&LuQ?MvO,5=WO&MVQ?MvO,5=YO&MgQ?MvO,59sO\x27\x20mQ?MvO,5<jO\x27#pQ?MvO,5<lO\x27&UQ?MvO,5<zO\x27\x27zQ?MtO7+\x27jO\x27(XQ?MtO7+\x27lO\x27(fQ`O,5<[OOQO7+\x27_7+\x27_OOQ!0Lh7+*b7+*bO\x27(kQMjO<<K|OOQO1G4u1G4uO\x27(rQ`O1G4uO\x27(}Q`O1G4uO\x27)]Q`O7++zO\x27)]Q`O7++zO!&iQMhO1G4wO\x27)eQ!dO1G4wO\x27)oQ`O7++{O\x27)wQ`O7+(UO\x27*SQ!dO7+(UOOQ!0Lb7+(S7+(SOOQ!0Lb7+(T7+(TO!BeQpO7+(SOCfQ`O7+(SO\x27*^Q`O7+(UO!&iQMhO7+(UO$)iQ`O7+(TO\x27*cQ`O7+(UOCfQ`O7+(TO\x27*kQMjO<<NuOOQ!0Lh7+${7+${O!+rQMhO<<NuO\x27*uQ!dO,5?dOOQO-E<v-E<vO\x27+PQ!0MvO7+(XO!&iQMhO7+(XOOQ[AN=gAN=gO9aQ`O1G5UOOQO1G5U1G5UO\x27+aQ`O1G5UO\x27+fQ`O7+,TO\x27+fQ`O7+,TO9kQ!0LrOANBVO@iQ`OANBVOOQ[ANBVANBVOOQ[ANArANArOOQ[ANAsANAsO\x27+nQ`O,5?fOOQO-E<x-E<xO\x27+yQ?MtO1G6fOOQO,5?h,5?hOOQO-E<z-E<zOOQ[1G3`1G3`O\x27,TQ`O,5=OOOQ[<<Le<<LeO!&iQMhO<<LeO&;rQ`O<<LeO\x27,YQ`O<<LeO%[QlO<<LeOOQ[<<Lg<<LgO9kQ!0LrO<<LgO$#yQ`O<<LgO9UQ`O<<LgO\x27,bQpO1G5TO\x27,mQ`O7+,ROOQ[AN=]AN=]O9kQ!0LrOAN=]OOQ[<=\x20p<=\x20pOOQ[<=\x20q<=\x20qO\x27,uQ`O<=\x20pO\x27,zQ`O<=\x20qOOQ[<<Lo<<LoO\x27-PQ`O<<LoO\x27-UQlO<<LoOOQ[1G3y1G3yO>wQ`O7+)jO\x27-]Q`O<<JOO\x27-hQ?MtO<<JOOOQO<<Hw<<HwOOQ!0LfAN?dAN?dOOQOAN?]AN?]O$?{Q!0MxOAN?]OOQOAN>|AN>|O%[QlOAN?]OOQO<<Mw<<MwOOQ[G27UG27UO!&iQMhOG27UO#\x27cQ`OG27UO\x27-rQ!fOG27UO4UQ!fOG27UO\x27-yQ`OG27UO\x27.RQ?MtO<<JeO\x27.`Q?MvO1G2_O\x270UQ?MvO,5?_O\x272XQ?MvO,5?aO\x274[Q?MvO1G2rO\x276_Q?MvO1G2tO\x278bQ?MtO<<KWO\x278oQ?MtO<<IyOOQO1G1v1G1vO!+rQMhOANAhOOQO7+*a7+*aO\x278|Q`O7+*aO\x279XQ`O<=\x20fO\x279aQ!dO7+*cOOQ!0Lb<<Kp<<KpO$)iQ`O<<KpOCfQ`O<<KpO\x279kQ`O<<KpO!&iQMhO<<KpOOQ!0Lb<<Kn<<KnO!BeQpO<<KnO\x279vQ!dO<<KpOOQ!0Lb<<Ko<<KoO\x27:QQ`O<<KpO!&iQMhO<<KpO$)iQ`O<<KoO\x27:VQMjOANDaO\x27:aQ!0MvO<<KsOOQO7+*p7+*pO9aQ`O7+*pO\x27:qQ`O<=\x20oOOQ[G27qG27qO9kQ!0LrOG27qO!(yQlO1G5QO\x27:yQ`O7+,QO\x27;RQ`O1G2jO&;rQ`OANBPOOQ[ANBPANBPO!&iQMhOANBPO\x27;WQ`OANBPOOQ[ANBRANBRO9kQ!0LrOANBRO$#yQ`OANBROOQO\x27#H^\x27#H^OOQO7+*o7+*oOOQ[G22wG22wOOQ[ANE[ANE[OOQ[ANE]ANE]OOQ[ANBZANBZO\x27;`Q`OANBZOOQ[<<MU<<MUO!(yQlOAN?jOOQOG24wG24wO$?{Q!0MxOG24wO#\x27cQ`OLD,pOOQ[LD,pLD,pO!&iQMhOLD,pO\x27;eQ!fOLD,pO\x27;lQ?MvO7+\x27yO\x27=bQ?MvO,5?_O\x27?eQ?MvO,5?aO\x27AhQ?MvO7+\x27{O\x27C^QMjOG27SOOQO<<M{<<M{OOQ!0LbANA[ANA[O$)iQ`OANA[OCfQ`OANA[O\x27CnQ!dOANA[OOQ!0LbANAYANAYO\x27CuQ`OANA[O!&iQMhOANA[O\x27DQQ!dOANA[OOQ!0LbANAZANAZOOQO<<N[<<N[OOQ[LD-]LD-]O\x27D[Q?MtO7+*lOOQO\x27#Ge\x27#GeOOQ[G27kG27kO&;rQ`OG27kO!&iQMhOG27kOOQ[G27mG27mO9kQ!0LrOG27mOOQ[G27uG27uO\x27DfQ?MtOG25UOOQOLD*cLD*cOOQ[!$(![!$(![O#\x27cQ`O!$(![O!&iQMhO!$(![O\x27DpQ!0MzOG27SOOQ!0LbG26vG26vO$)iQ`OG26vO\x27GRQ`OG26vOCfQ`OG26vO\x27G^Q!dOG26vO!&iQMhOG26vOOQ[LD-VLD-VO&;rQ`OLD-VOOQ[LD-XLD-XOOQ[!)9Ev!)9EvO#\x27cQ`O!)9EvOOQ!0LbLD,bLD,bO$)iQ`OLD,bOCfQ`OLD,bO\x27GeQ`OLD,bO\x27GpQ!dOLD,bOOQ[!$(!q!$(!qOOQ[!.K;b!.K;bO\x27GwQ?MvOG27SOOQ!0Lb!$(\x20|!$(\x20|O$)iQ`O!$(\x20|OCfQ`O!$(\x20|O\x27ImQ`O!$(\x20|OOQ!0Lb!)9Eh!)9EhO$)iQ`O!)9EhOCfQ`O!)9EhOOQ!0Lb!.K;S!.K;SO$)iQ`O!.K;SOOQ!0Lb!4/0n!4/0nO!(yQlO\x27#DxO1PQ`O\x27#EVO\x27IxQ!fO\x27#JpO\x27JPQ!L^O\x27#DtO\x27JWQlO\x27#D|O\x27J_Q!fO\x27#CiO\x27LuQ!fO\x27#CiO!(yQlO\x27#EOO\x27MVQlO,5;XO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO,5;cO!(yQlO\x27#InO(\x20YQ`O,5<hO!(yQlO,5;cO(\x20bQMhO,5;cO(!{QMhO,5;cO!(yQlO,5;vO!&iQMhO\x27#GlO(\x20bQMhO\x27#GlO!&iQMhO\x27#GnO(\x20bQMhO\x27#GnO1SQ`O\x27#DXO1SQ`O\x27#DXO!&iQMhO\x27#GOO(\x20bQMhO\x27#GOO!&iQMhO\x27#GQO(\x20bQMhO\x27#GQO!&iQMhO\x27#G`O(\x20bQMhO\x27#G`O!(yQlO,5:hO(#SQpO\x27#D]O(#^QpO\x27#JtO!(yQlO,5@mO\x27MVQlO1G0sO(#hQ?MtO\x27#CiO!(yQlO1G2OO!&iQMhO\x27#IsO(\x20bQMhO\x27#IsO!&iQMhO\x27#IuO(\x20bQMhO\x27#IuO(#rQ!dO\x27#CrO!&iQMhO,5<sO(\x20bQMhO,5<sO\x27MVQlO1G2QO!(yQlO7+&yO!&iQMhO1G2_O(\x20bQMhO1G2_O!&iQMhO\x27#IsO(\x20bQMhO\x27#IsO!&iQMhO\x27#IuO(\x20bQMhO\x27#IuO!&iQMhO1G2aO(\x20bQMhO1G2aO\x27MVQlO7+\x27lO\x27MVQlO7+&_O!&iQMhOANAhO(\x20bQMhOANAhO($VQ`O\x27#EmO($[Q`O\x27#EmO($dQ`O\x27#F[O($iQ`O\x27#EwO($nQ`O\x27#KRO($yQ`O\x27#KPO(%UQ`O,5;XO(%ZQMjO,5<dO(%bQ`O\x27#GXO(%gQ`O\x27#GXO(%lQ`O,5<fO(%tQ`O,5;XO(%|Q?MtO1G1_O(&TQ`O,5<sO(&YQ`O,5<sO(&_Q`O,5<uO(&dQ`O,5<uO(&iQ`O1G2QO(&nQ`O1G0sO(&sQMjO<<K|O(&zQMjO<<K|O7eQMhO\x27#F{O9UQ`O\x27#FzOAdQ`O\x27#ElO!(yQlO,5;sO!3^Q`O\x27#GXO!3^Q`O\x27#GXO!3^Q`O\x27#GZO!3^Q`O\x27#GZO!+rQMhO7+(bO!+rQMhO7+(bO%-ZQ!dO1G2vO%-ZQ!dO1G2vO!&iQMhO,5=[O!&iQMhO,5=[','stateData':'((P~O\x27zOS\x27{OSTOS\x27|RQ~OPYOQYOSfOY!VOaqOdzOeyOj!POnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]XO!guO!jZO!mYO!nYO!oYO!qvO!swO!vxO!z]O$V|O$miO%g}O%i!QO%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO%x!UO&U!WO&[!XO&^!YO&`!ZO&b![O&e!]O&k!^O&q!_O&s!`O&u!aO&w!bO&y!cO(RSO(TTO(WUO(_VO(m[O~OWtO~P`OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oa!wOq!nO!Q!oO!`!yO!a!vO!b!vO!z;wO#R!pO#S!pO#T!xO#U!pO#V!pO#Y!zO#Z!zO(S!lO(TTO(WUO(c!mO(m!sO~O\x27|!{O~OP]XR]X[]Xa]Xp]X!O]X!Q]X!Z]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X\x27x]X(_]X(p]X(w]X(x]X~O!e%QX~P(qO_!}O(T#PO(U!}O(V#PO~O_#QO(V#PO(W#PO(X#QO~Ov#SO!S#TO(`#TO(a#VO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R;{O(TTO(WUO(_VO(m[O~O!Y#ZO!Z#WO!W(fP!W(tP~P+}O![#cO~P`OPYOQYOSfOd!jOe!iOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(TTO(WUO(_VO(m[O~On#mO!Y#iO!z]O#g#lO#h#iO(R;|O!i(qP~P.iO!j#oO(R#nO~O!v#sO!z]O%g#tO~O#i#uO~O!e#vO#i#uO~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!Z$_O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~Oa(dX\x27x(dX\x27u(dX!i(dX!W(dX!](dX%h(dX!e(dX~P1qO#Q$dO#^$eO$P$eOP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#t(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX!](eX%h(eX~Oa(eX\x27x(eX\x27u(eX!W(eX!i(eXt(eX!e(eX~P4UO#^$eO~O$[$hO$^$gO$e$mO~OSfO!]$nO$h$oO$j$qO~Oh%VOj%cOn%WOp%XOq$tOr$tOx%YOz%ZO|%[O!Q${O!]$|O!g%aO!j$xO#h%bO$V%_O$s%]O$u%^O$x%`O(R$sO(TTO(WUO(_$uO(w$}O(x%POg([P~O!j%dO~O!Q%gO!]%hO(R%fO~O!e%lO~Oa%mO\x27x%mO~O!O%qO~P%[O(S!lO~P%[O%m%uO~P%[Oh%VO!j%dO(R%fO(S!lO~Oe%|O!j%dO(R%fO~O#t$RO~O!O&RO!]&OO!j&QO%i&UO(R%fO(S!lO(TTO(WUO`)UP~O!v#sO~O%r&WO!Q)QX!])QX(R)QX~O(R&XO~Oj!PO!s&^O%i!QO%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO~Od&cOe&bO!v&`O%g&aO%z&_O~P<POd&fOeyOj!PO!]&eO!s&^O!vxO!z]O%g}O%k!OO%l!OO%m!OO%p!RO%r!SO%u!TO%v!TO%x!UO~Ob&iO#^&lO%i&gO(S!lO~P=UO!j&mO!s&qO~O!j#oO~O!]XO~Oa%mO\x27v&yO\x27x%mO~Oa%mO\x27v&|O\x27x%mO~Oa%mO\x27v\x27OO\x27x%mO~O\x27u]X!W]Xt]X!i]X&Y]X!]]X%h]X!e]X~P(qO!`\x27]O!a\x27UO!b\x27UO(S!lO(TTO(WUO~Oq\x27SO!Q\x27RO!Y\x27VO(c\x27QO![(gP![(vP~P@]Ol\x27`O!]\x27^O(R%fO~Oe\x27eO!j%dO(R%fO~O!O&RO!j&QO~Oq!nO!Q!oO!z;wO#R!pO#S!pO#U!pO#V!pO(S!lO(TTO(WUO(c!mO(m!sO~O!`\x27kO!a\x27jO!b\x27jO#T!pO#Y\x27lO#Z\x27lO~PAwOa%mOh%VO!e#vO!j%dO\x27x%mO(p\x27nO~O!n\x27rO#^\x27pO~PCVOq!nO!Q!oO(TTO(WUO(c!mO(m!sO~O!]XOq(kX!Q(kX!`(kX!a(kX!b(kX!z(kX#R(kX#S(kX#T(kX#U(kX#V(kX#Y(kX#Z(kX(S(kX(T(kX(W(kX(c(kX(m(kX~O!a\x27jO!b\x27jO(S!lO~PCuO\x27}\x27vO(O\x27vO(P\x27xO~O_!}O(T\x27zO(U!}O(V\x27zO~O_#QO(V\x27zO(W\x27zO(X#QO~Ot\x27|O~P%[Ov#SO!S#TO(`#TO(a(PO~O!Y(RO!W\x27UX!W\x27[X!Z\x27UX!Z\x27[X~P+}O!Z(TO!W(fX~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!Z(TO!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~O!W(fX~PGpO!W(YO~O!W(sX!Z(sX!e(sX!i(sX(p(sX~O#^(sX#i#bX![(sX~PIsO#^(ZO!W(uX!Z(uX~O!Z([O!W(tX~O!W(_O~O#^$eO~PIsO![(`O~P`OR#zO!O#yO!Q#{O!j#xO(_VOP!la[!lap!la!Z!la!n!la#P!la#l!la#m!la#n!la#o!la#p!la#q!la#r!la#s!la#t!la#u!la#w!la#y!la#z!la(p!la(w!la(x!la~Oa!la\x27x!la\x27u!la!W!la!i!lat!la!]!la%h!la!e!la~PKZO!i(aO~O!e#vO#^(bO(p\x27nO!Z(rXa(rX\x27x(rX~O!i(rX~PMvO!Q%gO!]%hO!z]O#g(gO#h(fO(R%fO~O!Z(hO!i(qX~O!i(jO~O!Q%gO!]%hO#h(fO(R%fO~OP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#t(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX~O!e#vO!i(eX~P!\x20dOR(lO!O(kO!j#xO#Q$dO!z!ya!Q!ya~O!v!ya%g!ya!]!ya#g!ya#h!ya(R!ya~P!#eO!v(pO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]XO!guO!jZO!mYO!nYO!oYO!qvO!s!gO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~O#i(vO~O!Y(xO!i(iP~P%[O(c(zO(m[O~O!Q(|O!j#xO(c(zO(m[O~OP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]!eO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(R)ZO(TTO(WUO(_VO(m[O~O!Z$_Oa$pa\x27x$pa\x27u$pa!i$pa!W$pa!]$pa%h$pa!e$pa~Oj)bO~P!&iOh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|%[O!Q${O!]$|O!g%aO!j$xO#h%bO$V%_O$s%]O$u%^O$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~Og(nP~P!+rO!O)gO!e)fO!]$]X$Y$]X$[$]X$^$]X$e$]X~O!e)fO!](yX$Y(yX$[(yX$^(yX$e(yX~O!O)gO~P!-{O!O)gO!](yX$Y(yX$[(yX$^(yX$e(yX~O!])iO$Y)mO$[)hO$^)hO$e)nO~O!Y)qO~P!(yO$[$hO$^$gO$e)uO~Ol$yX!O$yX#Q$yX\x27w$yX(w$yX(x$yX~OgkXg$yXlkX!ZkX#^kX~P!/qOv)wO(`)xO(a)zO~Ol*TO!O)|O\x27w)}O(w$}O(x%PO~Og){O~P!0uOg*UO~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q*WO!]*XO!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(TTO(WUO(_$uO(w$}O(x%PO~O!Y*[O(R*VO!i(|P~P!1dO#i*^O~O!j*_O~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(R*aO(TTO(WUO(_$uO(w$}O(x%PO~O!Y*dO!W(}P~P!3cOp*pOq!nO!Q*fO!`*nO!a*hO!b*hO!j*_O#Y*oO%_*jO(S!lO(TTO(WUO(c!mO~O![*mO~P!5WO#Q$dOl(^X!O(^X\x27w(^X(w(^X(x(^X!Z(^X#^(^X~Og(^X#}(^X~P!6YOl*uO#^*tOg(]X!Z(]X~O!Z*vOg([X~Oj%cO(R&XOg([P~Oq*yO~O!j+OO~O(R(tO~On+TO!Q%gO!Y#iO!]%hO!z]O#g#lO#h#iO(R%fO!i(qP~O!e#vO#i+UO~O!Q%gO!Y+WO!Z([O!]%hO(R%fO!W(tP~Oq\x27YO!Q+YO!Y+XO(TTO(WUO(c(zO~O![(vP~P!9]O!Z+ZOa)RX\x27x)RX~OP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO#y$WO#z$XO(_VO(p$YO(w#|O(x#}O~Oa!ha!Z!ha\x27x!ha\x27u!ha!W!ha!i!hat!ha!]!ha%h!ha!e!ha~P!:TOR#zO!O#yO!Q#{O!j#xO(_VOP!pa[!pap!pa!Z!pa!n!pa#P!pa#l!pa#m!pa#n!pa#o!pa#p!pa#q!pa#r!pa#s!pa#t!pa#u!pa#w!pa#y!pa#z!pa(p!pa(w!pa(x!pa~Oa!pa\x27x!pa\x27u!pa!W!pa!i!pat!pa!]!pa%h!pa!e!pa~P!<kOR#zO!O#yO!Q#{O!j#xO(_VOP!ra[!rap!ra!Z!ra!n!ra#P!ra#l!ra#m!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#w!ra#y!ra#z!ra(p!ra(w!ra(x!ra~Oa!ra\x27x!ra\x27u!ra!W!ra!i!rat!ra!]!ra%h!ra!e!ra~P!?ROh%VOl+dO!]\x27^O%h+cO~O!e+fOa(ZX!](ZX\x27x(ZX!Z(ZX~Oa%mO!]XO\x27x%mO~Oh%VO!j%dO~Oh%VO!j%dO(R%fO~O!e#vO#i(vO~Ob+qO%i+rO(R+nO(TTO(WUO![)VP~O!Z+sO`)UX~O[+wO~O`+xO~O!]&OO(R%fO(S!lO`)UP~Oh%VO#^+}O~Oh%VOl,QO!]$|O~O!],SO~O!O,UO!]XO~O%m%uO~O!v,ZO~Oe,`O~Ob,aO(R#nO(TTO(WUO![)TP~Oe%|O~O%i!QO(R&XO~P=UO[,fO`,eO~OPYOQYOSfOdzOeyOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!guO!jZO!mYO!nYO!oYO!qvO!vxO!z]O$miO%g}O(TTO(WUO(_VO(m[O~O!]!eO!s!gO$V!kO(R!dO~P!FRO`,eOa%mO\x27x%mO~OPYOQYOSfOd!jOe!iOnkOpYOqkOrkOxkOzYO|YO!QWO!UkO!VkO!]!eO!guO!jZO!mYO!nYO!oYO!qvO!v!hO$V!kO$miO(R!dO(TTO(WUO(_VO(m[O~Oa,kOj!OO!swO%k!OO%l!OO%m!OO~P!HkO!j&mO~O&[,qO~O!],sO~O&m,uO&o,vOP&jaQ&jaS&jaY&jaa&jad&jae&jaj&jan&jap&jaq&jar&jax&jaz&ja|&ja!Q&ja!U&ja!V&ja!]&ja!g&ja!j&ja!m&ja!n&ja!o&ja!q&ja!s&ja!v&ja!z&ja$V&ja$m&ja%g&ja%i&ja%k&ja%l&ja%m&ja%p&ja%r&ja%u&ja%v&ja%x&ja&U&ja&[&ja&^&ja&`&ja&b&ja&e&ja&k&ja&q&ja&s&ja&u&ja&w&ja&y&ja\x27u&ja(R&ja(T&ja(W&ja(_&ja(m&ja![&ja&c&jab&ja&h&ja~O(R,{O~Oh!cX!Z!PX![!PX!e!PX!e!cX!j!cX#^!PX~O!Z!cX![!cX~P#\x20qO!e-QO#^-POh(hX!Z#fX![#fX!e(hX!j(hX~O!Z(hX![(hX~P#!dOh%VO!e-SO!j%dO!Z!_X![!_X~Oq!nO!Q!oO(TTO(WUO(c!mO~OP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]!eO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(TTO(WUO(_VO(m[O~O(R<rO~P##yO!Z-WO![(gX~O![-YO~O!e-QO#^-PO!Z#fX![#fX~O!Z-ZO![(vX~O![-]O~O!a-^O!b-^O(S!lO~P##hO![-aO~P\x27_Ol-dO!]\x27^O~O!W-iO~Oq!ya!`!ya!a!ya!b!ya#R!ya#S!ya#T!ya#U!ya#V!ya#Y!ya#Z!ya(S!ya(T!ya(W!ya(c!ya(m!ya~P!#eO!n-nO#^-lO~PCVO!a-pO!b-pO(S!lO~PCuOa%mO#^-lO\x27x%mO~Oa%mO!e#vO#^-lO\x27x%mO~Oa%mO!e#vO!n-nO#^-lO\x27x%mO(p\x27nO~O\x27}\x27vO(O\x27vO(P-uO~Ot-vO~O!W\x27Ua!Z\x27Ua~P!:TO!Y-zO!W\x27UX!Z\x27UX~P%[O!Z(TO!W(fa~O!W(fa~PGpO!Z([O!W(ta~O!Q%gO!Y.OO!]%hO(R%fO!W\x27[X!Z\x27[X~O#^.QO!Z(ra!i(raa(ra\x27x(ra~O!e#vO~P#,PO!Z(hO!i(qa~O!Q%gO!]%hO#h.UO(R%fO~On.ZO!Q%gO!Y.WO!]%hO!z]O#g.YO#h.WO(R%fO!Z\x27_X!i\x27_X~OR._O!j#xO~Oh%VOl.bO!]\x27^O%h.aO~Oa#ai!Z#ai\x27x#ai\x27u#ai!W#ai!i#ait#ai!]#ai%h#ai!e#ai~P!:TOl=|O!O)|O\x27w)}O(w$}O(x%PO~O#i#]aa#]a#^#]a\x27x#]a!Z#]a!i#]a!]#]a!W#]a~P#.{O#i(^XP(^XR(^X[(^Xa(^Xp(^X!Q(^X!j(^X!n(^X#P(^X#l(^X#m(^X#n(^X#o(^X#p(^X#q(^X#r(^X#s(^X#t(^X#u(^X#w(^X#y(^X#z(^X\x27x(^X(_(^X(p(^X!i(^X!W(^X\x27u(^Xt(^X!](^X%h(^X!e(^X~P!6YO!Z.oO!i(iX~P!:TO!i.rO~O!W.tO~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O(_VO[#kia#kip#ki!Z#ki#P#ki#m#ki#n#ki#o#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki\x27x#ki(p#ki(w#ki(x#ki\x27u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#l#ki~P#2kO#l$OO~P#2kOP$[OR#zOp$aO!O#yO!Q#{O!j#xO!n$[O#l$OO#m$PO#n$PO#o$PO(_VO[#kia#ki!Z#ki#P#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki\x27x#ki(p#ki(w#ki(x#ki\x27u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#p#ki~P#5YO#p$QO~P#5YOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO(_VOa#ki!Z#ki#w#ki#y#ki#z#ki\x27x#ki(p#ki(w#ki(x#ki\x27u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#u#ki~P#7wOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO(_VO(x#}Oa#ki!Z#ki#y#ki#z#ki\x27x#ki(p#ki(w#ki\x27u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#w$UO~P#:_O#w#ki~P#:_O#u$SO~P#7wOP$[OR#zO[$cOp$aO!O#yO!Q#{O!j#xO!n$[O#P$RO#l$OO#m$PO#n$PO#o$PO#p$QO#q$RO#r$RO#s$bO#t$RO#u$SO#w$UO(_VO(w#|O(x#}Oa#ki!Z#ki#z#ki\x27x#ki(p#ki\x27u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~O#y#ki~P#=TO#y$WO~P#=TOP]XR]X[]Xp]X!O]X!Q]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X!Z]X![]X~O#}]X~P#?rOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO#w<VO#y<XO#z<YO(_VO(p$YO(w#|O(x#}O~O#}.vO~P#BPO#Q$dO#^<`O$P<`O#}(eX![(eX~P!\x20dOa\x27ba!Z\x27ba\x27x\x27ba\x27u\x27ba!i\x27ba!W\x27bat\x27ba!]\x27ba%h\x27ba!e\x27ba~P!:TO[#kia#kip#ki!Z#ki#P#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki\x27x#ki(p#ki\x27u#ki!W#ki!i#kit#ki!]#ki%h#ki!e#ki~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O#l$OO#m$PO#n$PO#o$PO(_VO(w#ki(x#ki~P#EROl=|O!O)|O\x27w)}O(w$}O(x%POP#kiR#ki!Q#ki!j#ki!n#ki#l#ki#m#ki#n#ki#o#ki(_#ki~P#ERO!Z.zOg(nX~P!0uOg.|O~Oa$Oi!Z$Oi\x27x$Oi\x27u$Oi!W$Oi!i$Oit$Oi!]$Oi%h$Oi!e$Oi~P!:TO$[.}O$^.}O~O$[/OO$^/OO~O!e)fO#^/PO!]$bX$Y$bX$[$bX$^$bX$e$bX~O!Y/QO~O!])iO$Y/SO$[)hO$^)hO$e/TO~O!Z<ZO![(dX~P#BPO![/UO~O!e)fO$e(yX~O$e/WO~Ot/XO~P!&iOv)wO(`)xO(a/[O~O!Q/_O~O(w$}Ol%`a!O%`a\x27w%`a(x%`a!Z%`a#^%`a~Og%`a#}%`a~P#LTO(x%POl%ba!O%ba\x27w%ba(w%ba!Z%ba#^%ba~Og%ba#}%ba~P#LvO!ZfX!efX!ifX!i$yX(pfX~P!/qO!Y/hO!Z([O(R/gO!W(tP!W(}P~P!1dOp*pO!`*nO!a*hO!b*hO!j*_O#Y*oO%_*jO(S!lO(TTO(WUO~Oq<oO!Q/iO!Y+XO![*mO(c<nO![(vP~P#NaO!i/jO~P#.{O!Z/kO!e#vO(p\x27nO!i(|X~O!i/pO~O!Q%gO!Y*[O!]%hO(R%fO!i(|P~O#i/rO~O!W$yX!Z$yX!e%QX~P!/qO!Z/sO!W(}X~P#.{O!e/uO~O!W/wO~OnkO(R/xO~P.iOh%VOp/}O!e#vO!j%dO(p\x27nO~O!e+fO~Oa%mO!Z0RO\x27x%mO~O![0TO~P!5WO!a0UO!b0UO(S!lO~P##hOq!nO!Q0VO(TTO(WUO(c!mO~O#Y0XO~Og%`a!Z%`a#^%`a#}%`a~P!0uOg%ba!Z%ba#^%ba#}%ba~P!0uOj%cO(R&XOg\x27kX!Z\x27kX~O!Z*vOg([a~Og0bO~OR0cO!O0cO!Q0dO#Q$dOl{a\x27w{a(w{a(x{a!Z{a#^{a~Og{a#}{a~P$&dO!O)|O\x27w)}Ol$ra(w$ra(x$ra!Z$ra#^$ra~Og$ra#}$ra~P$\x27`O!O)|O\x27w)}Ol$ta(w$ta(x$ta!Z$ta#^$ta~Og$ta#}$ta~P$(RO#i0gO~Og%Sa!Z%Sa#^%Sa#}%Sa~P!0uOl0iO#^0hOg(]a!Z(]a~O!e#vO~O#i0lO~O!Z+ZOa)Ra\x27x)Ra~OR#zO!O#yO!Q#{O!j#xO(_VOP!pi[!pip!pi!Z!pi!n!pi#P!pi#l!pi#m!pi#n!pi#o!pi#p!pi#q!pi#r!pi#s!pi#t!pi#u!pi#w!pi#y!pi#z!pi(p!pi(w!pi(x!pi~Oa!pi\x27x!pi\x27u!pi!W!pi!i!pit!pi!]!pi%h!pi!e!pi~P$*OOh%VOp%XOq$tOr$tOx%YOz%ZO|<eO!Q${O!]$|O!g=vO!j$xO#h<kO$V%_O$s<gO$u<iO$x%`O(TTO(WUO(_$uO(w$}O(x%PO~On0vO%[0wO(R0tO~P$,fO!e+fOa(Za!](Za\x27x(Za!Z(Za~O#i0|O~O[]X!ZfX![fX~O!Z0}O![)VX~O![1PO~O[1QO~Ob1SO(R+nO(TTO(WUO~O!]&OO(R%fO`\x27sX!Z\x27sX~O!Z+sO`)Ua~O!i1VO~P!:TO[1YO~O`1ZO~O#^1^O~Ol1aO!]$|O~O(c(zO![)SP~Oh%VOl1jO!]1gO%h1iO~O[1tO!Z1rO![)TX~O![1uO~O`1wOa%mO\x27x%mO~O(R#nO(TTO(WUO~O#Q$dO#^$eO$P$eOP(eXR(eX[(eXp(eX!O(eX!Q(eX!Z(eX!j(eX!n(eX#P(eX#l(eX#m(eX#n(eX#o(eX#p(eX#q(eX#r(eX#s(eX#u(eX#w(eX#y(eX#z(eX(_(eX(p(eX(w(eX(x(eX~O#t1zO&Y1{Oa(eX~P$2PO#^$eO#t1zO&Y1{O~Oa1}O~P%[Oa2PO~O&c2SOP&aiQ&aiS&aiY&aia&aid&aie&aij&ain&aip&aiq&air&aix&aiz&ai|&ai!Q&ai!U&ai!V&ai!]&ai!g&ai!j&ai!m&ai!n&ai!o&ai!q&ai!s&ai!v&ai!z&ai$V&ai$m&ai%g&ai%i&ai%k&ai%l&ai%m&ai%p&ai%r&ai%u&ai%v&ai%x&ai&U&ai&[&ai&^&ai&`&ai&b&ai&e&ai&k&ai&q&ai&s&ai&u&ai&w&ai&y&ai\x27u&ai(R&ai(T&ai(W&ai(_&ai(m&ai![&aib&ai&h&ai~Ob2YO![2WO&h2XO~P`O!]XO!j2[O~O&o,vOP&jiQ&jiS&jiY&jia&jid&jie&jij&jin&jip&jiq&jir&jix&jiz&ji|&ji!Q&ji!U&ji!V&ji!]&ji!g&ji!j&ji!m&ji!n&ji!o&ji!q&ji!s&ji!v&ji!z&ji$V&ji$m&ji%g&ji%i&ji%k&ji%l&ji%m&ji%p&ji%r&ji%u&ji%v&ji%x&ji&U&ji&[&ji&^&ji&`&ji&b&ji&e&ji&k&ji&q&ji&s&ji&u&ji&w&ji&y&ji\x27u&ji(R&ji(T&ji(W&ji(_&ji(m&ji![&ji&c&jib&ji&h&ji~O!W2bO~O!Z!_a![!_a~P#BPOq!nO!Q!oO!Y2hO(c!mO!Z\x27VX![\x27VX~P@]O!Z-WO![(ga~O!Z\x27]X![\x27]X~P!9]O!Z-ZO![(va~O![2oO~P\x27_Oa%mO#^2xO\x27x%mO~Oa%mO!e#vO#^2xO\x27x%mO~Oa%mO!e#vO!n2|O#^2xO\x27x%mO(p\x27nO~Oa%mO\x27x%mO~P!:TO!Z$_Ot$pa~O!W\x27Ui!Z\x27Ui~P!:TO!Z(TO!W(fi~O!Z([O!W(ti~O!W(ui!Z(ui~P!:TO!Z(ri!i(ria(ri\x27x(ri~P!:TO#^3OO!Z(ri!i(ria(ri\x27x(ri~O!Z(hO!i(qi~O!Q%gO!]%hO!z]O#g3TO#h3SO(R%fO~O!Q%gO!]%hO#h3SO(R%fO~Ol3[O!]\x27^O%h3ZO~Oh%VOl3[O!]\x27^O%h3ZO~O#i%`aP%`aR%`a[%`aa%`ap%`a!Q%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a\x27x%`a(_%`a(p%`a!i%`a!W%`a\x27u%`at%`a!]%`a%h%`a!e%`a~P#LTO#i%baP%baR%ba[%baa%bap%ba!Q%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba\x27x%ba(_%ba(p%ba!i%ba!W%ba\x27u%bat%ba!]%ba%h%ba!e%ba~P#LvO#i%`aP%`aR%`a[%`aa%`ap%`a!Q%`a!Z%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a\x27x%`a(_%`a(p%`a!i%`a!W%`a\x27u%`a#^%`at%`a!]%`a%h%`a!e%`a~P#.{O#i%baP%baR%ba[%baa%bap%ba!Q%ba!Z%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba\x27x%ba(_%ba(p%ba!i%ba!W%ba\x27u%ba#^%bat%ba!]%ba%h%ba!e%ba~P#.{O#i{aP{a[{aa{ap{a!j{a!n{a#P{a#l{a#m{a#n{a#o{a#p{a#q{a#r{a#s{a#t{a#u{a#w{a#y{a#z{a\x27x{a(_{a(p{a!i{a!W{a\x27u{at{a!]{a%h{a!e{a~P$&dO#i$raP$raR$ra[$raa$rap$ra!Q$ra!j$ra!n$ra#P$ra#l$ra#m$ra#n$ra#o$ra#p$ra#q$ra#r$ra#s$ra#t$ra#u$ra#w$ra#y$ra#z$ra\x27x$ra(_$ra(p$ra!i$ra!W$ra\x27u$rat$ra!]$ra%h$ra!e$ra~P$\x27`O#i$taP$taR$ta[$taa$tap$ta!Q$ta!j$ta!n$ta#P$ta#l$ta#m$ta#n$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#w$ta#y$ta#z$ta\x27x$ta(_$ta(p$ta!i$ta!W$ta\x27u$tat$ta!]$ta%h$ta!e$ta~P$(RO#i%SaP%SaR%Sa[%Saa%Sap%Sa!Q%Sa!Z%Sa!j%Sa!n%Sa#P%Sa#l%Sa#m%Sa#n%Sa#o%Sa#p%Sa#q%Sa#r%Sa#s%Sa#t%Sa#u%Sa#w%Sa#y%Sa#z%Sa\x27x%Sa(_%Sa(p%Sa!i%Sa!W%Sa\x27u%Sa#^%Sat%Sa!]%Sa%h%Sa!e%Sa~P#.{Oa#aq!Z#aq\x27x#aq\x27u#aq!W#aq!i#aqt#aq!]#aq%h#aq!e#aq~P!:TO!Y3dO!Z\x27WX!i\x27WX~P%[O!Z.oO!i(ia~O!Z.oO!i(ia~P!:TO!W3gO~O#}!la![!la~PKZO#}!ha!Z!ha![!ha~P#BPO#}!pa![!pa~P!<kO#}!ra![!ra~P!?ROg\x27ZX!Z\x27ZX~P!+rO!Z.zOg(na~OSfO!]3{O$c3|O~O![4QO~Ot4RO~P#.{Oa$lq!Z$lq\x27x$lq\x27u$lq!W$lq!i$lqt$lq!]$lq%h$lq!e$lq~P!:TO!W4TO~P!&iO!Q4UO~O!O)|O\x27w)}O(x%POl\x27ga(w\x27ga!Z\x27ga#^\x27ga~Og\x27ga#}\x27ga~P%+uO!O)|O\x27w)}Ol\x27ia(w\x27ia(x\x27ia!Z\x27ia#^\x27ia~Og\x27ia#}\x27ia~P%,hO(p$YO~P#.{O!WfX!W$yX!ZfX!Z$yX!e%QX#^fX~P!/qO(R<xO~P!1dO!Q%gO!Y4XO!]%hO(R%fO!Z\x27cX!i\x27cX~O!Z/kO!i(|a~O!Z/kO!e#vO!i(|a~O!Z/kO!e#vO(p\x27nO!i(|a~Og${i!Z${i#^${i#}${i~P!0uO!Y4aO!W\x27eX!Z\x27eX~P!3cO!Z/sO!W(}a~O!Z/sO!W(}a~P#.{OP]XR]X[]Xp]X!O]X!Q]X!W]X!Z]X!j]X!n]X#P]X#Q]X#^]X#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X~O!e%XX#t%XX~P%0XO!e#vO#t4fO~Oh%VO!e#vO!j%dO~Oh%VOp4kO!j%dO(p\x27nO~Op4pO!e#vO(p\x27nO~Oq!nO!Q4qO(TTO(WUO(c!mO~O(w$}Ol%`i!O%`i\x27w%`i(x%`i!Z%`i#^%`i~Og%`i#}%`i~P%3xO(x%POl%bi!O%bi\x27w%bi(w%bi!Z%bi#^%bi~Og%bi#}%bi~P%4kOg(]i!Z(]i~P!0uO#^4wOg(]i!Z(]i~P!0uO!i4zO~Oa$nq!Z$nq\x27x$nq\x27u$nq!W$nq!i$nqt$nq!]$nq%h$nq!e$nq~P!:TO!W5QO~O!Z5RO!])OX~P#.{Oa]Xa$yX!]]X!]$yX%]]X\x27x]X\x27x$yX!Z]X!Z$yX~P!/qO%]5UOa%Za!]%Za\x27x%Za!Z%Za~OlmX!OmX\x27wmX(wmX(xmX~P%7nOn5VO(R#nO~Ob5]O%i5^O(R+nO(TTO(WUO!Z\x27rX![\x27rX~O!Z0}O![)Va~O[5bO~O`5cO~Oa%mO\x27x%mO~P#.{O!Z5kO#^5mO![)SX~O![5nO~Op5tOq!nO!Q*fO!`!yO!a!vO!b!vO!z;wO#R!pO#S!pO#T!pO#U!pO#V!pO#Y5sO#Z!zO(S!lO(TTO(WUO(c!mO(m!sO~O![5rO~P%:ROl5yO!]1gO%h5xO~Oh%VOl5yO!]1gO%h5xO~Ob6QO(R#nO(TTO(WUO!Z\x27qX![\x27qX~O!Z1rO![)Ta~O(TTO(WUO(c6SO~O`6WO~O#t6ZO&Y6[O~PMvO!i6]O~P%[Oa6_O~Oa6_O~P%[Ob2YO![6dO&h2XO~P`O!e6fO~O!e6hOh(hi!Z(hi![(hi!e(hi!j(hip(hi(p(hi~O!Z#fi![#fi~P#BPO#^6iO!Z#fi![#fi~O!Z!_i![!_i~P#BPOa%mO#^6rO\x27x%mO~Oa%mO!e#vO#^6rO\x27x%mO~O!Z(rq!i(rqa(rq\x27x(rq~P!:TO!Z(hO!i(qq~O!Q%gO!]%hO#h6yO(R%fO~O!]\x27^O%h6|O~Ol7QO!]\x27^O%h6|O~O#i\x27gaP\x27gaR\x27ga[\x27gaa\x27gap\x27ga!Q\x27ga!j\x27ga!n\x27ga#P\x27ga#l\x27ga#m\x27ga#n\x27ga#o\x27ga#p\x27ga#q\x27ga#r\x27ga#s\x27ga#t\x27ga#u\x27ga#w\x27ga#y\x27ga#z\x27ga\x27x\x27ga(_\x27ga(p\x27ga!i\x27ga!W\x27ga\x27u\x27gat\x27ga!]\x27ga%h\x27ga!e\x27ga~P%+uO#i\x27iaP\x27iaR\x27ia[\x27iaa\x27iap\x27ia!Q\x27ia!j\x27ia!n\x27ia#P\x27ia#l\x27ia#m\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#w\x27ia#y\x27ia#z\x27ia\x27x\x27ia(_\x27ia(p\x27ia!i\x27ia!W\x27ia\x27u\x27iat\x27ia!]\x27ia%h\x27ia!e\x27ia~P%,hO#i${iP${iR${i[${ia${ip${i!Q${i!Z${i!j${i!n${i#P${i#l${i#m${i#n${i#o${i#p${i#q${i#r${i#s${i#t${i#u${i#w${i#y${i#z${i\x27x${i(_${i(p${i!i${i!W${i\x27u${i#^${it${i!]${i%h${i!e${i~P#.{O#i%`iP%`iR%`i[%`ia%`ip%`i!Q%`i!j%`i!n%`i#P%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#t%`i#u%`i#w%`i#y%`i#z%`i\x27x%`i(_%`i(p%`i!i%`i!W%`i\x27u%`it%`i!]%`i%h%`i!e%`i~P%3xO#i%biP%biR%bi[%bia%bip%bi!Q%bi!j%bi!n%bi#P%bi#l%bi#m%bi#n%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#w%bi#y%bi#z%bi\x27x%bi(_%bi(p%bi!i%bi!W%bi\x27u%bit%bi!]%bi%h%bi!e%bi~P%4kO!Z\x27Wa!i\x27Wa~P!:TO!Z.oO!i(ii~O#}#ai!Z#ai![#ai~P#BPOP$[OR#zO!O#yO!Q#{O!j#xO!n$[O(_VO[#kip#ki#P#ki#m#ki#n#ki#o#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#l#ki~P%MQO#l<PO~P%MQOP$[OR#zOp<]O!O#yO!Q#{O!j#xO!n$[O#l<PO#m<QO#n<QO#o<QO(_VO[#ki#P#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#p#ki~P&\x20YO#p<RO~P&\x20YOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO(_VO#w#ki#y#ki#z#ki#}#ki(p#ki(w#ki(x#ki!Z#ki![#ki~O#u#ki~P&#bOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO(_VO(x#}O#y#ki#z#ki#}#ki(p#ki(w#ki!Z#ki![#ki~O#w<VO~P&%cO#w#ki~P&%cO#u<TO~P&#bOP$[OR#zO[<_Op<]O!O#yO!Q#{O!j#xO!n$[O#P<SO#l<PO#m<QO#n<QO#o<QO#p<RO#q<SO#r<SO#s<^O#t<SO#u<TO#w<VO(_VO(w#|O(x#}O#z#ki#}#ki(p#ki!Z#ki![#ki~O#y#ki~P&\x27rO#y<XO~P&\x27rOa#{y!Z#{y\x27x#{y\x27u#{y!W#{y!i#{yt#{y!]#{y%h#{y!e#{y~P!:TO[#kip#ki#P#ki#p#ki#q#ki#r#ki#s#ki#t#ki#u#ki#w#ki#y#ki#z#ki#}#ki(p#ki!Z#ki![#ki~OP$[OR#zO!O#yO!Q#{O!j#xO!n$[O#l<PO#m<QO#n<QO#o<QO(_VO(w#ki(x#ki~P&*nOl=}O!O)|O\x27w)}O(w$}O(x%POP#kiR#ki!Q#ki!j#ki!n#ki#l#ki#m#ki#n#ki#o#ki(_#ki~P&*nO#Q$dOP(^XR(^X[(^Xl(^Xp(^X!O(^X!Q(^X!j(^X!n(^X#P(^X#l(^X#m(^X#n(^X#o(^X#p(^X#q(^X#r(^X#s(^X#t(^X#u(^X#w(^X#y(^X#z(^X#}(^X\x27w(^X(_(^X(p(^X(w(^X(x(^X!Z(^X![(^X~O#}$Oi!Z$Oi![$Oi~P#BPO#}!pi![!pi~P$*OOg\x27Za!Z\x27Za~P!0uO![7dO~O!Z\x27ba![\x27ba~P#BPO!W7eO~P#.{O!e#vO(p\x27nO!Z\x27ca!i\x27ca~O!Z/kO!i(|i~O!Z/kO!e#vO!i(|i~Og${q!Z${q#^${q#}${q~P!0uO!W\x27ea!Z\x27ea~P#.{O!e7lO~O!Z/sO!W(}i~P#.{O!Z/sO!W(}i~O!W7oO~Oh%VOp7tO!j%dO(p\x27nO~O!e#vO#t7vO~Op7yO!e#vO(p\x27nO~O!O)|O\x27w)}O(x%POl\x27ha(w\x27ha!Z\x27ha#^\x27ha~Og\x27ha#}\x27ha~P&3oO!O)|O\x27w)}Ol\x27ja(w\x27ja(x\x27ja!Z\x27ja#^\x27ja~Og\x27ja#}\x27ja~P&4bO!W7{O~Og$}q!Z$}q#^$}q#}$}q~P!0uOg(]q!Z(]q~P!0uO#^7|Og(]q!Z(]q~P!0uOa$ny!Z$ny\x27x$ny\x27u$ny!W$ny!i$nyt$ny!]$ny%h$ny!e$ny~P!:TO!e6hO~O!Z5RO!])Oa~O!]\x27^OP$SaR$Sa[$Sap$Sa!O$Sa!Q$Sa!Z$Sa!j$Sa!n$Sa#P$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#t$Sa#u$Sa#w$Sa#y$Sa#z$Sa(_$Sa(p$Sa(w$Sa(x$Sa~O%h6|O~P&7SO%]8QOa%Zi!]%Zi\x27x%Zi!Z%Zi~Oa#ay!Z#ay\x27x#ay\x27u#ay!W#ay!i#ayt#ay!]#ay%h#ay!e#ay~P!:TO[8SO~Ob8UO(R+nO(TTO(WUO~O!Z0}O![)Vi~O`8YO~O(c(zO!Z\x27nX![\x27nX~O!Z5kO![)Sa~O![8cO~P%:RO(m!sO~P$$oO#Y8dO~O!]1gO~O!]1gO%h8fO~Ol8iO!]1gO%h8fO~O[8nO!Z\x27qa![\x27qa~O!Z1rO![)Ti~O!i8rO~O!i8sO~O!i8vO~O!i8vO~P%[Oa8xO~O!e8yO~O!i8zO~O!Z(ui![(ui~P#BPOa%mO#^9SO\x27x%mO~O!Z(ry!i(rya(ry\x27x(ry~P!:TO!Z(hO!i(qy~O%h9VO~P&7SO!]\x27^O%h9VO~O#i${qP${qR${q[${qa${qp${q!Q${q!Z${q!j${q!n${q#P${q#l${q#m${q#n${q#o${q#p${q#q${q#r${q#s${q#t${q#u${q#w${q#y${q#z${q\x27x${q(_${q(p${q!i${q!W${q\x27u${q#^${qt${q!]${q%h${q!e${q~P#.{O#i\x27haP\x27haR\x27ha[\x27haa\x27hap\x27ha!Q\x27ha!j\x27ha!n\x27ha#P\x27ha#l\x27ha#m\x27ha#n\x27ha#o\x27ha#p\x27ha#q\x27ha#r\x27ha#s\x27ha#t\x27ha#u\x27ha#w\x27ha#y\x27ha#z\x27ha\x27x\x27ha(_\x27ha(p\x27ha!i\x27ha!W\x27ha\x27u\x27hat\x27ha!]\x27ha%h\x27ha!e\x27ha~P&3oO#i\x27jaP\x27jaR\x27ja[\x27jaa\x27jap\x27ja!Q\x27ja!j\x27ja!n\x27ja#P\x27ja#l\x27ja#m\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#w\x27ja#y\x27ja#z\x27ja\x27x\x27ja(_\x27ja(p\x27ja!i\x27ja!W\x27ja\x27u\x27jat\x27ja!]\x27ja%h\x27ja!e\x27ja~P&4bO#i$}qP$}qR$}q[$}qa$}qp$}q!Q$}q!Z$}q!j$}q!n$}q#P$}q#l$}q#m$}q#n$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#w$}q#y$}q#z$}q\x27x$}q(_$}q(p$}q!i$}q!W$}q\x27u$}q#^$}qt$}q!]$}q%h$}q!e$}q~P#.{O!Z\x27Wi!i\x27Wi~P!:TO#}#aq!Z#aq![#aq~P#BPO(w$}OP%`aR%`a[%`ap%`a!Q%`a!j%`a!n%`a#P%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#t%`a#u%`a#w%`a#y%`a#z%`a#}%`a(_%`a(p%`a!Z%`a![%`a~Ol%`a!O%`a\x27w%`a(x%`a~P&HgO(x%POP%baR%ba[%bap%ba!Q%ba!j%ba!n%ba#P%ba#l%ba#m%ba#n%ba#o%ba#p%ba#q%ba#r%ba#s%ba#t%ba#u%ba#w%ba#y%ba#z%ba#}%ba(_%ba(p%ba!Z%ba![%ba~Ol%ba!O%ba\x27w%ba(w%ba~P&JnOl=}O!O)|O\x27w)}O(x%PO~P&HgOl=}O!O)|O\x27w)}O(w$}O~P&JnOR0cO!O0cO!Q0dO#Q$dOP{a[{al{ap{a!j{a!n{a#P{a#l{a#m{a#n{a#o{a#p{a#q{a#r{a#s{a#t{a#u{a#w{a#y{a#z{a#}{a\x27w{a(_{a(p{a(w{a(x{a!Z{a![{a~O!O)|O\x27w)}OP$raR$ra[$ral$rap$ra!Q$ra!j$ra!n$ra#P$ra#l$ra#m$ra#n$ra#o$ra#p$ra#q$ra#r$ra#s$ra#t$ra#u$ra#w$ra#y$ra#z$ra#}$ra(_$ra(p$ra(w$ra(x$ra!Z$ra![$ra~O!O)|O\x27w)}OP$taR$ta[$tal$tap$ta!Q$ta!j$ta!n$ta#P$ta#l$ta#m$ta#n$ta#o$ta#p$ta#q$ta#r$ta#s$ta#t$ta#u$ta#w$ta#y$ta#z$ta#}$ta(_$ta(p$ta(w$ta(x$ta!Z$ta![$ta~Ol=}O!O)|O\x27w)}O(w$}O(x%PO~OP%SaR%Sa[%Sap%Sa!Q%Sa!j%Sa!n%Sa#P%Sa#l%Sa#m%Sa#n%Sa#o%Sa#p%Sa#q%Sa#r%Sa#s%Sa#t%Sa#u%Sa#w%Sa#y%Sa#z%Sa#}%Sa(_%Sa(p%Sa!Z%Sa![%Sa~P\x27%sO#}$lq!Z$lq![$lq~P#BPO#}$nq!Z$nq![$nq~P#BPO![9dO~O#}9eO~P!0uO!e#vO!Z\x27ci!i\x27ci~O!e#vO(p\x27nO!Z\x27ci!i\x27ci~O!Z/kO!i(|q~O!W\x27ei!Z\x27ei~P#.{O!Z/sO!W(}q~Op9lO!e#vO(p\x27nO~O[9nO!W9mO~P#.{O!W9mO~O!e#vO#t9tO~Og(]y!Z(]y~P!0uO!Z\x27la!]\x27la~P#.{Oa%Zq!]%Zq\x27x%Zq!Z%Zq~P#.{O[9yO~O!Z0}O![)Vq~O#^9}O!Z\x27na![\x27na~O!Z5kO![)Si~P#BPO!Q:PO~O!]1gO%h:SO~O(TTO(WUO(c:XO~O!Z1rO![)Tq~O!i:[O~O!i:]O~O!i:^O~O!i:^O~P%[O#^:aO!Z#fy![#fy~O!Z#fy![#fy~P#BPO%h:fO~P&7SO!]\x27^O%h:fO~O#}#{y!Z#{y![#{y~P#BPOP${iR${i[${ip${i!Q${i!j${i!n${i#P${i#l${i#m${i#n${i#o${i#p${i#q${i#r${i#s${i#t${i#u${i#w${i#y${i#z${i#}${i(_${i(p${i!Z${i![${i~P\x27%sO!O)|O\x27w)}O(x%POP\x27gaR\x27ga[\x27gal\x27gap\x27ga!Q\x27ga!j\x27ga!n\x27ga#P\x27ga#l\x27ga#m\x27ga#n\x27ga#o\x27ga#p\x27ga#q\x27ga#r\x27ga#s\x27ga#t\x27ga#u\x27ga#w\x27ga#y\x27ga#z\x27ga#}\x27ga(_\x27ga(p\x27ga(w\x27ga!Z\x27ga![\x27ga~O!O)|O\x27w)}OP\x27iaR\x27ia[\x27ial\x27iap\x27ia!Q\x27ia!j\x27ia!n\x27ia#P\x27ia#l\x27ia#m\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#w\x27ia#y\x27ia#z\x27ia#}\x27ia(_\x27ia(p\x27ia(w\x27ia(x\x27ia!Z\x27ia![\x27ia~O(w$}OP%`iR%`i[%`il%`ip%`i!O%`i!Q%`i!j%`i!n%`i#P%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#t%`i#u%`i#w%`i#y%`i#z%`i#}%`i\x27w%`i(_%`i(p%`i(x%`i!Z%`i![%`i~O(x%POP%biR%bi[%bil%bip%bi!O%bi!Q%bi!j%bi!n%bi#P%bi#l%bi#m%bi#n%bi#o%bi#p%bi#q%bi#r%bi#s%bi#t%bi#u%bi#w%bi#y%bi#z%bi#}%bi\x27w%bi(_%bi(p%bi(w%bi!Z%bi![%bi~O#}$ny!Z$ny![$ny~P#BPO#}#ay!Z#ay![#ay~P#BPO!e#vO!Z\x27cq!i\x27cq~O!Z/kO!i(|y~O!W\x27eq!Z\x27eq~P#.{Op:pO!e#vO(p\x27nO~O[:tO!W:sO~P#.{O!W:sO~Og(]!R!Z(]!R~P!0uOa%Zy!]%Zy\x27x%Zy!Z%Zy~P#.{O!Z0}O![)Vy~O!Z5kO![)Sq~O(R:zO~O!]1gO%h:}O~O!i;QO~O%h;VO~P&7SOP${qR${q[${qp${q!Q${q!j${q!n${q#P${q#l${q#m${q#n${q#o${q#p${q#q${q#r${q#s${q#t${q#u${q#w${q#y${q#z${q#}${q(_${q(p${q!Z${q![${q~P\x27%sO!O)|O\x27w)}O(x%POP\x27haR\x27ha[\x27hal\x27hap\x27ha!Q\x27ha!j\x27ha!n\x27ha#P\x27ha#l\x27ha#m\x27ha#n\x27ha#o\x27ha#p\x27ha#q\x27ha#r\x27ha#s\x27ha#t\x27ha#u\x27ha#w\x27ha#y\x27ha#z\x27ha#}\x27ha(_\x27ha(p\x27ha(w\x27ha!Z\x27ha![\x27ha~O!O)|O\x27w)}OP\x27jaR\x27ja[\x27jal\x27jap\x27ja!Q\x27ja!j\x27ja!n\x27ja#P\x27ja#l\x27ja#m\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#w\x27ja#y\x27ja#z\x27ja#}\x27ja(_\x27ja(p\x27ja(w\x27ja(x\x27ja!Z\x27ja![\x27ja~OP$}qR$}q[$}qp$}q!Q$}q!j$}q!n$}q#P$}q#l$}q#m$}q#n$}q#o$}q#p$}q#q$}q#r$}q#s$}q#t$}q#u$}q#w$}q#y$}q#z$}q#}$}q(_$}q(p$}q!Z$}q![$}q~P\x27%sOg%d!Z!Z%d!Z#^%d!Z#}%d!Z~P!0uO!W;ZO~P#.{Op;[O!e#vO(p\x27nO~O[;^O!W;ZO~P#.{O!Z\x27nq![\x27nq~P#BPO!Z#f!Z![#f!Z~P#BPO#i%d!ZP%d!ZR%d!Z[%d!Za%d!Zp%d!Z!Q%d!Z!Z%d!Z!j%d!Z!n%d!Z#P%d!Z#l%d!Z#m%d!Z#n%d!Z#o%d!Z#p%d!Z#q%d!Z#r%d!Z#s%d!Z#t%d!Z#u%d!Z#w%d!Z#y%d!Z#z%d!Z\x27x%d!Z(_%d!Z(p%d!Z!i%d!Z!W%d!Z\x27u%d!Z#^%d!Zt%d!Z!]%d!Z%h%d!Z!e%d!Z~P#.{Op;fO!e#vO(p\x27nO~O!W;gO~P#.{Op;nO!e#vO(p\x27nO~O!W;oO~P#.{OP%d!ZR%d!Z[%d!Zp%d!Z!Q%d!Z!j%d!Z!n%d!Z#P%d!Z#l%d!Z#m%d!Z#n%d!Z#o%d!Z#p%d!Z#q%d!Z#r%d!Z#s%d!Z#t%d!Z#u%d!Z#w%d!Z#y%d!Z#z%d!Z#}%d!Z(_%d!Z(p%d!Z!Z%d!Z![%d!Z~P\x27%sOp;rO!e#vO(p\x27nO~Ot(dX~P1qO!O%qO~P!(yO(S!lO~P!(yO!WfX!ZfX#^fX~P%0XOP]XR]X[]Xp]X!O]X!Q]X!Z]X!ZfX!j]X!n]X#P]X#Q]X#^]X#^fX#ifX#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#w]X#y]X#z]X$P]X(_]X(p]X(w]X(x]X~O!efX!i]X!ifX(pfX~P\x27JlOP;vOQ;vOSfOd=rOe!iOnkOp;vOqkOrkOxkOz;vO|;vO!QWO!UkO!VkO!]XO!g;yO!jZO!m;vO!n;vO!o;vO!q;zO!s;}O!v!hO$V!kO$m=pO(R)ZO(TTO(WUO(_VO(m[O~O!Z<ZO![$pa~Oh%VOn%WOp%XOq$tOr$tOx%YOz%ZO|<fO!Q${O!]$|O!g=wO!j$xO#h<lO$V%_O$s<hO$u<jO$x%`O(R(tO(TTO(WUO(_$uO(w$}O(x%PO~Oj)bO~P(\x20bOp!cX(p!cX~P#\x20qOp(hX(p(hX~P#!dO![]X![fX~P\x27JlO!WfX!W$yX!ZfX!Z$yX#^fX~P!/qO#i<OO~O!e#vO#i<OO~O#^<`O~O#t<SO~O#^<pO!Z(uX![(uX~O#^<`O!Z(sX![(sX~O#i<qO~Og<sO~P!0uO#i<yO~O#i<zO~O!e#vO#i<{O~O!e#vO#i<qO~O#}<|O~P#BPO#i<}O~O#i=OO~O#i=TO~O#i=UO~O#i=VO~O#i=WO~O#}=XO~P!0uO#}=YO~P!0uO#Q#R#S#U#V#Y#g#h#s$m$s$u$x%[%]%g%h%i%p%r%u%v%x%z~\x27|T#m!V\x27z(S#nq#l#op!O\x27{$[\x27{(R$^(c~','goto':'$8f)ZPPPPPP)[PP)_P)pP+Q/VPPPP6aPP6wPP<oP@cP@yP@yPPP@yPCRP@yP@yP@yPCVPC[PCyPHsPPPHwPPPPHwKzPPPLQLrPHwPHwPP!\x20QHwPPPHwPHwP!#XHwP!&o!\x27t!\x27}P!(q!(u!(q!,SPPPPPPP!,s!\x27tPP!-T!.uP!2RHwHw!2W!5d!:Q!:Q!>PPPP!>XHwPPPPPPPPPP!AhP!BuPPHw!DWPHwPHwHwHwHwHwPHw!EjP!HtP!KzP!LO!LY!L^!L^P!HqP!Lb!LbP#\x20hP#\x20lHwPHw#\x20r#$wCV@yP@yP@y@yP#&U@y@y#(h@y#+`@y#-l@y@y#.[#0p#0p#0u#1O#0p#1ZPP#0pP@y#1s@y#5r@y@y6aPPP#9wPPP#:b#:bP#:bP#:x#:bPP#;OP#:uP#:u#;c#:u#;}#<T#<W)_#<Z)_P#<b#<b#<bP)_P)_P)_P)_PP)_P#<h#<kP#<k)_P#<oP#<rP)_P)_P)_P)_P)_P)_)_PP#<x#=O#=Z#=a#=g#=m#=s#>R#>X#>c#>i#>s#>y#?Z#?a#@R#@e#@k#@q#AP#Af#CZ#Ci#Cp#E[#Ej#G[#Gj#Gp#Gv#G|#HW#H^#Hd#Hn#IQ#IWPPPPPPPPPPP#I^PPPPPPP#JR#MY#Nr#Ny$\x20RPPP$&mP$&v$)o$0Y$0]$0`$1_$1b$1i$1qP$1w$1zP$2h$2l$3d$4r$4w$5_PP$5d$5j$5n$5q$5u$5y$6u$7^$7u$7y$7|$8P$8V$8Y$8^$8bR!|RoqOXst!Z#d%l&p&r&s&u,n,s2S2VY!vQ\x27^-`1g5qQ%svQ%{yQ&S|Q&h!VS\x27U!e-WQ\x27d!iS\x27j!r!yU*h$|*X*lQ+l%|Q+y&UQ,_&bQ-^\x27]Q-h\x27eQ-p\x27kQ0U*nQ1q,`R<m;z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y\x27R\x27`\x27p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9SS#q];w!r)]$Z$n\x27V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU*{%[<e<fQ+q&OQ,a&eQ,h&mQ0r+dQ0u+fQ1S+rQ1y,fQ3W.bQ5V0wQ5]0}Q6Q1rQ7O3[Q8U5^R9Y7Q\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s!S!nQ!r!v!y!z$|\x27U\x27]\x27^\x27j\x27k\x27l*h*l*n*o-W-^-`-p0U0X1g5q5s%[$ti#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q&V|Q\x27S!eS\x27Y%h-ZQ+q&OQ,a&eQ0f+OQ1S+rQ1X+xQ1x,eQ1y,fQ5]0}Q5f1ZQ6Q1rQ6T1tQ6U1wQ8U5^Q8X5cQ8q6WQ9|8YQ:Y8nR<o*XrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR,c&i&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27`\x27p(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=r=s[#]WZ#W#Z\x27V(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ%vxQ%zyS&P|&UQ&]!TQ\x27a!hQ\x27c!iQ(o#sS+k%{%|Q+o&OQ,Y&`Q,^&bS-g\x27d\x27eQ.d(pQ0{+lQ1R+rQ1T+sQ1W+wQ1l,ZS1p,_,`Q2t-hQ5[0}Q5`1QQ5e1YQ6P1qQ8T5^Q8W5bQ9x8SR:w9y!U$zi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y!^%xy!i!u%z%{%|\x27T\x27c\x27d\x27e\x27i\x27s*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pQ+e%vQ,O&YQ,R&ZQ,]&bQ.c(oQ1k,YU1o,^,_,`Q3].dQ5z1lS6O1p1qQ8m6P#f=t#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o=u<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YW%Ti%V*v=pS&Y!Q&gQ&Z!RQ&[!SQ+S%cR+|&W%]%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}T)x$u)yV*{%[<e<fW\x27Y!e%h*X-ZS({#y#zQ+`%qQ+v&RS.](k(lQ1b,SQ4x0cR8^5k\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s$i$^c#Y#e%p%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.w.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gT#TV#U\x27RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ\x27W!eR2i-W!W!nQ!e!r!v!y!z$|\x27U\x27]\x27^\x27j\x27k\x27l*X*h*l*n*o-W-^-`-p0U0X1g5q5sR1d,UnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&w!^Q\x27t!xS(q#u<OQ+i%yQ,W&]Q,X&_Q-e\x27bQ-r\x27mS.m(v<qS0k+U<{Q0y+jQ1f,VQ2Z,uQ2],vQ2e-RQ2r-fQ2u-jS5P0l=VQ5W0zS5Z0|=WQ6j2gQ6n2sQ6s2zQ8R5XQ8}6lQ9O6oQ9R6tR:`8z$d$]c#Y#e%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gS(m#p\x27gQ(}#zS+_%p.wS.^(l(nR3U._\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS#q];wQ&r!XQ&s!YQ&u![Q&v!]R2R,qQ\x27_!hQ+b%vQ-c\x27aS.`(o+eQ2p-bW3Y.c.d0q0sQ6m2qW6z3V3X3]5TU9U6{6}7PU:e9W9X9ZS;T:d:gQ;b;UR;j;cU!wQ\x27^-`T5o1g5q!Q_OXZ`st!V!Z#d#h%d%l&g&i&p&r&s&u(h,n,s.V2S2V]!pQ!r\x27^-`1g5qT#q];w%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27`\x27p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS({#y#zS.](k(l!s=^$Z$n\x27V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU$fd)],hS(n#p\x27gU*s%R(u3vU0e*z.i7]Q5T0rQ6{3WQ9X7OR:g9Ym!tQ!r!v!y!z\x27^\x27j\x27k\x27l-`-p1g5q5sQ\x27r!uS(d#g1|S-n\x27i\x27uQ/n*ZQ/{*gQ2|-qQ4]/oQ4i/}Q4j0OQ4o0WQ7h4WS7s4k4mS7w4p4rQ9g7iQ9k7oQ9p7tQ9u7yS:o9l9mS;Y:p:sS;e;Z;[S;m;f;gS;q;n;oR;t;rQ#wbQ\x27q!uS(c#g1|S(e#m+TQ+V%eQ+g%wQ+m%}U-m\x27i\x27r\x27uQ.R(dQ/m*ZQ/|*gQ0P*iQ0x+hQ1m,[S2y-n-qQ3R.ZS4[/n/oQ4e/yS4h/{0WQ4l0QQ5|1nQ6u2|Q7g4WQ7k4]U7r4i4o4rQ7u4nQ8k5}S9f7h7iQ9j7oQ9r7wQ9s7xQ:V8lQ:m9gS:n9k9mQ:v9uQ;P:WS;X:o:sS;d;Y;ZS;l;e;gS;p;m;oQ;s;qQ;u;tQ=a=[Q=l=eR=m=fV!wQ\x27^-`%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27`\x27p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS#wz!j!r=Z$Z$n\x27V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=a=r%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27`\x27p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SQ%ej!^%wy!i!u%z%{%|\x27T\x27c\x27d\x27e\x27i\x27s*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pS%}z!jQ+h%xQ,[&bW1n,],^,_,`U5}1o1p1qS8l6O6PQ:W8m!r=[$Z$n\x27V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ=e=qR=f=r%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y\x27R\x27`\x27p(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SY#bWZ#W#Z(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ,i&m!p=]$Z$n)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=`\x27VU\x27Z!e%h*XR2k-Z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y\x27R\x27`\x27p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9S!r)]$Z$n\x27V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ,h&mQ0r+dQ3W.bQ7O3[R9Y7Q!b$Tc#Y%p(Q(W(r(w)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!P<U)[)o-U.w2c2f3h3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!f$Vc#Y%p(Q(W(r(w)U)V)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!T<W)[)o-U.w2c2f3h3n3o3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!^$Zc#Y%p(Q(W(r(w)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;xQ4V/fz=s)[)o-U.w2c2f3h3w4P6k7W7a7b8`8|9[9b9c:y;R=gQ=x=zR=y={\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS$oh$pR3|/P\x27XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$kf$qQ$ifS)h$l)lR)t$qT$jf$qT)j$l)l\x27XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27V\x27`\x27p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$oh$pQ$rhR)s$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y\x27R\x27`\x27p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9S!s=q$Z$n\x27V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s#glOPXZst!Z!`!o#S#d#o#{$n%l&i&l&m&p&r&s&u&y\x27R\x27`(|)q*f+Y+d,k,n,s-d.b/Q/i0V0d1j1z1{1}2P2S2V2X3[3{4q5y6Z6[6_7Q8i8x!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}Q+P%`Q/^)|o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!U$yi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yQ*`$zU*i$|*X*lQ+Q%aQ0Q*j#f=c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n=d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YQ=h=tQ=i=uQ=j=vR=k=w!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YnoOXst!Z#d%l&p&r&s&u,n,s2S2VS*c${*WQ,|&|Q,}\x27OR4`/s%[%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q,P&ZQ1`,RQ5i1_R8]5jV*k$|*X*lU*k$|*X*lT5p1g5qS/y*f/iQ4n0VT7x4q:PQ+g%wQ0P*iQ0x+hQ1m,[Q5|1nQ8k5}Q:V8lR;P:W!U%Oi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yx*P$v)c*Q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=oS0Y*q0Z#f<a#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<b<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!d<t(s)a*Y*b.e.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={`<u3u7X7[7`9]:h:k;kS=P.g3aT=Q7Z9`!U%Qi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y|*R$v)c*S*q+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=oS0[*r0]#f<c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!h<v(s)a*Y*b.f.g.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={d<w3u7Y7Z7`9]9^:h:i:k;kS=R.h3bT=S7[9arnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ&d!UR,k&mrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR&d!UQ,T&[R1[+|snOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ1h,YS5w1k1lU8e5u5v5zS:R8g8hS:{:Q:TQ;_:|R;i;`Q&k!VR,d&gR6T1tR:Y8nS&P|&UR1T+sQ&p!WR,n&qR,t&vT2T,s2VR,x&wQ,w&wR2^,xQ\x27w!{R-t\x27wSsOtQ#dXT%os#dQ#OTR\x27y#OQ#RUR\x27{#RQ)y$uR/Z)yQ#UVR(O#UQ#XWU(U#X(V-{Q(V#YR-{(WQ-X\x27WR2j-XQ.p(wS3e.p3fR3f.qQ-`\x27^R2n-`Y!rQ\x27^-`1g5qR\x27h!rQ.{)cR3z.{U#_W%g*WU(]#_(^-|Q(^#`R-|(XQ-[\x27ZR2l-[t`OXst!V!Z#d%l&g&i&p&r&s&u,n,s2S2VS#hZ%dU#r`#h.VR.V(hQ(i#jQ.S(eW.[(i.S3P6wQ3P.TR6w3QQ)l$lR/R)lQ$phR)r$pQ$`cU)_$`-w<[Q-w;xR<[)oQ/l*ZW4Y/l4Z7j9hU4Z/m/n/oS7j4[4]R9h7k$e*O$v(s)a)c*Y*b*q*r*|*}+R.g.h.j.k.l/Y/b/d/f/q/v0^0_0p1]3^3_3`3u3y4S4^4_4c4s4u4{4|4}5h7R7S7T7U7Z7[7^7_7`7f7m7p7z7}8P9]9^9_9i9q9v9w:h:i:j:k:l:q:u;W;];h;k=b=n=o=z={Q/t*bU4b/t4d7nQ4d/vR7n4cS*l$|*XR0S*lx*Q$v)c*q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=o!d.e(s)a*Y*b.g.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/c*Q.e7Xa7X3u7Z7[7`9]:h:k;kQ0Z*qQ3a.gU4t0Z3a9`R9`7Z|*S$v)c*q*r+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=o!h.f(s)a*Y*b.g.h.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/e*S.f7Ye7Y3u7Z7[7`9]9^:h:i:k;kQ0]*rQ3b.hU4v0]3b9aR9a7[Q*w%UR0a*wQ5S0pR8O5SQ+[%jR0o+[Q5l1bS8_5l:OR:O8`Q,V&]R1e,VQ5q1gR8b5qQ1s,aS6R1s8oR8o6TQ1O+oW5_1O5a8V9zQ5a1RQ8V5`R9z8WQ+t&PR1U+tQ2V,sR6c2VYrOXst#dQ&t!ZQ+^%lQ,m&pQ,o&rQ,p&sQ,r&uQ2Q,nS2T,s2VR6b2SQ%npQ&x!_Q&{!aQ&}!bQ\x27P!cQ\x27o!uQ+]%kQ+i%yQ+{&VQ,c&kQ,z&zW-k\x27i\x27q\x27r\x27uQ-r\x27mQ0R*kQ0y+jS1v,d,gQ2_,yQ2`,|Q2a,}Q2u-jW2w-m-n-q-sQ5W0zQ5d1XQ5g1]Q5{1mQ6V1xQ6a2RU6p2v2y2|Q6s2zQ8R5XQ8Z5fQ8[5hQ8a5pQ8j5|Q8p6US9P6q6uQ9R6tQ9{8XQ:U8kQ:Z8qQ:b9QQ:x9|Q;O:VQ;S:cR;a;PQ%yyQ\x27b!iQ\x27m!uU+j%z%{%|Q-R\x27TU-f\x27c\x27d\x27eS-j\x27i\x27sQ/z*gS0z+k+lQ2g-TS2s-g-hQ2z-oS4g/{0OQ5X0{Q6l2mQ6o2tQ6t2{U7q4i4j4mQ9o7sR:r9pS$wi=pR*x%VU%Ui%V=pR0`*vQ$viS(s#v+fS)a$b$cQ)c$dQ*Y$xS*b${*WQ*q%OQ*r%QQ*|%]Q*}%^Q+R%bQ.g<aQ.h<cQ.j<gQ.k<iQ.l<kQ/Y)wQ/b*PQ/d*RQ/f*TQ/q*^S/v*d/hQ0^*tQ0_*ul0p+c,Q.a1a1i3Z5x6|8f9V:S:f:};VQ1]+}Q3^<tQ3_<vQ3`<yS3u<^<_Q3y.zS4S/_4UQ4^/rQ4_/sQ4c/uQ4s0YQ4u0[Q4{0gQ4|0hQ4}0iQ5h1^Q7R<}Q7S=PQ7T=RQ7U=TQ7Z<bQ7[<dQ7^<hQ7_<jQ7`<lQ7f4VQ7m4aQ7p4fQ7z4wQ7}5RQ8P5UQ9]<zQ9^<uQ9_<wQ9i7lQ9q7vQ9v7|Q9w8QQ:h=OQ:i=QQ:j=SQ:k=UQ:l9eQ:q9nQ:u9tQ;W=XQ;]:tQ;h;^Q;k=YQ=b=pQ=n=xQ=o=yQ=z=|R={=}Q*z%[Q.i<eR7]<fnpOXst!Z#d%l&p&r&s&u,n,s2S2VQ!fPS#fZ#oQ&z!`W\x27f!o*f0V4qQ\x27}#SQ)O#{Q)p$nS,g&i&lQ,l&mQ,y&yS-O\x27R/iQ-b\x27`Q.s(|Q/V)qQ0m+YQ0s+dQ2O,kQ2q-dQ3X.bQ4O/QQ4y0dQ5v1jQ6X1zQ6Y1{Q6^1}Q6`2PQ6e2XQ7P3[Q7c3{Q8h5yQ8t6ZQ8u6[Q8w6_Q9Z7QQ:T8iR:_8x#[cOPXZst!Z!`!o#d#o#{%l&i&l&m&p&r&s&u&y\x27R\x27`(|*f+Y+d,k,n,s-d.b/i0V0d1j1z1{1}2P2S2V2X3[4q5y6Z6[6_7Q8i8xQ#YWQ#eYQ%puQ%rvS%tw!gS(Q#W(TQ(W#ZQ(r#uQ(w#xQ)P$OQ)Q$PQ)R$QQ)S$RQ)T$SQ)U$TQ)V$UQ)W$VQ)X$WQ)Y$XQ)[$ZQ)^$_Q)`$aQ)e$eW)o$n)q/Q3{Q+a%sQ+u&QS-U\x27V2hQ-s\x27pS-x(R-zQ-}(ZQ.P(bQ.n(vQ.q(xQ.u;vQ.w;yQ.x;zQ.y;}Q/]){Q0j+UQ2c-PQ2f-SQ2v-lQ2}.QQ3c.oQ3h<OQ3i<PQ3j<QQ3k<RQ3l<SQ3m<TQ3n<UQ3o<VQ3p<WQ3q<XQ3r<YQ3s.vQ3t<]Q3w<`Q3x<mQ4P<ZQ5O0lQ5Y0|Q6k<pQ6q2xQ6v3OQ7V3dQ7W<qQ7a<sQ7b<{Q8`5mQ8|6iQ9Q6rQ9[<|Q9b=VQ9c=WQ:c9SQ:y9}Q;R:aQ;x#SR=g=sR#[WR\x27X!el!tQ!r!v!y!z\x27^\x27j\x27k\x27l-`-p1g5q5sS\x27T!e-WU*g$|*X*lS-T\x27U\x27]S0O*h*nQ0W*oQ2m-^Q4m0UR4r0XR(y#xQ!fQT-_\x27^-`]!qQ!r\x27^-`1g5qQ#p]R\x27g;wR)d$dY!uQ\x27^-`1g5qQ\x27i!rS\x27s!v!yS\x27u!z5sS-o\x27j\x27kQ-q\x27lR2{-pT#kZ%dS#jZ%dS%jm,jU(e#h#i#lS.T(f(gQ.X(hQ0n+ZQ3Q.UU3R.V.W.YS6x3S3TR9T6yd#^W#W#Z%g(R([*W+W.O/hr#gZm#h#i#l%d(f(g(h+Z.U.V.W.Y3S3T6yS*Z$x*_Q/o*[Q1|,jQ2d-QQ4W/kQ6g2[Q7i4XQ8{6hT=_\x27V+XV#aW%g*WU#`W%g*WS(S#W([U(X#Z+W/hS-V\x27V+XT-y(R.OV\x27[!e%h*XQ$lfR)v$qT)k$l)lR3}/PT*]$x*_T*e${*WQ0q+cQ1_,QQ3V.aQ5j1aQ5u1iQ6}3ZQ8g5xQ9W6|Q:Q8fQ:d9VQ:|:SQ;U:fQ;`:}R;c;VnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&j!VR,c&gtmOXst!U!V!Z#d%l&g&p&r&s&u,n,s2S2VR,j&mT%km,jR1c,SR,b&eQ&T|R+z&UR+p&OT&n!W&qT&o!W&qT2U,s2V','nodeNames':'⚠\x20ArithOp\x20ArithOp\x20?.\x20JSXStartTag\x20LineComment\x20BlockComment\x20Script\x20Hashbang\x20ExportDeclaration\x20export\x20Star\x20as\x20VariableName\x20String\x20Escape\x20from\x20;\x20default\x20FunctionDeclaration\x20async\x20function\x20VariableDefinition\x20>\x20<\x20TypeParamList\x20const\x20TypeDefinition\x20extends\x20ThisType\x20this\x20LiteralType\x20ArithOp\x20Number\x20BooleanLiteral\x20TemplateType\x20InterpolationEnd\x20Interpolation\x20InterpolationStart\x20NullType\x20null\x20VoidType\x20void\x20TypeofType\x20typeof\x20MemberExpression\x20.\x20PropertyName\x20[\x20TemplateString\x20Escape\x20Interpolation\x20super\x20RegExp\x20]\x20ArrayExpression\x20Spread\x20,\x20}\x20{\x20ObjectExpression\x20Property\x20async\x20get\x20set\x20PropertyDefinition\x20Block\x20:\x20NewTarget\x20new\x20NewExpression\x20)\x20(\x20ArgList\x20UnaryExpression\x20delete\x20LogicOp\x20BitOp\x20YieldExpression\x20yield\x20AwaitExpression\x20await\x20ParenthesizedExpression\x20ClassExpression\x20class\x20ClassBody\x20MethodDeclaration\x20Decorator\x20@\x20MemberExpression\x20PrivatePropertyName\x20CallExpression\x20TypeArgList\x20CompareOp\x20<\x20declare\x20Privacy\x20static\x20abstract\x20override\x20PrivatePropertyDefinition\x20PropertyDeclaration\x20readonly\x20accessor\x20Optional\x20TypeAnnotation\x20Equals\x20StaticBlock\x20FunctionExpression\x20ArrowFunction\x20ParamList\x20ParamList\x20ArrayPattern\x20ObjectPattern\x20PatternProperty\x20Privacy\x20readonly\x20Arrow\x20MemberExpression\x20BinaryExpression\x20ArithOp\x20ArithOp\x20ArithOp\x20ArithOp\x20BitOp\x20CompareOp\x20instanceof\x20satisfies\x20in\x20CompareOp\x20BitOp\x20BitOp\x20BitOp\x20LogicOp\x20LogicOp\x20ConditionalExpression\x20LogicOp\x20LogicOp\x20AssignmentExpression\x20UpdateOp\x20PostfixExpression\x20CallExpression\x20InstantiationExpression\x20TaggedTemplateExpression\x20DynamicImport\x20import\x20ImportMeta\x20JSXElement\x20JSXSelfCloseEndTag\x20JSXSelfClosingTag\x20JSXIdentifier\x20JSXBuiltin\x20JSXIdentifier\x20JSXNamespacedName\x20JSXMemberExpression\x20JSXSpreadAttribute\x20JSXAttribute\x20JSXAttributeValue\x20JSXEscape\x20JSXEndTag\x20JSXOpenTag\x20JSXFragmentTag\x20JSXText\x20JSXEscape\x20JSXStartCloseTag\x20JSXCloseTag\x20PrefixCast\x20<\x20ArrowFunction\x20TypeParamList\x20SequenceExpression\x20InstantiationExpression\x20KeyofType\x20keyof\x20UniqueType\x20unique\x20ImportType\x20InferredType\x20infer\x20TypeName\x20ParenthesizedType\x20FunctionSignature\x20ParamList\x20NewSignature\x20IndexedType\x20TupleType\x20Label\x20ArrayType\x20ReadonlyType\x20ObjectType\x20MethodType\x20PropertyType\x20IndexSignature\x20PropertyDefinition\x20CallSignature\x20TypePredicate\x20asserts\x20is\x20NewSignature\x20new\x20UnionType\x20LogicOp\x20IntersectionType\x20LogicOp\x20ConditionalType\x20ParameterizedType\x20ClassDeclaration\x20abstract\x20implements\x20type\x20VariableDeclaration\x20let\x20var\x20using\x20TypeAliasDeclaration\x20InterfaceDeclaration\x20interface\x20EnumDeclaration\x20enum\x20EnumBody\x20NamespaceDeclaration\x20namespace\x20module\x20AmbientDeclaration\x20declare\x20GlobalDeclaration\x20global\x20ClassDeclaration\x20ClassBody\x20AmbientFunctionDeclaration\x20ExportGroup\x20VariableName\x20VariableName\x20ImportDeclaration\x20ImportGroup\x20ForStatement\x20for\x20ForSpec\x20ForInSpec\x20ForOfSpec\x20of\x20WhileStatement\x20while\x20WithStatement\x20with\x20DoStatement\x20do\x20IfStatement\x20if\x20else\x20SwitchStatement\x20switch\x20SwitchBody\x20CaseLabel\x20case\x20DefaultLabel\x20TryStatement\x20try\x20CatchClause\x20catch\x20FinallyClause\x20finally\x20ReturnStatement\x20return\x20ThrowStatement\x20throw\x20BreakStatement\x20break\x20ContinueStatement\x20continue\x20DebuggerStatement\x20debugger\x20LabeledStatement\x20ExpressionStatement\x20SingleExpression\x20SingleClassItem','maxTerm':0x17a,'context':trackNewline,'nodeProps':[['isolate',-0x8,0x5,0x6,0xe,0x23,0x25,0x31,0x33,0x35,''],['group',-0x1a,0x9,0x11,0x13,0x42,0xce,0xd2,0xd6,0xd7,0xd9,0xdc,0xdf,0xe9,0xeb,0xf1,0xf3,0xf5,0xf7,0xfa,0x100,0x106,0x108,0x10a,0x10c,0x10e,0x110,0x111,'Statement',-0x22,0xd,0xe,0x1e,0x21,0x22,0x28,0x31,0x34,0x35,0x37,0x3c,0x44,0x46,0x4a,0x4e,0x50,0x52,0x53,0x6c,0x6d,0x76,0x77,0x87,0x8a,0x8c,0x8d,0x8e,0x8f,0x90,0x92,0x93,0xa6,0xa8,0xaa,'Expression',-0x17,0x1d,0x1f,0x23,0x27,0x29,0x2b,0xac,0xae,0xb0,0xb1,0xb3,0xb4,0xb5,0xb7,0xb8,0xb9,0xbb,0xbc,0xbd,0xc8,0xca,0xcc,0xcd,'Type',-0x3,0x56,0x65,0x6b,'ClassItem'],['openedBy',0x17,'<',0x24,'InterpolationStart',0x36,'[',0x3a,'{',0x47,'(',0x9f,'JSXStartCloseTag'],['closedBy',-0x2,0x18,0xa7,'>',0x26,'InterpolationEnd',0x30,']',0x3b,'}',0x48,')',0xa4,'JSXEndTag']],'propSources':[jsHighlight],'skippedNodes':[0x0,0x5,0x6,0x114],'repeatNodeCount':0x25,'tokenData':'$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx!\x20Yxy!\x27iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c&j&zP;=`<%l&c\x27|\x27U]$h&j(X!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!b(SU(X!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!b(iP;=`<%l\x27}\x27|(oP;=`<%l&}\x27[(y]$h&j(UpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(rp)wU(UpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)rp*^P;=`<%l)r\x27[*dP;=`<%l(r#S*nX(Up(X!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Up(X!b\x27z0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;\x27S%Z;\x27S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(V#S$h&j\x27{0/lO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c07[.n_$h&j(Up(X!b\x27{0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)3p/x`$h&j!n),Q(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At3l_(T\x27:f$h&j(X!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k(^4r_$h&j(X!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;\x27S5q;\x27S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c`6|TOr6yrs7]s;\x27S6y;\x27S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(X!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!r8uZ(X!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;\x27S8p;\x27S;=`:R<%lO8p!r9oU$c`(X!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Up(X!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr(r<__WS$h&j(Up(X!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;\x27S<S;\x27S;=`Cl<%lO<S(Q=g]WS$h&j(X!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;\x27S=^;\x27S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;\x27S>`;\x27S;=`?k<%lO>`S?XSWSOY?SZ;\x27S?S;\x27S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(X!bOY?qZw?qwx?Sx#O?q#O#P?S#P;\x27S?q;\x27S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^\x27`@w]WS$h&j(UpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;\x27S@n;\x27S;=`Bg<%lO@ntAwWWS(UpOYApZrAprs?Ss#OAp#O#P?S#P;\x27SAp;\x27S;=`Ba<%lOAptBdP;=`<%lAp\x27`BjP;=`<%l@n#WBvYWS(Up(X!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;\x27SBm;\x27S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(m%1l(Up(X!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$h&j(Up(X!b$[#t(R,2j(c$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr+dHRk$h&j(Up(X!b$[#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;\x27SGv;\x27S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$h&j(Up(X!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWKl_$h&j$P(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,#xLva(x+JY$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWNW`$h&j#y(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At!\x20c_(W\x27;W$h&j(UpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b\x27l!!i_$h&j(UpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b&z!#mX$h&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;\x27S!#h;\x27S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;\x27S!$Y;\x27S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h\x27l!%R]$c`$h&j(UpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r!Q!&PZ(UpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;\x27S!%z;\x27S;=`!\x27]<%lO!%z!Q!&yU$c`(UpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)r!Q!\x27`P;=`<%l!%z\x27l!\x27fP;=`<%l!!b/5|!\x27t_!j/.^$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#&U!)O_!i!Lf$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z-!n!*[b$h&j(Up(X!b(S%&f#o(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW!+o`$h&j(Up(X!b#l(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;x!,|`$h&j(Up(X!bp+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,$U!.Z_!Z+Jf$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!/ec$h&j(Up(X!b!O.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!0ya$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!2Z_!Y!L^$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!3eg$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!5Vg$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!6wc$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!8_c$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!9uf$h&j(Up(X!b#m(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z?O!;fb$h&j(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z>^!<w`$h&j(X!b!V7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;\x27S!<n;\x27S;=`!L]<%lO!<n<z!>Q^$h&j!V7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!?Td$h&j!V7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;\x27S&c;\x27S;=`&w<%lO&c7`!@hX!V7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!AYW!V7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DWX$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(X!b!V7`OY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}8r!GyZ(X!b!V7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;\x27S!Gr;\x27S;=`!J|<%lO!Gr8r!Hse(X!b!V7`OY\x27}Zw\x27}x#O\x27}#P#W\x27}#W#X!Hl#X#Z\x27}#Z#[!Hl#[#]\x27}#]#^!Hl#^#a\x27}#a#b!Hl#b#g\x27}#g#h!Hl#h#i\x27}#i#j!Hl#j#k!Hl#k#m\x27}#m#n!Hl#n;\x27S\x27};\x27S;=`(f<%lO\x27}8r!JZX(X!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;\x27S!JU;\x27S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(X!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;\x27S!KS;\x27S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$h&j(Up!V7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_#\x20o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p#\x20o#p;\x27S!Lc;\x27S;=`#&Y<%lO!Lc=l!Mwl$h&j(Up!V7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r8Q#\x20vZ(Up!V7`OY#\x20oZr#\x20ors!@cs!P#\x20o!P!Q#!i!Q!}#\x20o!}#O#$R#O#P!Bq#P;\x27S#\x20o;\x27S;=`#$y<%lO#\x20o8Q#!pe(Up!V7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;\x27S)r;\x27S;=`*Z<%lO)r8Q#$WX(UpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q#\x20o#Q;\x27S#$R;\x27S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l#\x20o=l#%W^$h&j(UpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;\x27S#%P;\x27S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$h&j(Up(X!b!V7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z9d#(r](Up(X!b!V7`OY#(iZr#(irs!Grsw#(iwx#\x20ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;\x27S#(i;\x27S;=`#,`<%lO#(i9d#)th(Up(X!b!V7`OY*gZr*grs\x27}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;\x27S*g;\x27S;=`+Z<%lO*g9d#+gZ(Up(X!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;\x27S#+`;\x27S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$h&j(Up(X!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;\x27S#,f;\x27S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$h&j(Up(X!b\x27|0/l!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z07[#/o_$h&j(Up(X!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;\x27S#/d;\x27S;=`#6|<%lO#/d06j#0w]$h&j(X!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;\x27S#0n;\x27S;=`#3x<%lO#0n05W#1wX$h&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;\x27S#1p;\x27S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;\x27S#2d;\x27S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(X!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;\x27S#3R;\x27S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$h&j(UpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;\x27S#4O;\x27S;=`#5w<%lO#4O00^#5XW(UpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;\x27S#5Q;\x27S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Up(X!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;\x27S#5};\x27S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$h&j$P(Ch(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;ZAt#8vb$Y#t$h&j(Up(X!b!V7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z\x27Ad#:Zp$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#<jk$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#>j_$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#?rd$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#A]f$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Bzc$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Dbe$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#E|g$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Gpi$h&j(Up(X!bq\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x#Il_!e$b$h&j#})Lv(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)[#Jv_al$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f#LS^h#)`#P-<U(Up(X!b$m7`OY*gZr*grs\x27}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$\x20f!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(n#MXX$j&j(Up(X!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#M}Z#p(Ch(Up(X!bOY*gZr*grs\x27}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#NyX$P(Ch(Up(X!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El$\x20oX#q(Ch(Up(X!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g*)x$!ga#^*!Y$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(K[$#w_#i(Cl$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x$%Vag!*r#q(Ch$e#|$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$\x27f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$&g_#q(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$\x27qa#p(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$)R`#p(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(Kd$*`a(p(Ct$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$+p`$h&j#z(Ch(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z%#`$,}_!z$Ip$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f$.X_!Q0,v$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(n$/]Z$h&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;\x27S$0O;\x27S;=`$4i<%lO$0O(n$0VT_#S$h&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;\x27S&c;\x27S;=`&w<%lO&c(n$1kZ$h&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$2cZ$h&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$3ZZ$h&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!W#)l$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$6U`#w(Ch$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;p$7c_$h&j(Up(X!b(_+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$8qk$h&j(Up(X!b(R,2j$^#t(c$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;\x27S$8b;\x27S;=`$<l<%lO$8b+d$:qk$h&j(Up(X!b$^#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;\x27S$:f;\x27S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!]#Hb(Up(X!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g,#x$=sa(w+JY$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;\x27S%Z;\x27S;=`+a<%lO%Z)>v$?V_![(CdtBr$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z?O$@a_!o7`$h&j(Up(X!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$Aq|$h&j(Up(X!b\x27z0/l$[#t(R,2j(c$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$h&j(Up(X!b\x27{0/l$[#t(R,2j(c$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr','tokenizers':[noSemicolon,noSemicolonType,operatorToken,jsx,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new LocalTokenGroup('$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOv~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;\x27S!P;\x27S;=`#v<%lO!P~!UO!S~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(a~~',0x8d,0x152),new LocalTokenGroup('j~RQYZXz{^~^O(O~~aP!P!Qd~iO(P~~',0x19,0x141)],'topRules':{'Script':[0x0,0x7],'SingleExpression':[0x1,0x112],'SingleClassItem':[0x2,0x113]},'dialects':{'jsx':0x0,'ts':0x3af3},'dynamicPrecedences':{0x4e:0x1,0x50:0x1,0x5c:0x1,0xa8:0x1,0xc6:0x1},'specialized':[{'term':0x145,'get':_0x5ce959=>spec_identifier[_0x5ce959]||-0x1},{'term':0x155,'get':_0x3a5db0=>spec_word[_0x3a5db0]||-0x1},{'term':0x5d,'get':_0x4f7474=>spec_LessThan[_0x4f7474]||-0x1}],'tokenPrec':0x3b0c}),snippets=[snippetCompletion('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),snippetCompletion('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),snippetCompletion('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),snippetCompletion('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),snippetCompletion('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),snippetCompletion('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),snippetCompletion('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),snippetCompletion('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),snippetCompletion('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],typescriptSnippets=snippets['concat']([snippetCompletion('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),snippetCompletion('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),snippetCompletion('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),cache=new NodeWeakMap(),ScopeNodes=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function defID(_0x501105){return(_0x4986d3,_0x43973a)=>{let _0x3b908c=_0x4986d3['node']['getChild']('VariableDefinition');return _0x3b908c&&_0x43973a(_0x3b908c,_0x501105),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':defID('function'),'ClassDeclaration':defID('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':defID('constant'),'TypeAliasDeclaration':defID('type'),'NamespaceDeclaration':defID('namespace'),'VariableDefinition'(_0x5a67d3,_0x515a9b){_0x5a67d3['matchContext'](functionContext)||_0x515a9b(_0x5a67d3,'variable');},'TypeDefinition'(_0x560efd,_0x571b83){_0x571b83(_0x560efd,'type');},'__proto__':null};function getScope(_0x13c5e8,_0x575709){let _0x46c29c=cache['get'](_0x575709);if(_0x46c29c)return _0x46c29c;let _0x1088f7=[],_0xee04d9=!0x0;function _0x6b5fd0(_0x3e561d,_0x5e4ffb){let _0x1dc2d5=_0x13c5e8['sliceString'](_0x3e561d['from'],_0x3e561d['to']);_0x1088f7['push']({'label':_0x1dc2d5,'type':_0x5e4ffb});}return _0x575709['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x50268c=>{if(_0xee04d9)_0xee04d9=!0x1;else{if(_0x50268c['name']){let _0x45878f=gatherCompletions[_0x50268c['name']];if(_0x45878f&&_0x45878f(_0x50268c,_0x6b5fd0)||ScopeNodes['has'](_0x50268c['name']))return!0x1;}else{if(_0x50268c['to']-_0x50268c['from']>0x2000){for(let _0x4cf72a of getScope(_0x13c5e8,_0x50268c['node']))_0x1088f7['push'](_0x4cf72a);return!0x1;}}}}),cache['set'](_0x575709,_0x1088f7),_0x1088f7;}const Identifier=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,dontComplete=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function localCompletionSource(_0x77974f){let _0x274ef8=syntaxTree(_0x77974f['state'])['resolveInner'](_0x77974f['pos'],-0x1);if(dontComplete['indexOf'](_0x274ef8['name'])>-0x1)return null;let _0x390e12='VariableName'==_0x274ef8['name']||_0x274ef8['to']-_0x274ef8['from']<0x14&&Identifier['test'](_0x77974f['state']['sliceDoc'](_0x274ef8['from'],_0x274ef8['to']));if(!_0x390e12&&!_0x77974f['explicit'])return null;let _0x5f254f=[];for(let _0x5454f9=_0x274ef8;_0x5454f9;_0x5454f9=_0x5454f9['parent'])ScopeNodes['has'](_0x5454f9['name'])&&(_0x5f254f=_0x5f254f['concat'](getScope(_0x77974f['state']['doc'],_0x5454f9)));return{'options':_0x5f254f,'from':_0x390e12?_0x274ef8['from']:_0x77974f['pos'],'validFor':Identifier};}const javascriptLanguage=LRLanguage['define']({'name':'javascript','parser':parser$1['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0xf7ac96=>{let _0x51284d=_0xf7ac96['textAfter'],_0x100696=/^\s*\}/['test'](_0x51284d),_0x1e1553=/^\s*(case|default)\b/['test'](_0x51284d);return _0xf7ac96['baseIndent']+(_0x100696?0x0:_0x1e1553?0x1:0x2)*_0xf7ac96['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x2324cd=>_0x2324cd['baseIndent']+_0x2324cd['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^{/}),'JSXElement'(_0x490612){let _0x21dafe=/^\s*<\//['test'](_0x490612['textAfter']);return _0x490612['lineIndent'](_0x490612['node']['from'])+(_0x21dafe?0x0:_0x490612['unit']);},'JSXEscape'(_0x5b7fe6){let _0x3f47b4=/\s*\}/['test'](_0x5b7fe6['textAfter']);return _0x5b7fe6['lineIndent'](_0x5b7fe6['node']['from'])+(_0x3f47b4?0x0:_0x5b7fe6['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x4624a2=>_0x4624a2['column'](_0x4624a2['node']['from'])+_0x4624a2['unit']}),foldNodeProp['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':foldInside,'BlockComment':_0x2c3d4e=>({'from':_0x2c3d4e['from']+0x2,'to':_0x2c3d4e['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),jsxSublanguage={'test':_0x49518a=>/^JSX/['test'](_0x49518a['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),jsxLanguage=javascriptLanguage['configure']({'dialect':'jsx','props':[sublanguageProp['add'](_0x13da79=>_0x13da79['isTop']?[jsxSublanguage]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[sublanguageProp['add'](_0x5986ce=>_0x5986ce['isTop']?[jsxSublanguage]:void 0x0)]},'typescript');let kwCompletion=_0x42ddf0=>({'label':_0x42ddf0,'type':'keyword'});const keywords='break\x20case\x20const\x20continue\x20default\x20delete\x20export\x20extends\x20false\x20finally\x20in\x20instanceof\x20let\x20new\x20return\x20static\x20super\x20switch\x20this\x20throw\x20true\x20typeof\x20var\x20yield'['split']('\x20')['map'](kwCompletion),typescriptKeywords=keywords['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x154463={}){let _0x5879f0=_0x154463['jsx']?_0x154463['typescript']?tsxLanguage:jsxLanguage:_0x154463['typescript']?typescriptLanguage:javascriptLanguage,_0x3a4ab2=_0x154463['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](keywords);return new LanguageSupport(_0x5879f0,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x3a4ab2))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x154463['jsx']?autoCloseTags$1:[]]);}function findOpenTag(_0x10b241){for(;;){if('JSXOpenTag'==_0x10b241['name']||'JSXSelfClosingTag'==_0x10b241['name']||'JSXFragmentTag'==_0x10b241['name'])return _0x10b241;if('JSXEscape'==_0x10b241['name']||!_0x10b241['parent'])return null;_0x10b241=_0x10b241['parent'];}}function elementName$1(_0x501a0a,_0x4a79ae,_0x319d53=_0x501a0a['length']){for(let _0x453d03=null==_0x4a79ae?void 0x0:_0x4a79ae['firstChild'];_0x453d03;_0x453d03=_0x453d03['nextSibling'])if('JSXIdentifier'==_0x453d03['name']||'JSXBuiltin'==_0x453d03['name']||'JSXNamespacedName'==_0x453d03['name']||'JSXMemberExpression'==_0x453d03['name'])return _0x501a0a['sliceString'](_0x453d03['from'],Math['min'](_0x453d03['to'],_0x319d53));return'';}const android='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x4f7e1f,_0x19942b,_0x59167b,_0x459934,_0xfd0918)=>{if((android?_0x4f7e1f['composing']:_0x4f7e1f['compositionStarted'])||_0x4f7e1f['state']['readOnly']||_0x19942b!=_0x59167b||'>'!=_0x459934&&'/'!=_0x459934||!javascriptLanguage['isActiveAt'](_0x4f7e1f['state'],_0x19942b,-0x1))return!0x1;let _0x5c943f=_0xfd0918(),{state:_0x3faae1}=_0x5c943f,_0x1d557c=_0x3faae1['changeByRange'](_0x42bc63=>{var _0x2336ad;let _0x4cc122,{head:_0x11dee6}=_0x42bc63,_0x49dfd1=syntaxTree(_0x3faae1)['resolveInner'](_0x11dee6-0x1,-0x1);if('JSXStartTag'==_0x49dfd1['name']&&(_0x49dfd1=_0x49dfd1['parent']),_0x3faae1['doc']['sliceString'](_0x11dee6-0x1,_0x11dee6)!=_0x459934||'JSXAttributeValue'==_0x49dfd1['name']&&_0x49dfd1['to']>_0x11dee6);else{if('>'==_0x459934&&'JSXFragmentTag'==_0x49dfd1['name'])return{'range':_0x42bc63,'changes':{'from':_0x11dee6,'insert':'</>'}};if('/'==_0x459934&&'JSXStartCloseTag'==_0x49dfd1['name']){let _0x5f1314=_0x49dfd1['parent'],_0x25448d=_0x5f1314['parent'];if(_0x25448d&&_0x5f1314['from']==_0x11dee6-0x2&&((_0x4cc122=elementName$1(_0x3faae1['doc'],_0x25448d['firstChild'],_0x11dee6))||'JSXFragmentTag'==(null===(_0x2336ad=_0x25448d['firstChild'])||void 0x0===_0x2336ad?void 0x0:_0x2336ad['name']))){let _0x5763f9=_0x4cc122+'>';return{'range':EditorSelection['cursor'](_0x11dee6+_0x5763f9['length'],-0x1),'changes':{'from':_0x11dee6,'insert':_0x5763f9}};}}else{if('>'==_0x459934){let _0x50c42a=findOpenTag(_0x49dfd1);if(_0x50c42a&&'JSXOpenTag'==_0x50c42a['name']&&!/^\/?>|^<\//['test'](_0x3faae1['doc']['sliceString'](_0x11dee6,_0x11dee6+0x2))&&(_0x4cc122=elementName$1(_0x3faae1['doc'],_0x50c42a,_0x11dee6)))return{'range':_0x42bc63,'changes':{'from':_0x11dee6,'insert':'</'+_0x4cc122+'>'}};}}}return{'range':_0x42bc63};});return!_0x1d557c['changes']['empty']&&(_0x4f7e1f['dispatch']([_0x5c943f,_0x3faae1['update'](_0x1d557c,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],Encs=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],Bool=['true','false'],S={},Tags={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':S,'address':S,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':S,'aside':S,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':S,'base':{'attrs':{'href':null,'target':Targets}},'bdi':S,'bdo':S,'blockquote':{'attrs':{'cite':null}},'body':S,'br':S,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':Encs,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':S,'center':S,'cite':S,'code':S,'col':{'attrs':{'span':null}},'colgroup':{'attrs':{'span':null}},'command':{'attrs':{'type':['command','checkbox','radio'],'label':null,'icon':null,'radiogroup':null,'command':null,'title':null,'disabled':['disabled'],'checked':['checked']}},'data':{'attrs':{'value':null}},'datagrid':{'attrs':{'disabled':['disabled'],'multiple':['multiple']}},'datalist':{'attrs':{'data':null}},'dd':S,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':S,'div':S,'dl':S,'dt':S,'em':S,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':S,'figure':S,'footer':S,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':Encs,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':S,'h2':S,'h3':S,'h4':S,'h5':S,'h6':S,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':S,'hgroup':S,'hr':S,'html':{'attrs':{'manifest':null}},'i':S,'iframe':{'attrs':{'src':null,'srcdoc':null,'name':null,'width':null,'height':null,'sandbox':['allow-top-navigation','allow-same-origin','allow-forms','allow-scripts'],'seamless':['seamless']}},'img':{'attrs':{'alt':null,'src':null,'ismap':null,'usemap':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials']}},'input':{'attrs':{'alt':null,'dirname':null,'form':null,'formaction':null,'height':null,'list':null,'max':null,'maxlength':null,'min':null,'name':null,'pattern':null,'placeholder':null,'size':null,'src':null,'step':null,'value':null,'width':null,'accept':['audio/*','video/*','image/*'],'autocomplete':['on','off'],'autofocus':['autofocus'],'checked':['checked'],'disabled':['disabled'],'formenctype':Encs,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'multiple':['multiple'],'readonly':['readonly'],'required':['required'],'type':['hidden','text','search','tel','url','email','password','datetime','date','month','week','time','datetime-local','number','range','color','checkbox','radio','file','submit','image','reset','button']}},'ins':{'attrs':{'cite':null,'datetime':null}},'kbd':S,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':S,'li':{'attrs':{'value':null}},'link':{'attrs':{'href':null,'type':null,'hreflang':null,'media':null,'sizes':['all','16x16','16x16\x2032x32','16x16\x2032x32\x2064x64']}},'map':{'attrs':{'name':null}},'mark':S,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':Charsets,'name':['viewport','application-name','author','description','generator','keywords'],'http-equiv':['content-language','content-type','default-style','refresh']}},'meter':{'attrs':{'value':null,'min':null,'low':null,'high':null,'max':null,'optimum':null}},'nav':S,'noscript':S,'object':{'attrs':{'data':null,'type':null,'name':null,'usemap':null,'form':null,'width':null,'height':null,'typemustmatch':['typemustmatch']}},'ol':{'attrs':{'reversed':['reversed'],'start':null,'type':['1','a','A','i','I']},'children':['li','script','template','ul','ol']},'optgroup':{'attrs':{'disabled':['disabled'],'label':null}},'option':{'attrs':{'disabled':['disabled'],'label':null,'selected':['selected'],'value':null}},'output':{'attrs':{'for':null,'form':null,'name':null}},'p':S,'param':{'attrs':{'name':null,'value':null}},'pre':S,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':S,'rt':S,'ruby':S,'samp':S,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':S,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':S,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':S,'strong':S,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':S,'summary':S,'sup':S,'table':S,'tbody':S,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':S,'textarea':{'attrs':{'dirname':null,'form':null,'maxlength':null,'name':null,'placeholder':null,'rows':null,'cols':null,'autofocus':['autofocus'],'disabled':['disabled'],'readonly':['readonly'],'required':['required'],'wrap':['soft','hard']}},'tfoot':S,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':S,'time':{'attrs':{'datetime':null}},'title':S,'tr':S,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':S,'video':{'attrs':{'src':null,'poster':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials'],'preload':['auto','metadata','none'],'autoplay':['autoplay'],'mediagroup':['movie'],'muted':['muted'],'controls':['controls']}},'wbr':S},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':Bool,'contextmenu':null,'dir':['ltr','rtl','auto'],'draggable':['true','false','auto'],'dropzone':['copy','move','link','string:','file:'],'hidden':['hidden'],'id':null,'inert':['inert'],'itemid':null,'itemprop':null,'itemref':null,'itemscope':['itemscope'],'itemtype':null,'lang':['ar','bn','de','en-GB','en-US','es','fr','hi','id','ja','pa','pt','ru','tr','zh'],'spellcheck':Bool,'autocorrect':Bool,'autocapitalize':Bool,'style':null,'tabindex':null,'title':null,'translate':['yes','no'],'rel':['stylesheet','alternate','author','bookmark','help','license','next','nofollow','noreferrer','prefetch','prev','search','tag'],'role':'alert\x20application\x20article\x20banner\x20button\x20cell\x20checkbox\x20complementary\x20contentinfo\x20dialog\x20document\x20feed\x20figure\x20form\x20grid\x20gridcell\x20heading\x20img\x20list\x20listbox\x20listitem\x20main\x20navigation\x20region\x20row\x20rowgroup\x20search\x20switch\x20tab\x20table\x20tabpanel\x20textbox\x20timer'['split']('\x20'),'aria-activedescendant':null,'aria-atomic':Bool,'aria-autocomplete':['inline','list','both','none'],'aria-busy':Bool,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':Bool,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':Bool,'aria-hidden':Bool,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':Bool,'aria-multiselectable':Bool,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':Bool,'aria-relevant':null,'aria-required':Bool,'aria-selected':['true','false','undefined'],'aria-setsize':null,'aria-sort':['ascending','descending','none','other'],'aria-valuemax':null,'aria-valuemin':null,'aria-valuenow':null,'aria-valuetext':null},eventAttributes='beforeunload\x20copy\x20cut\x20dragstart\x20dragover\x20dragleave\x20dragenter\x20dragend\x20drag\x20paste\x20focus\x20blur\x20change\x20click\x20load\x20mousedown\x20mouseenter\x20mouseleave\x20mouseup\x20keydown\x20keyup\x20resize\x20scroll\x20unload'['split']('\x20')['map'](_0x2f8e63=>'on'+_0x2f8e63);for(let e of eventAttributes)GlobalAttrs[e]=null;class Schema{constructor(_0x16cbd8,_0xa6b5f0){this['tags']=Object['assign'](Object['assign']({},Tags),_0x16cbd8),this['globalAttrs']=Object['assign'](Object['assign']({},GlobalAttrs),_0xa6b5f0),this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x56a0b8,_0xf7c992,_0x3115d9=_0x56a0b8['length']){if(!_0xf7c992)return'';let _0x2e7d63=_0xf7c992['firstChild'],_0x3df98b=_0x2e7d63&&_0x2e7d63['getChild']('TagName');return _0x3df98b?_0x56a0b8['sliceString'](_0x3df98b['from'],Math['min'](_0x3df98b['to'],_0x3115d9)):'';}function findParentElement(_0x1dc674,_0x20216d=!0x1){for(;_0x1dc674;_0x1dc674=_0x1dc674['parent'])if('Element'==_0x1dc674['name']){if(!_0x20216d)return _0x1dc674;_0x20216d=!0x1;}return null;}function allowedChildren(_0x3d6455,_0x18ea32,_0x383430){let _0x3e84f1=_0x383430['tags'][elementName(_0x3d6455,findParentElement(_0x18ea32))];return(null==_0x3e84f1?void 0x0:_0x3e84f1['children'])||_0x383430['allTags'];}function openTags(_0x1a815f,_0x2d1c5b){let _0x356ae6=[];for(let _0x1c947a=findParentElement(_0x2d1c5b);_0x1c947a&&!_0x1c947a['type']['isTop'];_0x1c947a=findParentElement(_0x1c947a['parent'])){let _0x225659=elementName(_0x1a815f,_0x1c947a);if(_0x225659&&'CloseTag'==_0x1c947a['lastChild']['name'])break;_0x225659&&_0x356ae6['indexOf'](_0x225659)<0x0&&('EndTag'==_0x2d1c5b['name']||_0x2d1c5b['from']>=_0x1c947a['firstChild']['to'])&&_0x356ae6['push'](_0x225659);}return _0x356ae6;}Schema['default']=new Schema();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x41cc8d,_0x57ce64,_0x4e2b7b,_0x1a55d1,_0x25be63){let _0x241088=/\s*>/['test'](_0x41cc8d['sliceDoc'](_0x25be63,_0x25be63+0x5))?'':'>',_0x5eb324=findParentElement(_0x4e2b7b,!0x0);return{'from':_0x1a55d1,'to':_0x25be63,'options':allowedChildren(_0x41cc8d['doc'],_0x5eb324,_0x57ce64)['map'](_0x326f20=>({'label':_0x326f20,'type':'type'}))['concat'](openTags(_0x41cc8d['doc'],_0x4e2b7b)['map']((_0xeb8edd,_0x28647d)=>({'label':'/'+_0xeb8edd,'apply':'/'+_0xeb8edd+_0x241088,'type':'type','boost':0x63-_0x28647d}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0x4fa65d,_0x36a85c,_0x8e0a56,_0x53e627){let _0xc7770a=/\s*>/['test'](_0x4fa65d['sliceDoc'](_0x53e627,_0x53e627+0x5))?'':'>';return{'from':_0x8e0a56,'to':_0x53e627,'options':openTags(_0x4fa65d['doc'],_0x36a85c)['map']((_0x3e8a17,_0x368c3c)=>({'label':_0x3e8a17,'apply':_0x3e8a17+_0xc7770a,'type':'type','boost':0x63-_0x368c3c})),'validFor':identifier};}function completeStartTag(_0x4c8331,_0x358f94,_0x5bccd5,_0x530ae2){let _0x33cbdb=[],_0x40dd20=0x0;for(let _0xb4a58a of allowedChildren(_0x4c8331['doc'],_0x5bccd5,_0x358f94))_0x33cbdb['push']({'label':'<'+_0xb4a58a,'type':'type'});for(let _0x3f3ac9 of openTags(_0x4c8331['doc'],_0x5bccd5))_0x33cbdb['push']({'label':'</'+_0x3f3ac9+'>','type':'type','boost':0x63-_0x40dd20++});return{'from':_0x530ae2,'to':_0x530ae2,'options':_0x33cbdb,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0xc43e88,_0x1486a2,_0x51b29e,_0x65cb4b,_0x385d3c){let _0x2a3c5f=findParentElement(_0x51b29e),_0x34e523=_0x2a3c5f?_0x1486a2['tags'][elementName(_0xc43e88['doc'],_0x2a3c5f)]:null,_0xfac232=_0x34e523&&_0x34e523['attrs']?Object['keys'](_0x34e523['attrs']):[];return{'from':_0x65cb4b,'to':_0x385d3c,'options':(_0x34e523&&!0x1===_0x34e523['globalAttrs']?_0xfac232:_0xfac232['length']?_0xfac232['concat'](_0x1486a2['globalAttrNames']):_0x1486a2['globalAttrNames'])['map'](_0x38f5e9=>({'label':_0x38f5e9,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x13ca6a,_0x1a1cdd,_0x166234,_0x3f771d,_0x35e640){var _0x321549;let _0x306bfd,_0x16a622=null===(_0x321549=_0x166234['parent'])||void 0x0===_0x321549?void 0x0:_0x321549['getChild']('AttributeName'),_0x33576e=[];if(_0x16a622){let _0x29a4a9=_0x13ca6a['sliceDoc'](_0x16a622['from'],_0x16a622['to']),_0x1bcf7e=_0x1a1cdd['globalAttrs'][_0x29a4a9];if(!_0x1bcf7e){let _0x199aa4=findParentElement(_0x166234),_0x54a075=_0x199aa4?_0x1a1cdd['tags'][elementName(_0x13ca6a['doc'],_0x199aa4)]:null;_0x1bcf7e=(null==_0x54a075?void 0x0:_0x54a075['attrs'])&&_0x54a075['attrs'][_0x29a4a9];}if(_0x1bcf7e){let _0x27491f=_0x13ca6a['sliceDoc'](_0x3f771d,_0x35e640)['toLowerCase'](),_0xb1dd9e='\x22',_0x38b2a3='\x22';/^['"]/['test'](_0x27491f)?(_0x306bfd='\x22'==_0x27491f[0x0]?/^[^"]*$/:/^[^']*$/,_0xb1dd9e='',_0x38b2a3=_0x13ca6a['sliceDoc'](_0x35e640,_0x35e640+0x1)==_0x27491f[0x0]?'':_0x27491f[0x0],_0x27491f=_0x27491f['slice'](0x1),_0x3f771d++):_0x306bfd=/^[^\s<>='"]*$/;for(let _0x3d971d of _0x1bcf7e)_0x33576e['push']({'label':_0x3d971d,'apply':_0xb1dd9e+_0x3d971d+_0x38b2a3,'type':'constant'});}}return{'from':_0x3f771d,'to':_0x35e640,'options':_0x33576e,'validFor':_0x306bfd};}function htmlCompletionFor(_0x3de62b,_0x43b67e){let {state:_0x58388d,pos:_0x419dd8}=_0x43b67e,_0x4d2793=syntaxTree(_0x58388d)['resolveInner'](_0x419dd8,-0x1),_0x3d4d41=_0x4d2793['resolve'](_0x419dd8);for(let _0x290646,_0x5cd98f=_0x419dd8;_0x3d4d41==_0x4d2793&&(_0x290646=_0x4d2793['childBefore'](_0x5cd98f));){let _0x34d904=_0x290646['lastChild'];if(!_0x34d904||!_0x34d904['type']['isError']||_0x34d904['from']<_0x34d904['to'])break;_0x3d4d41=_0x4d2793=_0x290646,_0x5cd98f=_0x34d904['from'];}return'TagName'==_0x4d2793['name']?_0x4d2793['parent']&&/CloseTag$/['test'](_0x4d2793['parent']['name'])?completeCloseTag(_0x58388d,_0x4d2793,_0x4d2793['from'],_0x419dd8):completeTag(_0x58388d,_0x3de62b,_0x4d2793,_0x4d2793['from'],_0x419dd8):'StartTag'==_0x4d2793['name']?completeTag(_0x58388d,_0x3de62b,_0x4d2793,_0x419dd8,_0x419dd8):'StartCloseTag'==_0x4d2793['name']||'IncompleteCloseTag'==_0x4d2793['name']?completeCloseTag(_0x58388d,_0x4d2793,_0x419dd8,_0x419dd8):'OpenTag'==_0x4d2793['name']||'SelfClosingTag'==_0x4d2793['name']||'AttributeName'==_0x4d2793['name']?completeAttrName(_0x58388d,_0x3de62b,_0x4d2793,'AttributeName'==_0x4d2793['name']?_0x4d2793['from']:_0x419dd8,_0x419dd8):'Is'==_0x4d2793['name']||'AttributeValue'==_0x4d2793['name']||'UnquotedAttributeValue'==_0x4d2793['name']?completeAttrValue(_0x58388d,_0x3de62b,_0x4d2793,'Is'==_0x4d2793['name']?_0x419dd8:_0x4d2793['from'],_0x419dd8):!_0x43b67e['explicit']||'Element'!=_0x3d4d41['name']&&'Text'!=_0x3d4d41['name']&&'Document'!=_0x3d4d41['name']?null:completeStartTag(_0x58388d,_0x3de62b,_0x4d2793,_0x419dd8);}function htmlCompletionSource(_0x2a80fa){return htmlCompletionFor(Schema['default'],_0x2a80fa);}function htmlCompletionSourceWith(_0x39f4ba){let {extraTags:_0x390e7c,extraGlobalAttributes:_0x1e397d}=_0x39f4ba,_0x3c7930=_0x1e397d||_0x390e7c?new Schema(_0x390e7c,_0x1e397d):Schema['default'];return _0x352eef=>htmlCompletionFor(_0x3c7930,_0x352eef);}const jsonParser=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x11b735=>'text/typescript'==_0x11b735['type']||'ts'==_0x11b735['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x4e5790=>'text/babel'==_0x4e5790['type']||'text/jsx'==_0x4e5790['type'],'parser':jsxLanguage['parser']},{'tag':'script','attrs':_0x28a6e2=>'text/typescript-jsx'==_0x28a6e2['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x4171f4=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x4171f4['type']),'parser':jsonParser},{'tag':'script','attrs':_0x3b25c3=>!_0x3b25c3['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x3b25c3['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x553dbc=>(!_0x553dbc['lang']||'css'==_0x553dbc['lang'])&&(!_0x553dbc['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x553dbc['type'])),'parser':cssLanguage['parser']}],defaultAttrs=[{'name':'style','parser':cssLanguage['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x45bfbf=>({'name':_0x45bfbf,'parser':javascriptLanguage['parser']}))),htmlPlain=LRLanguage['define']({'name':'html','parser':parser$3['configure']({'props':[indentNodeProp['add']({'Element'(_0x486cf2){let _0x557f89=/^(\s*)(<\/)?/['exec'](_0x486cf2['textAfter']);return _0x486cf2['node']['to']<=_0x486cf2['pos']+_0x557f89[0x0]['length']?_0x486cf2['continue']():_0x486cf2['lineIndent'](_0x486cf2['node']['from'])+(_0x557f89[0x2]?0x0:_0x486cf2['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x5e4ee0=>_0x5e4ee0['column'](_0x5e4ee0['node']['from'])+_0x5e4ee0['unit'],'Document'(_0x592340){if(_0x592340['pos']+/\s*/['exec'](_0x592340['textAfter'])[0x0]['length']<_0x592340['node']['to'])return _0x592340['continue']();let _0x43acbd,_0x3d3ff3=null;for(let _0x31b7e=_0x592340['node'];;){let _0x431fab=_0x31b7e['lastChild'];if(!_0x431fab||'Element'!=_0x431fab['name']||_0x431fab['to']!=_0x31b7e['to'])break;_0x3d3ff3=_0x31b7e=_0x431fab;}return _0x3d3ff3&&(!(_0x43acbd=_0x3d3ff3['lastChild'])||'CloseTag'!=_0x43acbd['name']&&'SelfClosingTag'!=_0x43acbd['name'])?_0x592340['lineIndent'](_0x3d3ff3['from'])+_0x592340['unit']:null;}}),foldNodeProp['add']({'Element'(_0x4d46cb){let _0x20aed7=_0x4d46cb['firstChild'],_0x30cdbd=_0x4d46cb['lastChild'];return _0x20aed7&&'OpenTag'==_0x20aed7['name']?{'from':_0x20aed7['to'],'to':'CloseTag'==_0x30cdbd['name']?_0x30cdbd['from']:_0x4d46cb['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x4dbe1a=>_0x4dbe1a['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-._'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0xbc9051={}){let _0x5176c9,_0x286c66='';!0x1===_0xbc9051['matchClosingTags']&&(_0x286c66='noMatch'),!0x0===_0xbc9051['selfClosingTags']&&(_0x286c66=(_0x286c66?_0x286c66+'\x20':'')+'selfClosing'),(_0xbc9051['nestedLanguages']&&_0xbc9051['nestedLanguages']['length']||_0xbc9051['nestedAttributes']&&_0xbc9051['nestedAttributes']['length'])&&(_0x5176c9=configureNesting((_0xbc9051['nestedLanguages']||[])['concat'](defaultNesting),(_0xbc9051['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x58ce58=_0x5176c9?htmlPlain['configure']({'wrap':_0x5176c9,'dialect':_0x286c66}):_0x286c66?htmlLanguage['configure']({'dialect':_0x286c66}):htmlLanguage;return new LanguageSupport(_0x58ce58,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0xbc9051)}),!0x1!==_0xbc9051['autoCloseTags']?autoCloseTags:[],javascript()['support'],css()['support']]);}const selfClosers=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),autoCloseTags=EditorView['inputHandler']['of']((_0xe29180,_0x3bd5f3,_0x41b2a3,_0x3d3a0c,_0x43c444)=>{if(_0xe29180['composing']||_0xe29180['state']['readOnly']||_0x3bd5f3!=_0x41b2a3||'>'!=_0x3d3a0c&&'/'!=_0x3d3a0c||!htmlLanguage['isActiveAt'](_0xe29180['state'],_0x3bd5f3,-0x1))return!0x1;let _0x243a39=_0x43c444(),{state:_0x1ebf43}=_0x243a39,_0x15a3c0=_0x1ebf43['changeByRange'](_0x33615a=>{var _0x181f25,_0x596f98,_0x5276ed;let _0x3f27c6,_0x4b786e=_0x1ebf43['doc']['sliceString'](_0x33615a['from']-0x1,_0x33615a['to'])==_0x3d3a0c,{head:_0x374cb3}=_0x33615a,_0x5955b4=syntaxTree(_0x1ebf43)['resolveInner'](_0x374cb3,-0x1);if(_0x4b786e&&'>'==_0x3d3a0c&&'EndTag'==_0x5955b4['name']){let _0x3b54a9=_0x5955b4['parent'];if('CloseTag'!=(null===(_0x596f98=null===(_0x181f25=_0x3b54a9['parent'])||void 0x0===_0x181f25?void 0x0:_0x181f25['lastChild'])||void 0x0===_0x596f98?void 0x0:_0x596f98['name'])&&(_0x3f27c6=elementName(_0x1ebf43['doc'],_0x3b54a9['parent'],_0x374cb3))&&!selfClosers['has'](_0x3f27c6))return{'range':_0x33615a,'changes':{'from':_0x374cb3,'to':_0x374cb3+('>'===_0x1ebf43['doc']['sliceString'](_0x374cb3,_0x374cb3+0x1)?0x1:0x0),'insert':'</'+_0x3f27c6+'>'}};}else{if(_0x4b786e&&'/'==_0x3d3a0c&&'IncompleteCloseTag'==_0x5955b4['name']){let _0x5d5176=_0x5955b4['parent'];if(_0x5955b4['from']==_0x374cb3-0x2&&'CloseTag'!=(null===(_0x5276ed=_0x5d5176['lastChild'])||void 0x0===_0x5276ed?void 0x0:_0x5276ed['name'])&&(_0x3f27c6=elementName(_0x1ebf43['doc'],_0x5d5176,_0x374cb3))&&!selfClosers['has'](_0x3f27c6)){let _0xe5defd=_0x374cb3+('>'===_0x1ebf43['doc']['sliceString'](_0x374cb3,_0x374cb3+0x1)?0x1:0x0),_0x387d4e=_0x3f27c6+'>';return{'range':EditorSelection['cursor'](_0x374cb3+_0x387d4e['length'],-0x1),'changes':{'from':_0x374cb3,'to':_0xe5defd,'insert':_0x387d4e}};}}}return{'range':_0x33615a};});return!_0x15a3c0['changes']['empty']&&(_0xe29180['dispatch']([_0x243a39,_0x1ebf43['update'](_0x15a3c0,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x1b2506,_0xc5e534,_0x1ec50e,_0x16680b,_0x31dea0){return new CompositeBlock(_0x1b2506,_0xc5e534,_0x1ec50e,_0x16680b+(_0x16680b<<0x8)+_0x1b2506+(_0xc5e534<<0x4)|0x0,_0x31dea0,[],[]);}constructor(_0x549090,_0x180514,_0x5d3597,_0x2e974d,_0x34f140,_0x5e42c5,_0x5dc346){this['type']=_0x549090,this['value']=_0x180514,this['from']=_0x5d3597,this['hash']=_0x2e974d,this['end']=_0x34f140,this['children']=_0x5e42c5,this['positions']=_0x5dc346,this['hashProp']=[[NodeProp['contextHash'],_0x2e974d]];}['addChild'](_0x4b7bf0,_0x2aaf9a){_0x4b7bf0['prop'](NodeProp['contextHash'])!=this['hash']&&(_0x4b7bf0=new Tree(_0x4b7bf0['type'],_0x4b7bf0['children'],_0x4b7bf0['positions'],_0x4b7bf0['length'],this['hashProp'])),this['children']['push'](_0x4b7bf0),this['positions']['push'](_0x2aaf9a);}['toTree'](_0x201bb9,_0x447288=this['end']){let _0x51c47e=this['children']['length']-0x1;return _0x51c47e>=0x0&&(_0x447288=Math['max'](_0x447288,this['positions'][_0x51c47e]+this['children'][_0x51c47e]['length']+this['from'])),new Tree(_0x201bb9['types'][this['type']],this['children'],this['positions'],_0x447288-this['from'])['balance']({'makeTree':(_0x453704,_0x1e6a53,_0x51badb)=>new Tree(NodeType['none'],_0x453704,_0x1e6a53,_0x51badb,this['hashProp'])});}}var Type;!function(_0x5d061c){_0x5d061c[_0x5d061c['Document']=0x1]='Document',_0x5d061c[_0x5d061c['CodeBlock']=0x2]='CodeBlock',_0x5d061c[_0x5d061c['FencedCode']=0x3]='FencedCode',_0x5d061c[_0x5d061c['Blockquote']=0x4]='Blockquote',_0x5d061c[_0x5d061c['HorizontalRule']=0x5]='HorizontalRule',_0x5d061c[_0x5d061c['BulletList']=0x6]='BulletList',_0x5d061c[_0x5d061c['OrderedList']=0x7]='OrderedList',_0x5d061c[_0x5d061c['ListItem']=0x8]='ListItem',_0x5d061c[_0x5d061c['ATXHeading1']=0x9]='ATXHeading1',_0x5d061c[_0x5d061c['ATXHeading2']=0xa]='ATXHeading2',_0x5d061c[_0x5d061c['ATXHeading3']=0xb]='ATXHeading3',_0x5d061c[_0x5d061c['ATXHeading4']=0xc]='ATXHeading4',_0x5d061c[_0x5d061c['ATXHeading5']=0xd]='ATXHeading5',_0x5d061c[_0x5d061c['ATXHeading6']=0xe]='ATXHeading6',_0x5d061c[_0x5d061c['SetextHeading1']=0xf]='SetextHeading1',_0x5d061c[_0x5d061c['SetextHeading2']=0x10]='SetextHeading2',_0x5d061c[_0x5d061c['HTMLBlock']=0x11]='HTMLBlock',_0x5d061c[_0x5d061c['LinkReference']=0x12]='LinkReference',_0x5d061c[_0x5d061c['Paragraph']=0x13]='Paragraph',_0x5d061c[_0x5d061c['CommentBlock']=0x14]='CommentBlock',_0x5d061c[_0x5d061c['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x5d061c[_0x5d061c['Escape']=0x16]='Escape',_0x5d061c[_0x5d061c['Entity']=0x17]='Entity',_0x5d061c[_0x5d061c['HardBreak']=0x18]='HardBreak',_0x5d061c[_0x5d061c['Emphasis']=0x19]='Emphasis',_0x5d061c[_0x5d061c['StrongEmphasis']=0x1a]='StrongEmphasis',_0x5d061c[_0x5d061c['Link']=0x1b]='Link',_0x5d061c[_0x5d061c['Image']=0x1c]='Image',_0x5d061c[_0x5d061c['InlineCode']=0x1d]='InlineCode',_0x5d061c[_0x5d061c['HTMLTag']=0x1e]='HTMLTag',_0x5d061c[_0x5d061c['Comment']=0x1f]='Comment',_0x5d061c[_0x5d061c['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x5d061c[_0x5d061c['Autolink']=0x21]='Autolink',_0x5d061c[_0x5d061c['HeaderMark']=0x22]='HeaderMark',_0x5d061c[_0x5d061c['QuoteMark']=0x23]='QuoteMark',_0x5d061c[_0x5d061c['ListMark']=0x24]='ListMark',_0x5d061c[_0x5d061c['LinkMark']=0x25]='LinkMark',_0x5d061c[_0x5d061c['EmphasisMark']=0x26]='EmphasisMark',_0x5d061c[_0x5d061c['CodeMark']=0x27]='CodeMark',_0x5d061c[_0x5d061c['CodeText']=0x28]='CodeText',_0x5d061c[_0x5d061c['CodeInfo']=0x29]='CodeInfo',_0x5d061c[_0x5d061c['LinkTitle']=0x2a]='LinkTitle',_0x5d061c[_0x5d061c['LinkLabel']=0x2b]='LinkLabel',_0x5d061c[_0x5d061c['URL']=0x2c]='URL';}(Type||(Type={}));class LeafBlock{constructor(_0xca98bf,_0x3c13fc){this['start']=_0xca98bf,this['content']=_0x3c13fc,this['marks']=[],this['parsers']=[];}}class Line{constructor(){this['text']='',this['baseIndent']=0x0,this['basePos']=0x0,this['depth']=0x0,this['markers']=[],this['pos']=0x0,this['indent']=0x0,this['next']=-0x1;}['forward'](){this['basePos']>this['pos']&&this['forwardInner']();}['forwardInner'](){let _0x4bd961=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x4bd961,this['pos'],this['indent']),this['pos']=_0x4bd961,this['next']=_0x4bd961==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x4bd961);}['skipSpace'](_0x2b63a4){return skipSpace(this['text'],_0x2b63a4);}['reset'](_0xcb191c){for(this['text']=_0xcb191c,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x4103e6){this['basePos']=_0x4103e6,this['baseIndent']=this['countIndent'](_0x4103e6,this['pos'],this['indent']);}['moveBaseColumn'](_0x10226c){this['baseIndent']=_0x10226c,this['basePos']=this['findColumn'](_0x10226c);}['addMarker'](_0xe8f659){this['markers']['push'](_0xe8f659);}['countIndent'](_0x2a0d01,_0x4031d4=0x0,_0x1bb7d0=0x0){for(let _0x36cd3a=_0x4031d4;_0x36cd3a<_0x2a0d01;_0x36cd3a++)_0x1bb7d0+=0x9==this['text']['charCodeAt'](_0x36cd3a)?0x4-_0x1bb7d0%0x4:0x1;return _0x1bb7d0;}['findColumn'](_0x2d8e96){let _0x14cb49=0x0;for(let _0x552f23=0x0;_0x14cb49<this['text']['length']&&_0x552f23<_0x2d8e96;_0x14cb49++)_0x552f23+=0x9==this['text']['charCodeAt'](_0x14cb49)?0x4-_0x552f23%0x4:0x1;return _0x14cb49;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x3f603a='';for(let _0x1e4e10=0x0;_0x1e4e10<this['basePos'];_0x1e4e10++)_0x3f603a+='\x20';return _0x3f603a+this['text']['slice'](this['basePos']);}}function skipForList(_0x57c066,_0x51015a,_0x3246b5){if(_0x3246b5['pos']==_0x3246b5['text']['length']||_0x57c066!=_0x51015a['block']&&_0x3246b5['indent']>=_0x51015a['stack'][_0x3246b5['depth']+0x1]['value']+_0x3246b5['baseIndent'])return!0x0;if(_0x3246b5['indent']>=_0x3246b5['baseIndent']+0x4)return!0x1;let _0x44036a=(_0x57c066['type']==Type['OrderedList']?isOrderedList:isBulletList)(_0x3246b5,_0x51015a,!0x1);return _0x44036a>0x0&&(_0x57c066['type']!=Type['BulletList']||isHorizontalRule(_0x3246b5,_0x51015a,!0x1)<0x0)&&_0x3246b5['text']['charCodeAt'](_0x3246b5['pos']+_0x44036a-0x1)==_0x57c066['value'];}const DefaultSkipMarkup={[Type['Blockquote']]:(_0xbecd7e,_0x114086,_0x5a9a30)=>0x3e==_0x5a9a30['next']&&(_0x5a9a30['markers']['push'](elt(Type['QuoteMark'],_0x114086['lineStart']+_0x5a9a30['pos'],_0x114086['lineStart']+_0x5a9a30['pos']+0x1)),_0x5a9a30['moveBase'](_0x5a9a30['pos']+(space(_0x5a9a30['text']['charCodeAt'](_0x5a9a30['pos']+0x1))?0x2:0x1)),_0xbecd7e['end']=_0x114086['lineStart']+_0x5a9a30['text']['length'],!0x0),[Type['ListItem']]:(_0x47cb52,_0x4bec2e,_0xed3bb2)=>!(_0xed3bb2['indent']<_0xed3bb2['baseIndent']+_0x47cb52['value']&&_0xed3bb2['next']>-0x1)&&(_0xed3bb2['moveBaseColumn'](_0xed3bb2['baseIndent']+_0x47cb52['value']),!0x0),[Type['OrderedList']]:skipForList,[Type['BulletList']]:skipForList,[Type['Document']]:()=>!0x0};function space(_0x5cdb97){return 0x20==_0x5cdb97||0x9==_0x5cdb97||0xa==_0x5cdb97||0xd==_0x5cdb97;}function skipSpace(_0x4474f1,_0x54f690=0x0){for(;_0x54f690<_0x4474f1['length']&&space(_0x4474f1['charCodeAt'](_0x54f690));)_0x54f690++;return _0x54f690;}function skipSpaceBack(_0x5a7544,_0x43db28,_0x362adb){for(;_0x43db28>_0x362adb&&space(_0x5a7544['charCodeAt'](_0x43db28-0x1));)_0x43db28--;return _0x43db28;}function isFencedCode(_0x260c97){if(0x60!=_0x260c97['next']&&0x7e!=_0x260c97['next'])return-0x1;let _0x432c5=_0x260c97['pos']+0x1;for(;_0x432c5<_0x260c97['text']['length']&&_0x260c97['text']['charCodeAt'](_0x432c5)==_0x260c97['next'];)_0x432c5++;if(_0x432c5<_0x260c97['pos']+0x3)return-0x1;if(0x60==_0x260c97['next']){for(let _0x3f144f=_0x432c5;_0x3f144f<_0x260c97['text']['length'];_0x3f144f++)if(0x60==_0x260c97['text']['charCodeAt'](_0x3f144f))return-0x1;}return _0x432c5;}function isBlockquote(_0x3a237e){return 0x3e!=_0x3a237e['next']?-0x1:0x20==_0x3a237e['text']['charCodeAt'](_0x3a237e['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x4f88b5,_0x583f69,_0x4a21e5){if(0x2a!=_0x4f88b5['next']&&0x2d!=_0x4f88b5['next']&&0x5f!=_0x4f88b5['next'])return-0x1;let _0x803423=0x1;for(let _0x104753=_0x4f88b5['pos']+0x1;_0x104753<_0x4f88b5['text']['length'];_0x104753++){let _0x23a6ab=_0x4f88b5['text']['charCodeAt'](_0x104753);if(_0x23a6ab==_0x4f88b5['next'])_0x803423++;else{if(!space(_0x23a6ab))return-0x1;}}return _0x4a21e5&&0x2d==_0x4f88b5['next']&&isSetextUnderline(_0x4f88b5)>-0x1&&_0x4f88b5['depth']==_0x583f69['stack']['length']&&_0x583f69['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x803423<0x3?-0x1:0x1;}function inList(_0x42e7f7,_0x54b3bd){for(let _0x582b44=_0x42e7f7['stack']['length']-0x1;_0x582b44>=0x0;_0x582b44--)if(_0x42e7f7['stack'][_0x582b44]['type']==_0x54b3bd)return!0x0;return!0x1;}function isBulletList(_0x2886cc,_0xb16edb,_0x2b297d){return 0x2d!=_0x2886cc['next']&&0x2b!=_0x2886cc['next']&&0x2a!=_0x2886cc['next']||_0x2886cc['pos']!=_0x2886cc['text']['length']-0x1&&!space(_0x2886cc['text']['charCodeAt'](_0x2886cc['pos']+0x1))||!(!_0x2b297d||inList(_0xb16edb,Type['BulletList'])||_0x2886cc['skipSpace'](_0x2886cc['pos']+0x2)<_0x2886cc['text']['length'])?-0x1:0x1;}function isOrderedList(_0x45b3fe,_0x3be4e7,_0x56b0c7){let _0xce01b8=_0x45b3fe['pos'],_0x26fd7a=_0x45b3fe['next'];for(;_0x26fd7a>=0x30&&_0x26fd7a<=0x39;){if(_0xce01b8++,_0xce01b8==_0x45b3fe['text']['length'])return-0x1;_0x26fd7a=_0x45b3fe['text']['charCodeAt'](_0xce01b8);}return _0xce01b8==_0x45b3fe['pos']||_0xce01b8>_0x45b3fe['pos']+0x9||0x2e!=_0x26fd7a&&0x29!=_0x26fd7a||_0xce01b8<_0x45b3fe['text']['length']-0x1&&!space(_0x45b3fe['text']['charCodeAt'](_0xce01b8+0x1))||_0x56b0c7&&!inList(_0x3be4e7,Type['OrderedList'])&&(_0x45b3fe['skipSpace'](_0xce01b8+0x1)==_0x45b3fe['text']['length']||_0xce01b8>_0x45b3fe['pos']+0x1||0x31!=_0x45b3fe['next'])?-0x1:_0xce01b8+0x1-_0x45b3fe['pos'];}function isAtxHeading(_0x365835){if(0x23!=_0x365835['next'])return-0x1;let _0x4a3bd5=_0x365835['pos']+0x1;for(;_0x4a3bd5<_0x365835['text']['length']&&0x23==_0x365835['text']['charCodeAt'](_0x4a3bd5);)_0x4a3bd5++;if(_0x4a3bd5<_0x365835['text']['length']&&0x20!=_0x365835['text']['charCodeAt'](_0x4a3bd5))return-0x1;let _0x1fd384=_0x4a3bd5-_0x365835['pos'];return _0x1fd384>0x6?-0x1:_0x1fd384;}function isSetextUnderline(_0x2b31ab){if(0x2d!=_0x2b31ab['next']&&0x3d!=_0x2b31ab['next']||_0x2b31ab['indent']>=_0x2b31ab['baseIndent']+0x4)return-0x1;let _0xb41c42=_0x2b31ab['pos']+0x1;for(;_0xb41c42<_0x2b31ab['text']['length']&&_0x2b31ab['text']['charCodeAt'](_0xb41c42)==_0x2b31ab['next'];)_0xb41c42++;let _0x52f7ba=_0xb41c42;for(;_0xb41c42<_0x2b31ab['text']['length']&&space(_0x2b31ab['text']['charCodeAt'](_0xb41c42));)_0xb41c42++;return _0xb41c42==_0x2b31ab['text']['length']?_0x52f7ba:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,ProcessingEnd=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,ProcessingEnd],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,EmptyLine],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,EmptyLine]];function isHTMLBlock(_0x2a2a90,_0x526c88,_0x1afa0e){if(0x3c!=_0x2a2a90['next'])return-0x1;let _0x1e6d44=_0x2a2a90['text']['slice'](_0x2a2a90['pos']);for(let _0x3ac0a3=0x0,_0x263b36=HTMLBlockStyle['length']-(_0x1afa0e?0x1:0x0);_0x3ac0a3<_0x263b36;_0x3ac0a3++)if(HTMLBlockStyle[_0x3ac0a3][0x0]['test'](_0x1e6d44))return _0x3ac0a3;return-0x1;}function getListIndent(_0x46737f,_0x2936da){let _0x1eb884=_0x46737f['countIndent'](_0x2936da,_0x46737f['pos'],_0x46737f['indent']),_0xfcb6ef=_0x46737f['countIndent'](_0x46737f['skipSpace'](_0x2936da),_0x2936da,_0x1eb884);return _0xfcb6ef>=_0x1eb884+0x5?_0x1eb884+0x1:_0xfcb6ef;}function addCodeText(_0x5a48ab,_0x869625,_0xd9d057){let _0x246155=_0x5a48ab['length']-0x1;_0x246155>=0x0&&_0x5a48ab[_0x246155]['to']==_0x869625&&_0x5a48ab[_0x246155]['type']==Type['CodeText']?_0x5a48ab[_0x246155]['to']=_0xd9d057:_0x5a48ab['push'](elt(Type['CodeText'],_0x869625,_0xd9d057));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x599a95,_0x24981b){let _0x1f34f0=_0x24981b['baseIndent']+0x4;if(_0x24981b['indent']<_0x1f34f0)return!0x1;let _0x18e0aa=_0x24981b['findColumn'](_0x1f34f0),_0x21b925=_0x599a95['lineStart']+_0x18e0aa,_0x57dcbe=_0x599a95['lineStart']+_0x24981b['text']['length'],_0x1573b4=[],_0x1ec04e=[];for(addCodeText(_0x1573b4,_0x21b925,_0x57dcbe);_0x599a95['nextLine']()&&_0x24981b['depth']>=_0x599a95['stack']['length'];)if(_0x24981b['pos']==_0x24981b['text']['length']){addCodeText(_0x1ec04e,_0x599a95['lineStart']-0x1,_0x599a95['lineStart']);for(let _0x386bc9 of _0x24981b['markers'])_0x1ec04e['push'](_0x386bc9);}else{if(_0x24981b['indent']<_0x1f34f0)break;{if(_0x1ec04e['length']){for(let _0x3a806c of _0x1ec04e)_0x3a806c['type']==Type['CodeText']?addCodeText(_0x1573b4,_0x3a806c['from'],_0x3a806c['to']):_0x1573b4['push'](_0x3a806c);_0x1ec04e=[];}addCodeText(_0x1573b4,_0x599a95['lineStart']-0x1,_0x599a95['lineStart']);for(let _0x34094a of _0x24981b['markers'])_0x1573b4['push'](_0x34094a);_0x57dcbe=_0x599a95['lineStart']+_0x24981b['text']['length'];let _0x15b043=_0x599a95['lineStart']+_0x24981b['findColumn'](_0x24981b['baseIndent']+0x4);_0x15b043<_0x57dcbe&&addCodeText(_0x1573b4,_0x15b043,_0x57dcbe);}}return _0x1ec04e['length']&&(_0x1ec04e=_0x1ec04e['filter'](_0xb96693=>_0xb96693['type']!=Type['CodeText']),_0x1ec04e['length']&&(_0x24981b['markers']=_0x1ec04e['concat'](_0x24981b['markers']))),_0x599a95['addNode'](_0x599a95['buffer']['writeElements'](_0x1573b4,-_0x21b925)['finish'](Type['CodeBlock'],_0x57dcbe-_0x21b925),_0x21b925),!0x0;},'FencedCode'(_0x56587d,_0x4218d4){let _0x51dd4c=isFencedCode(_0x4218d4);if(_0x51dd4c<0x0)return!0x1;let _0x38ef05=_0x56587d['lineStart']+_0x4218d4['pos'],_0x49eb44=_0x4218d4['next'],_0x73d4a7=_0x51dd4c-_0x4218d4['pos'],_0x1f95ab=_0x4218d4['skipSpace'](_0x51dd4c),_0x382557=skipSpaceBack(_0x4218d4['text'],_0x4218d4['text']['length'],_0x1f95ab),_0x5f5152=[elt(Type['CodeMark'],_0x38ef05,_0x38ef05+_0x73d4a7)];_0x1f95ab<_0x382557&&_0x5f5152['push'](elt(Type['CodeInfo'],_0x56587d['lineStart']+_0x1f95ab,_0x56587d['lineStart']+_0x382557));for(let _0xbca4a6=!0x0;_0x56587d['nextLine']()&&_0x4218d4['depth']>=_0x56587d['stack']['length'];_0xbca4a6=!0x1){let _0x1b25c6=_0x4218d4['pos'];if(_0x4218d4['indent']-_0x4218d4['baseIndent']<0x4){for(;_0x1b25c6<_0x4218d4['text']['length']&&_0x4218d4['text']['charCodeAt'](_0x1b25c6)==_0x49eb44;)_0x1b25c6++;}if(_0x1b25c6-_0x4218d4['pos']>=_0x73d4a7&&_0x4218d4['skipSpace'](_0x1b25c6)==_0x4218d4['text']['length']){for(let _0x313cd4 of _0x4218d4['markers'])_0x5f5152['push'](_0x313cd4);_0x5f5152['push'](elt(Type['CodeMark'],_0x56587d['lineStart']+_0x4218d4['pos'],_0x56587d['lineStart']+_0x1b25c6)),_0x56587d['nextLine']();break;}{_0xbca4a6||addCodeText(_0x5f5152,_0x56587d['lineStart']-0x1,_0x56587d['lineStart']);for(let _0x19347b of _0x4218d4['markers'])_0x5f5152['push'](_0x19347b);let _0x3c2982=_0x56587d['lineStart']+_0x4218d4['basePos'],_0x2adeaf=_0x56587d['lineStart']+_0x4218d4['text']['length'];_0x3c2982<_0x2adeaf&&addCodeText(_0x5f5152,_0x3c2982,_0x2adeaf);}}return _0x56587d['addNode'](_0x56587d['buffer']['writeElements'](_0x5f5152,-_0x38ef05)['finish'](Type['FencedCode'],_0x56587d['prevLineEnd']()-_0x38ef05),_0x38ef05),!0x0;},'Blockquote'(_0x2e7fe5,_0x33fdbf){let _0x136ea3=isBlockquote(_0x33fdbf);return!(_0x136ea3<0x0)&&(_0x2e7fe5['startContext'](Type['Blockquote'],_0x33fdbf['pos']),_0x2e7fe5['addNode'](Type['QuoteMark'],_0x2e7fe5['lineStart']+_0x33fdbf['pos'],_0x2e7fe5['lineStart']+_0x33fdbf['pos']+0x1),_0x33fdbf['moveBase'](_0x33fdbf['pos']+_0x136ea3),null);},'HorizontalRule'(_0x5c7f7d,_0x5ae7b6){if(isHorizontalRule(_0x5ae7b6,_0x5c7f7d,!0x1)<0x0)return!0x1;let _0x411f98=_0x5c7f7d['lineStart']+_0x5ae7b6['pos'];return _0x5c7f7d['nextLine'](),_0x5c7f7d['addNode'](Type['HorizontalRule'],_0x411f98),!0x0;},'BulletList'(_0x5c197e,_0x561a93){let _0x287f3b=isBulletList(_0x561a93,_0x5c197e,!0x1);if(_0x287f3b<0x0)return!0x1;_0x5c197e['block']['type']!=Type['BulletList']&&_0x5c197e['startContext'](Type['BulletList'],_0x561a93['basePos'],_0x561a93['next']);let _0x1adbc4=getListIndent(_0x561a93,_0x561a93['pos']+0x1);return _0x5c197e['startContext'](Type['ListItem'],_0x561a93['basePos'],_0x1adbc4-_0x561a93['baseIndent']),_0x5c197e['addNode'](Type['ListMark'],_0x5c197e['lineStart']+_0x561a93['pos'],_0x5c197e['lineStart']+_0x561a93['pos']+_0x287f3b),_0x561a93['moveBaseColumn'](_0x1adbc4),null;},'OrderedList'(_0x422bec,_0x5132c2){let _0x11d88d=isOrderedList(_0x5132c2,_0x422bec,!0x1);if(_0x11d88d<0x0)return!0x1;_0x422bec['block']['type']!=Type['OrderedList']&&_0x422bec['startContext'](Type['OrderedList'],_0x5132c2['basePos'],_0x5132c2['text']['charCodeAt'](_0x5132c2['pos']+_0x11d88d-0x1));let _0x4c5efb=getListIndent(_0x5132c2,_0x5132c2['pos']+_0x11d88d);return _0x422bec['startContext'](Type['ListItem'],_0x5132c2['basePos'],_0x4c5efb-_0x5132c2['baseIndent']),_0x422bec['addNode'](Type['ListMark'],_0x422bec['lineStart']+_0x5132c2['pos'],_0x422bec['lineStart']+_0x5132c2['pos']+_0x11d88d),_0x5132c2['moveBaseColumn'](_0x4c5efb),null;},'ATXHeading'(_0x1f0369,_0x3789d8){let _0x2ad7a3=isAtxHeading(_0x3789d8);if(_0x2ad7a3<0x0)return!0x1;let _0x1f5a17=_0x3789d8['pos'],_0x40dcb9=_0x1f0369['lineStart']+_0x1f5a17,_0x124c68=skipSpaceBack(_0x3789d8['text'],_0x3789d8['text']['length'],_0x1f5a17),_0x9bb89b=_0x124c68;for(;_0x9bb89b>_0x1f5a17&&_0x3789d8['text']['charCodeAt'](_0x9bb89b-0x1)==_0x3789d8['next'];)_0x9bb89b--;_0x9bb89b!=_0x124c68&&_0x9bb89b!=_0x1f5a17&&space(_0x3789d8['text']['charCodeAt'](_0x9bb89b-0x1))||(_0x9bb89b=_0x3789d8['text']['length']);let _0x43131a=_0x1f0369['buffer']['write'](Type['HeaderMark'],0x0,_0x2ad7a3)['writeElements'](_0x1f0369['parser']['parseInline'](_0x3789d8['text']['slice'](_0x1f5a17+_0x2ad7a3+0x1,_0x9bb89b),_0x40dcb9+_0x2ad7a3+0x1),-_0x40dcb9);_0x9bb89b<_0x3789d8['text']['length']&&_0x43131a['write'](Type['HeaderMark'],_0x9bb89b-_0x1f5a17,_0x124c68-_0x1f5a17);let _0x26b342=_0x43131a['finish'](Type['ATXHeading1']-0x1+_0x2ad7a3,_0x3789d8['text']['length']-_0x1f5a17);return _0x1f0369['nextLine'](),_0x1f0369['addNode'](_0x26b342,_0x40dcb9),!0x0;},'HTMLBlock'(_0x50642c,_0x55b96a){let _0xba2578=isHTMLBlock(_0x55b96a,_0x50642c,!0x1);if(_0xba2578<0x0)return!0x1;let _0x17375b=_0x50642c['lineStart']+_0x55b96a['pos'],_0x18e9a1=HTMLBlockStyle[_0xba2578][0x1],_0x169ade=[],_0x50b73f=_0x18e9a1!=EmptyLine;for(;!_0x18e9a1['test'](_0x55b96a['text'])&&_0x50642c['nextLine']();){if(_0x55b96a['depth']<_0x50642c['stack']['length']){_0x50b73f=!0x1;break;}for(let _0x37246d of _0x55b96a['markers'])_0x169ade['push'](_0x37246d);}_0x50b73f&&_0x50642c['nextLine']();let _0x1f52b3=_0x18e9a1==CommentEnd?Type['CommentBlock']:_0x18e9a1==ProcessingEnd?Type['ProcessingInstructionBlock']:Type['HTMLBlock'],_0x3dbc2b=_0x50642c['prevLineEnd']();return _0x50642c['addNode'](_0x50642c['buffer']['writeElements'](_0x169ade,-_0x17375b)['finish'](_0x1f52b3,_0x3dbc2b-_0x17375b),_0x17375b),!0x0;},'SetextHeading':void 0x0};class LinkReferenceParser{constructor(_0x1b75e5){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x1b75e5['start'],this['advance'](_0x1b75e5['content']);}['nextLine'](_0x328314,_0x5168d0,_0x5a9223){if(-0x1==this['stage'])return!0x1;let _0x14d3bb=_0x5a9223['content']+'\x0a'+_0x5168d0['scrub'](),_0x32ce77=this['advance'](_0x14d3bb);return _0x32ce77>-0x1&&_0x32ce77<_0x14d3bb['length']&&this['complete'](_0x328314,_0x5a9223,_0x32ce77);}['finish'](_0x3cade5,_0x185efb){return(0x2==this['stage']||0x3==this['stage'])&&skipSpace(_0x185efb['content'],this['pos'])==_0x185efb['content']['length']&&this['complete'](_0x3cade5,_0x185efb,_0x185efb['content']['length']);}['complete'](_0x31d754,_0x14bd02,_0x4b60e3){return _0x31d754['addLeafElement'](_0x14bd02,elt(Type['LinkReference'],this['start'],this['start']+_0x4b60e3,this['elts'])),!0x0;}['nextStage'](_0xc9b0e4){return _0xc9b0e4?(this['pos']=_0xc9b0e4['to']-this['start'],this['elts']['push'](_0xc9b0e4),this['stage']++,!0x0):(!0x1===_0xc9b0e4&&(this['stage']=-0x1),!0x1);}['advance'](_0x4573e8){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](parseLinkLabel(_0x4573e8,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x4573e8['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(Type['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x337135=skipSpace(_0x4573e8,this['pos']),_0x5c089f=0x0;if(_0x337135>this['pos']){let _0x3cdcc8=parseLinkTitle(_0x4573e8,_0x337135,this['start']);if(_0x3cdcc8){let _0x8920aa=lineEnd(_0x4573e8,_0x3cdcc8['to']-this['start']);_0x8920aa>0x0&&(this['nextStage'](_0x3cdcc8),_0x5c089f=_0x8920aa);}}return _0x5c089f||(_0x5c089f=lineEnd(_0x4573e8,this['pos'])),_0x5c089f>0x0&&_0x5c089f<_0x4573e8['length']?_0x5c089f:-0x1;}return lineEnd(_0x4573e8,this['pos']);}if(!this['nextStage'](parseURL(_0x4573e8,skipSpace(_0x4573e8,this['pos']),this['start'])))return-0x1;}}}}function lineEnd(_0x617976,_0x192fec){for(;_0x192fec<_0x617976['length'];_0x192fec++){let _0x32ddc7=_0x617976['charCodeAt'](_0x192fec);if(0xa==_0x32ddc7)break;if(!space(_0x32ddc7))return-0x1;}return _0x192fec;}class SetextHeadingParser{['nextLine'](_0x69f53,_0x51778d,_0x8c412a){let _0x451c3c=_0x51778d['depth']<_0x69f53['stack']['length']?-0x1:isSetextUnderline(_0x51778d),_0x2db5b4=_0x51778d['next'];if(_0x451c3c<0x0)return!0x1;let _0x12366d=elt(Type['HeaderMark'],_0x69f53['lineStart']+_0x51778d['pos'],_0x69f53['lineStart']+_0x451c3c);return _0x69f53['nextLine'](),_0x69f53['addLeafElement'](_0x8c412a,elt(0x3d==_0x2db5b4?Type['SetextHeading1']:Type['SetextHeading2'],_0x8c412a['start'],_0x69f53['prevLineEnd'](),[..._0x69f53['parser']['parseInline'](_0x8c412a['content'],_0x8c412a['start']),_0x12366d])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0x24d0ef,_0x4dc956)=>0x5b==_0x4dc956['content']['charCodeAt'](0x0)?new LinkReferenceParser(_0x4dc956):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x48a2bc,_0x1a076f)=>isAtxHeading(_0x1a076f)>=0x0,(_0x5b6523,_0x50ecae)=>isFencedCode(_0x50ecae)>=0x0,(_0x1534c9,_0x4f3733)=>isBlockquote(_0x4f3733)>=0x0,(_0x5f4e1a,_0x5d8a5c)=>isBulletList(_0x5d8a5c,_0x5f4e1a,!0x0)>=0x0,(_0x20441f,_0x34b610)=>isOrderedList(_0x34b610,_0x20441f,!0x0)>=0x0,(_0x59522a,_0x5bab70)=>isHorizontalRule(_0x5bab70,_0x59522a,!0x0)>=0x0,(_0x584c43,_0x2d6941)=>isHTMLBlock(_0x2d6941,_0x584c43,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x3b209f,_0x5f57cd,_0x5b834d,_0xf607b6){this['parser']=_0x3b209f,this['input']=_0x5f57cd,this['ranges']=_0xf607b6,this['line']=new Line(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0xf607b6[_0xf607b6['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0xf607b6[0x0]['from'],this['block']=CompositeBlock['create'](Type['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x5b834d['length']?new FragmentCursor(_0x5b834d,_0x5f57cd):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0xa2dcc9}=this;for(;;){for(let _0x533883=0x0;;){let _0x4cc7e6=_0xa2dcc9['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x533883<_0xa2dcc9['markers']['length']&&(!_0x4cc7e6||_0xa2dcc9['markers'][_0x533883]['from']<_0x4cc7e6['end']);){let _0x34c17a=_0xa2dcc9['markers'][_0x533883++];this['addNode'](_0x34c17a['type'],_0x34c17a['from'],_0x34c17a['to']);}if(!_0x4cc7e6)break;this['finishContext']();}if(_0xa2dcc9['pos']<_0xa2dcc9['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0xa2dcc9['basePos']))return null;t:for(;;){for(let _0x589e20 of this['parser']['blockParsers'])if(_0x589e20){let _0x2a80b1=_0x589e20(this,_0xa2dcc9);if(0x0!=_0x2a80b1){if(0x1==_0x2a80b1)return null;_0xa2dcc9['forward']();continue t;}}break;}let _0x3e66a6=new LeafBlock(this['lineStart']+_0xa2dcc9['pos'],_0xa2dcc9['text']['slice'](_0xa2dcc9['pos']));for(let _0x470096 of this['parser']['leafBlockParsers'])if(_0x470096){let _0x28e25e=_0x470096(this,_0x3e66a6);_0x28e25e&&_0x3e66a6['parsers']['push'](_0x28e25e);}t:for(;this['nextLine']()&&_0xa2dcc9['pos']!=_0xa2dcc9['text']['length'];){if(_0xa2dcc9['indent']<_0xa2dcc9['baseIndent']+0x4){for(let _0x481412 of this['parser']['endLeafBlock'])if(_0x481412(this,_0xa2dcc9,_0x3e66a6))break t;}for(let _0x63544a of _0x3e66a6['parsers'])if(_0x63544a['nextLine'](this,_0xa2dcc9,_0x3e66a6))return null;_0x3e66a6['content']+='\x0a'+_0xa2dcc9['scrub']();for(let _0x28dbcc of _0xa2dcc9['markers'])_0x3e66a6['marks']['push'](_0x28dbcc);}return this['finishLeaf'](_0x3e66a6),null;}['stopAt'](_0x5721c6){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x5721c6)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x5721c6;}['reuseFragment'](_0x56d238){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x56d238,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x360508=this['fragments']['takeNodes'](this);return!!_0x360508&&(this['absoluteLineStart']+=_0x360508,this['lineStart']=toRelative(this['absoluteLineStart'],this['ranges']),this['moveRangeI'](),this['absoluteLineStart']<this['to']?(this['lineStart']++,this['absoluteLineStart']++,this['readLine']()):(this['atEnd']=!0x0,this['readLine']()),!0x0);}get['depth'](){return this['stack']['length'];}['parentType'](_0x437b58=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x437b58]['type']];}['nextLine'](){return this['lineStart']+=this['line']['text']['length'],this['absoluteLineEnd']>=this['to']?(this['absoluteLineStart']=this['absoluteLineEnd'],this['atEnd']=!0x0,this['readLine'](),!0x1):(this['lineStart']++,this['absoluteLineStart']=this['absoluteLineEnd']+0x1,this['moveRangeI'](),this['readLine'](),!0x0);}['peekLine'](){return this['scanLine'](this['absoluteLineEnd']+0x1)['text'];}['moveRangeI'](){for(;this['rangeI']<this['ranges']['length']-0x1&&this['absoluteLineStart']>=this['ranges'][this['rangeI']]['to'];)this['rangeI']++,this['absoluteLineStart']=Math['max'](this['absoluteLineStart'],this['ranges'][this['rangeI']]['from']);}['scanLine'](_0x2a0615){let _0x480bfe=scanLineResult;if(_0x480bfe['end']=_0x2a0615,_0x2a0615>=this['to'])_0x480bfe['text']='';else{if(_0x480bfe['text']=this['lineChunkAt'](_0x2a0615),_0x480bfe['end']+=_0x480bfe['text']['length'],this['ranges']['length']>0x1){let _0x1d039a=this['absoluteLineStart'],_0x58b26b=this['rangeI'];for(;this['ranges'][_0x58b26b]['to']<_0x480bfe['end'];){_0x58b26b++;let _0x148898=this['ranges'][_0x58b26b]['from'],_0x3fbaa5=this['lineChunkAt'](_0x148898);_0x480bfe['end']=_0x148898+_0x3fbaa5['length'],_0x480bfe['text']=_0x480bfe['text']['slice'](0x0,this['ranges'][_0x58b26b-0x1]['to']-_0x1d039a)+_0x3fbaa5,_0x1d039a=_0x480bfe['end']-_0x480bfe['text']['length'];}}}return _0x480bfe;}['readLine'](){let {line:_0x51dbd7}=this,{text:_0x458d24,end:_0x145c2f}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x145c2f,_0x51dbd7['reset'](_0x458d24);_0x51dbd7['depth']<this['stack']['length'];_0x51dbd7['depth']++){let _0x500d78=this['stack'][_0x51dbd7['depth']],_0xbf57df=this['parser']['skipContextMarkup'][_0x500d78['type']];if(!_0xbf57df)throw new Error('Unhandled\x20block\x20context\x20'+Type[_0x500d78['type']]);if(!_0xbf57df(_0x500d78,this,_0x51dbd7))break;_0x51dbd7['forward']();}}['lineChunkAt'](_0x4952e9){let _0xc67bb9,_0x3c455a=this['input']['chunk'](_0x4952e9);if(this['input']['lineChunks'])_0xc67bb9='\x0a'==_0x3c455a?'':_0x3c455a;else{let _0x43cde2=_0x3c455a['indexOf']('\x0a');_0xc67bb9=_0x43cde2<0x0?_0x3c455a:_0x3c455a['slice'](0x0,_0x43cde2);}return _0x4952e9+_0xc67bb9['length']>this['to']?_0xc67bb9['slice'](0x0,this['to']-_0x4952e9):_0xc67bb9;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x539cd8,_0x1ea46e,_0x3aaab8=0x0){this['block']=CompositeBlock['create'](_0x539cd8,_0x3aaab8,this['lineStart']+_0x1ea46e,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x3bae49,_0x5ca36d,_0x371d76=0x0){this['startContext'](this['parser']['getNodeType'](_0x3bae49),_0x5ca36d,_0x371d76);}['addNode'](_0x26f59d,_0x1c701a,_0x4e7d36){'number'==typeof _0x26f59d&&(_0x26f59d=new Tree(this['parser']['nodeSet']['types'][_0x26f59d],none,none,(null!=_0x4e7d36?_0x4e7d36:this['prevLineEnd']())-_0x1c701a)),this['block']['addChild'](_0x26f59d,_0x1c701a-this['block']['from']);}['addElement'](_0x27ead6){this['block']['addChild'](_0x27ead6['toTree'](this['parser']['nodeSet']),_0x27ead6['from']-this['block']['from']);}['addLeafElement'](_0x2cff96,_0x4cc0e8){this['addNode'](this['buffer']['writeElements'](injectMarks(_0x4cc0e8['children'],_0x2cff96['marks']),-_0x4cc0e8['from'])['finish'](_0x4cc0e8['type'],_0x4cc0e8['to']-_0x4cc0e8['from']),_0x4cc0e8['from']);}['finishContext'](){let _0x33650d=this['stack']['pop'](),_0x4a76f3=this['stack'][this['stack']['length']-0x1];_0x4a76f3['addChild'](_0x33650d['toTree'](this['parser']['nodeSet']),_0x33650d['from']-_0x4a76f3['from']),this['block']=_0x4a76f3;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x1fbb00){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x1fbb00['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x1fbb00;}['finishLeaf'](_0x75f416){for(let _0x5caa3f of _0x75f416['parsers'])if(_0x5caa3f['finish'](this,_0x75f416))return;let _0x529750=injectMarks(this['parser']['parseInline'](_0x75f416['content'],_0x75f416['start']),_0x75f416['marks']);this['addNode'](this['buffer']['writeElements'](_0x529750,-_0x75f416['start'])['finish'](Type['Paragraph'],_0x75f416['content']['length']),_0x75f416['start']);}['elt'](_0x8681f6,_0x17da1d,_0x1c6685,_0x523c9d){return'string'==typeof _0x8681f6?elt(this['parser']['getNodeType'](_0x8681f6),_0x17da1d,_0x1c6685,_0x523c9d):new TreeElement(_0x8681f6,_0x17da1d);}get['buffer'](){return new Buffer$1(this['parser']['nodeSet']);}}function injectGaps(_0x4742af,_0x2ed85c,_0x4f7fbf,_0x5b91e5,_0x145fa4){let _0xcb451=_0x4742af[_0x2ed85c]['to'],_0x5caa62=[],_0x2f7a53=[],_0x17e5a8=_0x4f7fbf['from']+_0x5b91e5;function _0x1126e6(_0x3afb27,_0x588138){for(;_0x588138?_0x3afb27>=_0xcb451:_0x3afb27>_0xcb451;){let _0x388569=_0x4742af[_0x2ed85c+0x1]['from']-_0xcb451;_0x5b91e5+=_0x388569,_0x3afb27+=_0x388569,_0x2ed85c++,_0xcb451=_0x4742af[_0x2ed85c]['to'];}}for(let _0x54808b=_0x4f7fbf['firstChild'];_0x54808b;_0x54808b=_0x54808b['nextSibling']){_0x1126e6(_0x54808b['from']+_0x5b91e5,!0x0);let _0x41e684,_0x166829=_0x54808b['from']+_0x5b91e5,_0x3bbf25=_0x145fa4['get'](_0x54808b['tree']);_0x3bbf25?_0x41e684=_0x3bbf25:_0x54808b['to']+_0x5b91e5>_0xcb451?(_0x41e684=injectGaps(_0x4742af,_0x2ed85c,_0x54808b,_0x5b91e5,_0x145fa4),_0x1126e6(_0x54808b['to']+_0x5b91e5,!0x1)):_0x41e684=_0x54808b['toTree'](),_0x5caa62['push'](_0x41e684),_0x2f7a53['push'](_0x166829-_0x17e5a8);}return _0x1126e6(_0x4f7fbf['to']+_0x5b91e5,!0x1),new Tree(_0x4f7fbf['type'],_0x5caa62,_0x2f7a53,_0x4f7fbf['to']+_0x5b91e5-_0x17e5a8,_0x4f7fbf['tree']?_0x4f7fbf['tree']['propValues']:void 0x0);}class MarkdownParser extends Parser{constructor(_0x550fca,_0x50e623,_0x55bc94,_0x5c91e2,_0x321e02,_0x2b6fcb,_0x30acac,_0x10898f,_0x216453){super(),this['nodeSet']=_0x550fca,this['blockParsers']=_0x50e623,this['leafBlockParsers']=_0x55bc94,this['blockNames']=_0x5c91e2,this['endLeafBlock']=_0x321e02,this['skipContextMarkup']=_0x2b6fcb,this['inlineParsers']=_0x30acac,this['inlineNames']=_0x10898f,this['wrappers']=_0x216453,this['nodeTypes']=Object['create'](null);for(let t of _0x550fca['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x16885e,_0x380397,_0x57acc8){let _0x423017=new BlockContext(this,_0x16885e,_0x380397,_0x57acc8);for(let _0x1ace1d of this['wrappers'])_0x423017=_0x1ace1d(_0x423017,_0x16885e,_0x380397,_0x57acc8);return _0x423017;}['configure'](_0x25f413){let _0x582c79=resolveConfig(_0x25f413);if(!_0x582c79)return this;let {nodeSet:_0x3b8c64,skipContextMarkup:_0x3d4473}=this,_0xfacd3d=this['blockParsers']['slice'](),_0x54eecc=this['leafBlockParsers']['slice'](),_0x4149cf=this['blockNames']['slice'](),_0x4fb905=this['inlineParsers']['slice'](),_0x270787=this['inlineNames']['slice'](),_0x48f126=this['endLeafBlock']['slice'](),_0x3cd0f5=this['wrappers'];if(nonEmpty(_0x582c79['defineNodes'])){_0x3d4473=Object['assign']({},_0x3d4473);let _0x1ada4b,_0x382860=_0x3b8c64['types']['slice']();for(let _0xd25696 of _0x582c79['defineNodes']){let {name:_0x14eb58,block:_0x875dd5,composite:_0x2932d3,style:_0x33fe23}='string'==typeof _0xd25696?{'name':_0xd25696}:_0xd25696;if(_0x382860['some'](t=>t['name']==_0x14eb58))continue;_0x2932d3&&(_0x3d4473[_0x382860['length']]=(_0x33b6ce,_0x184a5e,_0x515e35)=>_0x2932d3(_0x184a5e,_0x515e35,_0x33b6ce['value']));let _0x515b8a=_0x382860['length'],_0x45dad0=_0x2932d3?['Block','BlockContext']:_0x875dd5?_0x515b8a>=Type['ATXHeading1']&&_0x515b8a<=Type['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x382860['push'](NodeType['define']({'id':_0x515b8a,'name':_0x14eb58,'props':_0x45dad0&&[[NodeProp['group'],_0x45dad0]]})),_0x33fe23&&(_0x1ada4b||(_0x1ada4b={}),Array['isArray'](_0x33fe23)||_0x33fe23 instanceof Tag?_0x1ada4b[_0x14eb58]=_0x33fe23:Object['assign'](_0x1ada4b,_0x33fe23));}_0x3b8c64=new NodeSet(_0x382860),_0x1ada4b&&(_0x3b8c64=_0x3b8c64['extend'](styleTags(_0x1ada4b)));}if(nonEmpty(_0x582c79['props'])&&(_0x3b8c64=_0x3b8c64['extend'](..._0x582c79['props'])),nonEmpty(_0x582c79['remove']))for(let _0x5d5d51 of _0x582c79['remove']){let _0x459ece=this['blockNames']['indexOf'](_0x5d5d51),_0xfdd105=this['inlineNames']['indexOf'](_0x5d5d51);_0x459ece>-0x1&&(_0xfacd3d[_0x459ece]=_0x54eecc[_0x459ece]=void 0x0),_0xfdd105>-0x1&&(_0x4fb905[_0xfdd105]=void 0x0);}if(nonEmpty(_0x582c79['parseBlock']))for(let _0x396a06 of _0x582c79['parseBlock']){let _0x1e85b0=_0x4149cf['indexOf'](_0x396a06['name']);if(_0x1e85b0>-0x1)_0xfacd3d[_0x1e85b0]=_0x396a06['parse'],_0x54eecc[_0x1e85b0]=_0x396a06['leaf'];else{let _0x37d81a=_0x396a06['before']?findName(_0x4149cf,_0x396a06['before']):_0x396a06['after']?findName(_0x4149cf,_0x396a06['after'])+0x1:_0x4149cf['length']-0x1;_0xfacd3d['splice'](_0x37d81a,0x0,_0x396a06['parse']),_0x54eecc['splice'](_0x37d81a,0x0,_0x396a06['leaf']),_0x4149cf['splice'](_0x37d81a,0x0,_0x396a06['name']);}_0x396a06['endLeaf']&&_0x48f126['push'](_0x396a06['endLeaf']);}if(nonEmpty(_0x582c79['parseInline']))for(let _0x2cdcb0 of _0x582c79['parseInline']){let _0x26cb56=_0x270787['indexOf'](_0x2cdcb0['name']);if(_0x26cb56>-0x1)_0x4fb905[_0x26cb56]=_0x2cdcb0['parse'];else{let _0x293a07=_0x2cdcb0['before']?findName(_0x270787,_0x2cdcb0['before']):_0x2cdcb0['after']?findName(_0x270787,_0x2cdcb0['after'])+0x1:_0x270787['length']-0x1;_0x4fb905['splice'](_0x293a07,0x0,_0x2cdcb0['parse']),_0x270787['splice'](_0x293a07,0x0,_0x2cdcb0['name']);}}return _0x582c79['wrap']&&(_0x3cd0f5=_0x3cd0f5['concat'](_0x582c79['wrap'])),new MarkdownParser(_0x3b8c64,_0xfacd3d,_0x54eecc,_0x4149cf,_0x48f126,_0x3d4473,_0x4fb905,_0x270787,_0x3cd0f5);}['getNodeType'](_0x2c6c8d){let _0x5bc958=this['nodeTypes'][_0x2c6c8d];if(null==_0x5bc958)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x2c6c8d+'\x27');return _0x5bc958;}['parseInline'](_0x2f0f07,_0x1a402a){let _0x1da32d=new InlineContext(this,_0x2f0f07,_0x1a402a);t:for(let _0x5983cb=_0x1a402a;_0x5983cb<_0x1da32d['end'];){let _0x4357ec=_0x1da32d['char'](_0x5983cb);for(let _0x19264d of this['inlineParsers'])if(_0x19264d){let _0x3f2982=_0x19264d(_0x1da32d,_0x4357ec,_0x5983cb);if(_0x3f2982>=0x0){_0x5983cb=_0x3f2982;continue t;}}_0x5983cb++;}return _0x1da32d['resolveMarkers'](0x0);}}function nonEmpty(_0x23b2f7){return null!=_0x23b2f7&&_0x23b2f7['length']>0x0;}function resolveConfig(_0xca41ac){if(!Array['isArray'](_0xca41ac))return _0xca41ac;if(0x0==_0xca41ac['length'])return null;let _0x18bb11=resolveConfig(_0xca41ac[0x0]);if(0x1==_0xca41ac['length'])return _0x18bb11;let _0xfef9f4=resolveConfig(_0xca41ac['slice'](0x1));if(!_0xfef9f4||!_0x18bb11)return _0x18bb11||_0xfef9f4;let _0x3566ab=(_0xcfdff1,_0x5a4bae)=>(_0xcfdff1||none)['concat'](_0x5a4bae||none),_0x11b034=_0x18bb11['wrap'],_0x539b46=_0xfef9f4['wrap'];return{'props':_0x3566ab(_0x18bb11['props'],_0xfef9f4['props']),'defineNodes':_0x3566ab(_0x18bb11['defineNodes'],_0xfef9f4['defineNodes']),'parseBlock':_0x3566ab(_0x18bb11['parseBlock'],_0xfef9f4['parseBlock']),'parseInline':_0x3566ab(_0x18bb11['parseInline'],_0xfef9f4['parseInline']),'remove':_0x3566ab(_0x18bb11['remove'],_0xfef9f4['remove']),'wrap':_0x11b034?_0x539b46?(_0x6e548,_0x459889,_0x349c35,_0x433d2d)=>_0x11b034(_0x539b46(_0x6e548,_0x459889,_0x349c35,_0x433d2d),_0x459889,_0x349c35,_0x433d2d):_0x11b034:_0x539b46};}function findName(_0xe48a93,_0x91298e){let _0xd219d1=_0xe48a93['indexOf'](_0x91298e);if(_0xd219d1<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x91298e);return _0xd219d1;}let nodeTypes=[NodeType['none']];for(let e=0x1,i;i=Type[e];e++)nodeTypes[e]=NodeType['define']({'id':e,'name':i,'props':e>=Type['Escape']?[]:[[NodeProp['group'],e in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==i});const none=[];let Buffer$1=class{constructor(_0x15aa0a){this['nodeSet']=_0x15aa0a,this['content']=[],this['nodes']=[];}['write'](_0x2bf051,_0x2bf416,_0x1656a0,_0x317e87=0x0){return this['content']['push'](_0x2bf051,_0x2bf416,_0x1656a0,0x4+0x4*_0x317e87),this;}['writeElements'](_0x373a17,_0x2fb86f=0x0){for(let _0x9053f1 of _0x373a17)_0x9053f1['writeTo'](this,_0x2fb86f);return this;}['finish'](_0x5a8e39,_0x558946){return Tree['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x5a8e39,'length':_0x558946});}},Element$1=class{constructor(_0x810aaf,_0x47d923,_0x32d56f,_0x3ab9fb=none){this['type']=_0x810aaf,this['from']=_0x47d923,this['to']=_0x32d56f,this['children']=_0x3ab9fb;}['writeTo'](_0x3c9296,_0x31d1ab){let _0x5b67b8=_0x3c9296['content']['length'];_0x3c9296['writeElements'](this['children'],_0x31d1ab),_0x3c9296['content']['push'](this['type'],this['from']+_0x31d1ab,this['to']+_0x31d1ab,_0x3c9296['content']['length']+0x4-_0x5b67b8);}['toTree'](_0x1ce560){return new Buffer$1(_0x1ce560)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x58ba80,_0x56ed18){this['tree']=_0x58ba80,this['from']=_0x56ed18;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return none;}['writeTo'](_0x1ba310,_0xcc8077){_0x1ba310['nodes']['push'](this['tree']),_0x1ba310['content']['push'](_0x1ba310['nodes']['length']-0x1,this['from']+_0xcc8077,this['to']+_0xcc8077,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x34461f,_0x5e168d,_0x1cc6d8,_0xd4f229){return new Element$1(_0x34461f,_0x5e168d,_0x1cc6d8,_0xd4f229);}const EmphasisUnderscore={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x16f719,_0x232386,_0x3f274b,_0x109521){this['type']=_0x16f719,this['from']=_0x232386,this['to']=_0x3f274b,this['side']=_0x109521;}}const Escapable='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x316592){}const DefaultInline={'Escape'(_0x48b3bc,_0x22b2c7,_0x4ba822){if(0x5c!=_0x22b2c7||_0x4ba822==_0x48b3bc['end']-0x1)return-0x1;let _0x56d163=_0x48b3bc['char'](_0x4ba822+0x1);for(let _0x7519c4=0x0;_0x7519c4<Escapable['length'];_0x7519c4++)if(Escapable['charCodeAt'](_0x7519c4)==_0x56d163)return _0x48b3bc['append'](elt(Type['Escape'],_0x4ba822,_0x4ba822+0x2));return-0x1;},'Entity'(_0x10367b,_0x362b0f,_0x4a78aa){if(0x26!=_0x362b0f)return-0x1;let _0x2668cf=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x10367b['slice'](_0x4a78aa+0x1,_0x4a78aa+0x1f));return _0x2668cf?_0x10367b['append'](elt(Type['Entity'],_0x4a78aa,_0x4a78aa+0x1+_0x2668cf[0x0]['length'])):-0x1;},'InlineCode'(_0x303563,_0x4851d5,_0x11047f){if(0x60!=_0x4851d5||_0x11047f&&0x60==_0x303563['char'](_0x11047f-0x1))return-0x1;let _0x239154=_0x11047f+0x1;for(;_0x239154<_0x303563['end']&&0x60==_0x303563['char'](_0x239154);)_0x239154++;let _0xcdbc1e=_0x239154-_0x11047f,_0xe3c318=0x0;for(;_0x239154<_0x303563['end'];_0x239154++)if(0x60==_0x303563['char'](_0x239154)){if(_0xe3c318++,_0xe3c318==_0xcdbc1e&&0x60!=_0x303563['char'](_0x239154+0x1))return _0x303563['append'](elt(Type['InlineCode'],_0x11047f,_0x239154+0x1,[elt(Type['CodeMark'],_0x11047f,_0x11047f+_0xcdbc1e),elt(Type['CodeMark'],_0x239154+0x1-_0xcdbc1e,_0x239154+0x1)]));}else _0xe3c318=0x0;return-0x1;},'HTMLTag'(_0xf22f8e,_0x2a5f96,_0x1b00d3){if(0x3c!=_0x2a5f96||_0x1b00d3==_0xf22f8e['end']-0x1)return-0x1;let _0x4455fc=_0xf22f8e['slice'](_0x1b00d3+0x1,_0xf22f8e['end']),_0x42ab03=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i['exec'](_0x4455fc);if(_0x42ab03)return _0xf22f8e['append'](elt(Type['Autolink'],_0x1b00d3,_0x1b00d3+0x1+_0x42ab03[0x0]['length'],[elt(Type['LinkMark'],_0x1b00d3,_0x1b00d3+0x1),elt(Type['URL'],_0x1b00d3+0x1,_0x1b00d3+_0x42ab03[0x0]['length']),elt(Type['LinkMark'],_0x1b00d3+_0x42ab03[0x0]['length'],_0x1b00d3+0x1+_0x42ab03[0x0]['length'])]));let _0x314a29=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x4455fc);if(_0x314a29)return _0xf22f8e['append'](elt(Type['Comment'],_0x1b00d3,_0x1b00d3+0x1+_0x314a29[0x0]['length']));let _0x140e13=/^\?[^]*?\?>/['exec'](_0x4455fc);if(_0x140e13)return _0xf22f8e['append'](elt(Type['ProcessingInstruction'],_0x1b00d3,_0x1b00d3+0x1+_0x140e13[0x0]['length']));let _0x3e20f5=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/['exec'](_0x4455fc);return _0x3e20f5?_0xf22f8e['append'](elt(Type['HTMLTag'],_0x1b00d3,_0x1b00d3+0x1+_0x3e20f5[0x0]['length'])):-0x1;},'Emphasis'(_0x45a91e,_0x55b6d8,_0x32a474){if(0x5f!=_0x55b6d8&&0x2a!=_0x55b6d8)return-0x1;let _0x2fd758=_0x32a474+0x1;for(;_0x45a91e['char'](_0x2fd758)==_0x55b6d8;)_0x2fd758++;let _0x2f9b97=_0x45a91e['slice'](_0x32a474-0x1,_0x32a474),_0x5243b9=_0x45a91e['slice'](_0x2fd758,_0x2fd758+0x1),_0x2e990b=Punctuation['test'](_0x2f9b97),_0x39fac9=Punctuation['test'](_0x5243b9),_0x53d22d=/\s|^$/['test'](_0x2f9b97),_0x25c392=/\s|^$/['test'](_0x5243b9),_0x115106=!_0x25c392&&(!_0x39fac9||_0x53d22d||_0x2e990b),_0x351cb5=!_0x53d22d&&(!_0x2e990b||_0x25c392||_0x39fac9),_0x51c81=_0x115106&&(0x2a==_0x55b6d8||!_0x351cb5||_0x2e990b),_0x5e7469=_0x351cb5&&(0x2a==_0x55b6d8||!_0x115106||_0x39fac9);return _0x45a91e['append'](new InlineDelimiter(0x5f==_0x55b6d8?EmphasisUnderscore:EmphasisAsterisk,_0x32a474,_0x2fd758,(_0x51c81?0x1:0x0)|(_0x5e7469?0x2:0x0)));},'HardBreak'(_0x381da5,_0x5eb6e4,_0x2c0708){if(0x5c==_0x5eb6e4&&0xa==_0x381da5['char'](_0x2c0708+0x1))return _0x381da5['append'](elt(Type['HardBreak'],_0x2c0708,_0x2c0708+0x2));if(0x20==_0x5eb6e4){let _0x377963=_0x2c0708+0x1;for(;0x20==_0x381da5['char'](_0x377963);)_0x377963++;if(0xa==_0x381da5['char'](_0x377963)&&_0x377963>=_0x2c0708+0x2)return _0x381da5['append'](elt(Type['HardBreak'],_0x2c0708,_0x377963+0x1));}return-0x1;},'Link':(_0x17bf4b,_0x1d59ce,_0x3415d7)=>0x5b==_0x1d59ce?_0x17bf4b['append'](new InlineDelimiter(LinkStart,_0x3415d7,_0x3415d7+0x1,0x1)):-0x1,'Image':(_0xe0a60e,_0x473e4b,_0x7213f2)=>0x21==_0x473e4b&&0x5b==_0xe0a60e['char'](_0x7213f2+0x1)?_0xe0a60e['append'](new InlineDelimiter(ImageStart,_0x7213f2,_0x7213f2+0x2,0x1)):-0x1,'LinkEnd'(_0x5aaa0d,_0x2bdc3a,_0xdb2ee9){if(0x5d!=_0x2bdc3a)return-0x1;for(let _0x19d629=_0x5aaa0d['parts']['length']-0x1;_0x19d629>=0x0;_0x19d629--){let _0x196390=_0x5aaa0d['parts'][_0x19d629];if(_0x196390 instanceof InlineDelimiter&&(_0x196390['type']==LinkStart||_0x196390['type']==ImageStart)){if(!_0x196390['side']||_0x5aaa0d['skipSpace'](_0x196390['to'])==_0xdb2ee9&&!/[(\[]/['test'](_0x5aaa0d['slice'](_0xdb2ee9+0x1,_0xdb2ee9+0x2)))return _0x5aaa0d['parts'][_0x19d629]=null,-0x1;let _0x27357b=_0x5aaa0d['takeContent'](_0x19d629),_0x304c00=_0x5aaa0d['parts'][_0x19d629]=finishLink(_0x5aaa0d,_0x27357b,_0x196390['type']==LinkStart?Type['Link']:Type['Image'],_0x196390['from'],_0xdb2ee9+0x1);if(_0x196390['type']==LinkStart)for(let _0x3d595d=0x0;_0x3d595d<_0x19d629;_0x3d595d++){let _0x460935=_0x5aaa0d['parts'][_0x3d595d];_0x460935 instanceof InlineDelimiter&&_0x460935['type']==LinkStart&&(_0x460935['side']=0x0);}return _0x304c00['to'];}}return-0x1;}};function finishLink(_0x145d8a,_0x12bc8b,_0x51bb84,_0x483c35,_0x3ec65f){let {text:_0x284b0c}=_0x145d8a,_0x2af41a=_0x145d8a['char'](_0x3ec65f),_0x4472df=_0x3ec65f;if(_0x12bc8b['unshift'](elt(Type['LinkMark'],_0x483c35,_0x483c35+(_0x51bb84==Type['Image']?0x2:0x1))),_0x12bc8b['push'](elt(Type['LinkMark'],_0x3ec65f-0x1,_0x3ec65f)),0x28==_0x2af41a){let _0x5d1eee,_0x32cd70=_0x145d8a['skipSpace'](_0x3ec65f+0x1),_0x483a51=parseURL(_0x284b0c,_0x32cd70-_0x145d8a['offset'],_0x145d8a['offset']);_0x483a51&&(_0x32cd70=_0x145d8a['skipSpace'](_0x483a51['to']),_0x32cd70!=_0x483a51['to']&&(_0x5d1eee=parseLinkTitle(_0x284b0c,_0x32cd70-_0x145d8a['offset'],_0x145d8a['offset']),_0x5d1eee&&(_0x32cd70=_0x145d8a['skipSpace'](_0x5d1eee['to'])))),0x29==_0x145d8a['char'](_0x32cd70)&&(_0x12bc8b['push'](elt(Type['LinkMark'],_0x3ec65f,_0x3ec65f+0x1)),_0x4472df=_0x32cd70+0x1,_0x483a51&&_0x12bc8b['push'](_0x483a51),_0x5d1eee&&_0x12bc8b['push'](_0x5d1eee),_0x12bc8b['push'](elt(Type['LinkMark'],_0x32cd70,_0x4472df)));}else{if(0x5b==_0x2af41a){let _0x5aeeee=parseLinkLabel(_0x284b0c,_0x3ec65f-_0x145d8a['offset'],_0x145d8a['offset'],!0x1);_0x5aeeee&&(_0x12bc8b['push'](_0x5aeeee),_0x4472df=_0x5aeeee['to']);}}return elt(_0x51bb84,_0x483c35,_0x4472df,_0x12bc8b);}function parseURL(_0x3c5a4a,_0x437e82,_0xbabc66){if(0x3c==_0x3c5a4a['charCodeAt'](_0x437e82)){for(let _0x19eb65=_0x437e82+0x1;_0x19eb65<_0x3c5a4a['length'];_0x19eb65++){let _0x5ea647=_0x3c5a4a['charCodeAt'](_0x19eb65);if(0x3e==_0x5ea647)return elt(Type['URL'],_0x437e82+_0xbabc66,_0x19eb65+0x1+_0xbabc66);if(0x3c==_0x5ea647||0xa==_0x5ea647)return!0x1;}return null;}{let _0x1e3e9b=0x0,_0x31ae9b=_0x437e82;for(let _0x7f5f26=!0x1;_0x31ae9b<_0x3c5a4a['length'];_0x31ae9b++){let _0x589c39=_0x3c5a4a['charCodeAt'](_0x31ae9b);if(space(_0x589c39))break;if(_0x7f5f26)_0x7f5f26=!0x1;else{if(0x28==_0x589c39)_0x1e3e9b++;else{if(0x29==_0x589c39){if(!_0x1e3e9b)break;_0x1e3e9b--;}else 0x5c==_0x589c39&&(_0x7f5f26=!0x0);}}}return _0x31ae9b>_0x437e82?elt(Type['URL'],_0x437e82+_0xbabc66,_0x31ae9b+_0xbabc66):_0x31ae9b==_0x3c5a4a['length']&&null;}}function parseLinkTitle(_0x51bf5a,_0x25eb0b,_0x1bd779){let _0x56b520=_0x51bf5a['charCodeAt'](_0x25eb0b);if(0x27!=_0x56b520&&0x22!=_0x56b520&&0x28!=_0x56b520)return!0x1;let _0x54fdec=0x28==_0x56b520?0x29:_0x56b520;for(let _0x21732d=_0x25eb0b+0x1,_0x2d2d66=!0x1;_0x21732d<_0x51bf5a['length'];_0x21732d++){let _0x5ef2fc=_0x51bf5a['charCodeAt'](_0x21732d);if(_0x2d2d66)_0x2d2d66=!0x1;else{if(_0x5ef2fc==_0x54fdec)return elt(Type['LinkTitle'],_0x25eb0b+_0x1bd779,_0x21732d+0x1+_0x1bd779);0x5c==_0x5ef2fc&&(_0x2d2d66=!0x0);}}return null;}function parseLinkLabel(_0x26b61f,_0x187c9b,_0x43345a,_0x17dc9e){for(let _0x55f019=!0x1,_0x222d85=_0x187c9b+0x1,_0x6d3f45=Math['min'](_0x26b61f['length'],_0x222d85+0x3e7);_0x222d85<_0x6d3f45;_0x222d85++){let _0x124b8f=_0x26b61f['charCodeAt'](_0x222d85);if(_0x55f019)_0x55f019=!0x1;else{if(0x5d==_0x124b8f)return!_0x17dc9e&&elt(Type['LinkLabel'],_0x187c9b+_0x43345a,_0x222d85+0x1+_0x43345a);if(_0x17dc9e&&!space(_0x124b8f)&&(_0x17dc9e=!0x1),0x5b==_0x124b8f)return!0x1;0x5c==_0x124b8f&&(_0x55f019=!0x0);}}return null;}class InlineContext{constructor(_0x2a3810,_0x38cb6f,_0x4ae9f8){this['parser']=_0x2a3810,this['text']=_0x38cb6f,this['offset']=_0x4ae9f8,this['parts']=[];}['char'](_0x16de4e){return _0x16de4e>=this['end']?-0x1:this['text']['charCodeAt'](_0x16de4e-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x2e6d8a,_0xedc986){return this['text']['slice'](_0x2e6d8a-this['offset'],_0xedc986-this['offset']);}['append'](_0x464368){return this['parts']['push'](_0x464368),_0x464368['to'];}['addDelimiter'](_0x4eec89,_0x2c971b,_0x291261,_0x36573e,_0x9279d4){return this['append'](new InlineDelimiter(_0x4eec89,_0x2c971b,_0x291261,(_0x36573e?0x1:0x0)|(_0x9279d4?0x2:0x0)));}get['hasOpenLink'](){for(let _0x3507fd=this['parts']['length']-0x1;_0x3507fd>=0x0;_0x3507fd--){let _0x18df5c=this['parts'][_0x3507fd];if(_0x18df5c instanceof InlineDelimiter&&(_0x18df5c['type']==LinkStart||_0x18df5c['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0x3f7892){return this['append'](_0x3f7892);}['resolveMarkers'](_0x2de20a){for(let _0x1172ef=_0x2de20a;_0x1172ef<this['parts']['length'];_0x1172ef++){let _0x4ca43a=this['parts'][_0x1172ef];if(!(_0x4ca43a instanceof InlineDelimiter&&_0x4ca43a['type']['resolve']&&0x2&_0x4ca43a['side']))continue;let _0x210ecd,_0x782df9=_0x4ca43a['type']==EmphasisUnderscore||_0x4ca43a['type']==EmphasisAsterisk,_0x327956=_0x4ca43a['to']-_0x4ca43a['from'],_0x18015b=_0x1172ef-0x1;for(;_0x18015b>=_0x2de20a;_0x18015b--){let _0x4c5d77=this['parts'][_0x18015b];if(_0x4c5d77 instanceof InlineDelimiter&&0x1&_0x4c5d77['side']&&_0x4c5d77['type']==_0x4ca43a['type']&&!(_0x782df9&&(0x1&_0x4ca43a['side']||0x2&_0x4c5d77['side'])&&(_0x4c5d77['to']-_0x4c5d77['from']+_0x327956)%0x3==0x0&&((_0x4c5d77['to']-_0x4c5d77['from'])%0x3||_0x327956%0x3))){_0x210ecd=_0x4c5d77;break;}}if(!_0x210ecd)continue;let _0x2a72d7=_0x4ca43a['type']['resolve'],_0x13278e=[],_0x2aec03=_0x210ecd['from'],_0x2df370=_0x4ca43a['to'];if(_0x782df9){let _0x1a570f=Math['min'](0x2,_0x210ecd['to']-_0x210ecd['from'],_0x327956);_0x2aec03=_0x210ecd['to']-_0x1a570f,_0x2df370=_0x4ca43a['from']+_0x1a570f,_0x2a72d7=0x1==_0x1a570f?'Emphasis':'StrongEmphasis';}_0x210ecd['type']['mark']&&_0x13278e['push'](this['elt'](_0x210ecd['type']['mark'],_0x2aec03,_0x210ecd['to']));for(let _0x45fb1e=_0x18015b+0x1;_0x45fb1e<_0x1172ef;_0x45fb1e++)this['parts'][_0x45fb1e]instanceof Element$1&&_0x13278e['push'](this['parts'][_0x45fb1e]),this['parts'][_0x45fb1e]=null;_0x4ca43a['type']['mark']&&_0x13278e['push'](this['elt'](_0x4ca43a['type']['mark'],_0x4ca43a['from'],_0x2df370));let _0x772af5=this['elt'](_0x2a72d7,_0x2aec03,_0x2df370,_0x13278e);this['parts'][_0x18015b]=_0x782df9&&_0x210ecd['from']!=_0x2aec03?new InlineDelimiter(_0x210ecd['type'],_0x210ecd['from'],_0x2aec03,_0x210ecd['side']):null,(this['parts'][_0x1172ef]=_0x782df9&&_0x4ca43a['to']!=_0x2df370?new InlineDelimiter(_0x4ca43a['type'],_0x2df370,_0x4ca43a['to'],_0x4ca43a['side']):null)?this['parts']['splice'](_0x1172ef,0x0,_0x772af5):this['parts'][_0x1172ef]=_0x772af5;}let _0x51ba3c=[];for(let _0x5615e3=_0x2de20a;_0x5615e3<this['parts']['length'];_0x5615e3++){let _0x5dd92f=this['parts'][_0x5615e3];_0x5dd92f instanceof Element$1&&_0x51ba3c['push'](_0x5dd92f);}return _0x51ba3c;}['findOpeningDelimiter'](_0x20eb35){for(let _0x4f91b8=this['parts']['length']-0x1;_0x4f91b8>=0x0;_0x4f91b8--){let _0x22c4cc=this['parts'][_0x4f91b8];if(_0x22c4cc instanceof InlineDelimiter&&_0x22c4cc['type']==_0x20eb35)return _0x4f91b8;}return null;}['takeContent'](_0x3f8815){let _0x12a080=this['resolveMarkers'](_0x3f8815);return this['parts']['length']=_0x3f8815,_0x12a080;}['skipSpace'](_0x22bb21){return skipSpace(this['text'],_0x22bb21-this['offset'])+this['offset'];}['elt'](_0x1aedec,_0x18584,_0x551411,_0x1bfc7c){return'string'==typeof _0x1aedec?elt(this['parser']['getNodeType'](_0x1aedec),_0x18584,_0x551411,_0x1bfc7c):new TreeElement(_0x1aedec,_0x18584);}}function injectMarks(_0x92491,_0x16ff66){if(!_0x16ff66['length'])return _0x92491;if(!_0x92491['length'])return _0x16ff66;let _0x8267b2=_0x92491['slice'](),_0x213119=0x0;for(let _0x2a6214 of _0x16ff66){for(;_0x213119<_0x8267b2['length']&&_0x8267b2[_0x213119]['to']<_0x2a6214['to'];)_0x213119++;if(_0x213119<_0x8267b2['length']&&_0x8267b2[_0x213119]['from']<_0x2a6214['from']){let _0x3c389c=_0x8267b2[_0x213119];_0x3c389c instanceof Element$1&&(_0x8267b2[_0x213119]=new Element$1(_0x3c389c['type'],_0x3c389c['from'],_0x3c389c['to'],injectMarks(_0x3c389c['children'],[_0x2a6214])));}else _0x8267b2['splice'](_0x213119++,0x0,_0x2a6214);}return _0x8267b2;}const NotLast=[Type['CodeBlock'],Type['ListItem'],Type['OrderedList'],Type['BulletList']];class FragmentCursor{constructor(_0x1f59c8,_0x597170){this['fragments']=_0x1f59c8,this['input']=_0x597170,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x1f59c8['length']&&(this['fragment']=_0x1f59c8[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x4cc3fc,_0x5749f4){for(;this['fragment']&&this['fragment']['to']<=_0x4cc3fc;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x4cc3fc?_0x4cc3fc-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x28acd0=this['fragment']['to'];for(;_0x28acd0>0x0&&'\x0a'!=this['input']['read'](_0x28acd0-0x1,_0x28acd0);)_0x28acd0--;this['fragmentEnd']=_0x28acd0?_0x28acd0-0x1:0x0;}let _0x227e35=this['cursor'];_0x227e35||(_0x227e35=this['cursor']=this['fragment']['tree']['cursor'](),_0x227e35['firstChild']());let _0x503066=_0x4cc3fc+this['fragment']['offset'];for(;_0x227e35['to']<=_0x503066;)if(!_0x227e35['parent']())return!0x1;for(;;){if(_0x227e35['from']>=_0x503066)return this['fragment']['from']<=_0x5749f4;if(!_0x227e35['childAfter'](_0x503066))return!0x1;}}['matches'](_0x3f1867){let _0x42cdb2=this['cursor']['tree'];return _0x42cdb2&&_0x42cdb2['prop'](NodeProp['contextHash'])==_0x3f1867;}['takeNodes'](_0x5daeea){let _0x857e33=this['cursor'],_0x12470d=this['fragment']['offset'],_0x4788c9=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0xd20f52=_0x5daeea['absoluteLineStart'],_0x243e65=_0xd20f52,_0x4982c3=_0x5daeea['block']['children']['length'],_0x512659=_0x243e65,_0x4fed08=_0x4982c3;for(;;){if(_0x857e33['to']-_0x12470d>_0x4788c9){if(_0x857e33['type']['isAnonymous']&&_0x857e33['firstChild']())continue;break;}let _0x5a9b7e=toRelative(_0x857e33['from']-_0x12470d,_0x5daeea['ranges']);if(_0x857e33['to']-_0x12470d<=_0x5daeea['ranges'][_0x5daeea['rangeI']]['to'])_0x5daeea['addNode'](_0x857e33['tree'],_0x5a9b7e);else{let _0x31d62c=new Tree(_0x5daeea['parser']['nodeSet']['types'][Type['Paragraph']],[],[],0x0,_0x5daeea['block']['hashProp']);_0x5daeea['reusePlaceholders']['set'](_0x31d62c,_0x857e33['tree']),_0x5daeea['addNode'](_0x31d62c,_0x5a9b7e);}if(_0x857e33['type']['is']('Block')&&(NotLast['indexOf'](_0x857e33['type']['id'])<0x0?(_0x243e65=_0x857e33['to']-_0x12470d,_0x4982c3=_0x5daeea['block']['children']['length']):(_0x243e65=_0x512659,_0x4982c3=_0x4fed08,_0x512659=_0x857e33['to']-_0x12470d,_0x4fed08=_0x5daeea['block']['children']['length'])),!_0x857e33['nextSibling']())break;}for(;_0x5daeea['block']['children']['length']>_0x4982c3;)_0x5daeea['block']['children']['pop'](),_0x5daeea['block']['positions']['pop']();return _0x243e65-_0xd20f52;}}function toRelative(_0x1f6382,_0x470b52){let _0x498923=_0x1f6382;for(let _0x2a7e4c=0x1;_0x2a7e4c<_0x470b52['length'];_0x2a7e4c++){let _0x38b93b=_0x470b52[_0x2a7e4c-0x1]['to'],_0x26e467=_0x470b52[_0x2a7e4c]['from'];_0x38b93b<_0x1f6382&&(_0x498923-=_0x26e467-_0x38b93b);}return _0x498923;}const markdownHighlighting=styleTags({'Blockquote/...':tags$1['quote'],'HorizontalRule':tags$1['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':tags$1['heading1'],'ATXHeading2/...\x20SetextHeading2/...':tags$1['heading2'],'ATXHeading3/...':tags$1['heading3'],'ATXHeading4/...':tags$1['heading4'],'ATXHeading5/...':tags$1['heading5'],'ATXHeading6/...':tags$1['heading6'],'Comment\x20CommentBlock':tags$1['comment'],'Escape':tags$1['escape'],'Entity':tags$1['character'],'Emphasis/...':tags$1['emphasis'],'StrongEmphasis/...':tags$1['strong'],'Link/...\x20Image/...':tags$1['link'],'OrderedList/...\x20BulletList/...':tags$1['list'],'BlockQuote/...':tags$1['quote'],'InlineCode\x20CodeText':tags$1['monospace'],'URL\x20Autolink':tags$1['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':tags$1['processingInstruction'],'CodeInfo\x20LinkLabel':tags$1['labelName'],'LinkTitle':tags$1['string'],'Paragraph':tags$1['content']}),parser=new MarkdownParser(new NodeSet(nodeTypes)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x27c781=>DefaultBlockParsers[_0x27c781]),Object['keys'](DefaultBlockParsers)['map'](_0x48f195=>DefaultLeafBlocks[_0x48f195]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x2382fe=>DefaultInline[_0x2382fe]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x539da0,_0x2ec9af,_0x4c43fb){let _0x54ae54=[];for(let _0x4a6094=_0x539da0['firstChild'],_0x3b8858=_0x2ec9af;;_0x4a6094=_0x4a6094['nextSibling']){let _0x5f4fdd=_0x4a6094?_0x4a6094['from']:_0x4c43fb;if(_0x5f4fdd>_0x3b8858&&_0x54ae54['push']({'from':_0x3b8858,'to':_0x5f4fdd}),!_0x4a6094)break;_0x3b8858=_0x4a6094['to'];}return _0x54ae54;}function parseCode(_0xa3cef3){let {codeParser:_0x3db33b,htmlParser:_0x5697b3}=_0xa3cef3,_0x545efc=parseMixed((_0x4b5fc9,_0x1a532e)=>{let _0x1553c7=_0x4b5fc9['type']['id'];if(!_0x3db33b||_0x1553c7!=Type['CodeBlock']&&_0x1553c7!=Type['FencedCode']){if(_0x5697b3&&(_0x1553c7==Type['HTMLBlock']||_0x1553c7==Type['HTMLTag']))return{'parser':_0x5697b3,'overlay':leftOverSpace(_0x4b5fc9['node'],_0x4b5fc9['from'],_0x4b5fc9['to'])};}else{let _0x35f727='';if(_0x1553c7==Type['FencedCode']){let _0x577b8e=_0x4b5fc9['node']['getChild'](Type['CodeInfo']);_0x577b8e&&(_0x35f727=_0x1a532e['read'](_0x577b8e['from'],_0x577b8e['to']));}let _0x42c779=_0x3db33b(_0x35f727);if(_0x42c779)return{'parser':_0x42c779,'overlay':_0x60c5cf=>_0x60c5cf['type']['id']==Type['CodeText']};}return null;});return{'wrap':_0x545efc};}const StrikethroughDelim={'resolve':'Strikethrough','mark':'StrikethroughMark'},Strikethrough={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':tags$1['strikethrough']}},{'name':'StrikethroughMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x405362,_0x26f671,_0x1e99ba){if(0x7e!=_0x26f671||0x7e!=_0x405362['char'](_0x1e99ba+0x1)||0x7e==_0x405362['char'](_0x1e99ba+0x2))return-0x1;let _0x1da2b1=_0x405362['slice'](_0x1e99ba-0x1,_0x1e99ba),_0x4bde27=_0x405362['slice'](_0x1e99ba+0x2,_0x1e99ba+0x3),_0xc73caa=/\s|^$/['test'](_0x1da2b1),_0x23fbce=/\s|^$/['test'](_0x4bde27),_0x5aa175=Punctuation['test'](_0x1da2b1),_0x522f44=Punctuation['test'](_0x4bde27);return _0x405362['addDelimiter'](StrikethroughDelim,_0x1e99ba,_0x1e99ba+0x2,!_0x23fbce&&(!_0x522f44||_0xc73caa||_0x5aa175),!_0xc73caa&&(!_0x5aa175||_0x23fbce||_0x522f44));},'after':'Emphasis'}]};function parseRow(_0x6ad59c,_0x3f54b9,_0x2ceb90=0x0,_0x44a129,_0x1f41dd=0x0){let _0x646e8a=0x0,_0xe80b28=!0x0,_0x44fa1f=-0x1,_0x3f4298=-0x1,_0x1ff740=!0x1,_0x2ee8cb=()=>{_0x44a129['push'](_0x6ad59c['elt']('TableCell',_0x1f41dd+_0x44fa1f,_0x1f41dd+_0x3f4298,_0x6ad59c['parser']['parseInline'](_0x3f54b9['slice'](_0x44fa1f,_0x3f4298),_0x1f41dd+_0x44fa1f)));};for(let _0x430588=_0x2ceb90;_0x430588<_0x3f54b9['length'];_0x430588++){let _0x593b93=_0x3f54b9['charCodeAt'](_0x430588);0x7c!=_0x593b93||_0x1ff740?(_0x1ff740||0x20!=_0x593b93&&0x9!=_0x593b93)&&(_0x44fa1f<0x0&&(_0x44fa1f=_0x430588),_0x3f4298=_0x430588+0x1):((!_0xe80b28||_0x44fa1f>-0x1)&&_0x646e8a++,_0xe80b28=!0x1,_0x44a129&&(_0x44fa1f>-0x1&&_0x2ee8cb(),_0x44a129['push'](_0x6ad59c['elt']('TableDelimiter',_0x430588+_0x1f41dd,_0x430588+_0x1f41dd+0x1))),_0x44fa1f=_0x3f4298=-0x1),_0x1ff740=!_0x1ff740&&0x5c==_0x593b93;}return _0x44fa1f>-0x1&&(_0x646e8a++,_0x44a129&&_0x2ee8cb()),_0x646e8a;}function hasPipe(_0xc49a78,_0x5ee9a1){for(let _0x6fa268=_0x5ee9a1;_0x6fa268<_0xc49a78['length'];_0x6fa268++){let _0x1c79a0=_0xc49a78['charCodeAt'](_0x6fa268);if(0x7c==_0x1c79a0)return!0x0;0x5c==_0x1c79a0&&_0x6fa268++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class TableParser{constructor(){this['rows']=null;}['nextLine'](_0x415f37,_0x2578d0,_0x20dcff){if(null==this['rows']){let _0x2f3894;if(this['rows']=!0x1,(0x2d==_0x2578d0['next']||0x3a==_0x2578d0['next']||0x7c==_0x2578d0['next'])&&delimiterLine['test'](_0x2f3894=_0x2578d0['text']['slice'](_0x2578d0['pos']))){let _0x4aaf10=[];parseRow(_0x415f37,_0x20dcff['content'],0x0,_0x4aaf10,_0x20dcff['start'])==parseRow(_0x415f37,_0x2f3894,_0x2578d0['pos'])&&(this['rows']=[_0x415f37['elt']('TableHeader',_0x20dcff['start'],_0x20dcff['start']+_0x20dcff['content']['length'],_0x4aaf10),_0x415f37['elt']('TableDelimiter',_0x415f37['lineStart']+_0x2578d0['pos'],_0x415f37['lineStart']+_0x2578d0['text']['length'])]);}}else{if(this['rows']){let _0x16ac1a=[];parseRow(_0x415f37,_0x2578d0['text'],_0x2578d0['pos'],_0x16ac1a,_0x415f37['lineStart']),this['rows']['push'](_0x415f37['elt']('TableRow',_0x415f37['lineStart']+_0x2578d0['pos'],_0x415f37['lineStart']+_0x2578d0['text']['length'],_0x16ac1a));}}return!0x1;}['finish'](_0x4a212c,_0x1a37a4){return!!this['rows']&&(_0x4a212c['addLeafElement'](_0x1a37a4,_0x4a212c['elt']('Table',_0x1a37a4['start'],_0x1a37a4['start']+_0x1a37a4['content']['length'],this['rows'])),!0x0);}}const Table={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':tags$1['heading']}},'TableRow',{'name':'TableCell','style':tags$1['content']},{'name':'TableDelimiter','style':tags$1['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x261205,_0x41e239)=>hasPipe(_0x41e239['content'],0x0)?new TableParser():null,'endLeaf'(_0x576fd8,_0x555376,_0x396a37){if(_0x396a37['parsers']['some'](_0xe0252b=>_0xe0252b instanceof TableParser)||!hasPipe(_0x555376['text'],_0x555376['basePos']))return!0x1;let _0x3ceafb=_0x576fd8['peekLine']();return delimiterLine['test'](_0x3ceafb)&&parseRow(_0x576fd8,_0x555376['text'],_0x555376['basePos'])==parseRow(_0x576fd8,_0x3ceafb,_0x555376['basePos']);},'before':'SetextHeading'}]};class TaskParser{['nextLine'](){return!0x1;}['finish'](_0x4fe577,_0x4bb2e4){return _0x4fe577['addLeafElement'](_0x4bb2e4,_0x4fe577['elt']('Task',_0x4bb2e4['start'],_0x4bb2e4['start']+_0x4bb2e4['content']['length'],[_0x4fe577['elt']('TaskMarker',_0x4bb2e4['start'],_0x4bb2e4['start']+0x3),..._0x4fe577['parser']['parseInline'](_0x4bb2e4['content']['slice'](0x3),_0x4bb2e4['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x15e237,_0x45b4ff)=>/^\[[ xX]\][ \t]/['test'](_0x45b4ff['content'])&&'ListItem'==_0x15e237['parentType']()['name']?new TaskParser():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,urlRE=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,emailRE=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,xmppResourceRE=/\/[a-zA-Z\d@.]+/gy;function count(_0x276edc,_0x2d6314,_0x9f8280,_0x59f1f8){let _0x4bca6b=0x0;for(let _0x2b98c0=_0x2d6314;_0x2b98c0<_0x9f8280;_0x2b98c0++)_0x276edc[_0x2b98c0]==_0x59f1f8&&_0x4bca6b++;return _0x4bca6b;}function autolinkURLEnd(_0x5b876d,_0x55a174){urlRE['lastIndex']=_0x55a174;let _0x534a44=urlRE['exec'](_0x5b876d);if(!_0x534a44||lastTwoDomainWords['exec'](_0x534a44[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x2a6ab4=_0x55a174+_0x534a44[0x0]['length'];for(;;){let _0x34c22f,_0x24fdc4=_0x5b876d[_0x2a6ab4-0x1];if(/[?!.,:*_~]/['test'](_0x24fdc4)||')'==_0x24fdc4&&count(_0x5b876d,_0x55a174,_0x2a6ab4,')')>count(_0x5b876d,_0x55a174,_0x2a6ab4,'('))_0x2a6ab4--;else{if(';'!=_0x24fdc4||!(_0x34c22f=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x5b876d['slice'](_0x55a174,_0x2a6ab4))))break;_0x2a6ab4=_0x55a174+_0x34c22f['index'];}}return _0x2a6ab4;}function autolinkEmailEnd(_0x318150,_0x2ada25){emailRE['lastIndex']=_0x2ada25;let _0x4a201e=emailRE['exec'](_0x318150);if(!_0x4a201e)return-0x1;let _0x1de90c=_0x4a201e[0x0][_0x4a201e[0x0]['length']-0x1];return'_'==_0x1de90c||'-'==_0x1de90c?-0x1:_0x2ada25+_0x4a201e[0x0]['length']-('.'==_0x1de90c?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x344fba,_0x25f055,_0x446003){let _0x5d419b=_0x446003-_0x344fba['offset'];if(_0x5d419b&&/\w/['test'](_0x344fba['text'][_0x5d419b-0x1]))return-0x1;autolinkRE['lastIndex']=_0x5d419b;let _0xf34f9f=autolinkRE['exec'](_0x344fba['text']),_0x1a2af7=-0x1;if(!_0xf34f9f)return-0x1;if(_0xf34f9f[0x1]||_0xf34f9f[0x2])(_0x1a2af7=autolinkURLEnd(_0x344fba['text'],_0x5d419b+_0xf34f9f[0x0]['length']),_0x1a2af7>-0x1&&_0x344fba['hasOpenLink'])&&(_0x1a2af7=_0x5d419b+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x344fba['text']['slice'](_0x5d419b,_0x1a2af7))[0x0]['length']);else _0xf34f9f[0x3]?_0x1a2af7=autolinkEmailEnd(_0x344fba['text'],_0x5d419b):(_0x1a2af7=autolinkEmailEnd(_0x344fba['text'],_0x5d419b+_0xf34f9f[0x0]['length']),_0x1a2af7>-0x1&&'xmpp:'==_0xf34f9f[0x0]&&(xmppResourceRE['lastIndex']=_0x1a2af7,_0xf34f9f=xmppResourceRE['exec'](_0x344fba['text']),_0xf34f9f&&(_0x1a2af7=_0xf34f9f['index']+_0xf34f9f[0x0]['length'])));return _0x1a2af7<0x0?-0x1:(_0x344fba['addElement'](_0x344fba['elt']('URL',_0x446003,_0x1a2af7+_0x344fba['offset'])),_0x1a2af7+_0x344fba['offset']);}}]},GFM=[Table,TaskList,Strikethrough,Autolink];function parseSubSuper(_0x326935,_0x12f6e2,_0xb5245e){return(_0x290095,_0x2c7918,_0x434dd6)=>{if(_0x2c7918!=_0x326935||_0x290095['char'](_0x434dd6+0x1)==_0x326935)return-0x1;let _0x2c0d40=[_0x290095['elt'](_0xb5245e,_0x434dd6,_0x434dd6+0x1)];for(let _0x1d6105=_0x434dd6+0x1;_0x1d6105<_0x290095['end'];_0x1d6105++){let _0x17ce23=_0x290095['char'](_0x1d6105);if(_0x17ce23==_0x326935)return _0x290095['addElement'](_0x290095['elt'](_0x12f6e2,_0x434dd6,_0x1d6105+0x1,_0x2c0d40['concat'](_0x290095['elt'](_0xb5245e,_0x1d6105,_0x1d6105+0x1))));if(0x5c==_0x17ce23&&_0x2c0d40['push'](_0x290095['elt']('Escape',_0x1d6105,0x2+_0x1d6105++)),space(_0x17ce23))break;}return-0x1;};}const Superscript={'defineNodes':[{'name':'Superscript','style':tags$1['special'](tags$1['content'])},{'name':'SuperscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':parseSubSuper(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':parseSubSuper(0x7e,'Subscript','SubscriptMark')}]},Emoji={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x5a7892,_0x433be5,_0x131431){let _0x118686;return 0x3a==_0x433be5&&(_0x118686=/^[a-zA-Z_0-9]+:/['exec'](_0x5a7892['slice'](_0x131431+0x1,_0x5a7892['end'])))?_0x5a7892['addElement'](_0x5a7892['elt']('Emoji',_0x131431,_0x131431+0x1+_0x118686[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),headingProp=new NodeProp(),commonmark=parser['configure']({'props':[foldNodeProp['add'](_0x41a2d5=>!_0x41a2d5['is']('Block')||_0x41a2d5['is']('Document')||null!=isHeading(_0x41a2d5)||isList(_0x41a2d5)?void 0x0:(_0x34c68a,_0x485253)=>({'from':_0x485253['doc']['lineAt'](_0x34c68a['from'])['to'],'to':_0x34c68a['to']})),headingProp['add'](isHeading),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function isHeading(_0x4e9124){let _0x10a19a=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x4e9124['name']);return _0x10a19a?+_0x10a19a[0x1]:void 0x0;}function isList(_0x29ddf2){return'OrderedList'==_0x29ddf2['name']||'BulletList'==_0x29ddf2['name'];}function findSectionEnd(_0x4623ec,_0x33c294){let _0x369f7a=_0x4623ec;for(;;){let _0x1535cf,_0x520c57=_0x369f7a['nextSibling'];if(!_0x520c57||null!=(_0x1535cf=isHeading(_0x520c57['type']))&&_0x1535cf<=_0x33c294)break;_0x369f7a=_0x520c57;}return _0x369f7a['to'];}const headerIndent=foldService['of']((_0x1de862,_0x31a68a,_0x476768)=>{for(let _0x51851d=syntaxTree(_0x1de862)['resolveInner'](_0x476768,-0x1);_0x51851d&&!(_0x51851d['from']<_0x31a68a);_0x51851d=_0x51851d['parent']){let _0x5aafa7=_0x51851d['type']['prop'](headingProp);if(null==_0x5aafa7)continue;let _0x1fd32a=findSectionEnd(_0x51851d,_0x5aafa7);if(_0x1fd32a>_0x476768)return{'from':_0x476768,'to':_0x1fd32a};}return null;});function mkLang(_0x9d3ae8){return new Language(data,_0x9d3ae8,[headerIndent],'markdown');}const commonmarkLanguage=mkLang(commonmark),extended=commonmark['configure']([GFM,Subscript,Superscript,Emoji,{'props':[foldNodeProp['add']({'Table':(_0xa06536,_0x3be5b0)=>({'from':_0x3be5b0['doc']['lineAt'](_0xa06536['from'])['to'],'to':_0xa06536['to']})})]}]),markdownLanguage=mkLang(extended);function getCodeParser(_0x4873b6,_0x56dd45){return _0x8e046a=>{if(_0x8e046a&&_0x4873b6){let _0x5a9b8e=null;if(_0x8e046a=/\S*/['exec'](_0x8e046a)[0x0],_0x5a9b8e='function'==typeof _0x4873b6?_0x4873b6(_0x8e046a):LanguageDescription['matchLanguageName'](_0x4873b6,_0x8e046a,!0x0),_0x5a9b8e instanceof LanguageDescription)return _0x5a9b8e['support']?_0x5a9b8e['support']['language']['parser']:ParseContext['getSkippingParser'](_0x5a9b8e['load']());if(_0x5a9b8e)return _0x5a9b8e['parser'];}return _0x56dd45?_0x56dd45['parser']:null;};}class Context{constructor(_0x5395c8,_0x6425bb,_0x33af28,_0x1c562d,_0x43ba01,_0x5d0307,_0x58dbc1){this['node']=_0x5395c8,this['from']=_0x6425bb,this['to']=_0x33af28,this['spaceBefore']=_0x1c562d,this['spaceAfter']=_0x43ba01,this['type']=_0x5d0307,this['item']=_0x58dbc1;}['blank'](_0x44e421,_0x3241f0=!0x0){let _0x3a12b8=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x44e421){for(;_0x3a12b8['length']<_0x44e421;)_0x3a12b8+='\x20';return _0x3a12b8;}for(let _0x195ffb=this['to']-this['from']-_0x3a12b8['length']-this['spaceAfter']['length'];_0x195ffb>0x0;_0x195ffb--)_0x3a12b8+='\x20';return _0x3a12b8+(_0x3241f0?this['spaceAfter']:'');}['marker'](_0x252a32,_0x2034d4){let _0x31b1b3='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x252a32)[0x2]+_0x2034d4):'';return this['spaceBefore']+_0x31b1b3+this['type']+this['spaceAfter'];}}function getContext(_0x46a27a,_0x663492){let _0x22c857=[],_0x33188b=[];for(let _0x4ce68c=_0x46a27a;_0x4ce68c;_0x4ce68c=_0x4ce68c['parent']){if('FencedCode'==_0x4ce68c['name'])return _0x33188b;'ListItem'!=_0x4ce68c['name']&&'Blockquote'!=_0x4ce68c['name']||_0x22c857['push'](_0x4ce68c);}for(let _0x4bdd25=_0x22c857['length']-0x1;_0x4bdd25>=0x0;_0x4bdd25--){let _0x664f2f,_0x460869=_0x22c857[_0x4bdd25],_0x116c6f=_0x663492['lineAt'](_0x460869['from']),_0x5f1a66=_0x460869['from']-_0x116c6f['from'];if('Blockquote'==_0x460869['name']&&(_0x664f2f=/^ *>( ?)/['exec'](_0x116c6f['text']['slice'](_0x5f1a66))))_0x33188b['push'](new Context(_0x460869,_0x5f1a66,_0x5f1a66+_0x664f2f[0x0]['length'],'',_0x664f2f[0x1],'>',null));else{if('ListItem'==_0x460869['name']&&'OrderedList'==_0x460869['parent']['name']&&(_0x664f2f=/^( *)\d+([.)])( *)/['exec'](_0x116c6f['text']['slice'](_0x5f1a66)))){let _0x24bae7=_0x664f2f[0x3],_0x3ac395=_0x664f2f[0x0]['length'];_0x24bae7['length']>=0x4&&(_0x24bae7=_0x24bae7['slice'](0x0,_0x24bae7['length']-0x4),_0x3ac395-=0x4),_0x33188b['push'](new Context(_0x460869['parent'],_0x5f1a66,_0x5f1a66+_0x3ac395,_0x664f2f[0x1],_0x24bae7,_0x664f2f[0x2],_0x460869));}else{if('ListItem'==_0x460869['name']&&'BulletList'==_0x460869['parent']['name']&&(_0x664f2f=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x116c6f['text']['slice'](_0x5f1a66)))){let _0x1cd6a5=_0x664f2f[0x4],_0x1b8685=_0x664f2f[0x0]['length'];_0x1cd6a5['length']>0x4&&(_0x1cd6a5=_0x1cd6a5['slice'](0x0,_0x1cd6a5['length']-0x4),_0x1b8685-=0x4);let _0x3e93c9=_0x664f2f[0x2];_0x664f2f[0x3]&&(_0x3e93c9+=_0x664f2f[0x3]['replace'](/[xX]/,'\x20')),_0x33188b['push'](new Context(_0x460869['parent'],_0x5f1a66,_0x5f1a66+_0x1b8685,_0x664f2f[0x1],_0x1cd6a5,_0x3e93c9,_0x460869));}}}}return _0x33188b;}function itemNumber(_0x2869bc,_0x46f08c){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x46f08c['sliceString'](_0x2869bc['from'],_0x2869bc['from']+0xa));}function renumberList(_0x615c79,_0x2eba8b,_0x5ae5d2,_0x4353a2=0x0){for(let _0x467020=-0x1,_0x5907c6=_0x615c79;;){if('ListItem'==_0x5907c6['name']){let _0x31dd55=itemNumber(_0x5907c6,_0x2eba8b),_0xc5e730=+_0x31dd55[0x2];if(_0x467020>=0x0){if(_0xc5e730!=_0x467020+0x1)return;_0x5ae5d2['push']({'from':_0x5907c6['from']+_0x31dd55[0x1]['length'],'to':_0x5907c6['from']+_0x31dd55[0x0]['length'],'insert':String(_0x467020+0x2+_0x4353a2)});}_0x467020=_0xc5e730;}let _0x43e428=_0x5907c6['nextSibling'];if(!_0x43e428)break;_0x5907c6=_0x43e428;}}function normalizeIndent(_0x1c6bdc,_0x254c0e){let _0x2a527d=/^[ \t]*/['exec'](_0x1c6bdc)[0x0]['length'];if(!_0x2a527d||'\x09'!=_0x254c0e['facet'](indentUnit))return _0x1c6bdc;let _0x1c18de='';for(let _0x556944=countColumn(_0x1c6bdc,0x4,_0x2a527d);_0x556944>0x0;)_0x556944>=0x4?(_0x1c18de+='\x09',_0x556944-=0x4):(_0x1c18de+='\x20',_0x556944--);return _0x1c18de+_0x1c6bdc['slice'](_0x2a527d);}const insertNewlineContinueMarkup=({state:_0x28454d,dispatch:_0x2d7b52})=>{let _0x1ba61b=syntaxTree(_0x28454d),{doc:_0x1dd735}=_0x28454d,_0x119835=null,_0x591e12=_0x28454d['changeByRange'](_0x33e36c=>{if(!_0x33e36c['empty']||!markdownLanguage['isActiveAt'](_0x28454d,_0x33e36c['from'],0x0))return _0x119835={'range':_0x33e36c};let _0x3212c6=_0x33e36c['from'],_0x51f095=_0x1dd735['lineAt'](_0x3212c6),_0x9f9e8d=getContext(_0x1ba61b['resolveInner'](_0x3212c6,-0x1),_0x1dd735);for(;_0x9f9e8d['length']&&_0x9f9e8d[_0x9f9e8d['length']-0x1]['from']>_0x3212c6-_0x51f095['from'];)_0x9f9e8d['pop']();if(!_0x9f9e8d['length'])return _0x119835={'range':_0x33e36c};let _0x2c39b1=_0x9f9e8d[_0x9f9e8d['length']-0x1];if(_0x2c39b1['to']-_0x2c39b1['spaceAfter']['length']>_0x3212c6-_0x51f095['from'])return _0x119835={'range':_0x33e36c};let _0x238fc0=_0x3212c6>=_0x2c39b1['to']-_0x2c39b1['spaceAfter']['length']&&!/\S/['test'](_0x51f095['text']['slice'](_0x2c39b1['to']));if(_0x2c39b1['item']&&_0x238fc0){let _0x30e351=_0x2c39b1['node']['firstChild'],_0x30d342=_0x2c39b1['node']['getChild']('ListItem','ListItem');if(_0x30e351['to']>=_0x3212c6||_0x30d342&&_0x30d342['to']<_0x3212c6||_0x51f095['from']>0x0&&!/[^\s>]/['test'](_0x1dd735['lineAt'](_0x51f095['from']-0x1)['text'])){let _0x1105cc,_0x23f635=_0x9f9e8d['length']>0x1?_0x9f9e8d[_0x9f9e8d['length']-0x2]:null,_0x2b0198='';_0x23f635&&_0x23f635['item']?(_0x1105cc=_0x51f095['from']+_0x23f635['from'],_0x2b0198=_0x23f635['marker'](_0x1dd735,0x1)):_0x1105cc=_0x51f095['from']+(_0x23f635?_0x23f635['to']:0x0);let _0x56ab1a=[{'from':_0x1105cc,'to':_0x3212c6,'insert':_0x2b0198}];return'OrderedList'==_0x2c39b1['node']['name']&&renumberList(_0x2c39b1['item'],_0x1dd735,_0x56ab1a,-0x2),_0x23f635&&'OrderedList'==_0x23f635['node']['name']&&renumberList(_0x23f635['item'],_0x1dd735,_0x56ab1a),{'range':EditorSelection['cursor'](_0x1105cc+_0x2b0198['length']),'changes':_0x56ab1a};}{let _0x4d6fb2=blankLine(_0x9f9e8d,_0x28454d,_0x51f095);return{'range':EditorSelection['cursor'](_0x3212c6+_0x4d6fb2['length']+0x1),'changes':{'from':_0x51f095['from'],'insert':_0x4d6fb2+_0x28454d['lineBreak']}};}}if('Blockquote'==_0x2c39b1['node']['name']&&_0x238fc0&&_0x51f095['from']){let _0x58646f=_0x1dd735['lineAt'](_0x51f095['from']-0x1),_0x2ad20a=/>\s*$/['exec'](_0x58646f['text']);if(_0x2ad20a&&_0x2ad20a['index']==_0x2c39b1['from']){let _0x4a2d5f=_0x28454d['changes']([{'from':_0x58646f['from']+_0x2ad20a['index'],'to':_0x58646f['to']},{'from':_0x51f095['from']+_0x2c39b1['from'],'to':_0x51f095['to']}]);return{'range':_0x33e36c['map'](_0x4a2d5f),'changes':_0x4a2d5f};}}let _0x3a88be=[];'OrderedList'==_0x2c39b1['node']['name']&&renumberList(_0x2c39b1['item'],_0x1dd735,_0x3a88be);let _0x32c8be=_0x2c39b1['item']&&_0x2c39b1['item']['from']<_0x51f095['from'],_0x71494='';if(!_0x32c8be||/^[\s\d.)\-+*>]*/['exec'](_0x51f095['text'])[0x0]['length']>=_0x2c39b1['to']){for(let _0x516447=0x0,_0x2c21ed=_0x9f9e8d['length']-0x1;_0x516447<=_0x2c21ed;_0x516447++)_0x71494+=_0x516447!=_0x2c21ed||_0x32c8be?_0x9f9e8d[_0x516447]['blank'](_0x516447<_0x2c21ed?countColumn(_0x51f095['text'],0x4,_0x9f9e8d[_0x516447+0x1]['from'])-_0x71494['length']:null):_0x9f9e8d[_0x516447]['marker'](_0x1dd735,0x1);}let _0x249041=_0x3212c6;for(;_0x249041>_0x51f095['from']&&/\s/['test'](_0x51f095['text']['charAt'](_0x249041-_0x51f095['from']-0x1));)_0x249041--;return _0x71494=normalizeIndent(_0x71494,_0x28454d),nonTightList(_0x2c39b1['node'],_0x28454d['doc'])&&(_0x71494=blankLine(_0x9f9e8d,_0x28454d,_0x51f095)+_0x28454d['lineBreak']+_0x71494),_0x3a88be['push']({'from':_0x249041,'to':_0x3212c6,'insert':_0x28454d['lineBreak']+_0x71494}),{'range':EditorSelection['cursor'](_0x249041+_0x71494['length']+0x1),'changes':_0x3a88be};});return!_0x119835&&(_0x2d7b52(_0x28454d['update'](_0x591e12,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function isMark(_0x284907){return'QuoteMark'==_0x284907['name']||'ListMark'==_0x284907['name'];}function nonTightList(_0x416c58,_0x42afc7){if('OrderedList'!=_0x416c58['name']&&'BulletList'!=_0x416c58['name'])return!0x1;let _0xfde77b=_0x416c58['firstChild'],_0x30d972=_0x416c58['getChild']('ListItem','ListItem');if(!_0x30d972)return!0x1;let _0x169711=_0x42afc7['lineAt'](_0xfde77b['to']),_0xb0a6b4=_0x42afc7['lineAt'](_0x30d972['from']),_0x177b07=/^[\s>]*$/['test'](_0x169711['text']);return _0x169711['number']+(_0x177b07?0x0:0x1)<_0xb0a6b4['number'];}function blankLine(_0x15ba50,_0x2c9aaa,_0x53c0d3){let _0x26c51e='';for(let _0x265429=0x0,_0x5a73b5=_0x15ba50['length']-0x2;_0x265429<=_0x5a73b5;_0x265429++)_0x26c51e+=_0x15ba50[_0x265429]['blank'](_0x265429<_0x5a73b5?countColumn(_0x53c0d3['text'],0x4,Math['min'](_0x53c0d3['text']['length'],_0x15ba50[_0x265429+0x1]['from']))-_0x26c51e['length']:null,_0x265429<_0x5a73b5);return normalizeIndent(_0x26c51e,_0x2c9aaa);}function contextNodeForDelete(_0x575b40,_0x36c59f){let _0xfc72a9=_0x575b40['resolveInner'](_0x36c59f,-0x1),_0x547678=_0x36c59f;isMark(_0xfc72a9)&&(_0x547678=_0xfc72a9['from'],_0xfc72a9=_0xfc72a9['parent']);for(let _0x400a13;_0x400a13=_0xfc72a9['childBefore'](_0x547678);)if(isMark(_0x400a13))_0x547678=_0x400a13['from'];else{if('OrderedList'!=_0x400a13['name']&&'BulletList'!=_0x400a13['name'])break;_0xfc72a9=_0x400a13['lastChild'],_0x547678=_0xfc72a9['to'];}return _0xfc72a9;}const deleteMarkupBackward=({state:_0x5ec530,dispatch:_0x28fa24})=>{let _0x3030e3=syntaxTree(_0x5ec530),_0x30c34b=null,_0xe5f167=_0x5ec530['changeByRange'](_0x478031=>{let _0xdabd6b=_0x478031['from'],{doc:_0xfb54f9}=_0x5ec530;if(_0x478031['empty']&&markdownLanguage['isActiveAt'](_0x5ec530,_0x478031['from'])){let _0x148b7d=_0xfb54f9['lineAt'](_0xdabd6b),_0x411f2a=getContext(contextNodeForDelete(_0x3030e3,_0xdabd6b),_0xfb54f9);if(_0x411f2a['length']){let _0x4395ba=_0x411f2a[_0x411f2a['length']-0x1],_0x19ea37=_0x4395ba['to']-_0x4395ba['spaceAfter']['length']+(_0x4395ba['spaceAfter']?0x1:0x0);if(_0xdabd6b-_0x148b7d['from']>_0x19ea37&&!/\S/['test'](_0x148b7d['text']['slice'](_0x19ea37,_0xdabd6b-_0x148b7d['from'])))return{'range':EditorSelection['cursor'](_0x148b7d['from']+_0x19ea37),'changes':{'from':_0x148b7d['from']+_0x19ea37,'to':_0xdabd6b}};if(_0xdabd6b-_0x148b7d['from']==_0x19ea37&&(!_0x4395ba['item']||_0x148b7d['from']<=_0x4395ba['item']['from']||!/\S/['test'](_0x148b7d['text']['slice'](0x0,_0x4395ba['to'])))){let _0x57a7e9=_0x148b7d['from']+_0x4395ba['from'];if(_0x4395ba['item']&&_0x4395ba['node']['from']<_0x4395ba['item']['from']&&/\S/['test'](_0x148b7d['text']['slice'](_0x4395ba['from'],_0x4395ba['to']))){let _0x5470cd=_0x4395ba['blank'](countColumn(_0x148b7d['text'],0x4,_0x4395ba['to'])-countColumn(_0x148b7d['text'],0x4,_0x4395ba['from']));return _0x57a7e9==_0x148b7d['from']&&(_0x5470cd=normalizeIndent(_0x5470cd,_0x5ec530)),{'range':EditorSelection['cursor'](_0x57a7e9+_0x5470cd['length']),'changes':{'from':_0x57a7e9,'to':_0x148b7d['from']+_0x4395ba['to'],'insert':_0x5470cd}};}if(_0x57a7e9<_0xdabd6b)return{'range':EditorSelection['cursor'](_0x57a7e9),'changes':{'from':_0x57a7e9,'to':_0xdabd6b}};}}}return _0x30c34b={'range':_0x478031};});return!_0x30c34b&&(_0x28fa24(_0x5ec530['update'](_0xe5f167,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},markdownKeymap=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function markdown(_0x562f7b={}){let {codeLanguages:_0x47813b,defaultCodeLanguage:_0x1270eb,addKeymap:_0x2e0fed=!0x0,base:{parser:_0x56e485}=commonmarkLanguage,completeHTMLTags:_0x1f977d=!0x0,htmlTagLanguage:_0x30ab7a=htmlNoMatch}=_0x562f7b;if(!(_0x56e485 instanceof MarkdownParser))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x3e66dc,_0x273b05=_0x562f7b['extensions']?[_0x562f7b['extensions']]:[],_0x365a1b=[_0x30ab7a['support']];_0x1270eb instanceof LanguageSupport?(_0x365a1b['push'](_0x1270eb['support']),_0x3e66dc=_0x1270eb['language']):_0x1270eb&&(_0x3e66dc=_0x1270eb);let _0x1af15a=_0x47813b||_0x3e66dc?getCodeParser(_0x47813b,_0x3e66dc):void 0x0;_0x273b05['push'](parseCode({'codeParser':_0x1af15a,'htmlParser':_0x30ab7a['language']['parser']})),_0x2e0fed&&_0x365a1b['push'](Prec['high'](keymap['of'](markdownKeymap)));let _0x1a42ea=mkLang(_0x56e485['configure'](_0x273b05));return _0x1f977d&&_0x365a1b['push'](_0x1a42ea['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0x1a42ea,_0x365a1b);}function htmlTagCompletion(_0x2e77e7){let {state:_0x5d546f,pos:_0x322816}=_0x2e77e7,_0x4e74c6=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x5d546f['sliceDoc'](_0x322816-0x19,_0x322816));if(!_0x4e74c6)return null;let _0x2d2976=syntaxTree(_0x5d546f)['resolveInner'](_0x322816,-0x1);for(;_0x2d2976&&!_0x2d2976['type']['isTop'];){if('CodeBlock'==_0x2d2976['name']||'FencedCode'==_0x2d2976['name']||'ProcessingInstructionBlock'==_0x2d2976['name']||'CommentBlock'==_0x2d2976['name']||'Link'==_0x2d2976['name']||'Image'==_0x2d2976['name'])return null;_0x2d2976=_0x2d2976['parent'];}return{'from':_0x322816-_0x4e74c6[0x0]['length'],'to':_0x322816,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x41d9ef=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x41d9ef?_0x41d9ef['options']:[];}function createCodeMirrorEditor(_0x4796dc){const _0x70cded=getDefaultExtensions(),_0x5797b6=new Compartment();_0x70cded['push'](_0x5797b6['of'](EditorView['editable']['of'](!0x0))),'html'===_0x4796dc['syntaxLanguage']?_0x70cded['push'](html()):_0x70cded['push'](markdown()),_0x4796dc['theme']&&_0x70cded['push'](_0x4796dc['theme']),_0x70cded['push'](...getKeybindings());const _0x8b79a3=new EditorView({'extensions':_0x70cded,'parent':_0x4796dc['parent']});return toggleTabFocusMode(_0x8b79a3),{'focus':()=>{_0x8b79a3['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x8b79a3['focus']();},'getData':()=>_0x8b79a3['state']['doc']['toString'](),'setData':_0x8da0b0=>{_0x8b79a3['dispatch']({'changes':{'from':0x0,'to':_0x8b79a3['state']['doc']['length'],'insert':_0x8da0b0},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3e18ea=>{_0x8b79a3['dispatch']({'effects':[_0x5797b6['reconfigure'](EditorView['editable']['of'](!_0x3e18ea))]});},'destroy':()=>{_0x8b79a3['destroy']();},'instance':_0x8b79a3};}function getKeybindings(){return[keymap['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,...foldKeymap,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':redo,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':redo,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':undo,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),crosshairCursor(),drawSelection(),dropCursor(),lineNumbers(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends View{constructor(_0x2d4058,_0x6cd65a){super(_0x2d4058),this['_codeEditorApi']=null,this['_options']=_0x6cd65a,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=createCodeMirrorEditor({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x3ba37d,_0x352953,_0x4a5bd5)=>{this['setReadOnly'](_0x4a5bd5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2be037){this['_codeEditorApi']['setData'](_0x2be037);}['setReadOnly'](_0x22744a){this['_codeEditorApi']['setReadOnly'](_0x22744a);}}class EditSourceCommand extends _0xa280c5{constructor(_0x322325){super(_0x322325),this['affectsData']=!0x1,this['editor']['plugins']['get'](PendingActions)['on']('change:hasAny',(_0x34677b,_0x5d1dd3,_0x4e6308)=>{_0x4e6308?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5871bb=this['editor'],_0x58218c=_0x5871bb['locale'],_0x32eda6=_0x5871bb['plugins']['get']('Dialog'),_0x551198=getActiveRootName(_0x5871bb),_0x2d4c43=formatSource(_0x5871bb['data']['get']({'rootName':_0x551198})),_0x4b41d7=new CodeEditorView(_0x58218c,{'syntaxLanguage':_0x5871bb['plugins']['has']('Markdown')?'markdown':'html','theme':_0x5871bb['config']['get']('sourceEditingEnhanced.theme')});let _0x43e36b=!0x0;const _0x163fd2=_0x38e455=>{if(!_0x43e36b)return;return unformatSource(_0x4b41d7['getData']())!==unformatSource(_0x2d4c43)?window['confirm'](getTranslation$3(_0x58218c,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x38e455['stop']():void 0x0;};_0x32eda6['show']({'id':'sourceEditingEnhanced','title':getTranslation$3(_0x58218c,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4b41d7,'actionButtons':[{'label':getTranslation$3(_0x58218c,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x32eda6['hide']();}},{'label':getTranslation$3(_0x58218c,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x31d25c=unformatSource(_0x4b41d7['getData']())!==unformatSource(_0x2d4c43);(_0x31d25c&&_0x5871bb['execute']('replaceSource',_0x4b41d7['getData']()),_0x43e36b=!0x1,_0x32eda6['hide'](),_0x31d25c&&'editables'in _0x5871bb['ui']['view'])&&_0x5871bb['ui']['view']['editables'][_0x551198]['element']['focus']();},'onCreate':_0x8c045a=>{_0x8c045a['set']('isEnabled',!_0x5871bb['isReadOnly']),_0x8c045a['bind']('isEnabled')['to'](_0x5871bb,'isReadOnly',this,'isEnabled',(_0xa02653,_0x5c9528)=>!_0xa02653&&_0x5c9528);}}],'onHide':()=>{_0x32eda6['off']('hide',_0x163fd2),_0x4b41d7['destroy']();},'onShow':()=>{_0x4b41d7['bind']('isReadOnly')['to'](_0x5871bb,'isReadOnly',this,'isEnabled',(_0x5e344d,_0x526d45)=>_0x5e344d||!_0x526d45),_0x4b41d7['setData'](_0x2d4c43),_0x4b41d7['focus'](),_0x32eda6['on']('hide',_0x163fd2,{'priority':'highest'});}});}}class SourceEditingEnhancedUI extends Plugin{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[PendingActions];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5408d9=this['editor'],_0x451ffa=_0x5408d9['locale'],_0x40885c=new EditSourceCommand(_0x5408d9);_0x5408d9['commands']['add']('editSource',_0x40885c),_0x5408d9['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4d723b=this['_createButton'](ButtonView,_0x40885c);return _0x4d723b['set']({'label':getTranslation$3(_0x451ffa,'Source'),'icon':_0x40ee59['source'],'tooltip':getTranslation$3(_0x451ffa,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4d723b;}),_0x5408d9['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1f6ada=this['_createButton'](MenuBarMenuListItemButtonView,_0x40885c,!0x0);return _0x1f6ada['set']({'label':getTranslation$3(_0x451ffa,'Edit\x20source\x20modal\x20label'),'icon':_0x40ee59['source'],'role':'menuitemcheckbox'}),_0x1f6ada;}),this['_registerKeybindings']();}['afterInit'](){checkLicense$3(this);}['_createButton'](_0x242172,_0x490710,_0x5978eb=!0x1){const _0x43d055=new _0x242172(this['editor']['locale']);return _0x43d055['set']({'withText':_0x5978eb,'isToggleable':!0x1}),_0x43d055['bind']('isEnabled')['to'](_0x490710,'isEnabled'),this['listenTo'](_0x43d055,'execute',()=>_0x490710['execute']()),_0x43d055;}['_registerKeybindings'](){const _0x188ae5=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$3(_0x188ae5,'Source\x20Editing\x20Enhanced')});const _0x4f1889=env['isMac']||env['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$3(_0x188ae5,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$3(_0x188ae5,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$3(_0x188ae5,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$3(_0x188ae5,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$3(_0x188ae5,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$3(_0x188ae5,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$3(_0x188ae5,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4f1889?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$3(_0x188ae5,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$3(_0x188ae5,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$3(_0x188ae5,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$3(_0x188ae5,'Select\x20line'),'keystroke':_0x4f1889?'Ctrl!+L':'Alt+L'},{'label':getTranslation$3(_0x188ae5,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4f1889?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$3(_0x188ae5,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$3(_0x188ae5,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$3(_0x188ae5,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$3(_0x188ae5,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$3(_0x188ae5,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4f1889?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function checkLicense$3(_0x19fc3b){const _0x257d9f=_0x630fc9([0x4e,0x44,0x57,0x53,0x37,0x39,0x59,0x7a,0x66,0x79,0x38,0x32,0x73,0x36,0x54,0x45,0x78,0x30,0x48,0x51,0x61,0x4a,0x75,0x70,0x62,0x76,0x67,0x64,0x58,0x35,0x6d,0x55,0x71,0x77,0x68,0x47,0x33,0x63,0x6c,0x52,0x34,0x6b,0x4c,0x4f,0x72,0x50,0x43,0x31,0x56,0x65,0x41,0x5a,0x6a,0x69,0x4d,0x42,0x6e,0x46,0x4b,0x6f,0x74,0x49]),_0x585959=window[_0x630fc9([0x44,0x61,0x74,0x65])][_0x630fc9([0x6e,0x6f,0x77])](),_0x1ceb6c=_0x19fc3b[_0x630fc9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22df4f=new window[(_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e437d=>{_0x1ceb6c[_0x630fc9([0x6f,0x6e,0x63,0x65])](_0x630fc9([0x72,0x65,0x61,0x64,0x79]),_0x4e437d);}),_0x1a718f={[_0x630fc9([0x6b,0x74,0x79])]:_0x630fc9([0x45,0x43]),[_0x630fc9([0x75,0x73,0x65])]:_0x630fc9([0x73,0x69,0x67]),[_0x630fc9([0x63,0x72,0x76])]:_0x630fc9([0x50,0x2d,0x32,0x35,0x36]),[_0x630fc9([0x78])]:_0x630fc9([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]),[_0x630fc9([0x79])]:_0x630fc9([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]),[_0x630fc9([0x61,0x6c,0x67])]:_0x630fc9([0x45,0x53,0x32,0x35,0x36])},_0x554cb2=_0x1ceb6c[_0x630fc9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x630fc9([0x67,0x65,0x74])](_0x630fc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4b341c=await(async function(){let _0x31d587,_0x1778b5=null,_0x286207=null;try{if(_0x554cb2==_0x630fc9([0x47,0x50,0x4c]))return _0x630fc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31d587=(function(){const _0x221d1e=_0x554cb2[_0x630fc9([0x73,0x70,0x6c,0x69,0x74])](_0x630fc9([0x2e]));if(0x3!=_0x221d1e[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x20c4af=_0x221d1e[0x1];return _0x4f3095(_0x20c4af);function _0x4f3095(_0x2c69f4){const _0x1e3daf=_0x40413a(_0x2c69f4);return _0x1e3daf&&_0x5108c9()?_0x1e3daf:null;function _0x5108c9(){const _0x4f2bfb=_0x1e3daf[_0x630fc9([0x6a,0x74,0x69])],_0x4fef39=window[_0x630fc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f2bfb[_0x630fc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2bfb[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31cdd0={..._0x1e3daf,[_0x630fc9([0x6a,0x74,0x69])]:_0x4f2bfb[_0x630fc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f2bfb[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31cdd0[_0x630fc9([0x76,0x63])],_0x2be46e(_0x31cdd0)==_0x4fef39;}}}()),!_0x31d587)return _0x630fc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x31d587[_0x630fc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x286207=function(_0x546a5c,_0x2fcf85){return new window[(_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36f5ee=>{if(_0x2502f6())return _0x36f5ee(_0x630fc9([0x56,0x61,0x6c,0x69,0x64]));_0x4a8ddc(),_0x1ceb6c[_0x630fc9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x630fc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x513f16=!0x1;const _0x17b3f0=uid();function _0x589060(_0x561a08){return!!_0x561a08&&(typeof _0x561a08===_0x630fc9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x561a08===_0x630fc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x561a08[_0x630fc9([0x74,0x68,0x65,0x6e])]===_0x630fc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x561a08[_0x630fc9([0x63,0x61,0x74,0x63,0x68])]===_0x630fc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x431cf2(_0x2f7ad1){_0x3d909b(_0x2f7ad1)[_0x630fc9([0x74,0x68,0x65,0x6e])](_0x306591=>{if(!_0x306591||_0x306591[_0x630fc9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x630fc9([0x6f,0x6b]))return _0x630fc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33c0c1(_0x2be46e(_0x17b3f0+_0x2fcf85))!=_0x306591[_0x630fc9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x630fc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x630fc9([0x56,0x61,0x6c,0x69,0x64]);})[_0x630fc9([0x74,0x68,0x65,0x6e])](_0x1a7a2e=>(_0x84c027(),_0x1a7a2e),()=>{const _0x266344=_0x479eee();return null==_0x266344?(_0x84c027(),_0x630fc9([0x56,0x61,0x6c,0x69,0x64])):_0x630fc9(_0x585959-_0x266344>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x630fc9([0x74,0x68,0x65,0x6e])](_0x36f5ee)[_0x630fc9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36f5ee(_0x630fc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a7e6b=0x36ee80;function _0x84c027(){const _0x10d59a=_0x630fc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x33c0c1(_0x2be46e(_0x546a5c)),_0x3b6c46=_0x57935c(_0x33c0c1(window[_0x630fc9([0x4d,0x61,0x74,0x68])][_0x630fc9([0x63,0x65,0x69,0x6c])](_0x585959/_0x1a7e6b)));window[_0x630fc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x630fc9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10d59a,_0x3b6c46);}function _0x479eee(){const _0x128d2d=_0x630fc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x33c0c1(_0x2be46e(_0x546a5c)),_0x112d48=window[_0x630fc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x630fc9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128d2d);return _0x112d48?window[_0x630fc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57935c(_0x112d48),0x10)*_0x1a7e6b:null;}function _0x3d909b(_0x4f74f0){return new window[(_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x139eff,_0x288f1e)=>{_0x4f74f0[_0x630fc9([0x74,0x68,0x65,0x6e])](_0x139eff,_0x288f1e),window[_0x630fc9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x288f1e,0x1d4c0);});}}_0x1ceb6c[_0x630fc9([0x6f,0x6e])](_0x630fc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aa2ef,_0x3993f2)=>{if(_0x3993f2[0x0]!=_0x546a5c)return _0x36f5ee(_0x630fc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3993f2[0x1]={..._0x3993f2[0x1],[_0x630fc9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17b3f0};},{[_0x630fc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x630fc9([0x68,0x69,0x67,0x68])}),_0x1ceb6c[_0x630fc9([0x6f,0x6e])](_0x630fc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d1c09=>{_0x589060(_0x5d1c09[_0x630fc9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x513f16=!0x0,_0x431cf2(_0x5d1c09[_0x630fc9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x630fc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x630fc9([0x6c,0x6f,0x77])}),_0x22df4f[_0x630fc9([0x74,0x68,0x65,0x6e])](()=>{_0x513f16||_0x36f5ee(_0x630fc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2502f6(){return _0x1ceb6c[_0x630fc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x630fc9([0x76,0x69,0x65,0x77])][_0x630fc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x630fc9([0x61,0x75,0x74,0x6f]);}function _0x4a8ddc(){_0x1ceb6c[_0x630fc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x630fc9([0x76,0x69,0x65,0x77])][_0x630fc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x630fc9([0x61,0x75,0x74,0x6f]);}}(_0x31d587[_0x630fc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31d587[_0x630fc9([0x6a,0x74,0x69])]));const _0x1b0946=await(async function(){let _0xde8fe0=!0x0;try{const _0x46ab45=_0x554cb2[_0x630fc9([0x73,0x70,0x6c,0x69,0x74])](_0x630fc9([0x2e])),[_0x4824b0,_0xd35950,_0x33b7f1]=_0x46ab45;return _0x1920c2(_0x4824b0),await _0x5b34b2(_0x4824b0,_0xd35950,_0x33b7f1),_0xde8fe0;}catch(_0x2ef854){return!0x1;}function _0x1920c2(_0x4825f8){const _0x159bf4=_0x40413a(_0x4825f8);_0x159bf4&&_0x159bf4[_0x630fc9([0x61,0x6c,0x67])]==_0x630fc9([0x45,0x53,0x32,0x35,0x36])||(_0xde8fe0=!0x1);}async function _0x5b34b2(_0x2ad87e,_0x42d8fb,_0x3d03a7){const _0x135688=window[_0x630fc9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x630fc9([0x66,0x72,0x6f,0x6d])](_0x426f2b(_0x3d03a7),_0x3aedb4=>_0x3aedb4[_0x630fc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f3cfa=new window[(_0x630fc9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x630fc9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ad87e+_0x630fc9([0x2e])+_0x42d8fb),_0x34604a=window[_0x630fc9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x630fc9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34604a)return;const _0x4591af=await _0x34604a[_0x630fc9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x630fc9([0x6a,0x77,0x6b]),_0x1a718f,{[_0x630fc9([0x6e,0x61,0x6d,0x65])]:_0x630fc9([0x45,0x43,0x44,0x53,0x41]),[_0x630fc9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x630fc9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x630fc9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34604a[_0x630fc9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x630fc9([0x6e,0x61,0x6d,0x65])]:_0x630fc9([0x45,0x43,0x44,0x53,0x41]),[_0x630fc9([0x68,0x61,0x73,0x68])]:{[_0x630fc9([0x6e,0x61,0x6d,0x65])]:_0x630fc9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4591af,_0x135688,_0x1f3cfa)||(_0xde8fe0=!0x1);}}());return _0x1b0946?(function(){const _0x57a96c=_0x31d587[_0x630fc9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x57a96c)return!0x1;if(_0x57a96c[_0x630fc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x630fc9([0x2a])))return!0x0;if(_0x57a96c[_0x630fc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x630fc9([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x497254=[_0x630fc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x630fc9([0x74,0x72,0x69,0x61,0x6c])][_0x630fc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d587[_0x630fc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x585959/0x3e8:0x67b67080;return _0x31d587[_0x630fc9([0x65,0x78,0x70])]<_0x497254;}())?_0x630fc9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5115cc=_0x31d587[_0x630fc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5115cc||0x0==_0x5115cc[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53fdc2}=new URL(window[_0x630fc9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5115cc[_0x630fc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53fdc2))return!0x0;const _0x1a9daa=_0x53fdc2[_0x630fc9([0x73,0x70,0x6c,0x69,0x74])](_0x630fc9([0x2e]));return _0x5115cc[_0x630fc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32cf61=>_0x32cf61[_0x630fc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x630fc9([0x2a])))[_0x630fc9([0x6d,0x61,0x70])](_0x500cc6=>_0x500cc6[_0x630fc9([0x73,0x70,0x6c,0x69,0x74])](_0x630fc9([0x2e])))[_0x630fc9([0x73,0x6f,0x6d,0x65])](_0x3547be=>_0x1a9daa[_0x630fc9([0x65,0x76,0x65,0x72,0x79])]((_0x1b23b2,_0x3635b6)=>_0x3547be[_0x3635b6]===_0x1b23b2||_0x3547be[_0x3635b6]===_0x630fc9([0x2a])));}())?(_0x31d587[_0x630fc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x630fc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1778b5=_0x2d75c2(_0x630fc9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31d587[_0x630fc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x630fc9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1778b5=_0x2d75c2(_0x630fc9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1778b5&&_0x286207)return new window[(_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x496bdc,_0x9eb6d3)=>{_0x1778b5[_0x630fc9([0x74,0x68,0x65,0x6e])](_0x496bdc,_0x9eb6d3),_0x286207[_0x630fc9([0x74,0x68,0x65,0x6e])](_0x5dff5e=>{_0x5dff5e!=_0x630fc9([0x56,0x61,0x6c,0x69,0x64])&&_0x496bdc(_0x5dff5e);},_0x9eb6d3);});return _0x1778b5||_0x286207||_0x630fc9([0x56,0x61,0x6c,0x69,0x64]);}())):_0x630fc9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x630fc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x630fc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x137709){return _0x630fc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2d75c2(_0xe1bfe3){const _0x3aad08=new window[(_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x150a81=>setTimeout(_0x150a81,0x93ecc)),_0x304ec9=_0x22df4f[_0x630fc9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a8536=>{let _0x1ef30d=0x0;_0x1ceb6c[_0x630fc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x630fc9([0x6f,0x6e])](_0x630fc9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56ca78,_0x503581)=>{_0x503581[0x0][_0x630fc9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ef30d++,0x1f8==_0x1ef30d&&(_0x2a8536(),_0x56ca78[_0x630fc9([0x6f,0x66,0x66])]());});})),_0x123e53=[_0x3aad08,_0x304ec9];return window[_0x630fc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x630fc9([0x72,0x61,0x63,0x65])](_0x123e53)[_0x630fc9([0x74,0x68,0x65,0x6e])](()=>_0xe1bfe3);}function _0x40413a(_0x44d7d2){return _0x44d7d2[_0x630fc9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x630fc9([0x65,0x79]))?JSON[_0x630fc9([0x70,0x61,0x72,0x73,0x65])](_0x426f2b(_0x44d7d2)):null;}function _0x426f2b(_0x46940a){return window[_0x630fc9([0x61,0x74,0x6f,0x62])](_0x46940a[_0x630fc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x630fc9([0x2b]))[_0x630fc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x630fc9([0x2f])));}function _0x2be46e(_0x259a82){let _0x64cb4b=0x1505;function _0x52fe67(_0x4344a1){for(let _0x36e1da=0x0;_0x36e1da<_0x4344a1[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36e1da++){const _0x1579b2=_0x4344a1[_0x630fc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36e1da);_0x64cb4b=(_0x64cb4b<<0x5)+_0x64cb4b+_0x1579b2,_0x64cb4b&=_0x64cb4b;}}return function _0xddaad(_0x171723){Array[_0x630fc9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x171723)?_0x171723[_0x630fc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xddaad):_0x171723&&typeof _0x171723==_0x630fc9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x630fc9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x171723)[_0x630fc9([0x73,0x6f,0x72,0x74])]()[_0x630fc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ea759,_0x4c3334])=>{_0x52fe67(_0x1ea759),_0xddaad(_0x4c3334);}):_0x52fe67(window[_0x630fc9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x171723));}(_0x259a82),_0x64cb4b>>>0x0;}function _0x33c0c1(_0x29cc8f){return _0x29cc8f[_0x630fc9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x630fc9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x630fc9([0x30]));}function _0x57935c(_0x650db5){return _0x650db5[_0x630fc9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x630fc9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x630fc9([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f5667(){}function _0x630fc9(_0x557227){return _0x557227['map'](_0x53f5e9=>String['fromCharCode'](_0x53f5e9))['join']('');}!function(_0x20cb80){const _0x3d6c6f=(function(){const _0x5aaa02=window[_0x630fc9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x630fc9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x630fc9([0x6e,0x6f,0x77])]())[_0x630fc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x630fc9([0x2e]),'');let _0x53d8d5=_0x630fc9([0x4e]);for(let _0x4b2b12=0x0;_0x4b2b12<_0x5aaa02[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b2b12+=0x2){let _0xf0f36c=window[_0x630fc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5aaa02[_0x630fc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b2b12,_0x4b2b12+0x2));_0xf0f36c>=_0x257d9f[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf0f36c-=_0x257d9f[_0x630fc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53d8d5+=_0x257d9f[_0xf0f36c];}return _0x53d8d5;}());_0x1ceb6c[_0x3d6c6f]=_0x630fc9([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20cb80,_0x20cb80!=_0x630fc9([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x22df4f,_0x1ceb6c[_0x630fc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x630fc9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f5667,_0x1ceb6c[_0x630fc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x630fc9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f5667,_0x1ceb6c[_0x630fc9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x630fc9([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4b341c);}class ReplaceSourceCommand extends _0xa280c5{constructor(_0x5b011b){super(_0x5b011b),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2eea80,_0x526fbe){var _0x3e549a;const _0x2a68c5=this['editor'],_0x260d39=null!==(_0x3e549a=null==_0x526fbe?void 0x0:_0x526fbe['rootName'])&&void 0x0!==_0x3e549a?_0x3e549a:getActiveRootName(_0x2a68c5);_0x2a68c5['data']['set']({[_0x260d39]:_0x2eea80},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends Plugin{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x3aea8b){super(_0x3aea8b),_0x3aea8b['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new ReplaceSourceCommand(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a0161=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d5daf;for(const _0xa7a0a8 in _0x1a0161){const _0x54dd66=_0xa7a0a8,_0x254297=_0x1a0161[_0x54dd66];if('sourceEditingEnhancedLicenseKeyValid'==_0x254297||'sourceEditingEnhancedLicenseKeyInvalid'==_0x254297||'sourceEditingEnhancedLicenseKeyExpired'==_0x254297||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x254297||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x254297||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x254297||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x254297||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x254297){delete _0x1a0161[_0x54dd66],_0x1d5daf=_0x254297,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1d5daf&&_0x1a0161['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1d5daf&&_0x1a0161['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1d5daf&&_0x1a0161['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1d5daf&&_0x1a0161['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1d5daf&&_0x1a0161['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1d5daf&&_0x1a0161['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1d5daf&&_0x1a0161['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1515dd=this['editor'],_0x25d9d8=_0x1515dd['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x25d9d8&&_0x1515dd['plugins']['has']('RealTimeCollaborativeEditing'))throw new CKEditorError('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x25d9d8&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x323bcd=>_0x1515dd['plugins']['has'](_0x323bcd))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x1515dd['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}class TemplateCommand extends _0xa280c5{['execute'](_0xdf5bb5){const {model:_0x4ca23f}=this['editor'];let _0x414ae9;switch(typeof _0xdf5bb5){case'string':_0x414ae9=_0xdf5bb5;break;case'function':_0x414ae9=_0xdf5bb5();}'string'==typeof _0x414ae9&&_0x4ca23f['change'](()=>{const _0x2727e9=this['editor']['data']['htmlProcessor']['toView'](_0x414ae9),_0x4ad18c=this['editor']['data']['toModel'](_0x2727e9);_0x4ca23f['insertContent'](_0x4ad18c);});}}class TemplateEditing extends Plugin{static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5023d0}=this;_0x5023d0['commands']['add']('insertTemplate',new TemplateCommand(_0x5023d0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe5d0aa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52b19e;for(const _0x16bb36 in _0xe5d0aa){const _0x5c1c0b=_0x16bb36,_0x11a4df=_0xe5d0aa[_0x5c1c0b];if('templateLicenseKeyValid'==_0x11a4df||'templateLicenseKeyInvalid'==_0x11a4df||'templateLicenseKeyExpired'==_0x11a4df||'templateLicenseKeyDomainLimit'==_0x11a4df||'templateLicenseKeyNotAllowed'==_0x11a4df||'templateLicenseKeyEvaluationLimit'==_0x11a4df||'templateLicenseKeyTrialLimit'==_0x11a4df||'templateLicenseKeyUsageLimit'==_0x11a4df){delete _0xe5d0aa[_0x5c1c0b],_0x52b19e=_0x11a4df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x52b19e&&_0xe5d0aa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ListView{['filter'](_0x524618){if(!_0x524618)return this['_resetFiltering']();const _0x25780c=new Map(),_0x53221b=this['items']['map'](_0x34db68=>{const _0x170a01=_0x34db68['buttonView']['isMatching'](_0x524618);return _0x34db68['isVisible']=!!_0x170a01,_0x34db68['buttonView']['highlightText'](_0x170a01?_0x524618:null),_0x170a01&&_0x25780c['set'](_0x34db68,_0x170a01),_0x34db68;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x25780c));return this['items']['clear'](),this['items']['addMany'](_0x53221b),{'resultsCount':_0x25780c['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x406916=this['items']['map'](_0x12d34a=>_0x12d34a)['sort'](unsortListItemsCallback);return _0x406916['forEach'](_0x127b7e=>{_0x127b7e['isVisible']=!0x0,_0x127b7e['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x406916),{'resultsCount':_0x406916['length'],'totalItemsCount':_0x406916['length']};}}function getSortListItemsCallback(_0x2025a1){return function(_0x31f7b0,_0x58ef41){const _0x3dd0b5=_0x2025a1['get'](_0x31f7b0),_0x5d6887=_0x2025a1['get'](_0x58ef41);return _0x3dd0b5&&!_0x5d6887?-0x1:_0x5d6887&&!_0x3dd0b5?0x1:_0x3dd0b5||_0x5d6887?_0x3dd0b5['title']&&!_0x5d6887['title']?-0x1:!_0x3dd0b5['title']&&_0x5d6887['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x43d0e9,_0x2a21bd){return _0x43d0e9['originalIndex']-_0x2a21bd['originalIndex'];}class TemplateListItemView extends ListItemView{constructor(_0x3515c4,_0x4bc997){super(_0x3515c4),this['originalIndex']=_0x4bc997,this['buttonView']=null;}}var templateDefaultIcon='<svg\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20viewBox=\x220\x200\x2045\x2045\x22>\x0a\x20\x20<path\x20fill=\x22#F0F0F0\x22\x20d=\x22M2\x200h41s2\x200\x202\x202v41s0\x202\x20-2\x202h-41s-2\x200\x20-2\x20-2v-41s0\x20-2\x202\x20-2\x22\x20/>\x0a\x20\x20<path\x20fill=\x22#D5D5D5\x22\x20d=\x22M11\x2010h10s1\x200\x201\x201v24s0\x201\x20-1\x201h-10s-1\x200\x20-1\x20-1v-24s0\x20-1\x201\x20-1\x22\x20/>\x0a\x20\x20<path\x20fill=\x22#D5D5D5\x22\x20d=\x22M25\x2010h10s1\x200\x201\x201v10s0\x201\x20-1\x201h-10s-1\x200\x20-1\x20-1v-10s0\x20-1\x201\x20-1\x22\x20/>\x0a\x20\x20<path\x20fill=\x22#D5D5D5\x22\x20d=\x22M25\x2024h10s1\x200\x201\x201v10s0\x201\x20-1\x201h-10s-1\x200\x20-1\x20-1v-10s0\x20-1\x201\x20-1\x22\x20/>\x0a</svg>\x0a';class TemplateListButtonView extends ButtonView{constructor(_0x649655,_0x44d4a8){super(_0x649655),this['templateDefinition']=_0x44d4a8,this['textPartView']=null;const {icon:_0x25c842=templateDefaultIcon}=_0x44d4a8;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x25c842}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x13950b){const {title:_0x51f885,description:_0x59ac9f}=this['templateDefinition'],_0xfb6fc4=!!_0x51f885['match'](_0x13950b),_0x434d86=!(!_0x59ac9f||!_0x59ac9f['match'](_0x13950b));return _0xfb6fc4||_0x434d86?{'title':_0xfb6fc4,'description':_0x434d86}:null;}['highlightText'](_0x2258db){this['textPartView']['highlightText'](_0x2258db);}}class TextPartView extends View{constructor(_0x5c82af,_0x27cf14,_0x46dc4c){super(_0x5c82af),this['title']=_0x27cf14['title'],this['description']=_0x27cf14['description'],this['titleView']=new HighlightedTextView(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x46dc4c}});const _0x192fd0=[this['titleView']];this['description']&&(this['descriptionView']=new HighlightedTextView(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x192fd0['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x192fd0});}['highlightText'](_0x48c995){this['titleView']['highlightText'](_0x48c995),this['description']&&this['descriptionView']['highlightText'](_0x48c995);}}function getTranslation$2(_0xa672bd,_0xcfea9,..._0xd7c71a){const t=_0xa672bd['t'];switch(_0xcfea9){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xd7c71a);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0xd7c71a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xcfea9;}}class TemplateUI extends Plugin{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10a4cf}=this,_0x2de83b=_0x10a4cf['config']['get']('template.definitions')||[];_0x10a4cf['ui']['componentFactory']['add']('insertTemplate',_0x2a1ed6=>{const _0x2f9b64=createDropdown(_0x2a1ed6),_0x1bcd03=this['_createTemplateListView'](_0x2a1ed6,_0x2de83b),_0x299631=new SearchTextView(_0x2a1ed6,{'filteredView':_0x1bcd03,'queryView':{'label':getTranslation$2(_0x2a1ed6,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xbabb5d=>getTranslation$2(_0x2a1ed6,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xbabb5d),'secondary':getTranslation$2(_0x2a1ed6,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$2(_0x2a1ed6,'No\x20templates\x20available.')}}}}),_0x367621=_0x10a4cf['commands']['get']('insertTemplate');return _0x299631['on']('search',(_0x53908b,_0x399cbe)=>{_0x399cbe['query']&&_0x399cbe['query']['length']&&_0x10a4cf['ui']['ariaLiveAnnouncer']['announce'](getTranslation$2(_0x2a1ed6,'%0\x20templates\x20found',_0x399cbe['resultsCount']));}),_0x2f9b64['bind']('isEnabled')['to'](_0x367621),_0x2f9b64['panelView']['children']['add'](_0x299631),_0x2f9b64['buttonView']['set']({'label':getTranslation$2(_0x2a1ed6,'Insert\x20template'),'icon':icons['template'],'tooltip':!0x0}),_0x2f9b64['on']('change:isOpen',(_0x12fbf3,_0x189bbf,_0xfb1410)=>{_0xfb1410||_0x299631['reset']();}),_0x2f9b64;}),_0x10a4cf['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x42602b=>{const _0x46ad6c=_0x10a4cf['commands']['get']('insertTemplate'),_0x45535c=new MenuBarMenuView(_0x42602b);_0x45535c['buttonView']['set']({'label':getTranslation$2(_0x42602b,'Template'),'icon':icons['template']});const _0x504199=new MenuBarMenuListView(_0x42602b);if(!_0x2de83b||!_0x2de83b['length']){const _0x4b0058=new MenuBarMenuListItemView(_0x42602b,_0x45535c),_0x12b980=new MenuBarMenuListItemButtonView(_0x42602b);_0x12b980['set']({'label':getTranslation$2(_0x42602b,'No\x20templates\x20available.')}),_0x12b980['delegate']('execute')['to'](_0x45535c),_0x12b980['on']('execute',()=>{_0x10a4cf['editing']['view']['focus']();}),_0x4b0058['children']['add'](_0x12b980),_0x504199['items']['add'](_0x4b0058);}for(const _0xb0b7bf of _0x2de83b){const _0x25177a=new MenuBarMenuListItemView(_0x42602b,_0x45535c),_0xc5ff0f=new MenuBarMenuListItemButtonView(_0x42602b);_0xc5ff0f['set']({'class':'ck-template-button','label':_0xb0b7bf['title'],'icon':_0xb0b7bf['icon']||templateDefaultIcon}),_0xc5ff0f['delegate']('execute')['to'](_0x45535c),_0xc5ff0f['on']('execute',()=>{_0x10a4cf['execute']('insertTemplate',_0xb0b7bf['data']),_0x10a4cf['editing']['view']['focus']();}),_0x25177a['children']['add'](_0xc5ff0f),_0x504199['items']['add'](_0x25177a);}return _0x45535c['panelView']['children']['add'](_0x504199),_0x45535c['bind']('isEnabled')['to'](_0x46ad6c,'isEnabled'),_0x45535c;});}['afterInit'](){checkLicense$2(this);}['_createTemplateListView'](_0x365a0e,_0x4d476c){const {editor:_0x25abd4}=this,_0x539d08=new TemplateListView(_0x365a0e);return _0x539d08['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x539d08['items']['addMany'](_0x4d476c['map']((_0x3aba9e,_0x77e383)=>{const _0x545723=new TemplateListItemView(_0x365a0e,_0x77e383),_0x406e71=new TemplateListButtonView(_0x365a0e,_0x3aba9e);return _0x545723['buttonView']=_0x406e71,_0x545723['children']['add'](_0x406e71),_0x545723['buttonView']['on']('execute',_0xbc4507=>{_0x25abd4['execute']('insertTemplate',_0xbc4507['source']['templateDefinition']['data']),_0x25abd4['editing']['view']['focus']();}),_0x545723;})),_0x539d08;}}async function checkLicense$2(_0x3e212e){const _0x1871d6=_0x153482([0x67,0x78,0x54,0x33,0x65,0x47,0x53,0x66,0x6a,0x76,0x75,0x31,0x55,0x32,0x39,0x41,0x69,0x6d,0x71,0x72,0x51,0x4b,0x4e,0x49,0x62,0x63,0x45,0x6b,0x79,0x4a,0x42,0x46,0x30,0x61,0x34,0x44,0x6e,0x59,0x58,0x70,0x50,0x43,0x6c,0x7a,0x35,0x5a,0x36,0x68,0x57,0x48,0x74,0x73,0x77,0x4c,0x38,0x4d,0x52,0x37,0x4f,0x56,0x64,0x6f]),_0x45c464=window[_0x153482([0x44,0x61,0x74,0x65])][_0x153482([0x6e,0x6f,0x77])](),_0x42fa7c=_0x3e212e[_0x153482([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x417ad8=new window[(_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x210886=>{_0x42fa7c[_0x153482([0x6f,0x6e,0x63,0x65])](_0x153482([0x72,0x65,0x61,0x64,0x79]),_0x210886);}),_0x55ed17={[_0x153482([0x6b,0x74,0x79])]:_0x153482([0x45,0x43]),[_0x153482([0x75,0x73,0x65])]:_0x153482([0x73,0x69,0x67]),[_0x153482([0x63,0x72,0x76])]:_0x153482([0x50,0x2d,0x32,0x35,0x36]),[_0x153482([0x78])]:_0x153482([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]),[_0x153482([0x79])]:_0x153482([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]),[_0x153482([0x61,0x6c,0x67])]:_0x153482([0x45,0x53,0x32,0x35,0x36])},_0x2c3bcf=_0x42fa7c[_0x153482([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x153482([0x67,0x65,0x74])](_0x153482([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1bc191=await(async function(){let _0xbd77a1,_0x5ba048=null,_0x1b2b6c=null;try{if(_0x2c3bcf==_0x153482([0x47,0x50,0x4c]))return _0x153482([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbd77a1=(function(){const _0x5ea210=_0x2c3bcf[_0x153482([0x73,0x70,0x6c,0x69,0x74])](_0x153482([0x2e]));if(0x3!=_0x5ea210[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x474ba0=_0x5ea210[0x1];return _0x451feb(_0x474ba0);function _0x451feb(_0x48d415){const _0x431965=_0xb72d64(_0x48d415);return _0x431965&&_0x5729e9()?_0x431965:null;function _0x5729e9(){const _0xaa2f=_0x431965[_0x153482([0x6a,0x74,0x69])],_0x34794d=window[_0x153482([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaa2f[_0x153482([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaa2f[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c752b={..._0x431965,[_0x153482([0x6a,0x74,0x69])]:_0xaa2f[_0x153482([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaa2f[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c752b[_0x153482([0x76,0x63])],_0x33038d(_0x2c752b)==_0x34794d;}}}()),!_0xbd77a1)return _0x153482([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xbd77a1[_0x153482([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b2b6c=function(_0x431341,_0x3e70cd){return new window[(_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb22634=>{if(_0x48f569())return _0xb22634(_0x153482([0x56,0x61,0x6c,0x69,0x64]));_0x20b438(),_0x42fa7c[_0x153482([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x153482([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xcd6b2=!0x1;const _0x5e2afb=uid();function _0xfa8b37(_0x55ad9e){return!!_0x55ad9e&&(typeof _0x55ad9e===_0x153482([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x55ad9e===_0x153482([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x55ad9e[_0x153482([0x74,0x68,0x65,0x6e])]===_0x153482([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x55ad9e[_0x153482([0x63,0x61,0x74,0x63,0x68])]===_0x153482([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b6cbc(_0x5f1b4d){_0x4f2d8c(_0x5f1b4d)[_0x153482([0x74,0x68,0x65,0x6e])](_0x5cc55a=>{if(!_0x5cc55a||_0x5cc55a[_0x153482([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x153482([0x6f,0x6b]))return _0x153482([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x28ea5c(_0x33038d(_0x5e2afb+_0x3e70cd))!=_0x5cc55a[_0x153482([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x153482([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x153482([0x56,0x61,0x6c,0x69,0x64]);})[_0x153482([0x74,0x68,0x65,0x6e])](_0x520782=>(_0x4c7bfd(),_0x520782),()=>{const _0x20262c=_0x552b22();return null==_0x20262c?(_0x4c7bfd(),_0x153482([0x56,0x61,0x6c,0x69,0x64])):_0x153482(_0x45c464-_0x20262c>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x153482([0x74,0x68,0x65,0x6e])](_0xb22634)[_0x153482([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb22634(_0x153482([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x251831=0x36ee80;function _0x4c7bfd(){const _0x474fb7=_0x153482([0x6c,0x6c,0x63,0x74,0x2d])+_0x28ea5c(_0x33038d(_0x431341)),_0x136f12=_0x5226cb(_0x28ea5c(window[_0x153482([0x4d,0x61,0x74,0x68])][_0x153482([0x63,0x65,0x69,0x6c])](_0x45c464/_0x251831)));window[_0x153482([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x153482([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x474fb7,_0x136f12);}function _0x552b22(){const _0x5dfa3a=_0x153482([0x6c,0x6c,0x63,0x74,0x2d])+_0x28ea5c(_0x33038d(_0x431341)),_0x35db48=window[_0x153482([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x153482([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dfa3a);return _0x35db48?window[_0x153482([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5226cb(_0x35db48),0x10)*_0x251831:null;}function _0x4f2d8c(_0x2b32b4){return new window[(_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47c8ca,_0x940d63)=>{_0x2b32b4[_0x153482([0x74,0x68,0x65,0x6e])](_0x47c8ca,_0x940d63),window[_0x153482([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x940d63,0x1d4c0);});}}_0x42fa7c[_0x153482([0x6f,0x6e])](_0x153482([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23c921,_0x4f4f6d)=>{if(_0x4f4f6d[0x0]!=_0x431341)return _0xb22634(_0x153482([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f4f6d[0x1]={..._0x4f4f6d[0x1],[_0x153482([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e2afb};},{[_0x153482([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x153482([0x68,0x69,0x67,0x68])}),_0x42fa7c[_0x153482([0x6f,0x6e])](_0x153482([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9d757f=>{_0xfa8b37(_0x9d757f[_0x153482([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xcd6b2=!0x0,_0x3b6cbc(_0x9d757f[_0x153482([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x153482([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x153482([0x6c,0x6f,0x77])}),_0x417ad8[_0x153482([0x74,0x68,0x65,0x6e])](()=>{_0xcd6b2||_0xb22634(_0x153482([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48f569(){return _0x42fa7c[_0x153482([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x153482([0x76,0x69,0x65,0x77])][_0x153482([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x153482([0x61,0x75,0x74,0x6f]);}function _0x20b438(){_0x42fa7c[_0x153482([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x153482([0x76,0x69,0x65,0x77])][_0x153482([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x153482([0x61,0x75,0x74,0x6f]);}}(_0xbd77a1[_0x153482([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbd77a1[_0x153482([0x6a,0x74,0x69])]));const _0x215b8c=await(async function(){let _0x18fb37=!0x0;try{const _0x194c7e=_0x2c3bcf[_0x153482([0x73,0x70,0x6c,0x69,0x74])](_0x153482([0x2e])),[_0x192f69,_0x6f743f,_0x4ed205]=_0x194c7e;return _0x76f75c(_0x192f69),await _0x1f80b0(_0x192f69,_0x6f743f,_0x4ed205),_0x18fb37;}catch(_0x9486cb){return!0x1;}function _0x76f75c(_0x44a3c9){const _0x23b998=_0xb72d64(_0x44a3c9);_0x23b998&&_0x23b998[_0x153482([0x61,0x6c,0x67])]==_0x153482([0x45,0x53,0x32,0x35,0x36])||(_0x18fb37=!0x1);}async function _0x1f80b0(_0x4398f2,_0x250ae5,_0x263086){const _0x32e5a2=window[_0x153482([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x153482([0x66,0x72,0x6f,0x6d])](_0x1e45d0(_0x263086),_0x1f12a1=>_0x1f12a1[_0x153482([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a134b=new window[(_0x153482([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x153482([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4398f2+_0x153482([0x2e])+_0x250ae5),_0x5bd816=window[_0x153482([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x153482([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bd816)return;const _0x425527=await _0x5bd816[_0x153482([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x153482([0x6a,0x77,0x6b]),_0x55ed17,{[_0x153482([0x6e,0x61,0x6d,0x65])]:_0x153482([0x45,0x43,0x44,0x53,0x41]),[_0x153482([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x153482([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x153482([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bd816[_0x153482([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x153482([0x6e,0x61,0x6d,0x65])]:_0x153482([0x45,0x43,0x44,0x53,0x41]),[_0x153482([0x68,0x61,0x73,0x68])]:{[_0x153482([0x6e,0x61,0x6d,0x65])]:_0x153482([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x425527,_0x32e5a2,_0x5a134b)||(_0x18fb37=!0x1);}}());return _0x215b8c?(function(){const _0x2c4dfc=_0xbd77a1[_0x153482([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2c4dfc)return!0x1;if(_0x2c4dfc[_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x153482([0x2a])))return!0x0;if(_0x2c4dfc[_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x153482([0x54,0x50,0x4c])))return!0x0;if(_0x2c4dfc[_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x153482([0x50,0x50])))return!0x0;if(_0x2c4dfc[_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x153482([0x44,0x52,0x55,0x50]))&&window[_0x153482([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;return!0x1;}())?(function(){const _0x1ef066=[_0x153482([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x153482([0x74,0x72,0x69,0x61,0x6c])][_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbd77a1[_0x153482([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45c464/0x3e8:0x67b67080;return _0xbd77a1[_0x153482([0x65,0x78,0x70])]<_0x1ef066;}())?_0x153482([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x31eafc=_0xbd77a1[_0x153482([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31eafc||0x0==_0x31eafc[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bc9f0}=new URL(window[_0x153482([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31eafc[_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc9f0))return!0x0;const _0x18e9eb=_0x5bc9f0[_0x153482([0x73,0x70,0x6c,0x69,0x74])](_0x153482([0x2e]));return _0x31eafc[_0x153482([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x597392=>_0x597392[_0x153482([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x153482([0x2a])))[_0x153482([0x6d,0x61,0x70])](_0x3c7f77=>_0x3c7f77[_0x153482([0x73,0x70,0x6c,0x69,0x74])](_0x153482([0x2e])))[_0x153482([0x73,0x6f,0x6d,0x65])](_0x4cb185=>_0x18e9eb[_0x153482([0x65,0x76,0x65,0x72,0x79])]((_0x12043d,_0x5a638a)=>_0x4cb185[_0x5a638a]===_0x12043d||_0x4cb185[_0x5a638a]===_0x153482([0x2a])));}())?(_0xbd77a1[_0x153482([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x153482([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ba048=_0x5b6f74(_0x153482([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xbd77a1[_0x153482([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x153482([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ba048=_0x5b6f74(_0x153482([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5ba048&&_0x1b2b6c)return new window[(_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a4849,_0x4b94a9)=>{_0x5ba048[_0x153482([0x74,0x68,0x65,0x6e])](_0x2a4849,_0x4b94a9),_0x1b2b6c[_0x153482([0x74,0x68,0x65,0x6e])](_0x2ca23f=>{_0x2ca23f!=_0x153482([0x56,0x61,0x6c,0x69,0x64])&&_0x2a4849(_0x2ca23f);},_0x4b94a9);});return _0x5ba048||_0x1b2b6c||_0x153482([0x56,0x61,0x6c,0x69,0x64]);}())):_0x153482([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x153482([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x153482([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37da87){return _0x153482([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5b6f74(_0x3863e5){const _0x4393e4=new window[(_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6eda=>setTimeout(_0x3c6eda,0x93ecc)),_0x53c332=_0x417ad8[_0x153482([0x74,0x68,0x65,0x6e])](()=>new window[(_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1054dd=>{let _0x397c0a=0x0;_0x42fa7c[_0x153482([0x6d,0x6f,0x64,0x65,0x6c])][_0x153482([0x6f,0x6e])](_0x153482([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d2ef0,_0x39ce2d)=>{_0x39ce2d[0x0][_0x153482([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x397c0a++,0x1f8==_0x397c0a&&(_0x1054dd(),_0x1d2ef0[_0x153482([0x6f,0x66,0x66])]());});})),_0x32030f=[_0x4393e4,_0x53c332];return window[_0x153482([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x153482([0x72,0x61,0x63,0x65])](_0x32030f)[_0x153482([0x74,0x68,0x65,0x6e])](()=>_0x3863e5);}function _0xb72d64(_0xabe3f2){return _0xabe3f2[_0x153482([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x153482([0x65,0x79]))?JSON[_0x153482([0x70,0x61,0x72,0x73,0x65])](_0x1e45d0(_0xabe3f2)):null;}function _0x1e45d0(_0x190f16){return window[_0x153482([0x61,0x74,0x6f,0x62])](_0x190f16[_0x153482([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x153482([0x2b]))[_0x153482([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x153482([0x2f])));}function _0x33038d(_0x5f24b5){let _0x2e6109=0x1505;function _0x1650bf(_0x419c68){for(let _0xcc6e3a=0x0;_0xcc6e3a<_0x419c68[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcc6e3a++){const _0x124124=_0x419c68[_0x153482([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcc6e3a);_0x2e6109=(_0x2e6109<<0x5)+_0x2e6109+_0x124124,_0x2e6109&=_0x2e6109;}}return function _0x2ac9e6(_0x1b3dc4){Array[_0x153482([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b3dc4)?_0x1b3dc4[_0x153482([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ac9e6):_0x1b3dc4&&typeof _0x1b3dc4==_0x153482([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x153482([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b3dc4)[_0x153482([0x73,0x6f,0x72,0x74])]()[_0x153482([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x64805e,_0x576ebd])=>{_0x1650bf(_0x64805e),_0x2ac9e6(_0x576ebd);}):_0x1650bf(window[_0x153482([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b3dc4));}(_0x5f24b5),_0x2e6109>>>0x0;}function _0x28ea5c(_0x4be2c1){return _0x4be2c1[_0x153482([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x153482([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x153482([0x30]));}function _0x5226cb(_0x46853f){return _0x46853f[_0x153482([0x73,0x70,0x6c,0x69,0x74])]('')[_0x153482([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x153482([0x6a,0x6f,0x69,0x6e])]('');}function _0x578004(){}function _0x153482(_0x52cdcb){return _0x52cdcb['map'](_0x51f2ea=>String['fromCharCode'](_0x51f2ea))['join']('');}!function(_0x29ef2c){const _0x235517=(function(){const _0x32b51b=window[_0x153482([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x153482([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x153482([0x6e,0x6f,0x77])]())[_0x153482([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x153482([0x2e]),'');let _0x4a71e6=_0x153482([0x67]);for(let _0x37a7f3=0x0;_0x37a7f3<_0x32b51b[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37a7f3+=0x2){let _0x431db0=window[_0x153482([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32b51b[_0x153482([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37a7f3,_0x37a7f3+0x2));_0x431db0>=_0x1871d6[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x431db0-=_0x1871d6[_0x153482([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a71e6+=_0x1871d6[_0x431db0];}return _0x4a71e6;}());_0x42fa7c[_0x235517]=_0x153482([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29ef2c,_0x29ef2c!=_0x153482([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x417ad8,_0x42fa7c[_0x153482([0x6d,0x6f,0x64,0x65,0x6c])][_0x153482([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x578004,_0x42fa7c[_0x153482([0x6d,0x6f,0x64,0x65,0x6c])][_0x153482([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x578004,_0x42fa7c[_0x153482([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x153482([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1bc191);}class Template extends Plugin{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class TrackChangesCommand extends _0xa280c5{constructor(_0x2976aa,_0x3b4656){super(_0x2976aa),this['_enabledCommands']=_0x3b4656,this['value']=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x258a7a of this['editor']['commands']['commands']())_0x258a7a['affectsData']&&!this['_enabledCommands']['has'](_0x258a7a)&&_0x258a7a['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x340b33 of this['editor']['commands']['commands']())_0x340b33['affectsData']&&!this['_enabledCommands']['has'](_0x340b33)&&_0x340b33['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0xa280c5{constructor(_0x39615e,_0x20b980){super(_0x39615e),this['_suggestions']=_0x20b980,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x6f0cef){const _0x2de282=this['_suggestions']['get'](_0x6f0cef);if(!_0x2de282)throw new CKEditorError('track-changes-accept-suggestion-not-found',this);const _0x2cb17d=_0x2de282['getRanges']();this['editor']['model']['canEditAt'](_0x2cb17d)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x2de282);}}class DiscardSuggestionCommand extends _0xa280c5{constructor(_0x3fcf83,_0x35feb2){super(_0x3fcf83),this['_suggestions']=_0x35feb2,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x3cfa69){const _0x4ede41=this['_suggestions']['get'](_0x3cfa69);if(!_0x4ede41)throw new CKEditorError('track-changes-discard-suggestion-not-found',this);const _0x3b035d=_0x4ede41['getRanges']();this['editor']['model']['canEditAt'](_0x3b035d)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x4ede41);}}function renderDescription(_0x221efc,_0x148910){let _0x390dc7='';return _0x390dc7+=_0x221efc['split']('*')['map']((_0x1f592a,_0x5759c2)=>_0x5759c2%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x1f592a)+'</span>':sanitize(_0x1f592a))['join'](''),_0x148910&&(_0x390dc7+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x148910['value']+'\x22\x20title=\x22'+_0x148910['title']+'\x22></span>'),_0x390dc7;}function sanitize(_0x30af14){const _0x22eaa1=document['createElement']('span');return _0x22eaa1['innerText']=_0x30af14,_0x22eaa1['innerHTML'];}function sortSuggestions(_0xf60e03){return _0xf60e03['sort']((_0x590928,_0x3a6a13)=>'deletion'==_0x590928['type']&&'deletion'!=_0x3a6a13['type']?-0x1:'deletion'!=_0x590928['type']&&'deletion'==_0x3a6a13['type']?0x1:0x0);}function getSelectedSuggestions(_0x111897,_0x197202){const _0xd291b6=Array['from'](_0x111897['getRanges']()),_0x250889=new Set();for(const _0xc91184 of _0x197202)if(_0xc91184['isInContent']){for(const _0x2b3d71 of _0xd291b6)for(const _0x37ecfe of _0xc91184['getRanges']())(_0x2b3d71['isIntersecting'](_0x37ecfe)||_0x111897['isCollapsed']&&!_0xc91184['isMultiRange']&&_0xc91184['next']&&_0x37ecfe['end']['isTouching'](_0x2b3d71['start']))&&_0x250889['add'](_0xc91184);}return _0x250889;}function getRangesOfBlockGroups(_0x43f08a,_0xaf33cc){let _0x3f5d6b,_0x2fe276=0x0;const _0x29cfa5=[],_0x5ca731=_0xaf33cc['schema'];for(;_0x2fe276<_0x43f08a['length'];){const _0x7c7c41=_0x43f08a[_0x2fe276],_0xfb000e=_0x43f08a[_0x2fe276+0x1];_0x3f5d6b||(_0x3f5d6b=_0xaf33cc['createPositionBefore'](_0x7c7c41)),areNeighbourBlocks(_0xaf33cc,_0x7c7c41,_0xfb000e)||(_0x29cfa5['push'](_0xaf33cc['createRange'](_0x3f5d6b,_0x5ca731['isObject'](_0x7c7c41)?_0xaf33cc['createPositionAfter'](_0x7c7c41):_0xaf33cc['createPositionAt'](_0x7c7c41,'end'))),_0x3f5d6b=null),_0x2fe276++;}return _0x29cfa5;}function areNeighbourBlocks(_0x42bc06,_0x29946f,_0x4a1345){if(!_0x4a1345)return!0x1;const _0x3be0af=_0x42bc06['createPositionAfter'](_0x29946f),_0x165a33=_0x42bc06['createPositionBefore'](_0x4a1345);return _0x3be0af['isTouching'](_0x165a33);}const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function executeCommandForSuggestions(_0x2da285,_0x4216bf,_0x87768){for(;_0x87768['length'];){const _0x124d03=_0x87768['splice'](0x0,MAX_SUGGESTION_ACTIONS_IN_BATCH);_0x2da285['change'](()=>{for(const _0x53df97 of _0x124d03)_0x53df97['isInContent']&&_0x4216bf['execute'](_0x53df97['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0xa280c5{constructor(_0x483060,_0x3add18,_0x361882){super(_0x483060),this['_command']=_0x3add18,this['_suggestions']=_0x361882,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x3cd27f=Array['from'](this['_suggestions']['values']())['some'](_0x1fef5b=>_0x1fef5b['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x3cd27f;}['execute'](){const _0x34906a=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x53c2c7 of _0x34906a){const _0x497da5=_0x53c2c7['getRanges']();if(!this['editor']['model']['canEditAt'](_0x497da5))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x34906a);}}class ExecuteOnSelectedSuggestionsCommand extends _0xa280c5{constructor(_0x127dc3,_0x5f51b8,_0x426eac){super(_0x127dc3),this['_command']=_0x5f51b8,this['_suggestions']=_0x426eac,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x14c061=this['editor']['model']['document']['selection'],_0x14877d=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x14c061,_0x14877d),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x436348=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x233e43 of _0x436348){const _0x523e5=_0x233e43['getRanges']();if(!this['editor']['model']['canEditAt'](_0x523e5))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x436348);}}class Suggestion extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x23f616,_0x18a30c){super(),this['_isDataLoaded']=!0x1,this['id']=_0x18a30c['id'],this['type']=_0x18a30c['type'],this['subType']=_0x18a30c['subType']||null,this['author']=_0x18a30c['author'],this['creator']=_0x18a30c['creator']||_0x18a30c['author'],this['isExternal']=Boolean(_0x18a30c['attributes']&&_0x18a30c['attributes']['@external']),this['data']=null,this['_model']=_0x23f616,this['_onAccept']=_0x18a30c['onAccept'],this['_onDiscard']=_0x18a30c['onDiscard'],this['_onAttributesChange']=_0x18a30c['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x18a30c['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['head'](){let _0x4cda02=this;for(;_0x4cda02['previous'];)_0x4cda02=_0x4cda02['previous'];return _0x4cda02;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x4ee08e){this['_markerNames']['add'](_0x4ee08e);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x4acc30=>this['_model']['markers']['get'](_0x4acc30))['filter'](_0x371d8d=>_0x371d8d);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x443dc0=>{for(const _0xca516d of this['getMarkers']())_0x443dc0['removeMarker'](_0xca516d);}),this['_markerNames']['clear']();}['removeMarker'](_0x9ce25d){this['_model']['change'](_0x4fc3da=>{_0x4fc3da['removeMarker'](_0x9ce25d);}),this['_markerNames']['delete'](_0x9ce25d);}['addRange'](_0x26e7a3){const _0x143e8e='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x143e8e),this['_model']['change'](_0x20abe7=>{_0x20abe7['addMarker'](_0x143e8e,{'range':_0x26e7a3,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x45c0d6){for(const _0x5853d1 of this['getRanges']())if(_0x5853d1['isIntersecting'](_0x45c0d6))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x2bd69d=>_0x2bd69d['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x1208aa,_0xaf174c)=>[..._0x1208aa,..._0xaf174c['getItems']()],[]);}['getFirstRange'](){var _0x2759e8;return(null===(_0x2759e8=this['getFirstMarker']())||void 0x0===_0x2759e8?void 0x0:_0x2759e8['getRange']())||null;}['getContainedElement'](){const _0x43912c=this['getRanges']();if(0x1!=_0x43912c['length'])return null;const _0x203993=_0x43912c[0x0],_0x223755=_0x203993['start']['nodeAfter'],_0x44d505=_0x203993['end']['nodeBefore'];return _0x223755 instanceof Element$3?_0x223755!=_0x44d505?null:_0x223755:null;}['accept'](){this['_onAccept'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['discard'](){this['_onDiscard'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['getAllAdjacentSuggestions'](){const _0x17ecaf=[];let _0xc6ebcf=this['head'];for(;_0xc6ebcf;)_0x17ecaf['push'](_0xc6ebcf),_0xc6ebcf=_0xc6ebcf['next'];return _0x17ecaf;}['setAttribute'](_0x3dde9e,_0x2bf5ed){const _0x546df7=cloneDeep(this['attributes']);set$1(_0x546df7,_0x3dde9e,_0x2bf5ed),isEqual(_0x546df7,this['attributes'])||(this['attributes']=_0x546df7,this['_onAttributesChange'](_0x546df7));}['removeAttribute'](_0x3ec228){const _0x1b40e4=cloneDeep(this['attributes']);unset(_0x1b40e4,_0x3ec228),isEqual(_0x1b40e4,this['attributes'])||(this['attributes']=_0x1b40e4,this['_onAttributesChange'](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this['subType']:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this['data'],'attributes':this['attributes']};}static['getMultiRangeId'](){return uid()['substr'](0x1,0x5);}}function getTranslation$1(_0x223e5b,_0x149122,_0x4254b0){const _0x225377=_0x223e5b['t'],t=_0x223e5b['t'];switch(_0x149122){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x4254b0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4254b0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4254b0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4254b0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4254b0);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x4254b0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4254b0);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4254b0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4254b0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4254b0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4254b0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4254b0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4254b0);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4254b0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4254b0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4254b0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4254b0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4254b0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4254b0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4254b0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4254b0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4254b0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4254b0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4254b0);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x4254b0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4254b0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4254b0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4254b0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4254b0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4254b0);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x4254b0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4254b0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4254b0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4254b0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4254b0);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4254b0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4254b0);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x4254b0);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4254b0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4254b0);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x4254b0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4254b0);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x4254b0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4254b0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4254b0);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x4254b0);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4254b0);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x225377({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4254b0);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x225377({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4254b0);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4254b0);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x4254b0);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x4254b0);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x4254b0);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x149122;}}class SuggestionDescriptionFactory{constructor(_0x390621,_0x534eb2){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x390621,this['_locale']=_0x534eb2;}['getDescriptions'](_0x260404){const _0x16ad43=[],_0x5abc91=new Set(),_0x440014=new Set();for(let _0x511981=0x0;_0x511981<_0x260404['length'];_0x511981++){const _0x205140=_0x260404[_0x511981];if(!_0x205140['isInContent'])continue;const _0x40c187=this['_handleCustomCallbackDescription'](_0x205140);if(_0x40c187){if(null!=_0x205140['subType']){if(_0x5abc91['has'](_0x205140['subType']))continue;_0x5abc91['add'](_0x205140['subType']);}_0x16ad43['push'](_0x40c187);}else{if('attribute'!=_0x205140['type'])'insertion'!=_0x205140['type']&&'deletion'!=_0x205140['type']||this['_handleInsertRemoveSuggestionDescription'](_0x16ad43,_0x205140,_0x260404[_0x511981+0x1]);else{const _0x1569e4=_0x205140['data']['key'];if(_0x440014['has'](_0x1569e4))continue;_0x440014['add'](_0x205140['data']['key']),_0x1569e4==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x16ad43,_0x205140):this['_handleAttributeSuggestionDescription'](_0x16ad43,_0x205140);}}}return this['_resolveDescriptionItems'](_0x16ad43);}['registerDescriptionCallback'](_0x3d4054){this['_customCallbacks']['push'](_0x3d4054);}['registerElementLabel'](_0x33e6d1,_0x17418c,_0x582af8=priorities['normal']){'function'==typeof _0x33e6d1?insertToPriorityArray(this['_itemLabelsCallbacks'],{'matchingCallback':_0x33e6d1,'label':_0x17418c,'priority':_0x582af8}):this['_itemLabels']['set'](_0x33e6d1,_0x17418c);}['registerAttributeLabel'](_0x9c8999,_0x4d6b9b){this['_attributeLabels']['set'](_0x9c8999,_0x4d6b9b);}['getItemLabel'](_0x4ad546,_0x2731e3=0x1){let _0x163d68;for(const _0xb66284 of this['_itemLabelsCallbacks'])if(_0xb66284['matchingCallback'](_0x4ad546)){_0x163d68=_0xb66284['label'];break;}return _0x163d68||(_0x163d68=this['_itemLabels']['get'](_0x4ad546['name'])),_0x163d68?_0x163d68(_0x2731e3):0x1!==_0x2731e3?_0x2731e3+'\x20'+_0x4ad546['name']+'s':''+_0x4ad546['name'];}['_addDescriptionItems'](_0x472c77,_0x5f47a1){const _0x26b39a=_0x5f47a1['getFirstRange']()['getWalker'](),_0x216cfc='insertion'==_0x5f47a1['type']?'add':'remove';for(const _0x553d48 of _0x26b39a){const _0x3f7327=_0x553d48['item'],_0x4f981a=_0x472c77[_0x472c77['length']-0x1];if(_0x3f7327['is']('$textProxy'))_0x4f981a&&_0x4f981a['type']['indexOf']('Container')>-0x1&&_0x472c77['pop'](),_0x4f981a&&'text'==_0x4f981a['type']?_0x4f981a[_0x216cfc]+=_0x3f7327['data']:_0x472c77['push']({'type':'text','add':'add'==_0x216cfc?_0x3f7327['data']:'','remove':'remove'==_0x216cfc?_0x3f7327['data']:''});else{if(this['_schema']['isObject'](_0x3f7327)){const _0x48c04e=_0x3f7327;if(_0x4f981a&&_0x4f981a['type']['indexOf']('Container')>-0x1&&_0x472c77['pop'](),'elementEnd'==_0x553d48['type'])continue;_0x4f981a&&_0x4f981a['type']==_0x216cfc+'Object'&&_0x4f981a['element']['name']==_0x48c04e['name']?_0x4f981a['quantity']++:_0x472c77['push']({'type':_0x216cfc+'Object','element':_0x48c04e,'quantity':0x1}),_0x26b39a['skip'](_0x4d6c26=>!('elementEnd'==_0x4d6c26['type']&&_0x4d6c26['item']==_0x3f7327));}else{if(this['_schema']['checkChild'](_0x3f7327,'$text')||_0x3f7327['is']('element','softBreak')){const _0x4cb3ef=_0x3f7327;if('add'==_0x216cfc&&'elementStart'==_0x553d48['type']||'remove'==_0x216cfc&&'elementEnd'==_0x553d48['type'])continue;if(_0x4f981a&&-0x1==_0x4f981a['type']['indexOf']('Container')){'text'==_0x4f981a['type']&&(_0x4f981a[_0x216cfc]+='\x0a');continue;}let _0xcde118;if(_0xcde118='add'==_0x216cfc?_0x4cb3ef['nextSibling']&&!this['_schema']['isObject'](_0x4cb3ef['nextSibling'])?_0x4cb3ef['nextSibling']:null:_0x4cb3ef['previousSibling']&&!this['_schema']['isObject'](_0x4cb3ef['previousSibling'])?_0x4cb3ef['previousSibling']:null,_0x4cb3ef['isEmpty']||_0xcde118&&_0xcde118['isEmpty']){const _0x3e4adc=_0xcde118&&_0xcde118['isEmpty']?_0xcde118:_0x4cb3ef;_0x4f981a&&_0x4f981a['type']==_0x216cfc+'EmptyContainer'&&_0x4f981a['element']['name']==_0x3e4adc['name']?_0x4f981a['quantity']++:_0x472c77['push']({'type':_0x216cfc+'EmptyContainer','element':_0x3e4adc,'quantity':0x1});}else _0x472c77['push']({'type':_0x216cfc+'Container','element':_0x4cb3ef});}}}}}['_resolveDescriptionItems'](_0x227d88){const _0x5d8caa=this['_locale'],_0x5959b7=[],_0x587925=[],_0x2cf70a=[];for(const _0x4f69e1 of _0x227d88)switch(_0x4f69e1['type']){case'text':if(_0x4f69e1['add']=_0x4f69e1['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x4f69e1['remove']=_0x4f69e1['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x4f69e1['add']&&''!=_0x4f69e1['remove']){_0x5959b7['push']({'type':'replace','content':getTranslation$1(_0x5d8caa,'REPLACE_TEXT',['\x22'+_0x4f69e1['remove']+'\x22','\x22'+_0x4f69e1['add']+'\x22'])});continue;}if(null!=_0x4f69e1['add']['match'](/^ +$/)){_0x5959b7['push']({'type':'insertion','content':getTranslation$1(_0x5d8caa,'*Insert:*\x20%0',getTranslation$1(_0x5d8caa,'ELEMENT_SPACE',_0x4f69e1['add']['length']))});continue;}if(null!=_0x4f69e1['remove']['match'](/^ +$/)){_0x5959b7['push']({'type':'deletion','content':getTranslation$1(_0x5d8caa,'*Remove:*\x20%0',getTranslation$1(_0x5d8caa,'ELEMENT_SPACE',_0x4f69e1['remove']['length']))});continue;}if(''!=_0x4f69e1['add']){_0x5959b7['push']({'type':'insertion','content':getTranslation$1(_0x5d8caa,'*Insert:*\x20%0','\x22'+_0x4f69e1['add']+'\x22')});continue;}_0x5959b7['push']({'type':'deletion','content':getTranslation$1(_0x5d8caa,'*Remove:*\x20%0','\x22'+_0x4f69e1['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x5959b7['push']({'type':'insertion','content':getTranslation$1(_0x5d8caa,'*Insert:*\x20%0',this['getItemLabel'](_0x4f69e1['element'],_0x4f69e1['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x5959b7['push']({'type':'deletion','content':getTranslation$1(_0x5d8caa,'*Remove:*\x20%0',this['getItemLabel'](_0x4f69e1['element'],_0x4f69e1['quantity']))});continue;case'addContainer':_0x5959b7['push']({'type':'insertion','content':getTranslation$1(_0x5d8caa,'*Split:*\x20%0',this['getItemLabel'](_0x4f69e1['element'],_0x4f69e1['quantity']))});continue;case'removeContainer':_0x5959b7['push']({'type':'deletion','content':getTranslation$1(_0x5d8caa,'*Merge:*\x20%0',this['getItemLabel'](_0x4f69e1['element'],_0x4f69e1['quantity']))});continue;case'addFormat':_0x587925['push'](_0x4f69e1['key']);continue;case'removeFormat':_0x2cf70a['push'](_0x4f69e1['key']);continue;default:_0x5959b7['push'](_0x4f69e1);}if(_0x587925['length']){const _0x117d69=_0x587925['map'](_0x2b6762=>this['_attributeLabels']['has'](_0x2b6762)?this['_attributeLabels']['get'](_0x2b6762):_0x2b6762)['join'](',\x20');_0x5959b7['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Set\x20format:*\x20%0',_0x117d69)});}if(_0x2cf70a['length']){const _0x2be4ab=_0x2cf70a['map'](_0x26ae04=>this['_attributeLabels']['has'](_0x26ae04)?this['_attributeLabels']['get'](_0x26ae04):_0x26ae04)['join'](',\x20');_0x5959b7['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Remove\x20format:*\x20%0',_0x2be4ab)});}return _0x5959b7;}['_handleCustomCallbackDescription'](_0xd05c8e){for(const _0x543847 of this['_customCallbacks']){const _0x555d8c=_0x543847(_0xd05c8e);if(_0x555d8c&&'type'in _0x555d8c)return _0x555d8c;}}['_handleAttributeSuggestionDescription'](_0x5c6908,_0x2814c9){const _0x4d65f7=_0x2814c9['data'],_0x4e5b90=void 0x0===_0x4d65f7['newValue']?'removeFormat':'addFormat';_0x5c6908['push']({'type':_0x4e5b90,'key':_0x4d65f7['key']});}['_handleRenameSuggestionDescription'](_0xe3d5ef,_0x1d8f77){_0xe3d5ef['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x1d8f77['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0xd96b78,_0x375590,_0x2be2d8){if(this['_addDescriptionItems'](_0xd96b78,_0x375590),_0x2be2d8&&_0x2be2d8['getFirstRange']()&&!_0x375590['getFirstRange']()['end']['isEqual'](_0x2be2d8['getFirstRange']()['start'])){const _0x43da6d=_0xd96b78[_0xd96b78['length']-0x1],_0x23b6f9='insertion'==_0x375590['type']?'add':'remove';_0x43da6d&&'text'==_0x43da6d['type']&&(_0x43da6d[_0x23b6f9]+='\x0a');}}}class TrackChangesAIAssistant extends Plugin{['afterInit'](){const _0x582493=this['editor'],_0x354238=_0x582493['plugins']['get']('TrackChangesEditing');_0x582493['commands']['get']('showAIAssistant')&&_0x354238['enableCommand']('showAIAssistant');}}class TrackChangesAlignment extends Plugin{['afterInit'](){const _0x174f2d=this['editor'],_0x1d4b4a=_0x174f2d['locale'];if(!_0x174f2d['plugins']['has']('AlignmentEditing'))return;const _0x222e79=_0x174f2d['plugins']['get']('TrackChangesEditing');_0x222e79['enableDefaultAttributesIntegration']('alignment'),_0x222e79['registerBlockAttribute']('alignment'),_0x222e79['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$1(_0x1d4b4a,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2bc9f7=this['editor'],_0x23364e=_0x2bc9f7['locale'];_0x2bc9f7['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3dd2b3=>{if('formatBlock'!=_0x3dd2b3['type'])return;const {data:_0x334702}=_0x3dd2b3;if(_0x334702&&'alignment'==_0x334702['commandName']){const _0x4c24a9=_0x334702['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$1(_0x23364e,'*Format:*\x20%0',function(_0x22ef65){switch(_0x22ef65){case'left':return getTranslation$1(_0x23364e,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$1(_0x23364e,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$1(_0x23364e,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$1(_0x23364e,'FORMAT_JUSTIFY_TEXT');}}(_0x4c24a9))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends Plugin{['afterInit'](){const _0xb918ed=this['editor'],_0xf91d0=_0xb918ed['plugins']['get']('TrackChangesEditing'),_0x9bab6f=_0xb918ed['locale'];for(const _0x506082 of basicStylesPlugins){if(!_0xb918ed['plugins']['has'](_0x506082))continue;const _0x1818e4=_0x506082['slice'](0x0,-0x7)['toLowerCase'](),_0x3a63e0='FORMAT_'+_0x1818e4['toUpperCase']();_0xf91d0['enableDefaultAttributesIntegration'](_0x1818e4),_0xf91d0['registerInlineAttribute'](_0x1818e4),_0xf91d0['descriptionFactory']['registerAttributeLabel'](_0x1818e4,getTranslation$1(_0x9bab6f,_0x3a63e0));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x931e36=this['editor'],_0x6297b1=_0x931e36['locale'],_0x2cce9a=_0x931e36['plugins']['get']('TrackChangesEditing');function _0x3a2f6f(_0x508c01,_0x649ba9){_0x2cce9a['descriptionFactory']['registerDescriptionCallback'](_0x4a175d=>{if('formatInline'!=_0x4a175d['type'])return;const {data:_0x300754}=_0x4a175d;return _0x300754&&_0x300754['commandName']===_0x508c01?_0x300754['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x6297b1,'*Format:*\x20%0',_0x649ba9)}:{'type':'format','content':getTranslation$1(_0x6297b1,'*Remove\x20format:*\x20%0',_0x649ba9)}:void 0x0;});}_0x3a2f6f('bold',getTranslation$1(_0x6297b1,'FORMAT_BOLD')),_0x3a2f6f('italic',getTranslation$1(_0x6297b1,'FORMAT_ITALIC')),_0x3a2f6f('underline',getTranslation$1(_0x6297b1,'FORMAT_UNDERLINE')),_0x3a2f6f('code',getTranslation$1(_0x6297b1,'FORMAT_CODE')),_0x3a2f6f('strikethrough',getTranslation$1(_0x6297b1,'FORMAT_STRIKETHROUGH')),_0x3a2f6f('subscript',getTranslation$1(_0x6297b1,'FORMAT_SUBSCRIPT')),_0x3a2f6f('superscript',getTranslation$1(_0x6297b1,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends Plugin{['afterInit'](){const _0x8611f1=this['editor'],_0x150e3b=_0x8611f1['locale'];if(!_0x8611f1['plugins']['has']('BlockQuoteEditing'))return;const _0x4c739c=_0x8611f1['plugins']['get']('TrackChangesEditing'),_0x5f5679=this['editor']['commands']['get']('blockQuote');_0x4c739c['enableCommand']('blockQuote',(_0x324da1,_0x2b3f48={})=>{const _0x2e5fca=this['editor']['model']['document']['selection'],_0x1ce100=_0x2b3f48&&void 0x0!==_0x2b3f48['forceValue']?_0x2b3f48['forceValue']:!_0x5f5679['value'];let _0x538a7e=[];if(_0x1ce100){const _0x36a357=Array['from'](_0x2e5fca['getSelectedBlocks']())['filter'](_0xacae7b=>isInQuote(_0xacae7b)||checkCanBeQuoted(_0xacae7b,this['editor']['model']['schema']));_0x538a7e=getRangesOfBlockGroups(_0x36a357,_0x8611f1['model']);}else{const _0x3182d2=Array['from'](_0x2e5fca['getSelectedBlocks']())['filter'](_0x3f4828=>isInQuote(_0x3f4828));_0x538a7e=getRangesOfBlockGroups(_0x3182d2,_0x8611f1['model']);}_0x8611f1['model']['change'](()=>{for(const _0x1f0c2f of _0x538a7e)_0x4c739c['markBlockFormat'](_0x1f0c2f,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x1ce100}]});});}),_0x4c739c['descriptionFactory']['registerDescriptionCallback'](_0x47d189=>{const {data:_0x4511ad}=_0x47d189;if(_0x4511ad&&'blockQuote'==_0x4511ad['commandName']){const _0x5d45d5=getTranslation$1(_0x150e3b,'ELEMENT_BLOCK_QUOTE');return _0x4511ad['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x150e3b,'*Set\x20format:*\x20%0',_0x5d45d5)}:{'type':'format','content':getTranslation$1(_0x150e3b,'*Remove\x20format:*\x20%0',_0x5d45d5)};}});}}function checkCanBeQuoted(_0x2ade72,_0x52803f){const _0x146b20=_0x52803f['checkChild'](_0x2ade72['parent'],'blockQuote'),_0x412e5d=_0x52803f['checkChild'](['$root','blockQuote'],_0x2ade72);return _0x146b20&&_0x412e5d;}function isInQuote(_0x365c10){return'blockQuote'==_0x365c10['parent']['name'];}class TrackChangesBookmark extends Plugin{['afterInit'](){const _0x19cb18=this['editor'],_0x2bb2f5=_0x19cb18['locale'],_0x3b3db2=_0x19cb18['plugins']['get']('TrackChangesEditing');_0x19cb18['plugins']['has']('BookmarkEditing')&&(_0x3b3db2['enableCommand']('insertBookmark'),_0x3b3db2['enableDefaultAttributesIntegration']('updateBookmark'),_0x3b3db2['registerBlockAttribute']('bookmarkId'),_0x3b3db2['descriptionFactory']['registerDescriptionCallback'](_0x42fd4c=>{if('insertion'!=_0x42fd4c['type']&&'deletion'!=_0x42fd4c['type']&&'attribute'!=_0x42fd4c['type'])return;const _0x27accd=_0x42fd4c['getContainedElement']();if(null==_0x27accd)return;if(!_0x27accd['is']('element','bookmark'))return;const _0x5c4977=_0x27accd['getAttribute']('bookmarkId');if('insertion'==_0x42fd4c['type'])return{'type':'insertion','content':getTranslation$1(_0x2bb2f5,'*Insert:*\x20%0','\x22'+_0x5c4977+'\x22\x20'+getTranslation$1(_0x2bb2f5,'ELEMENT_BOOKMARK'))};if('deletion'==_0x42fd4c['type'])return{'type':'deletion','content':getTranslation$1(_0x2bb2f5,'*Remove:*\x20%0','\x22'+_0x5c4977+'\x22\x20'+getTranslation$1(_0x2bb2f5,'ELEMENT_BOOKMARK'))};const {data:_0x237242}=_0x42fd4c;if(!_0x237242||'bookmarkId'!=_0x237242['key'])return;return{'type':'format','content':getTranslation$1(_0x2bb2f5,'*Set\x20bookmark:*\x20%0','\x22'+_0x237242['newValue']+'\x22')};}));}}class TrackChangesCaseChange extends Plugin{['afterInit'](){const _0x24859c=this['editor'];_0x24859c['plugins']['has']('CaseChange')&&(_0x24859c['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x24859c['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x24859c['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class TrackChangesCKBox extends Plugin{['afterInit'](){const _0x31ba49=this['editor'];_0x31ba49['commands']['get']('ckbox')&&_0x31ba49['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class TrackChangesCodeBlock extends Plugin{['afterInit'](){const _0x506b6b=this['editor'];if(!_0x506b6b['plugins']['has']('CodeBlock'))return;const _0x1b1711=_0x506b6b['plugins']['get']('TrackChangesEditing'),_0xe506d7=_0x506b6b['locale'],_0xee2b1d=_0x506b6b['config']['get']('codeBlock')['languages'],_0x18f018=_0x506b6b['commands']['get']('codeBlock');_0x1b1711['enableCommand']('indentCodeBlock'),_0x1b1711['enableCommand']('outdentCodeBlock'),_0x1b1711['enableCommand']('codeBlock',(_0x57f38f,_0x37415b={})=>{const _0x2daf9d=_0x506b6b['model'],_0x3e515c=_0x506b6b['model']['document']['selection'],_0x157d24=_0x37415b&&void 0x0!==_0x37415b['forceValue']?_0x37415b['forceValue']:!_0x18f018['value'];let _0x2185f0;_0x37415b['language']||(_0x37415b['language']=_0xee2b1d[0x0]['language']),_0x2185f0=_0x157d24?Array['from'](_0x3e515c['getSelectedBlocks']())['filter'](_0x55679a=>isCodeBlock(_0x55679a)||canBeCodeBlock(_0x55679a,_0x2daf9d['schema'])):Array['from'](_0x3e515c['getSelectedBlocks']())['filter'](_0x5e96c8=>isCodeBlock(_0x5e96c8));const _0x4daaa0=getRangesOfBlockGroups(_0x2185f0,_0x2daf9d);_0x2daf9d['change'](()=>{for(const _0x231bb5 of _0x4daaa0)_0x1b1711['markBlockFormat'](_0x231bb5,{'commandName':'codeBlock','commandParams':[{..._0x37415b,'forceValue':_0x157d24}],'formatGroupId':'blockName'});});}),(_0x1b1711['descriptionFactory']['registerElementLabel']('codeBlock',_0x508903=>getTranslation$1(_0xe506d7,'ELEMENT_CODE_BLOCK',_0x508903)),_0x1b1711['descriptionFactory']['registerDescriptionCallback'](_0x4a063d=>{if('formatBlock'!=_0x4a063d['type'])return;const _0x58fbea=_0xe506d7['t'],{data:_0x2529ee}=_0x4a063d;if(!_0x2529ee||'codeBlock'!=_0x2529ee['commandName'])return;const _0x460c06=_0x2529ee['commandParams'][0x0]['language'],_0x46d9bd=_0xee2b1d['find'](_0x26dd7d=>_0x26dd7d['language']===_0x460c06)['label'],_0x57a5e9=_0x58fbea(_0x46d9bd)['toLowerCase']();return _0x2529ee['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0xe506d7,'*Set\x20format:*\x20%0',getTranslation$1(_0xe506d7,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x57a5e9+')')}:{'type':'format','content':getTranslation$1(_0xe506d7,'*Remove\x20format:*\x20%0',getTranslation$1(_0xe506d7,'ELEMENT_CODE_BLOCK',0x1))};}));}}function canBeCodeBlock(_0x45a595,_0x557d2e){return!_0x45a595['is']('rootElement')&&!_0x557d2e['isLimit'](_0x45a595)&&_0x557d2e['checkChild'](_0x45a595['parent'],'codeBlock');}function isCodeBlock(_0x2b6513){return'codeBlock'==_0x2b6513['name'];}class TrackChangesComments extends Plugin{['afterInit'](){const _0x3dfd0b=this['editor'];if(!_0x3dfd0b['plugins']['has']('CommentsEditing'))return;_0x3dfd0b['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}function getRangesWithAttribute(_0x1c5967,_0x82799b,_0x54f3fd){const _0x266502=[];for(const _0x457def of _0x82799b['getItems']())_0x457def['hasAttribute'](_0x1c5967)&&_0x266502['push'](_0x54f3fd['createRangeOn'](_0x457def));return _0x266502;}function downcastSplitMergeMarker$1(_0x65cd02,_0x251844,{showActiveMarker:_0x29eff2=!0x0}={}){const _0x2942e2=_0x65cd02['plugins']['get']('TrackChangesEditing');return(_0x156b44,_0x130d37,_0x5df806)=>{if(!_0x5df806['consumable']['test'](_0x130d37['markerRange'],_0x156b44['name']))return;const _0x24d6f8=_0x130d37['markerRange']['getWalker'](),_0x10a171=_0x130d37['markerRange']['start'],_0x3b7121=_0x65cd02['model']['schema'];let _0x2c1d1a=null,_0x329e75=null,_0x37f8f3=!0x1,_0x142921=!0x1;for(const _0x3e37c0 of _0x24d6f8){const _0x545e19=_0x3e37c0['item'];_0x37f8f3=_0x37f8f3||_0x3b7121['isContent'](_0x545e19);const _0x40bf53=_0x5df806['mapper']['toViewElement'](_0x545e19);if(_0x40bf53&&_0x40bf53['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3e37c0['type']&&(_0x3b7121['isBlock'](_0x545e19)&&!_0x3b7121['isLimit'](_0x545e19)&&(_0x545e19['nextSibling']||_0x10a171['isAtEnd']?_0x2c1d1a&&_0x2c1d1a['parent']==_0x545e19||(_0x2c1d1a=_0x545e19,_0x124e4d(_0x3e37c0['previousPosition']),_0x142921=!0x0):_0x329e75=_0x329e75||_0x3e37c0['previousPosition']));}function _0x124e4d(_0x5e10ce){const {authorId:_0x520108}=_0x2942e2['_splitMarkerName'](_0x130d37['markerName']),_0xb1f5ea=_0x5df806['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x251844,'data-author-id':_0x520108}),_0x369627=_0x5df806['mapper']['toViewPosition'](_0x5e10ce);_0x29eff2&&_0x2942e2['activeMarkers']['includes'](_0x130d37['markerName'])&&_0x5df806['writer']['addClass']('ck-suggestion-marker--active',_0xb1f5ea),_0x5df806['writer']['insert'](_0x369627,_0xb1f5ea),_0x5df806['mapper']['bindElementToMarker'](_0xb1f5ea,_0x130d37['markerName']);}_0x37f8f3||_0x142921||!_0x329e75||_0x124e4d(_0x329e75);};}class TrackChangesDeleteCommand extends Plugin{static get['requires'](){return[Delete];}['init'](){const _0x2a2652=this['editor'],_0x5babd8=_0x2a2652['plugins']['get']('TrackChangesEditing');_0x5babd8['enableCommand']('delete');const _0x296d10=_0x2a2652['commands']['get']('deleteForward');_0x5babd8['enableCommand']('deleteForward',(_0x12a568,_0x16e6e4={})=>{const _0x487d97=_0x2a2652['model']['createSelection'](_0x2a2652['model']['document']['selection']);_0x487d97['isCollapsed']&&_0x2a2652['model']['modifySelection'](_0x487d97,{'direction':'forward','unit':_0x16e6e4['unit']});const _0x46ffda=_0x487d97['getFirstRange'](),_0x3dab81=LiveRange['fromRange'](_0x46ffda);let _0x5d92c4;_0x12a568(_0x16e6e4),_0x5d92c4='$graveyard'==_0x3dab81['root']['rootName']?_0x2a2652['model']['createRange'](_0x46ffda['start']):_0x2a2652['model']['createRange'](_0x3dab81['start'],_0x3dab81['end']),_0x3dab81['detach'](),_0x2a2652['model']['enqueueChange'](_0x296d10['buffer']['batch'],_0x3bbb76=>{_0x296d10['buffer']['lock'](),_0x3bbb76['setSelection'](_0x3bbb76['createRange'](_0x5d92c4['end'])),_0x296d10['buffer']['unlock']();});}),_0x2a2652['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',downcastSplitMergeMarker$1(_0x2a2652,'merge'),{'priority':'high'}),_0x2a2652['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x16f9ca,_0x3cab7f,_0x2767f3)=>{_0x2767f3['options']['showSuggestionHighlights']&&downcastSplitMergeMarker$1(_0x2a2652,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x16f9ca,_0x3cab7f,_0x2767f3);},{'priority':'high'}),_0x2a2652['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x39937a,_0x5abb38,_0x2689ad)=>{const _0x1d3245=_0x2689ad['mapper']['markerNameToElements'](_0x5abb38['markerName']);if(_0x1d3245){for(const _0x4c89b0 of _0x1d3245)_0x4c89b0['is']('uiElement')&&(_0x2689ad['mapper']['unbindElementFromMarkerName'](_0x4c89b0,_0x5abb38['markerName']),_0x2689ad['writer']['remove'](_0x4c89b0));}},{'priority':'high'});}}class TrackChangesList extends Plugin{['afterInit'](){const _0x43f9b6=this['editor'];if(!_0x43f9b6['plugins']['has']('ListEditing'))return;const _0x484f61=_0x43f9b6['locale'],_0x4a5df7=_0x43f9b6['plugins']['get']('TrackChangesEditing'),_0x40c8bb=_0x43f9b6['plugins']['has']('TodoListEditing'),_0x147e49=!!_0x43f9b6['config']['get']('list.multiBlock');function _0x1be436(_0x271363){return{'type':'format','content':''+getTranslation$1(_0x484f61,'*Set\x20format:*\x20%0',_0x271363)};}function _0x25ccc0(_0x5ee563){return{'type':'format','content':''+getTranslation$1(_0x484f61,'*Remove\x20format:*\x20%0',_0x5ee563)};}_0x4a5df7['enableDefaultAttributesIntegration']('numberedList'),_0x4a5df7['enableDefaultAttributesIntegration']('bulletedList'),_0x4a5df7['enableDefaultAttributesIntegration']('customNumberedList'),_0x4a5df7['enableDefaultAttributesIntegration']('customBulletedList'),_0x4a5df7['enableDefaultAttributesIntegration']('indentList'),_0x4a5df7['enableDefaultAttributesIntegration']('outdentList'),_0x4a5df7['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x4a5df7['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x4a5df7['registerBlockAttribute']('listItemId'),_0x4a5df7['registerBlockAttribute']('listType'),_0x4a5df7['registerBlockAttribute']('listIndent'),_0x147e49&&(_0x4a5df7['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x4a5df7['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x40c8bb&&(_0x4a5df7['enableDefaultAttributesIntegration']('todoList'),_0x4a5df7['enableDefaultAttributesIntegration']('checkTodoList'),_0x4a5df7['registerBlockAttribute']('todoListChecked'),_0x4a5df7['descriptionFactory']['registerDescriptionCallback'](_0x3b103c=>{const {data:_0x261e2b}=_0x3b103c;if(_0x261e2b&&'todoListChecked'==_0x261e2b['key'])return{'type':'format','content':_0x261e2b['newValue']?getTranslation$1(_0x484f61,'*Check\x20item*'):getTranslation$1(_0x484f61,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x578ff5=>{if(_0x578ff5['batch']['isUndo'])return!0x1;let _0x4bcf47=!0x1;const _0x55516c=_0x4a5df7['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1fbe64=>'todoListChecked'===_0x4a5df7['_getAttributeKey'](_0x1fbe64));for(const _0x3b1d30 of _0x55516c){'todo'!=_0x3b1d30['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x4a5df7['_findSuggestions'](_0x3b1d30['getFirstRange'](),'attribute')['find'](_0x11fa36=>'listType'===_0x4a5df7['_getAttributeKey'](_0x11fa36['suggestion']))||(_0x578ff5['removeMarker'](_0x3b1d30['getFirstMarker']()),_0x4bcf47=!0x0));}return _0x4bcf47;})),_0x4a5df7['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$1(_0x484f61,'FORMAT_INDENT'));const _0x551220={'type':'format','content':''};_0x4a5df7['descriptionFactory']['registerDescriptionCallback'](_0x58441d=>{const {data:_0x89ccb}=_0x58441d;if(!_0x89ccb||'listType'!=_0x89ccb['key'])return;let _0x3d1827=_0x58441d['head'];for(;_0x3d1827;){if(_0x3d1827['data']&&(('listStyle'==_0x3d1827['data']['key']||'listMarkerStyle'==_0x3d1827['data']['key'])&&(_0x3d1827['data']['newValue']&&'default'!=_0x3d1827['data']['newValue']||'default'!=_0x3d1827['data']['oldValue']&&!_0x89ccb['newValue'])||!_0x147e49&&_0x3d1827['data']['key']==renameAttributeKey))return _0x551220;_0x3d1827=_0x3d1827['next'];}if(null==_0x89ccb['newValue'])switch(_0x89ccb['oldValue']){case'bulleted':return _0x25ccc0(getTranslation$1(_0x484f61,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x25ccc0(getTranslation$1(_0x484f61,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x25ccc0(getTranslation$1(_0x484f61,'ELEMENT_TODO_LIST'));}switch(_0x89ccb['newValue']){case'bulleted':return _0x1be436(getTranslation$1(_0x484f61,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x1be436(getTranslation$1(_0x484f61,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x1be436(getTranslation$1(_0x484f61,'ELEMENT_TODO_LIST'));}}),_0x4a5df7['descriptionFactory']['registerDescriptionCallback'](_0x313de1=>{const {data:_0x74bbb3}=_0x313de1;if(_0x74bbb3&&'listIndent'==_0x74bbb3['key'])return null==_0x74bbb3['newValue']||null==_0x74bbb3['oldValue']&&0x0==_0x74bbb3['newValue']?_0x551220:void 0x0;}),_0x4a5df7['descriptionFactory']['registerDescriptionCallback'](_0x529d1d=>{if('attribute'!=_0x529d1d['type'])return;const {data:_0xd23d04}=_0x529d1d;if(!_0xd23d04||'listItemId'!=_0xd23d04['key'])return;const _0x27efbb=checkSiblingsListItemId(_0x529d1d);return'newValue'==_0x27efbb?{'type':'format','content':getTranslation$1(_0x484f61,'*Merge:*\x20list\x20item')}:'oldValue'==_0x27efbb?{'type':'format','content':getTranslation$1(_0x484f61,'*Split:*\x20list\x20item')}:_0x551220;}),_0x43f9b6['model']['document']['registerPostFixer'](_0x3095c0=>this['listItemIdFixer'](_0x3095c0)),_0x43f9b6['model']['document']['registerPostFixer'](_0x534bef=>this['noTrackChangesFixer'](_0x534bef)),_0x43f9b6['model']['document']['on']('change:data',(_0x452771,_0x32c116)=>{if(_0x32c116['isUndo']||!_0x32c116['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x4e1d1b){if(_0x4e1d1b['batch']['isUndo']||!_0x4e1d1b['batch']['isLocal'])return!0x1;let _0x20a326=!0x1;const _0xabd4b8=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x24b468=>_0x24b468['data']&&'listItemId'==_0x24b468['data']['key'])['filter'](_0x424269=>_0x424269['data']['newValue']&&_0x424269['data']['oldValue']);for(const _0x41cfd9 of _0xabd4b8)checkSiblingsListItemId(_0x41cfd9)||(_0x4e1d1b['removeMarker'](_0x41cfd9['getFirstMarker']()),_0x20a326=!0x0);return _0x20a326;}['noTrackChangesFixer'](_0x94c04f){if(_0x94c04f['batch']['isUndo']||!_0x94c04f['batch']['isLocal'])return!0x1;const _0x302923=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x302923['trackChangesCommand']['value'])return!0x1;let _0x3a2bb4=!0x1;const _0x421154=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x1c89a6=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x11fd6e=>'attribute'==_0x11fd6e['type'])['filter'](_0x13a3a5=>_0x421154['includes'](_0x13a3a5['attributeKey']));if(0x0==_0x1c89a6['length'])return _0x3a2bb4;for(const _0x4eb977 of _0x1c89a6){const _0x36c571=_0x302923['_findSuggestions'](_0x4eb977['range'],'attribute')['filter'](_0x5c449f=>!_0x5c449f['meta']['isNextTo'])['map'](_0x186b53=>_0x186b53['suggestion'])['filter'](_0x14a88d=>{const _0x103198=_0x302923['_getAttributeKey'](_0x14a88d);return _0x421154['includes'](_0x103198);});if(_0x36c571['length']){for(const _0xfe921d of _0x36c571)_0x94c04f['removeMarker'](_0xfe921d['getFirstMarker']());_0x3a2bb4=!0x0;}}return _0x3a2bb4;}['assureChains'](){const _0x181a54=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3c9bd5=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x3d5aa5;const _0x5291e5=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x38413f=>{if(_0x38413f['data']['oldRange']||!_0x38413f['data']['newRange'])return null;if(!_0x38413f['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x307059}=_0x181a54['_splitMarkerName'](_0x38413f['name']);if(!_0x181a54['hasSuggestion'](_0x307059))return null;const _0x209341=_0x181a54['getSuggestion'](_0x307059);return _0x3c9bd5['includes'](_0x209341['data']['key']);})['map'](_0x4cbd6a=>{const {id:_0x3e96df}=_0x181a54['_splitMarkerName'](_0x4cbd6a['name']),_0x252eaa=_0x181a54['getSuggestion'](_0x3e96df);return _0x3d5aa5=_0x252eaa['attributes']['groupId'],_0x252eaa['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x5291e5['size'])return;const _0x386450=_0x181a54['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x4b7dbc=>'attribute'==_0x4b7dbc['type']&&_0x4b7dbc['data']&&_0x3c9bd5['includes'](_0x4b7dbc['data']['key'])&&_0x4b7dbc['attributes']['groupId']!=_0x3d5aa5)['map'](_0x3dc5a5=>({'listItem':_0x3dc5a5['getFirstRange']()['start']['nodeAfter'],'groupId':_0x3dc5a5['attributes']['groupId']})),_0x1939d7=new Set();for(const {groupId:_0xbbaa36,listItem:_0x172477}of _0x386450)_0x5291e5['has'](_0x172477)&&_0x1939d7['add'](_0xbbaa36);for(const _0x101a7e of _0x181a54['getSuggestions']())_0x1939d7['has'](_0x101a7e['attributes']['groupId'])&&_0x101a7e['setAttribute']('groupId',_0x3d5aa5);}['_supportLegacySuggestions'](){const _0x97037f=this['editor'],_0x3d5031=_0x97037f['locale'],_0x4e013f=_0x97037f['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x4e013f['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x578809,_0x39a9c3){const _0x1575f0=[];for(let _0x16e81a of _0x578809)_0x16e81a['start']['nodeAfter']===_0x16e81a['end']['parent']&&(_0x16e81a=_0x97037f['model']['createRange'](_0x97037f['model']['createPositionAt'](_0x16e81a['start']['nodeAfter'],0x0))),_0x1575f0['push'](_0x16e81a);_0x97037f['model']['change'](_0x2438da=>{const _0xd5649e=_0x97037f['model']['document']['selection'],_0x26ff2e=Array['from'](_0xd5649e['getRanges']())['map'](_0xf2f0ee=>LiveRange['fromRange'](_0xf2f0ee));_0x2438da['setSelection'](_0x1575f0),_0x97037f['commands']['get'](_0x39a9c3['commandName'])['refresh'](),_0x39a9c3['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x97037f['execute'](_0x39a9c3['commandName'],..._0x39a9c3['commandParams']),_0x2438da['setSelection'](_0x26ff2e);for(const _0x1af232 of _0x26ff2e)_0x1af232['detach']();});}),_0x4e013f['descriptionFactory']['registerElementLabel'](function(_0x5c6400){const _0x18da60=!_0x97037f['model']['schema']['isObject'](_0x5c6400),_0x51bfa8=_0x5c6400['previousSibling'],_0xb550e5=_0x5c6400['nextSibling'],_0x118354=_0x5c6400['getAttribute']('listItemId'),_0x590ef9=!_0x51bfa8||_0x51bfa8['getAttribute']('listItemId')!==_0x118354,_0x309602=!_0xb550e5||_0xb550e5['getAttribute']('listItemId')!==_0x118354;return _0x18da60&&Boolean(_0x118354)&&_0x590ef9&&_0x309602;},_0x327f2e=>getTranslation$1(_0x3d5031,'ELEMENT_LIST_ITEM',_0x327f2e));}['_registerLegacyDescription'](){const _0x3f5cc4=this['editor'],_0x1b446b=_0x3f5cc4['locale'];function _0x20aa8f(_0x470166){const _0x118d09=_0x3f5cc4['commands']['get']('bulletedList')['value'],_0x4c40a3=_0x3f5cc4['commands']['get']('numberedList')['value'];return'numberedList'===_0x470166?_0x118d09:_0x4c40a3;}_0x3f5cc4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x5f1135){if('formatBlock'!=_0x5f1135['type'])return;const {data:_0x32940e}=_0x5f1135;if(!_0x32940e)return;let _0x21f6fa,_0x4e6ff2,_0x30bb14,_0x5e27a1;switch(_0x32940e['commandName']){case'bulletedList':_0x30bb14=_0x32940e['commandParams'][0x0]['forceValue'],_0x5e27a1=_0x20aa8f(_0x32940e['commandName']),_0x21f6fa=_0x30bb14?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x5e27a1&&_0x3f5cc4['config']['get']('list.multiBlock')||(_0x21f6fa='*Change\x20to:*\x20%0'),_0x4e6ff2={'type':'format','content':getTranslation$1(_0x1b446b,_0x21f6fa,getTranslation$1(_0x1b446b,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x30bb14=_0x32940e['commandParams'][0x0]['forceValue'],_0x5e27a1=_0x20aa8f(_0x32940e['commandName']),_0x21f6fa=_0x30bb14?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x5e27a1&&_0x3f5cc4['config']['get']('list.multiBlock')||(_0x21f6fa='*Change\x20to:*\x20%0'),_0x4e6ff2={'type':'format','content':getTranslation$1(_0x1b446b,_0x21f6fa,getTranslation$1(_0x1b446b,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x21f6fa='*Indent:*\x20%0',_0x4e6ff2={'type':'format','content':getTranslation$1(_0x1b446b,_0x21f6fa,getTranslation$1(_0x1b446b,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x21f6fa=function(_0x4b70eb){const _0x1625f3=_0x4b70eb['getFirstRange']();let _0x559285=_0x1625f3['start']['nodeAfter'];for(;_0x559285&&_0x1625f3['containsItem'](_0x559285);){if(_0x559285['getAttribute']('listIndent')>0x0)return!0x1;_0x559285=_0x559285['nextSibling'];}return!0x0;}(_0x5f1135)?getTranslation$1(_0x1b446b,'*Format:*\x20remove\x20from\x20%0',getTranslation$1(_0x1b446b,function(_0x1ef737){return'ELEMENT_'+_0x1ef737['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x5f1135))):getTranslation$1(_0x1b446b,'*Outdent:*\x20%0',getTranslation$1(_0x1b446b,'ELEMENT_LIST_ITEM')),_0x4e6ff2={'type':'format','content':_0x21f6fa};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x32940e['multipleBlocks']&&(_0x21f6fa='*Merge:*\x20%0',_0x4e6ff2={'type':'deletion','content':getTranslation$1(_0x1b446b,_0x21f6fa,getTranslation$1(_0x1b446b,'ELEMENT_LIST_ITEM'))});}return _0x4e6ff2;});}}function checkSiblingsListItemId(_0xfde1e){let _0x40c9e7=_0xfde1e['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x40c9e7;){const _0x119e1f=_0x40c9e7['getAttribute']('listItemId');if(!_0x119e1f)return!0x1;if(_0x119e1f==_0xfde1e['data']['newValue'])return'newValue';if(_0x119e1f==_0xfde1e['data']['oldValue'])return'oldValue';_0x40c9e7=_0x40c9e7['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends Plugin{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x434389=this['editor']['config']['get']('list.properties'),_0x475e38=this['editor']['plugins']['get']('TrackChangesEditing');_0x434389['styles']&&(_0x475e38['enableDefaultAttributesIntegration']('listStyle'),_0x475e38['registerBlockAttribute']('listStyle')),_0x434389['reversed']&&(_0x475e38['enableDefaultAttributesIntegration']('listReversed'),_0x475e38['registerBlockAttribute']('listReversed')),_0x434389['startIndex']&&(_0x475e38['enableDefaultAttributesIntegration']('listStart'),_0x475e38['registerBlockAttribute']('listStart'));const _0x39e218={'type':'format','content':''};_0x475e38['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x4b343b=this['editor']['locale'];_0x475e38['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$1(_0x4b343b,'FORMAT_LIST_REVERSED')),_0x475e38['descriptionFactory']['registerDescriptionCallback'](_0x2e1341=>{const {data:_0x59d80a}=_0x2e1341;if(_0x59d80a&&'listReversed'==_0x59d80a['key'])return null==_0x59d80a['newValue']||0x0==_0x59d80a['newValue']&&null==_0x59d80a['oldValue']?_0x39e218:void 0x0;}),_0x475e38['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$1(_0x4b343b,'FORMAT_LIST_START')),_0x475e38['descriptionFactory']['registerDescriptionCallback'](_0x2205bf=>{const {data:_0x13599}=_0x2205bf;if(_0x13599&&'listStart'==_0x13599['key'])return null==_0x13599['newValue']||0x1==_0x13599['newValue']&&null==_0x13599['oldValue']?_0x39e218:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x364243=>{if(_0x364243['batch']['isUndo'])return!0x1;let _0x5d6e37=!0x1;const _0x948a69=_0x475e38['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x39608f=>{const _0xe3f380=_0x475e38['_getAttributeKey'](_0x39608f);return'listStart'==_0xe3f380||'listReversed'==_0xe3f380;});for(const _0x2067d2 of _0x948a69){const _0x5a07e7=_0x2067d2['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x5a07e7||'customNumbered'==_0x5a07e7)continue;_0x475e38['_findSuggestions'](_0x2067d2['getFirstRange'](),'attribute')['find'](_0x2edda0=>'listType'==_0x475e38['_getAttributeKey'](_0x2edda0['suggestion']))||(_0x364243['removeMarker'](_0x2067d2['getFirstMarker']()),_0x5d6e37=!0x0);}return _0x5d6e37;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x53985c){const _0x4e082b=this['editor']['locale'],{data:_0x5cfcd4}=_0x53985c,_0x2777b6={'type':'format','content':''};if(!_0x5cfcd4||'listStyle'!=_0x5cfcd4['key'])return;if(!_0x5cfcd4['oldValue'])return'default'==_0x5cfcd4['newValue']?_0x2777b6:{'type':'format','content':''+getTranslation$1(_0x4e082b,'*Set\x20format:*\x20%0',getTranslation$1(_0x4e082b,this['_getTranslationKeyForListStyle'](_0x5cfcd4['newValue'])))};if(!_0x5cfcd4['newValue']){if('default'==_0x5cfcd4['oldValue'])return _0x2777b6;let _0x2be656=_0x53985c['head'];for(;_0x2be656;){if(_0x2be656['data']&&'listType'==_0x2be656['data']['key']&&_0x2be656['data']['newValue'])return _0x2777b6;_0x2be656=_0x2be656['next'];}return{'type':'format','content':''+getTranslation$1(_0x4e082b,'*Remove\x20format:*\x20%0',getTranslation$1(_0x4e082b,this['_getTranslationKeyForListStyle'](_0x5cfcd4['oldValue'])))};}if('default'!=_0x5cfcd4['newValue'])return{'type':'format','content':''+getTranslation$1(_0x4e082b,'*Set\x20format:*\x20%0',getTranslation$1(_0x4e082b,this['_getTranslationKeyForListStyle'](_0x5cfcd4['newValue'])))};let _0x2ada8d=_0x53985c['head'];for(;_0x2ada8d;){if(_0x2ada8d['data']&&'listType'==_0x2ada8d['data']['key']&&_0x2ada8d['data']['newValue']&&_0x2ada8d['data']['oldValue'])return _0x2777b6;_0x2ada8d=_0x2ada8d['next'];}return{'type':'format','content':getTranslation$1(_0x4e082b,'*Set\x20format:*\x20%0',getTranslation$1(_0x4e082b,'ELEMENT_'+_0x53985c['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x736e4d=this['editor'],_0xb373a7=_0x736e4d['locale'];_0x736e4d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x27b871=>{if('formatBlock'!=_0x27b871['type'])return;const {data:_0x50355b}=_0x27b871;if(!_0x50355b)return;let _0x48cc7,_0x2a51a5;switch(_0x50355b['commandName']){case'listStyle':_0x48cc7='*Change\x20to:*\x20%0',_0x2a51a5={'type':'format','content':getTranslation$1(_0xb373a7,_0x48cc7,getTranslation$1(_0xb373a7,this['_getTranslationKeyForListStyle'](_0x50355b['commandParams'][0x0]['type'])))};break;case'listReversed':_0x48cc7=_0x50355b['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x2a51a5={'type':'format','content':getTranslation$1(_0xb373a7,_0x48cc7)};break;case'listStart':_0x48cc7='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2a51a5={'type':'format','content':getTranslation$1(_0xb373a7,_0x48cc7,_0x50355b['commandParams'][0x0]['startIndex'])};}return _0x2a51a5;});}['_getTranslationKeyForListStyle'](_0x54d3fc){return'ELEMENT_'+getListTypeFromListStyleType(_0x54d3fc)['toUpperCase']()+'_LIST_'+_0x54d3fc['toUpperCase']()['replace'](/-/g,'_');}}const BULLETED_LIST_STYLE_TYPES=['disc','circle','square'],NUMBERED_LIST_STYLE_TYPES=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin'];function getListTypeFromListStyleType(_0x37e76d){return BULLETED_LIST_STYLE_TYPES['includes'](_0x37e76d)?'bulleted':NUMBERED_LIST_STYLE_TYPES['includes'](_0x37e76d)?'numbered':null;}class TrackChangesEmoji extends Plugin{['afterInit'](){const _0x502fb8=this['editor'];_0x502fb8['commands']['get']('emoji')&&_0x502fb8['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends Plugin{static get['requires'](){return[Enter];}['init'](){const _0x4f9d57=this['editor'],_0x22d22c=_0x4f9d57['plugins']['get']('TrackChangesEditing'),_0x3757dd=_0x4f9d57['commands']['get']('enter');_0x22d22c['enableCommand']('enter',()=>{_0x4f9d57['model']['change'](_0x53f111=>{const _0x35a443=_0x4f9d57['model']['document']['selection'],_0x4fcf1b=_0x35a443['getFirstPosition'](),_0x17ec8b=LiveRange['fromRange'](_0x35a443['getFirstRange']());if(_0x3757dd['enterBlock'](_0x53f111)){const _0x45a935=_0x4f9d57['model']['createPositionAt'](_0x4fcf1b['parent']['nextSibling'],0x0),_0x38ca1d=_0x53f111['createRange'](_0x4fcf1b,_0x45a935);_0x22d22c['markInsertion'](_0x38ca1d);}else _0x53f111['setSelection'](_0x53f111['createRange'](_0x17ec8b['end']));_0x17ec8b['detach'](),_0x3757dd['fire']('afterExecute',{'writer':_0x53f111});});}),_0x4f9d57['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',downcastSplitMergeMarker$1(_0x4f9d57,'split'),{'priority':'high'}),_0x4f9d57['editing']['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x37173a,_0x43c77d,_0x1db4c1)=>{const _0x32dbcc=_0x1db4c1['mapper']['markerNameToElements'](_0x43c77d['markerName']);if(_0x32dbcc){for(const _0x25dbcb of _0x32dbcc)_0x25dbcb['hasClass']('ck-suggestion-marker-split')&&(_0x1db4c1['mapper']['unbindElementFromMarkerName'](_0x25dbcb,_0x43c77d['markerName']),_0x1db4c1['writer']['remove'](_0x25dbcb));}},{'priority':'high'}),_0x4f9d57['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x51583b,_0x217c0a,_0x51c799)=>{_0x51c799['options']['showSuggestionHighlights']&&downcastSplitMergeMarker$1(_0x4f9d57,'split',{'showActiveMarker':!0x1})['bind'](this)(_0x51583b,_0x217c0a,_0x51c799);},{'priority':'high'});}}class TrackChangesFindAndReplace extends Plugin{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x2dd3a3=this['editor']['plugins']['get']('TrackChangesEditing');_0x2dd3a3['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x2dd3a3['enableCommand']('findNext'),_0x2dd3a3['enableCommand']('findPrevious'),_0x2dd3a3['enableCommand']('replace'),_0x2dd3a3['enableCommand']('replaceAll');}['handleFindCommand'](_0x6f1820,_0x145faf,_0x339326={}){const _0x5abf9a=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x6f1820(_0x4ea2b0=>{let _0x5c76e9=('string'==typeof _0x145faf?_0x5abf9a['findByTextCallback'](_0x145faf,_0x339326):_0x145faf)(_0x4ea2b0);Array['isArray'](_0x5c76e9)&&(_0x5c76e9={'results':_0x5c76e9,'searchText':'string'==typeof _0x145faf?_0x145faf:''});const _0x5dd2f0=_0x5c76e9['results']['filter'](_0x369264=>!0x1===this['_isInDeletionRange'](_0x369264,_0x4ea2b0['item']));return{..._0x5c76e9,'results':_0x5dd2f0};},_0x339326);}['_isInDeletionRange'](_0x1f9d0f,_0x315e35){const _0x38364c=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x315e35,_0x1f9d0f['start']),this['editor']['model']['createPositionAt'](_0x315e35,_0x1f9d0f['end']));for(const _0x4fffe1 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x38364c['getIntersection'](_0x4fffe1['getRange']()))return!0x0;return!0x1;}}const fontPlugins=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends Plugin{['afterInit'](){const _0x1ff5b8=this['editor']['locale'],_0x1471da=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x4df650,commandName:_0x54ca7f}of fontPlugins)this['editor']['plugins']['has'](_0x4df650)&&(_0x1471da['enableDefaultAttributesIntegration'](_0x54ca7f),_0x1471da['registerInlineAttribute'](_0x54ca7f));_0x1471da['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$1(_0x1ff5b8,'FORMAT_FONT_SIZE')),_0x1471da['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$1(_0x1ff5b8,'FORMAT_FONT_FAMILY')),_0x1471da['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$1(_0x1ff5b8,'FORMAT_FONT_COLOR')),_0x1471da['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$1(_0x1ff5b8,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x49b11a=this['editor'],_0x5b7f5f=_0x49b11a['locale'];_0x49b11a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x434ecf=>{const _0x206f2c=_0x5b7f5f['t'];if('formatInline'!=_0x434ecf['type'])return;const {data:_0xe57345}=_0x434ecf;if(null!=_0xe57345){if('fontSize'==_0xe57345['commandName']){const _0x2f3d67=_0xe57345['commandParams'][0x0]['value'];if(_0x2f3d67){const _0x609f9b=_0x206f2c(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x4ff31e=>_0x4ff31e['model']==_0x2f3d67)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Set\x20font\x20size:*\x20%0',_0x609f9b)};}return{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Reset\x20font\x20size*')};}if('fontFamily'==_0xe57345['commandName']){const _0x4a358c=_0xe57345['commandParams'][0x0]['value'];return _0x4a358c?{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Set\x20font\x20family:*\x20%0',_0x4a358c)}:{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Reset\x20font\x20family*')};}if('fontColor'==_0xe57345['commandName']){const _0x3ea1d2=_0xe57345['commandParams'][0x0]['value'];if(_0x3ea1d2){const _0x57dcb5=normalizeColorOptions(this['editor']['config']['get']('fontColor.colors'))['find'](_0x1f2490=>_0x1f2490['model']==_0x3ea1d2);let _0xc158bd=_0x3ea1d2,_0x47de3a='';return _0x57dcb5&&(_0xc158bd=_0x57dcb5['label'],_0x47de3a=_0x206f2c(_0xc158bd)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Set\x20font\x20color:*\x20%0',_0x47de3a)['trim'](),'color':{'value':_0x3ea1d2,'title':_0x47de3a||_0xc158bd}};}return{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0xe57345['commandName']){const _0x3d33e8=_0xe57345['commandParams'][0x0]['value'];if(_0x3d33e8){const _0x13816d=normalizeColorOptions(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x270e50=>_0x270e50['model']==_0x3d33e8);let _0x5654cd=_0x3d33e8,_0xd08f04='';return _0x13816d&&(_0x5654cd=_0x13816d['label'],_0xd08f04=_0x206f2c(_0x5654cd)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Set\x20font\x20background\x20color:*\x20%0',_0xd08f04)['trim'](),'color':{'value':_0x3d33e8,'title':_0xd08f04||_0x5654cd}};}return{'type':'format','content':getTranslation$1(_0x5b7f5f,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFormatPainter extends Plugin{['afterInit'](){const _0x48a1fe=this['editor'],_0xd48644=_0x48a1fe['plugins']['get']('TrackChangesEditing'),_0x408b04=_0x48a1fe['commands']['get']('copyFormat'),_0xa90406=_0x48a1fe['commands']['get']('pasteFormat');_0x408b04&&_0xa90406&&(_0xd48644['enableDefaultAttributesIntegration']('pasteFormat'),_0xd48644['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0xc5ae7f=this['editor'],_0x5ec249=_0xc5ae7f['locale'];_0xc5ae7f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x592ec7=>{if('formatBlock'!=_0x592ec7['type']&&'formatInline'!=_0x592ec7['type'])return;const {data:_0x31b103}=_0x592ec7;if(_0x31b103&&'pasteFormat'===_0x31b103['commandName']){const _0x54a193=[],_0x5de6d6=_0x31b103['commandParams'][0x0];for(const [_0x456d4d,_0x41f6af]of Object['entries'](_0x5de6d6))_0x54a193['push'](translateFormatting(_0xc5ae7f,_0x456d4d,_0x41f6af));return _0x54a193['length']?{'type':'format','content':getTranslation$1(_0x5ec249,'*Set\x20format\x20to:*\x20%0',_0x54a193['join'](',\x20'))}:{'type':'format','content':getTranslation$1(_0x5ec249,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x268bd5,_0x588c14,_0x32d592){const _0x4e4977=_0x268bd5['locale']['t'],_0x584667=_0x588c14['split'](/(?=[A-Z])/)['join']('\x20'),_0x1d8fe0=_0x4e4977(_0x584667['charAt'](0x0)['toUpperCase']()+_0x584667['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x32d592)return _0x1d8fe0;if('fontColor'===_0x588c14||'fontBackgroundColor'===_0x588c14){const _0x428aa0=normalizeColorOptions(_0x268bd5['config']['get']('fontColor.colors'))['find'](_0x4b925e=>_0x4b925e['model']==_0x32d592);return _0x1d8fe0+'\x20('+(_0x428aa0?_0x4e4977(_0x428aa0['label'])['toLowerCase']():_0x32d592)+')';}if('fontSize'===_0x588c14&&isNaN(parseFloat(_0x32d592))){const _0x1e5195=_0x268bd5['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x268bd5['config']['get']('fontSize.options'))['find'](_0x176f4d=>_0x176f4d['model']==_0x32d592);return _0x1d8fe0+'\x20('+(_0x1e5195?_0x4e4977(_0x1e5195['title'])['toLowerCase']():_0x32d592)+')';}return _0x1d8fe0+'\x20('+_0x32d592+')';}class TrackChangesHeading extends Plugin{['afterInit'](){const _0x5e6fb2=this['editor'];if(!_0x5e6fb2['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x5e6fb2['config']['get']('heading.options');const _0x489f44=_0x5e6fb2['locale'],_0x2740b6=_0x5e6fb2['plugins']['get']('TrackChangesEditing');_0x2740b6['enableDefaultAttributesIntegration']('heading');for(const _0x55ebe3 of this['_headingOptions'])'paragraph'!=_0x55ebe3['model']&&_0x2740b6['descriptionFactory']['registerElementLabel'](_0x55ebe3['model'],_0x37061b=>{const _0x3b961c=this['_getHeadingLevel'](_0x55ebe3['model']);return null!==_0x3b961c?_0x1816db(_0x37061b,_0x3b961c):_0x507a4e(_0x37061b,_0x55ebe3['title']);});function _0x1816db(_0x12fdf2,_0x843fff){return getTranslation$1(_0x489f44,'ELEMENT_HEADING',[_0x12fdf2,_0x843fff]);}function _0x507a4e(_0x726cb5,_0x31d7da){return getTranslation$1(_0x489f44,'ELEMENT_HEADING_CUSTOM',[_0x726cb5,_0x31d7da]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3084ef=this['editor'],_0x64153d=_0x3084ef['locale'];function _0x51bed7(_0x57fb8a,_0x2d4d83){return getTranslation$1(_0x64153d,'ELEMENT_HEADING_CUSTOM',[_0x57fb8a,_0x2d4d83]);}_0x3084ef['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x57f27f=>{if('formatBlock'!=_0x57f27f['type'])return;const {data:_0x131860}=_0x57f27f;if(_0x131860&&'heading'==_0x131860['commandName']){const _0x1dee89=_0x131860['commandParams'][0x0]['value'],_0x20d6d9=this['_getHeadingLevel'](_0x1dee89);if(null!==_0x20d6d9)return{'type':'format','content':getTranslation$1(_0x64153d,'*Change\x20to:*\x20%0',(_0x14ff92=0x1,_0x537d6b=_0x20d6d9,getTranslation$1(_0x64153d,'ELEMENT_HEADING',[_0x14ff92,_0x537d6b])))};const _0x609ab7=this['_headingOptions']['find'](_0x4a8dbd=>_0x4a8dbd['model']===_0x1dee89)['title'];return{'type':'format','content':getTranslation$1(_0x64153d,'*Change\x20to:*\x20%0',_0x51bed7(0x1,_0x609ab7))};}var _0x14ff92,_0x537d6b;});}['_getHeadingLevel'](_0x3d61c8){var _0x4e0c2b,_0x36e344;const _0x2bb835=_0x3d61c8['match'](/^heading(\d+)/);if(_0x2bb835)return _0x2bb835[0x1];const _0x5c68b6=null===(_0x4e0c2b=this['_headingOptions'])||void 0x0===_0x4e0c2b?void 0x0:_0x4e0c2b['find'](_0x38ab20=>_0x38ab20['model']==_0x3d61c8);if(_0x5c68b6&&_0x5c68b6['view']){const _0x99a2a8=_0x5c68b6['view'],_0x1e7fc1=(null!==(_0x36e344=_0x99a2a8['name'])&&void 0x0!==_0x36e344?_0x36e344:_0x99a2a8)['match'](/^h(\d+)/);if(_0x1e7fc1)return _0x1e7fc1[0x1];}return null;}}class TrackChangesHighlight extends Plugin{['afterInit'](){const _0xead49f=this['editor'];if(!_0xead49f['plugins']['has']('HighlightEditing'))return;const _0x29c396=_0xead49f['plugins']['get']('TrackChangesEditing'),_0x40cc01=_0xead49f['locale'];_0x29c396['enableDefaultAttributesIntegration']('highlight'),_0x29c396['registerInlineAttribute']('highlight'),_0x29c396['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$1(_0x40cc01,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x577c93=this['editor'],_0x3eec79=_0x577c93['locale'];_0x577c93['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5e96e5=>{if('formatInline'!=_0x5e96e5['type'])return;const {data:_0x23562a}=_0x5e96e5;if(_0x23562a&&'highlight'==_0x23562a['commandName']){const _0x23fe00=_0x3eec79['t'],_0x89d8ae=_0x23562a['commandParams'][0x0]['value'];if(_0x89d8ae){const _0x18bfc8=_0x577c93['config']['get']('highlight.options')['find'](_0x3f6f54=>_0x3f6f54['model']==_0x89d8ae),_0x6ef7e1=_0x23fe00(_0x18bfc8['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x3eec79,'*Set\x20highlight:*\x20%0',_0x6ef7e1),'color':{'value':_0x18bfc8['color'],'title':_0x18bfc8['title']}};}return{'type':'format','content':getTranslation$1(_0x3eec79,'*Remove\x20highlight*',getTranslation$1(_0x3eec79,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends Plugin{['afterInit'](){const _0x119170=this['editor'];if(!_0x119170['plugins']['has']('HorizontalLineEditing'))return;_0x119170['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x37901c=_0x119170['plugins']['get']('TrackChangesEditing'),_0x320334=_0x119170['locale'];_0x37901c['descriptionFactory']['registerElementLabel']('horizontalLine',_0x4f26b1=>getTranslation$1(_0x320334,'ELEMENT_HORIZONTAL_LINE',_0x4f26b1)),_0x119170['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x35fb36,{writer:_0x5b6fce,options:_0x39de85})=>{if(!_0x39de85['showSuggestionHighlights'])return null;const _0xcaaf7c=_0x5b6fce['createContainerElement']('div'),_0x14e717=_0x5b6fce['createEmptyElement']('hr');return _0x5b6fce['addClass']('ck-horizontal-line',_0xcaaf7c),_0x5b6fce['insert'](_0x5b6fce['createPositionAt'](_0xcaaf7c,0x0),_0x14e717),_0xcaaf7c;},'converterPriority':'high'});}}class TrackChangesHtmlEmbed extends Plugin{['afterInit'](){const _0x4114c3=this['editor'];if(!_0x4114c3['plugins']['has']('HtmlEmbed'))return;const _0x1aa195=_0x4114c3['plugins']['get']('TrackChangesEditing'),_0x50d642=_0x4114c3['locale'];_0x1aa195['descriptionFactory']['registerElementLabel']('rawHtml',_0x2f991b=>getTranslation$1(_0x50d642,'ELEMENT_HTML_EMBED',_0x2f991b)),_0x1aa195['enableDefaultAttributesIntegration']('htmlEmbed'),_0x1aa195['registerBlockAttribute']('value'),_0x1aa195['descriptionFactory']['registerDescriptionCallback'](_0x262cbe=>{if('attribute'!=_0x262cbe['type'])return;const {data:_0x8b288f}=_0x262cbe;if(_0x8b288f&&'value'==_0x8b288f['key']&&_0x262cbe['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x383761=getTranslation$1(_0x50d642,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x50d642,'*Change\x20%0\x20content*',_0x383761)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x36930f=this['editor'],_0x266743=_0x36930f['locale'];_0x36930f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3afed3=>{if('formatBlock'!=_0x3afed3['type'])return;const {data:_0x2d9f34}=_0x3afed3;if(_0x2d9f34&&'htmlEmbed'==_0x2d9f34['commandName']){const _0xfcc82d=getTranslation$1(_0x266743,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x266743,'*Change\x20%0\x20content*',_0xfcc82d)};}});}}class TrackChangesImage extends Plugin{['afterInit'](){const _0x2de5df=this['editor'];if(!_0x2de5df['plugins']['has']('ImageEditing'))return;const _0x306ec3=_0x2de5df['plugins']['get']('TrackChangesEditing'),_0x49c33a=_0x2de5df['plugins']['get']('ImageUtils'),_0x425b98=_0x2de5df['locale'];_0x306ec3['enableCommand']('insertImage'),_0x306ec3['descriptionFactory']['registerElementLabel']('imageBlock',_0x35349f=>getTranslation$1(_0x425b98,'ELEMENT_IMAGE',_0x35349f)),_0x306ec3['descriptionFactory']['registerElementLabel']('imageInline',_0x16a5fd=>getTranslation$1(_0x425b98,'ELEMENT_INLINE_IMAGE',_0x16a5fd)),_0x306ec3['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$1(_0x425b98,'ELEMENT_CAPTION')),_0x2de5df['plugins']['has']('ImageUploadEditing')&&_0x306ec3['enableCommand']('uploadImage'),_0x2de5df['plugins']['has']('ImageBlockEditing')&&_0x2de5df['plugins']['has']('ImageInlineEditing')&&(_0x306ec3['enableCommand']('imageTypeInline',(_0x30703b,_0x3abb61)=>{const _0x55f577=_0x49c33a['getClosestSelectedImageElement'](_0x2de5df['model']['document']['selection']);_0x2de5df['model']['change'](()=>{_0x306ec3['markBlockFormat'](_0x55f577,{'commandName':'imageTypeInline','commandParams':[_0x3abb61]},[],'convertBlockImageToInline');});}),_0x306ec3['enableCommand']('imageTypeBlock',(_0x1a0fae,_0xda3439)=>{_0x2de5df['model']['change'](_0x1f9292=>{let _0x6177a6=_0x49c33a['getClosestSelectedImageElement'](_0x2de5df['model']['document']['selection']),_0xbd9217=_0x1f9292['createRangeOn'](_0x6177a6);const _0x2b19f2=LivePosition['fromPosition'](_0xbd9217['start'],'toPrevious'),_0x5c405d=LivePosition['fromPosition'](_0xbd9217['end'],'toNext');_0x306ec3['forceDefaultExecution'](()=>_0x1a0fae(_0xda3439)),_0x6177a6=_0x49c33a['getClosestSelectedImageElement'](_0x2de5df['model']['document']['selection']),_0xbd9217=_0x1f9292['createRangeOn'](_0x6177a6);const _0x92a79e=_0x1f9292['createRange'](_0x2b19f2,_0x5c405d);_0x2b19f2['detach'](),_0x5c405d['detach'](),_0x306ec3['markBlockFormat'](_0x6177a6,{'commandName':'imageTypeInline','commandParams':[_0xda3439]},[],'convertInlineImageToBlock'),_0x92a79e['start']['isBefore'](_0xbd9217['start'])&&_0x306ec3['markInsertion'](_0x1f9292['createRange'](_0x92a79e['start'],_0xbd9217['start']),'convertInlineImageToBlock'),_0xbd9217['end']['isBefore'](_0x92a79e['end'])&&_0x306ec3['markInsertion'](_0x1f9292['createRange'](_0xbd9217['end'],_0x92a79e['end']),'convertInlineImageToBlock');});}),_0x306ec3['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x306ec3['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x306ec3['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x306ec3['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x306ec3['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x306ec3['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x381dda])=>{const _0x4da855=_0x306ec3['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x2c215b=_0x381dda['start'],_0x16ba4b=_0x381dda['end'];const _0x3dd927=_0x2de5df['model']['schema']['getNearestSelectionRange'](_0x2c215b,'backward'),_0x36f23c=_0x2de5df['model']['schema']['getNearestSelectionRange'](_0x16ba4b,'forward');_0x3dd927['isCollapsed']&&(_0x2c215b=_0x3dd927['start']),_0x36f23c['isCollapsed']&&(_0x16ba4b=_0x36f23c['end']),_0x4da855([_0x2de5df['model']['createRange'](_0x2c215b,_0x16ba4b)]);}),_0x306ec3['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x428524),_0x306ec3['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x428524)),_0x2de5df['plugins']['has']('ImageCaptionEditing')&&(_0x306ec3['enableCommand']('toggleImageCaption',(_0x563510,_0x1783bf)=>{const _0x5e2e82=_0x2de5df['plugins']['get']('ImageCaptionUtils');let _0x296b3e=_0x49c33a['getClosestSelectedImageElement'](_0x2de5df['model']['document']['selection']),_0x1f87e8=_0x5e2e82['getCaptionFromImageModelElement'](_0x296b3e);_0x2de5df['model']['change'](()=>{if(_0x1f87e8)return void _0x306ec3['markDeletion'](_0x2de5df['model']['createRangeOn'](_0x1f87e8));const _0x427b51=_0x49c33a['isBlockImage'](_0x296b3e);_0x563510(_0x1783bf),_0x296b3e=_0x49c33a['getClosestSelectedImageElement'](_0x2de5df['model']['document']['selection']),_0x1f87e8=_0x5e2e82['getCaptionFromImageModelElement'](_0x296b3e),_0x306ec3['markInsertion'](_0x2de5df['model']['createRangeOn'](_0x1f87e8),_0x427b51?null:'imageCaption');});}),_0x306ec3['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x428524));const _0x3b8840=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x23e243(_0x5df361,_0x457720){const _0x1f4185=_0x3b8840['findIndex'](({type:_0x427a36,subType:_0xbddd06})=>_0x5df361['type']==_0x427a36&&_0x5df361['subType']==_0xbddd06),_0x543262=_0x3b8840['findIndex'](({type:_0x39bb26,subType:_0xe38251})=>_0x457720['type']==_0x39bb26&&_0x457720['subType']==_0xe38251);if(_0x1f4185<0x0||_0x543262<0x0)return!0x1;const _0xa52a16=_0x5df361['getFirstRange'](),_0x37f341=_0x457720['getFirstRange']();if((0x0==_0x1f4185||0x1==_0x1f4185)&&0x2==_0x543262&&_0xa52a16['isIntersecting'](_0x37f341))return!0x0;if(0x2==_0x1f4185&&0x3==_0x543262){const _0x2d89fe=_0x306ec3['_findSuggestions'](_0xa52a16,'insertion')['filter'](({suggestion:_0x133c5c,meta:_0x21322f})=>_0x21322f['isOwn']&&'convertInlineImageToBlock'==_0x133c5c['subType']);if(_0x2d89fe['length']>0x1&&_0x37f341['end']['isEqual'](_0xa52a16['start']))return!0x0;if(0x1==_0x2d89fe['length']&&(_0xa52a16['start']['isEqual'](_0x37f341['end'])||_0xa52a16['end']['isEqual'](_0x37f341['start'])))return!0x0;}if(0x3==_0x1f4185&&0x3==_0x543262&&_0xa52a16['start']['isBefore'](_0x37f341['start'])){const _0x77bb2=_0xa52a16['end']['nodeAfter'],_0x8f80b7=_0x37f341['start']['nodeBefore'];return _0x49c33a['isBlockImage'](_0x77bb2)&&_0x77bb2===_0x8f80b7;}return!0x1;}function _0x428524(_0x16cf89,_0x4d1395){return _0x23e243(_0x16cf89,_0x4d1395)?[_0x16cf89,_0x4d1395]:_0x23e243(_0x4d1395,_0x16cf89)?[_0x4d1395,_0x16cf89]:null;}_0x2de5df['plugins']['has']('ImageResize')&&(_0x306ec3['enableDefaultAttributesIntegration']('resizeImage'),_0x306ec3['registerBlockAttribute']('resizedWidth'),_0x306ec3['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$1(_0x425b98,'FORMAT_IMAGE_SIZE'))),_0x2de5df['plugins']['has']('ImageTextAlternativeEditing')&&(_0x306ec3['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x306ec3['registerBlockAttribute']('alt')),_0x2de5df['plugins']['has']('PictureEditing')&&(_0x306ec3['registerBlockAttribute']('sources'),_0x306ec3['descriptionFactory']['registerDescriptionCallback'](_0x55be1c=>{if('attribute'!=_0x55be1c['type'])return;const {data:_0x3c328f}=_0x55be1c;return _0x3c328f&&'sources'==_0x3c328f['key']?{'type':'format','content':''}:void 0x0;})),_0x2de5df['plugins']['has']('ImageSizeAttributes')&&(_0x306ec3['registerBlockAttribute']('width'),_0x306ec3['registerBlockAttribute']('height'),_0x306ec3['descriptionFactory']['registerDescriptionCallback'](_0x510f4b=>{if('attribute'!=_0x510f4b['type'])return;const {data:_0x555ac}=_0x510f4b;return!_0x555ac||'width'!=_0x555ac['key']&&'height'!=_0x555ac['key']?void 0x0:{'type':'format','content':''};})),_0x306ec3['descriptionFactory']['registerDescriptionCallback'](_0x6bb67d=>{if(!!_0x3b8840['find'](({type:_0x27742e,subType:_0x223b26})=>_0x6bb67d['type']==_0x27742e&&_0x6bb67d['subType']==_0x223b26))return _0x6bb67d['previous']?{}:void 0x0;}),_0x306ec3['descriptionFactory']['registerDescriptionCallback'](_0x468f0f=>{if('insertion'==_0x468f0f['type']||'deletion'==_0x468f0f['type']){const _0x2e78eb=_0x468f0f['getContainedElement']();if(_0x2e78eb&&_0x2e78eb['is']('element','caption'))return{'type':'insertion'==_0x468f0f['type']?'addObject':'removeObject','element':_0x2e78eb,'quantity':0x1};}}),_0x306ec3['descriptionFactory']['registerDescriptionCallback'](_0x5758ee=>'formatBlock'==_0x5758ee['type']&&'convertInlineImageToBlock'==_0x5758ee['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5758ee['type']&&'convertBlockImageToInline'==_0x5758ee['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x306ec3['descriptionFactory']['registerDescriptionCallback'](_0x2401f6=>{if('attribute'!=_0x2401f6['type'])return;const {data:_0x589c9e}=_0x2401f6;if(!_0x589c9e||'alt'!=_0x589c9e['key'])return;const _0x184df2=_0x589c9e['newValue'];return _0x184df2?{'type':'format','content':getTranslation$1(_0x425b98,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x184df2+'\x22')}:{'type':'format','content':getTranslation$1(_0x425b98,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x248aef=this['editor'],_0x4625d0=_0x248aef['locale'];_0x248aef['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4b8a60=>{if('formatBlock'!=_0x4b8a60['type']&&'formatInline'!=_0x4b8a60['type'])return;const {data:_0x165234}=_0x4b8a60;if(_0x165234){if('imageTextAlternative'==_0x165234['commandName']){const _0x1308a4=_0x165234['commandParams'][0x0]['newValue'];return _0x1308a4?{'type':'format','content':getTranslation$1(_0x4625d0,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x1308a4+'\x22')}:{'type':'format','content':getTranslation$1(_0x4625d0,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x165234['commandName']){const _0xbc1b8b=_0x165234['commandParams'][0x0]['width'];return _0xbc1b8b?{'type':'format','content':getTranslation$1(_0x4625d0,'*Set\x20image\x20width:*\x20%0',_0xbc1b8b)}:{'type':'format','content':getTranslation$1(_0x4625d0,'*Reset\x20image\x20width*')};}}});}}class TrackChangesImageReplace extends Plugin{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x111c74=this['editor']['locale'],_0x45dc51=this['editor']['plugins']['get']('TrackChangesEditing');_0x45dc51['enableDefaultAttributesIntegration']('replaceImageSource'),_0x45dc51['registerBlockAttribute']('src'),_0x45dc51['descriptionFactory']['registerDescriptionCallback'](_0x41ca89=>{if('attribute'!=_0x41ca89['type'])return;const {data:_0x335855}=_0x41ca89;return _0x335855&&'src'==_0x335855['key']?_0x335855['newValue']&&_0x335855['oldValue']?{'type':'format','content':getTranslation$1(_0x111c74,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x4202c5=this['editor']['plugins']['get']('TrackChangesEditing');_0x4202c5['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x4202c5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x4202c5['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x4202c5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5ad246=this['editor'],_0x560eae=_0x5ad246['locale'];_0x5ad246['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x344a57=>{if('formatBlock'!=_0x344a57['type']&&'formatInline'!=_0x344a57['type'])return;const {data:_0x4026b8}=_0x344a57;if(!_0x4026b8||'replaceImageSource'!=_0x4026b8['commandName'])return;return{'type':'format','content':getTranslation$1(_0x560eae,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends Plugin{['afterInit'](){const _0x56b9c5=this['editor'];if(!_0x56b9c5['plugins']['has']('ImageStyleEditing'))return;const _0x332af1=_0x56b9c5['plugins']['get']('TrackChangesEditing'),_0x3f2836=_0x56b9c5['plugins']['get']('ImageUtils'),_0x19684e={};_0x332af1['enableCommand']('imageStyle',(_0x20cffe,_0x47d349)=>{const _0x1322bf=_0x56b9c5['plugins']['get']('Users')['me'],_0x185dce=_0x56b9c5['commands']['get']('imageStyle');let _0x21bbf3=_0x3f2836['getClosestSelectedImageElement'](_0x56b9c5['model']['document']['selection']),_0x33ddb4=_0x56b9c5['model']['createRangeOn'](_0x21bbf3),_0x262e0b=_0x185dce['value'];if(_0x262e0b==_0x47d349['value'])return;const _0x408c36={'commandName':'imageStyle','commandParams':[_0x47d349],'formatGroupId':uid()};_0x56b9c5['model']['change'](()=>{if(_0x332af1['getSuggestions']()['filter'](_0x4e2e1f=>_0x4e2e1f['isInContent']&&_0x1322bf==_0x4e2e1f['author']&&('formatBlock'==_0x4e2e1f['type']||'formatInline'==_0x4e2e1f['type'])&&('imageStylePreApply'==_0x4e2e1f['subType']||'imageStylePostApply'==_0x4e2e1f['subType'])&&_0x4e2e1f['getFirstRange']()['isEqual'](_0x33ddb4))['forEach'](_0x7ceb0d=>_0x332af1['discardSuggestion'](_0x7ceb0d['head'])),_0x21bbf3=_0x3f2836['getClosestSelectedImageElement'](_0x56b9c5['model']['document']['selection']),_0x33ddb4=_0x56b9c5['model']['createRangeOn'](_0x21bbf3),_0x185dce['refresh'](),_0x56b9c5['commands']['get']('imageTypeInline')['refresh'](),_0x56b9c5['commands']['get']('imageTypeBlock')['refresh'](),_0x262e0b=_0x185dce['value'],_0x262e0b!=_0x47d349['value'])return _0x3f2836['isInlineImage'](_0x21bbf3)&&_0x185dce['shouldConvertImageType'](_0x47d349['value'],_0x21bbf3)?(_0x20cffe({..._0x47d349,'setImageSizes':!0x1}),_0x21bbf3=_0x3f2836['getClosestSelectedImageElement'](_0x56b9c5['model']['document']['selection']),void _0x332af1['markBlockFormat'](_0x21bbf3,{..._0x408c36,'commandReversedParams':[{'value':_0x262e0b||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x3f2836['isBlockImage'](_0x21bbf3)?_0x332af1['markBlockFormat'](_0x21bbf3,_0x408c36,[],'imageStylePostApply'):_0x332af1['markInlineFormat'](_0x33ddb4,_0x408c36,'imageStylePostApply'));});});for(const _0x991892 of _0x56b9c5['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x19684e[_0x991892['name']]=_0x991892['title']['toLowerCase']();_0x332af1['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x332af1['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x332af1['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x332af1['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x4fa057])=>{_0x3f2836['setImageNaturalSizeAttributes'](_0x4fa057['getContainedElement']());}),_0x332af1['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0xa8b014,_0xa9a51)=>{_0x332af1['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0xa8b014,{'commandName':_0xa9a51['commandName'],'commandParams':_0xa9a51['commandReversedParams']});}),_0x332af1['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x59b8fb,_0xd96908){if(_0x23f6d3(_0x59b8fb,_0xd96908))return[_0x59b8fb,_0xd96908];if(_0x23f6d3(_0xd96908,_0x59b8fb))return[_0xd96908,_0x59b8fb];return null;});const _0x2f7eb7=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x23f6d3(_0x25a1d8,_0x276e17){const _0x1d06ba=_0x2f7eb7['findIndex'](({type:_0x2d6922,subType:_0x3f0146})=>_0x25a1d8['type']==_0x2d6922&&_0x25a1d8['subType']==_0x3f0146),_0x3ddad0=_0x2f7eb7['findIndex'](({type:_0xc06687,subType:_0x317e58})=>_0x276e17['type']==_0xc06687&&_0x276e17['subType']==_0x317e58);if(_0x1d06ba<0x0||_0x3ddad0<0x0)return!0x1;const _0x5453fd=_0x25a1d8['getFirstRange'](),_0x5403b9=_0x276e17['getFirstRange']();if((0x0==_0x1d06ba||0x1==_0x1d06ba)&&0x2==_0x3ddad0&&_0x5453fd['isIntersecting'](_0x5403b9))return!0x0;if(0x2==_0x1d06ba&&0x3==_0x3ddad0){const _0xb270b4=_0x332af1['_findSuggestions'](_0x5453fd,'insertion')['filter'](({suggestion:_0x366ae9,meta:_0x13fecd})=>_0x13fecd['isOwn']&&'convertInlineImageToBlock'==_0x366ae9['subType']);if(_0xb270b4['length']>0x1&&_0x5403b9['end']['isEqual'](_0x5453fd['start']))return!0x0;if(0x1==_0xb270b4['length']&&(_0x5453fd['start']['isEqual'](_0x5403b9['end'])||_0x5453fd['end']['isEqual'](_0x5403b9['start'])))return!0x0;}if(0x3==_0x1d06ba&&0x3==_0x3ddad0&&_0x5453fd['start']['isBefore'](_0x5403b9['start'])){const _0x5739d8=_0x5453fd['end']['nodeAfter'],_0x44590a=_0x5403b9['start']['nodeBefore'];return _0x3f2836['isBlockImage'](_0x5739d8)&&_0x5739d8===_0x44590a;}return!0x1;}_0x56b9c5['model']['document']['registerPostFixer'](()=>{let _0x38fe23=!0x1;const _0x5b73f8=Array['from'](_0x56b9c5['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x534bbe,data:_0x65d634}of _0x5b73f8){const {group:_0x533f85,type:_0x2140da,subType:_0x1d0091,id:_0x581d17}=_0x332af1['_splitMarkerName'](_0x534bbe);if('suggestion'==_0x533f85&&_0x332af1['hasSuggestion'](_0x581d17)){if('formatBlock'==_0x2140da&&('imageStylePreApply'==_0x1d0091||'imageStylePostApply'==_0x1d0091)){const _0x28dee0=_0x332af1['getSuggestion'](_0x581d17);if(_0x65d634['newRange']){const _0x3cb9f8=_0x28dee0['getFirstRange']()['getContainedElement']();if(_0x3f2836['isBlockImage'](_0x3cb9f8))continue;_0x332af1['discardSuggestion'](_0x28dee0),_0x38fe23=!0x0;}}if('insertion'==_0x2140da&&'imageCaption'==_0x1d0091&&!_0x65d634['newRange']){const _0x2bbe2=_0x332af1['getSuggestion'](_0x581d17);_0x2bbe2['next']&&_0x2bbe2['next']['isInContent']&&(_0x332af1['discardSuggestion'](_0x2bbe2['next']),_0x38fe23=!0x0);}}}return _0x38fe23;}),this['_registerLegacyDescription'](_0x19684e);}['_registerLegacyDescription'](_0x502554){const _0x453178=this['editor'],_0x27b62e=_0x453178['locale'];_0x453178['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2f2593=>{if('formatBlock'!=_0x2f2593['type']&&'formatInline'!=_0x2f2593['type'])return;const {data:_0x6cb66}=_0x2f2593;if(!_0x6cb66||'imageStyle'!=_0x6cb66['commandName'])return;const _0x2c3b01=_0x6cb66['commandParams'][0x0]['value'];return _0x604921('side'===_0x2c3b01?getTranslation$1(_0x27b62e,'FORMAT_SIDE_IMAGE'):_0x502554[_0x2c3b01]||_0x2c3b01);function _0x604921(_0x168f11){return{'type':'format','content':getTranslation$1(_0x27b62e,'*Format:*\x20%0',_0x168f11)};}});}}class TrackChangesImportWord extends Plugin{constructor(_0x44a4f1){super(_0x44a4f1),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x3c314b=this['editor'],_0x5131b9=_0x3c314b['commands']['get']('importWord'),_0x557f56=_0x3c314b['commands']['get']('trackChanges');_0x5131b9&&(_0x5131b9['on']('execute',(_0x3024d6,[,_0x546019])=>{this['_trackChangesValueDuringImport']=_0x557f56['value'],_0x546019['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x5131b9,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x5131b9,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x557f56['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3c314b['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x553583,_0x3618b4){const {suggestions:_0x599819}=_0x3618b4,_0x1d5faa=this['editor']['commands']['get']('trackChanges'),_0x111f59=_0x1d5faa['value'];this['_trackChangesValueDuringImport']!==_0x111f59&&(_0x1d5faa['execute'](),this['_trackChangesExecuted']=!0x0),_0x599819&&_0x599819['forEach'](({id:_0x347fb7,type:_0x426bf8,author:_0x4ac328,created_at:_0x52f5a0})=>{const _0x891419={'id':_0x347fb7,'type':_0x426bf8,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4ac328,'createdAt':_0x52f5a0?new Date(_0x52f5a0):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x891419);});}}class TrackChangesIndent extends Plugin{['afterInit'](){const _0x490700=this['editor'],_0x570784=_0x490700['plugins']['get']('TrackChangesEditing');if(_0x490700['plugins']['has']('IndentEditing')&&(_0x570784['enableCommand']('indent'),_0x570784['enableCommand']('outdent')),_0x490700['plugins']['has']('IndentBlock')){for(const _0x242cf0 of['indentBlock','outdentBlock'])_0x570784['enableDefaultAttributesIntegration'](_0x242cf0);}const _0x598978=_0x490700['locale'];_0x570784['registerBlockAttribute']('blockIndent'),_0x570784['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$1(_0x598978,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1b2a0a=this['editor'],_0x51d82c=_0x1b2a0a['locale'],_0x100ac8=_0x1b2a0a['plugins']['get']('TrackChangesEditing');_0x100ac8['descriptionFactory']['registerDescriptionCallback'](_0x1386b8=>{if('formatBlock'!=_0x1386b8['type'])return;const {data:_0x5d84a7}=_0x1386b8;if(!_0x5d84a7)return;if('indentBlock'!=_0x5d84a7['commandName']&&'outdentBlock'!=_0x5d84a7['commandName'])return;const _0xd58f41=_0x1386b8['getItems']()[0x0],_0x486157=_0x100ac8['descriptionFactory']['getItemLabel'](_0xd58f41);return'indentBlock'==_0x5d84a7['commandName']?{'type':'format','content':getTranslation$1(_0x51d82c,'*Indent:*\x20%0',_0x486157)}:'outdentBlock'==_0x5d84a7['commandName']?{'type':'format','content':getTranslation$1(_0x51d82c,'*Outdent:*\x20%0',_0x486157)}:void 0x0;});}}class TrackChangesInputCommand extends Plugin{static get['requires'](){return[Input];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class TrackChangesLink extends Plugin{['afterInit'](){const _0x1c3a2f=this['editor'];if(!_0x1c3a2f['plugins']['has']('LinkEditing'))return;const _0x50ce2d=_0x1c3a2f['plugins']['get']('TrackChangesEditing'),_0x5ad82a=_0x1c3a2f['commands']['get']('link');_0x50ce2d['enableDefaultAttributesIntegration']('link'),_0x50ce2d['enableDefaultAttributesIntegration']('unlink'),_0x50ce2d['registerInlineAttribute']('linkHref');for(const _0x4c6be7 of _0x5ad82a['manualDecorators'])_0x50ce2d['registerInlineAttribute'](_0x4c6be7['id']),_0x50ce2d['descriptionFactory']['registerAttributeLabel'](_0x4c6be7['id'],'link\x20('+_0x4c6be7['label']['toLowerCase']()+')');_0x50ce2d['descriptionFactory']['registerDescriptionCallback'](_0x3836b2=>{if('attribute'!=_0x3836b2['type'])return;const {data:_0x546b02}=_0x3836b2;if(!_0x546b02||'linkHref'!=_0x546b02['key'])return;const _0x3b7e88=_0x546b02['newValue'],_0x5f52b2=_0x1c3a2f['locale'];return{'type':'format','content':null==_0x3b7e88?getTranslation$1(_0x5f52b2,'*Remove\x20link*'):getTranslation$1(_0x5f52b2,'*Set\x20link:*\x20%0','\x22'+_0x3b7e88+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4c6f6e=this['editor'],_0x588312=_0x4c6f6e['locale'];_0x4c6f6e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x25d986=>{if('formatInline'!=_0x25d986['type'])return;const {data:_0x575b95}=_0x25d986;if(_0x575b95){if('link'==_0x575b95['commandName']){const _0x2c2886=_0x575b95['commandParams'][0x0];return{'type':'format','content':getTranslation$1(_0x588312,'*Set\x20link:*\x20%0','\x22'+_0x2c2886+'\x22')};}return'unlink'==_0x575b95['commandName']?{'type':'format','content':getTranslation$1(_0x588312,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends Plugin{['afterInit'](){const _0x12e988=this['editor'],_0xcb4c23=_0x12e988['locale'];if(!_0x12e988['plugins']['has']('LegacyListEditing'))return;const _0x44341d=_0x12e988['plugins']['get']('TrackChangesEditing'),_0x8bc419=_0x12e988['plugins']['has']('LegacyTodoListEditing');function _0x5db425(_0x4e3b09){return()=>{const _0x489e98=_0x12e988['model']['document']['selection'],_0x3dffb3=_0x12e988['commands']['get'](_0x4e3b09);if(_0x3dffb3['value'])return void _0x12e988['execute']('paragraph',{});const _0x3cc856=_0x4e3b09['slice'](0x0,-0x4),_0x5d4734=getBlocksToMarkForListTypeChange(_0x489e98['getSelectedBlocks'](),_0x3cc856,_0x12e988['model']['schema']);_0x12e988['model']['change'](()=>{for(const _0x3b9cca of _0x5d4734)_0x44341d['markBlockFormat'](_0x3b9cca,{'commandName':_0x4e3b09,'commandParams':[{'forceValue':!_0x3dffb3['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x3b9cca));});};}function _0x3e49a9(_0x2063c5){return()=>{const _0x3d8f35=getBlocksToMarkForIndentChange(_0x12e988['model']['document']['selection']['getSelectedBlocks']()),_0x47db19=_0x12e988['model']['createRange'](_0x12e988['model']['createPositionAt'](_0x3d8f35[0x0],'before'),_0x12e988['model']['createPositionAt'](_0x3d8f35[_0x3d8f35['length']-0x1],'end'));_0x12e988['model']['change'](()=>{_0x44341d['markBlockFormat'](_0x47db19,{'commandName':_0x2063c5,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x3d8f35));});};}_0x44341d['enableCommand']('numberedList',_0x5db425('numberedList')),_0x44341d['enableCommand']('bulletedList',_0x5db425('bulletedList')),_0x8bc419&&_0x44341d['enableCommand']('todoList',_0x5db425('todoList')),_0x44341d['enableCommand']('indentList',_0x3e49a9('indentList')),_0x44341d['enableCommand']('outdentList',_0x3e49a9('outdentList')),_0x8bc419&&_0x44341d['enableCommand']('checkTodoList',()=>{const _0x4e539e=_0x12e988['commands']['get']('checkTodoList'),_0x2dd589=Array['from'](_0x4e539e['_selectedElements']);_0x2dd589['filter'](_0x4c63a4=>_0x4c63a4['getAttribute']('todoListChecked')!=_0x4e539e['value']),_0x12e988['model']['change'](()=>{for(const _0x1f4c2d of _0x2dd589)_0x44341d['markBlockFormat'](_0x1f4c2d,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x4e539e['value']}]});});}),_0x44341d['descriptionFactory']['registerElementLabel']('listItem',_0x28c3b9=>getTranslation$1(_0xcb4c23,'ELEMENT_LIST_ITEM',_0x28c3b9)),_0x44341d['descriptionFactory']['registerDescriptionCallback'](_0x447398=>{if('formatBlock'!=_0x447398['type']&&'formatInline'!=_0x447398['type'])return;const {data:_0x2b382a}=_0x447398;if(_0x2b382a){if('numberedList'==_0x2b382a['commandName']||'bulletedList'==_0x2b382a['commandName']||'todoList'==_0x2b382a['commandName'])switch(_0x2b382a['commandName']['replace']('List','')){case'bulleted':return _0x3a3003(getTranslation$1(_0xcb4c23,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x3a3003(getTranslation$1(_0xcb4c23,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3a3003(getTranslation$1(_0xcb4c23,'ELEMENT_TODO_LIST'));}if('indentList'==_0x2b382a['commandName'])return{'type':'format','content':getTranslation$1(_0xcb4c23,'*Indent:*\x20%0',getTranslation$1(_0xcb4c23,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x2b382a['commandName'])return{'type':'format','content':getTranslation$1(_0xcb4c23,'*Outdent:*\x20%0',getTranslation$1(_0xcb4c23,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x2b382a['commandName'])return _0x2b382a['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0xcb4c23,'*Check\x20item*')}:{'type':'format','content':getTranslation$1(_0xcb4c23,'*Uncheck\x20item*')};}function _0x3a3003(_0x4b428e){return{'type':'format','content':getTranslation$1(_0xcb4c23,'*Change\x20to:*\x20%0',_0x4b428e)};}});}}function getBlocksToMarkForListTypeChange(_0x504cb3,_0x1bd7a0,_0x5d9809){let _0x2405f5=Array['from'](_0x504cb3)['filter'](_0x266aee=>checkCanBecomeListItem(_0x266aee,_0x5d9809));_0x2405f5=_0x2405f5['filter'](_0x3cdd89=>!_0x3cdd89['is']('element','listItem')||_0x3cdd89['getAttribute']('listType')!=_0x1bd7a0);const _0x1833d1=new Set();for(const _0x2e514d of _0x2405f5)_0x2e514d['is']('element','listItem')?_0x1833d1['add'](getListHead(_0x2e514d)):_0x1833d1['add'](_0x2e514d);return Array['from'](_0x1833d1);}function checkCanBecomeListItem(_0x2fd5b1,_0x966319){return _0x966319['checkChild'](_0x2fd5b1['parent'],'listItem')&&!_0x966319['isObject'](_0x2fd5b1);}function getBlocksToMarkForIndentChange(_0x20f11e){let _0x1f7e8d=Array['from'](_0x20f11e);const _0x339696=_0x1f7e8d['findIndex'](_0x26d12b=>'listItem'!=_0x26d12b['name']);return _0x339696>-0x1&&(_0x1f7e8d=_0x1f7e8d['slice'](0x0,_0x339696)),_0x1f7e8d;}function getListHead(_0x520ac2){const _0x1ec7f6=_0x520ac2['getAttribute']('listIndent');if(0x0==_0x1ec7f6)return _0x520ac2;let _0x5b8c71=_0x520ac2;for(;_0x520ac2['previousSibling']&&_0x520ac2['previousSibling']['is']('element','listItem');){const _0x37a0a8=_0x520ac2['previousSibling']['getAttribute']('listIndent');if(_0x37a0a8==_0x1ec7f6)_0x5b8c71=_0x520ac2['previousSibling'];else{if(_0x37a0a8<_0x1ec7f6)break;}_0x520ac2=_0x520ac2['previousSibling'];}return _0x5b8c71;}function getBlocksAffectedByListTypeChange(_0x93688e){const _0x4a7e8e=[];if(_0x93688e['is']('element','listItem')&&_0x93688e['getAttribute']('listIndent')>0x0){let _0x500c20=_0x93688e['nextSibling'];for(;_0x500c20&&'listItem'==_0x500c20['name']&&_0x500c20['getAttribute']('listIndent')==_0x93688e['getAttribute']('listIndent');)_0x4a7e8e['push'](_0x500c20),_0x500c20=_0x500c20['nextSibling'];}return _0x4a7e8e;}function getBlocksAffectedByIndent(_0x377224){const _0x59c863=new Set();for(const _0x33c9fa of _0x377224){let _0x1f3632=_0x33c9fa['nextSibling'];for(;_0x1f3632&&_0x1f3632['getAttribute']('listIndent')>_0x33c9fa['getAttribute']('listIndent');)_0x59c863['add'](_0x1f3632),_0x1f3632=_0x1f3632['nextSibling'];}return Array['from'](_0x59c863);}class TrackChangesListProperties extends Plugin{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x5df8bb=this['editor']['config']['get']('list.properties'),_0x1e4f29=this['editor']['plugins']['get']('TrackChangesEditing');_0x5df8bb['styles']&&_0x1e4f29['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x5df8bb['reversed']&&_0x1e4f29['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x5df8bb['startIndex']&&_0x1e4f29['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x1e4f29['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x506d02,_0x356cb9={}){const _0x1d78c4=this['editor']['plugins']['get']('TrackChangesEditing'),_0x449810=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x1d78c4['markMultiRangeBlockFormat'](_0x449810,{'commandName':'listStyle','commandParams':[{'type':_0x356cb9['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x51ba4f,_0x5ac81c={}){const _0x1661c2=this['editor']['plugins']['get']('TrackChangesEditing'),_0x17f84d=this['_getSuggestionBlocks'](_0x4271e1=>_0x4271e1['is']('element','listItem')&&'numbered'===_0x4271e1['getAttribute']('listType'));if(_0x17f84d['length']<0x1)return;const _0x250897=_0x17f84d['map'](_0x5c8f03=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x5c8f03,'before'),this['editor']['model']['createPositionAt'](_0x5c8f03,0x0)));this['editor']['model']['change'](()=>{_0x1661c2['markMultiRangeBlockFormat'](_0x250897,{'commandName':'listReversed','commandParams':[{'reversed':_0x5ac81c['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x5639e2,_0x58dbc0={}){const _0x29d2db=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3fbccd=this['_getSuggestionBlocks'](_0x1e7a60=>_0x1e7a60['is']('element','listItem')&&'numbered'===_0x1e7a60['getAttribute']('listType'));if(_0x3fbccd['length']<0x1)return;const _0x4b28bf=_0x3fbccd['map'](_0x58c0b8=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x58c0b8,'before'),this['editor']['model']['createPositionAt'](_0x58c0b8,0x0)));this['editor']['model']['change'](()=>{_0x29d2db['markMultiRangeBlockFormat'](_0x4b28bf,{'commandName':'listStart','commandParams':[{'startIndex':_0x58dbc0['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x3917e3){if('formatBlock'!=_0x3917e3['type']&&'formatInline'!=_0x3917e3['type'])return;const _0x350b51=this['editor']['locale'],{data:_0x5b82ac}=_0x3917e3;if(!_0x5b82ac)return;let _0x48599f,_0x3093aa;switch(_0x5b82ac['commandName']){case'listStyle':_0x48599f='*Change\x20to:*\x20%0',_0x3093aa={'type':'format','content':getTranslation$1(_0x350b51,_0x48599f,getTranslation$1(_0x350b51,this['_getTranslationKeyForListStyle'](_0x5b82ac['commandParams'][0x0]['type'])))};break;case'listReversed':_0x48599f=_0x5b82ac['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x3093aa={'type':'format','content':getTranslation$1(_0x350b51,_0x48599f)};break;case'listStart':_0x48599f='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3093aa={'type':'format','content':getTranslation$1(_0x350b51,_0x48599f,_0x5b82ac['commandParams'][0x0]['startIndex'])};}return _0x3093aa;}['_getSuggestionBlocksForListStyle'](){var _0x251690,_0x12fa4e,_0x593fe9,_0x137b18;const _0x52c6be=this['editor']['plugins']['get']('LegacyListUtils');let _0x566b4d=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return(null===(_0x251690=_0x566b4d[0x0])||void 0x0===_0x251690?void 0x0:_0x251690['is']('element','listItem'))&&_0x566b4d['unshift'](..._0x52c6be['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),(null===(_0x12fa4e=_0x566b4d[_0x566b4d['length']-0x1])||void 0x0===_0x12fa4e?void 0x0:_0x12fa4e['is']('element','listItem'))&&_0x566b4d['push'](..._0x52c6be['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x566b4d=[...new Set(_0x566b4d)],(null===(_0x137b18=null===(_0x593fe9=this['editor']['model']['document']['selection']['getFirstPosition']())||void 0x0===_0x593fe9?void 0x0:_0x593fe9['parent'])||void 0x0===_0x137b18?void 0x0:_0x137b18['is']('element','listItem'))&&(_0x566b4d=_0x566b4d['filter'](_0x4add42=>_0x4add42['is']('element','listItem'))),_0x566b4d;}['_getSuggestionBlocks'](_0x40c804){const _0x23c5b2=this['editor']['plugins']['get']('LegacyListUtils');let _0x326a0a=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x40c804)['map'](_0x402105=>{const _0x54c43a=this['editor']['model']['createPositionAt'](_0x402105,0x0);return[..._0x23c5b2['getSiblingNodes'](_0x54c43a,'backward'),..._0x23c5b2['getSiblingNodes'](_0x54c43a,'forward')];})['flat']();return _0x326a0a=[...new Set(_0x326a0a)],_0x326a0a;}['_getTranslationKeyForListStyle'](_0x37a3b8){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x37a3b8)||'default')['toUpperCase']()+'_LIST_'+_0x37a3b8['toUpperCase']()['replace'](/-/g,'_');}}class TrackChangesMediaEmbed extends Plugin{['afterInit'](){const _0x252f03=this['editor'];if(!_0x252f03['plugins']['has']('MediaEmbedEditing'))return;const _0x1f66ce=_0x252f03['plugins']['get']('TrackChangesEditing'),_0x5ad9d3=_0x252f03['locale'];_0x1f66ce['enableCommand']('mediaEmbed'),_0x1f66ce['descriptionFactory']['registerElementLabel']('media',_0x23fc08=>getTranslation$1(_0x5ad9d3,'ELEMENT_MEDIA',_0x23fc08)),_0x252f03['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x19a695,{writer:_0x1e2ee3,options:_0x5d56f4})=>{if(_0x5d56f4['showSuggestionHighlights'])return _0x1e2ee3['createEmptyElement']('div');},'converterPriority':'high'}),_0x252f03['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5c7bad,_0xcb0807,_0x1eb83e)=>{_0x1eb83e['options']['showSuggestionHighlights']&&_0x5c7bad['stop']();},{'priority':'high'});}}class TrackChangesMention extends Plugin{['afterInit'](){const _0x4b130a=this['editor'];_0x4b130a['plugins']['has']('MentionEditing')&&_0x4b130a['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class TrackChangesMergeFields extends Plugin{['afterInit'](){const _0x3275e5=this['editor'];if(!_0x3275e5['plugins']['has']('MergeFieldsEditing'))return;const _0x22d440=_0x3275e5['plugins']['get']('TrackChangesEditing'),_0x7a9904=_0x3275e5['locale'];_0x22d440['enableCommand']('insertMergeField'),_0x22d440['enableCommand']('insertMergeFieldBlock'),_0x22d440['enableCommand']('insertMergeFieldImage'),_0x22d440['descriptionFactory']['registerElementLabel']('mergeField',_0x33c6ce=>getTranslation$1(_0x7a9904,'ELEMENT_MERGE_FIELD',_0x33c6ce)),_0x22d440['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x5a9085=>getTranslation$1(_0x7a9904,'ELEMENT_MERGE_FIELD',_0x5a9085)),_0x22d440['descriptionFactory']['registerDescriptionCallback'](_0x4a7efd=>{if('insertion'!=_0x4a7efd['type']&&'deletion'!=_0x4a7efd['type'])return;const _0x1657cc=_0x4a7efd['getContainedElement']();if(null==_0x1657cc)return;const _0x6df8d7=_0x3275e5['plugins']['get']('MergeFieldsEditing');let _0x301660;switch(_0x6df8d7['getMergeFieldType'](_0x1657cc)){case null:return;case'image':{const _0x14ef09=_0x6df8d7['unwrapAffixes'](_0x1657cc['getAttribute']('src'));_0x301660=_0x6df8d7['getLabel'](_0x14ef09)||_0x14ef09;break;}default:{const _0x3c96e9=_0x1657cc['getAttribute']('id');_0x301660=_0x6df8d7['getLabel'](_0x3c96e9)||_0x3c96e9;break;}}return'insertion'==_0x4a7efd['type']?{'type':'insertion','content':getTranslation$1(_0x7a9904,'*Insert:*\x20%0','\x22'+_0x301660+'\x22\x20'+getTranslation$1(_0x7a9904,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$1(_0x7a9904,'*Remove:*\x20%0','\x22'+_0x301660+'\x22\x20'+getTranslation$1(_0x7a9904,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends Plugin{['afterInit'](){const _0x5acdcb=this['editor'],_0x8ae813=_0x5acdcb['plugins']['get']('TrackChangesEditing');_0x5acdcb['plugins']['has']('MultiLevelList')&&(_0x8ae813['enableDefaultAttributesIntegration']('multiLevelList'),_0x8ae813['registerBlockAttribute']('listMarkerStyle'),_0x8ae813['descriptionFactory']['registerDescriptionCallback'](_0x428d8c=>this['handleDescriptions'](_0x428d8c)));}['handleDescriptions'](_0x26adb6){const _0x1c19d8=this['editor']['locale'],{data:_0x38c1d0}=_0x26adb6,_0x44dd69={'type':'format','content':''};if(_0x38c1d0&&'listMarkerStyle'==_0x38c1d0['key']){if(!_0x38c1d0['oldValue'])return{'type':'format','content':getTranslation$1(_0x1c19d8,'*Set\x20format:*\x20%0',getTranslation$1(_0x1c19d8,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x38c1d0['newValue']+')'};if(!_0x38c1d0['newValue']){let _0x549f8f=_0x26adb6['head'];for(;_0x549f8f;){if(_0x549f8f['data']&&'listType'==_0x549f8f['data']['key']&&_0x549f8f['data']['newValue'])return _0x44dd69;_0x549f8f=_0x549f8f['next'];}return{'type':'format','content':getTranslation$1(_0x1c19d8,'*Remove\x20format:*\x20%0',getTranslation$1(_0x1c19d8,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x38c1d0['oldValue']+')'};}}}}class TrackChangesPageBreak extends Plugin{['afterInit'](){const _0x28e235=this['editor'];if(!_0x28e235['plugins']['has']('PageBreakEditing'))return;_0x28e235['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x14527e=_0x28e235['plugins']['get']('TrackChangesEditing'),_0x56f0c3=_0x28e235['locale'];_0x14527e['descriptionFactory']['registerElementLabel']('pageBreak',_0x54059b=>getTranslation$1(_0x56f0c3,'ELEMENT_PAGE_BREAK',_0x54059b));}}class TrackChangesParagraph extends Plugin{['afterInit'](){const _0x3cc9fe=this['editor'];if(!_0x3cc9fe['plugins']['has']('Paragraph'))return;const _0x59874b=_0x3cc9fe['locale'],_0x1072b9=_0x3cc9fe['plugins']['get']('TrackChangesEditing');_0x1072b9['descriptionFactory']['registerElementLabel']('paragraph',_0x23d915=>getTranslation$1(_0x59874b,'ELEMENT_PARAGRAPH',_0x23d915)),_0x1072b9['enableDefaultAttributesIntegration']('paragraph'),_0x1072b9['enableCommand']('insertParagraph'),_0x3cc9fe['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',downcastInsertSplitMarkerSuggestion(_0x3cc9fe),{'priority':'highest'}),_0x3cc9fe['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x341457,_0xe5261b,_0x1db84f)=>{_0x1db84f['options']['showSuggestionHighlights']&&downcastInsertSplitMarkerSuggestion(_0x3cc9fe,{'showActiveMarker':!0x1})(_0x341457,_0xe5261b,_0x1db84f);},{'priority':'highest'});const _0x425d57=_0x1072b9['descriptionFactory'];_0x425d57['registerDescriptionCallback'](_0x3d41e1=>{if('insertion'!==_0x3d41e1['type'])return;const {start:_0x819c18,end:_0x4b3b86}=_0x3d41e1['getFirstRange']();if(!_0x819c18['isTouching'](_0x4b3b86)||!_0x819c18['nodeAfter'])return;const _0x23a2fe=_0x3cc9fe['model']['schema'],_0x447b06=_0x819c18['nodeAfter'];return _0x23a2fe['isBlock'](_0x447b06)&&!_0x23a2fe['isLimit'](_0x447b06)&&_0x23a2fe['checkChild'](_0x447b06,'$text')?{'type':'insertion','content':getTranslation$1(_0x59874b,'*Insert:*\x20%0',_0x425d57['getItemLabel'](_0x447b06,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x17f487=this['editor'],_0x337f65=_0x17f487['locale'];_0x17f487['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4592a2=>{if('formatBlock'!=_0x4592a2['type'])return;const {data:_0x10f72}=_0x4592a2;return _0x10f72&&'paragraph'==_0x10f72['commandName']?{'type':'format','content':getTranslation$1(_0x337f65,'*Change\x20to:*\x20%0',getTranslation$1(_0x337f65,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function downcastInsertSplitMarkerSuggestion(_0x5f1c5b,{showActiveMarker:_0x8c3b2b=!0x0}={}){return(_0x14166d,_0x3a5470,_0x25ceb5)=>{const _0x555323=_0x5f1c5b['plugins']['get']('TrackChangesEditing'),_0x445277=_0x3a5470['markerRange']['start'],_0x139b05=_0x3a5470['markerRange']['end'],_0x47f856=_0x5f1c5b['model']['schema'];if(!_0x445277['isTouching'](_0x139b05)||!_0x445277['nodeAfter'])return;const _0x45c28e=_0x445277['nodeAfter'];if(_0x47f856['isBlock'](_0x45c28e)&&!_0x47f856['isLimit'](_0x45c28e)&&_0x47f856['checkChild'](_0x45c28e,'$text')){if(!_0x25ceb5['consumable']['consume'](_0x3a5470['markerRange'],_0x14166d['name']))return;const {authorId:_0x176a36}=_0x555323['_splitMarkerName'](_0x3a5470['markerName']),_0x40d8cb=_0x25ceb5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-author-id':_0x176a36}),_0x2c947c=_0x25ceb5['mapper']['toViewPosition'](_0x139b05);_0x8c3b2b&&_0x555323['activeMarkers']['includes'](_0x3a5470['markerName'])&&_0x25ceb5['writer']['addClass']('ck-suggestion-marker--active',_0x40d8cb),_0x25ceb5['writer']['insert'](_0x2c947c,_0x40d8cb),_0x25ceb5['mapper']['bindElementToMarker'](_0x40d8cb,_0x3a5470['markerName']);}};}class TrackChangesReplaceSourceCommand extends Plugin{['afterInit'](){const _0x5e3f57=this['editor'];_0x5e3f57['commands']['get']('replaceSource')&&_0x5e3f57['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends Plugin{['afterInit'](){const _0x430ae4=this['editor'];if(!_0x430ae4['plugins']['has']('RemoveFormatEditing'))return;_0x430ae4['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xf6ecdb=this['editor'];_0xf6ecdb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2e0a6d=>{if('formatBlock'!=_0x2e0a6d['type']&&'formatInline'!=_0x2e0a6d['type'])return;const {data:_0x1bcf6e}=_0x2e0a6d;return _0x1bcf6e&&'removeFormat'==_0x1bcf6e['commandName']?{'type':'format','content':getTranslation$1(_0xf6ecdb['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends Plugin{['afterInit'](){const _0x1a58a2=this['editor'];if(!_0x1a58a2['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x56a102=_0x1a58a2['plugins']['get']('TrackChangesEditing');_0x56a102['enableCommand']('goToPreviousRestrictedEditingException'),_0x56a102['enableCommand']('goToNextRestrictedEditingException');const _0x22e7be=_0x1a58a2['plugins']['get']('RestrictedEditingModeEditing');_0x22e7be['enableCommand']('trackChanges'),_0x22e7be['enableCommand']('acceptSuggestion'),_0x22e7be['enableCommand']('discardSuggestion'),_0x22e7be['enableCommand']('acceptAllSuggestions'),_0x22e7be['enableCommand']('discardAllSuggestions'),_0x22e7be['enableCommand']('acceptSelectedSuggestions'),_0x22e7be['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends Plugin{static get['requires'](){return[ShiftEnter];}['init'](){const _0x2a7078=this['editor'],_0x42c34f=_0x2a7078['plugins']['get']('TrackChangesEditing');_0x42c34f['enableCommand']('shiftEnter'),_0x2a7078['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',downcastSplitMergeMarker(_0x2a7078),{'priority':'high'}),_0x2a7078['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',downcastSplitMergeMarker(_0x2a7078),{'priority':'high'}),_0x2a7078['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x360a4b,_0x17aad1,_0x53ab9d)=>{_0x53ab9d['options']['showSuggestionHighlights']&&downcastSplitMergeMarker(_0x2a7078,{'showActiveMarker':!0x1})(_0x360a4b,_0x17aad1,_0x53ab9d);}),_0x42c34f['descriptionFactory']['registerElementLabel']('softBreak',_0x25e8a8=>getTranslation$1(_0x2a7078['locale'],'ELEMENT_LINE_BREAK',_0x25e8a8));}}function downcastSplitMergeMarker(_0x4e6fa5,{showActiveMarker:_0x2e9a39=!0x0}={}){return(_0x5a9644,_0x1e07f5,_0x6769e2)=>{const _0x2be616=_0x4e6fa5['plugins']['get']('TrackChangesEditing');if(!_0x6769e2['consumable']['test'](_0x1e07f5['markerRange'],_0x5a9644['name']))return;const _0x2ab7c6=_0x4e6fa5['model'];for(const _0xed10ec of _0x1e07f5['markerRange']['getItems']()){if(!_0xed10ec['is']('element','softBreak'))continue;const _0x5683ea='deletion'==_0x1e07f5['markerName']['split'](':')[0x1]?'merge':'split',{authorId:_0x4b2931}=_0x2be616['_splitMarkerName'](_0x1e07f5['markerName']),_0x422550=_0x6769e2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5683ea,'data-author-id':_0x4b2931}),_0x17922e=_0x6769e2['mapper']['toViewPosition'](_0x2ab7c6['createPositionBefore'](_0xed10ec));_0x2e9a39&&_0x2be616['activeMarkers']['includes'](_0x1e07f5['markerName'])&&_0x6769e2['writer']['addClass']('ck-suggestion-marker--active',_0x422550),_0x6769e2['writer']['insert'](_0x17922e,_0x422550),_0x6769e2['mapper']['bindElementToMarker'](_0x422550,_0x1e07f5['markerName']);}};}class TrackChangesStandardEditingMode extends Plugin{['afterInit'](){const _0x1668d5=this['editor'],_0x23cd3d=_0x1668d5['model'],_0x1667c2=_0x1668d5['locale'];if(!_0x1668d5['plugins']['has']('StandardEditingModeEditing'))return;const _0x5810b7=_0x1668d5['plugins']['get']('TrackChangesEditing'),_0x2401ae='restrictedEditingException',_0x28d0fc=_0x1668d5['commands']['get'](_0x2401ae);_0x5810b7['enableCommand'](_0x2401ae,(_0x31bfc5,_0x46313d={})=>{const _0x59810f=_0x23cd3d['document']['selection'];if(_0x59810f['isCollapsed'])return void _0x31bfc5(_0x46313d);const _0x3b4908=void 0x0!==_0x46313d['forceValue']?_0x46313d['forceValue']:!_0x28d0fc['value'];_0x23cd3d['change'](()=>{const _0x47df02=Array['from'](_0x59810f['getRanges']());for(const _0xa3071b of _0x47df02){const _0x320287=_0x3b4908?[_0xa3071b]:getRangesWithAttribute(_0x2401ae,_0xa3071b,_0x23cd3d);for(const _0x3d1abc of _0x320287)_0x5810b7['markInlineFormat'](_0x3d1abc,{'commandName':_0x2401ae,'commandParams':[{'forceValue':_0x3b4908}]});}});}),_0x5810b7['descriptionFactory']['registerDescriptionCallback'](_0x543fbb=>{if('formatBlock'!=_0x543fbb['type']&&'formatInline'!=_0x543fbb['type'])return;const {data:_0x29d180}=_0x543fbb;return _0x29d180&&_0x29d180['commandName']==_0x2401ae?_0x29d180['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x1667c2,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x1667c2,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}class TrackChangesStylesDropdown extends Plugin{['afterInit'](){const _0x5c670a=this['editor'];if(!_0x5c670a['plugins']['has']('Style')||!_0x5c670a['plugins']['has']('DataSchema'))return;const _0x1becda=_0x5c670a['plugins']['get']('TrackChangesEditing'),_0x535acf=_0x5c670a['locale'],_0x51d924=_0x5c670a['config']['get']('style')||{},_0x104064=_0x5c670a['plugins']['get']('GeneralHtmlSupport'),_0x191f0b=_0x5c670a['plugins']['get']('StyleUtils')['normalizeConfig'](_0x5c670a['plugins']['get']('DataSchema'),_0x51d924['definitions']);_0x1becda['enableDefaultAttributesIntegration']('style');const _0x6075c5=new Set();for(const _0x3ddefe of _0x191f0b['block']){const _0x4b1bab=_0x104064['getGhsAttributeNameForElement'](_0x3ddefe['element']);_0x6075c5['add'](_0x4b1bab);}const _0x336a83=new Set();for(const _0x11e21a of _0x191f0b['inline']){const _0x5427e4=_0x104064['getGhsAttributeNameForElement'](_0x11e21a['element']);_0x336a83['add'](_0x5427e4);for(const _0x354e19 of _0x11e21a['ghsAttributes'])_0x336a83['add'](_0x354e19);}for(const _0x105e03 of _0x6075c5)_0x1becda['registerBlockAttribute'](_0x105e03),_0x1becda['descriptionFactory']['registerAttributeLabel'](_0x105e03,getTranslation$1(_0x535acf,'FORMAT_STYLE'));for(const _0x12c16d of _0x336a83)_0x1becda['registerInlineAttribute'](_0x12c16d),_0x1becda['descriptionFactory']['registerAttributeLabel'](_0x12c16d,getTranslation$1(_0x535acf,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xd0dfcd=this['editor'],_0x461b25=_0xd0dfcd['locale'];_0xd0dfcd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4b3474=>{if('formatBlock'!=_0x4b3474['type']&&'formatInline'!=_0x4b3474['type'])return;const {data:_0x239a45}=_0x4b3474;return _0x239a45&&'style'===_0x239a45['commandName']?_0x239a45['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x461b25,'*Set\x20format:*\x20%0',_0x239a45['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$1(_0x461b25,'*Remove\x20format:*\x20%0',_0x239a45['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class TrackChangesTable extends Plugin{constructor(_0x1c9c8e){super(_0x1c9c8e),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x2928e5=this['editor'],_0x5b07d1=_0x2928e5['model']['document']['selection'];if(!_0x2928e5['plugins']['has']('TableEditing'))return;const _0x56b277=_0x2928e5['locale'],_0x4ea6c2=_0x2928e5['plugins']['get']('TrackChangesEditing'),_0xd5d3c7=_0x2928e5['plugins']['get']('TableUtils');_0x4ea6c2['descriptionFactory']['registerElementLabel']('table',_0x36d91f=>getTranslation$1(_0x56b277,'ELEMENT_TABLE',_0x36d91f)),this['_setupColumnsRowsFixing'](),_0x4ea6c2['enableCommand']('insertTable'),_0x4ea6c2['enableCommand']('selectTableRow'),_0x4ea6c2['enableCommand']('selectTableColumn');for(const _0x30aa1f of['insertTableRowAbove','insertTableRowBelow']){const _0x427574=_0x2928e5['commands']['get'](_0x30aa1f);_0x4ea6c2['enableCommand'](_0x30aa1f,_0x1ebc2c=>{_0x2928e5['model']['change'](_0x59eb04=>{_0x1ebc2c();const _0x4ae30d='above'===_0x427574['order'],_0x59f249=_0xd5d3c7['getSelectionAffectedTableCells'](_0x5b07d1),_0x477993=_0xd5d3c7['getRowIndexes'](_0x59f249),_0x253ebc=_0x4ae30d?_0x477993['first']-0x1:_0x477993['last']+0x1,_0x267c20=_0x59f249[0x0]['findAncestor']('table'),_0x343965=_0xd5d3c7['createTableWalker'](_0x267c20,{'startRow':_0x253ebc,'endRow':_0x253ebc}),_0x39d983=Array['from'](_0x343965)['map'](_0x741caf=>_0x59eb04['createRangeOn'](_0x741caf['cell']));_0x4ea6c2['markMultiRangeInsertion'](_0x39d983,'tableRow');});});}for(const _0x4175d3 of['insertTableColumnLeft','insertTableColumnRight']){const _0x5a6bd0=_0x2928e5['commands']['get'](_0x4175d3);_0x4ea6c2['enableCommand'](_0x4175d3,_0x1f8648=>{_0x2928e5['model']['change'](_0x5bc8f4=>{_0x1f8648();const _0x3f1168='left'===_0x5a6bd0['order'],_0x35e542=_0xd5d3c7['getSelectionAffectedTableCells'](_0x5b07d1),_0x52769d=_0xd5d3c7['getColumnIndexes'](_0x35e542),_0x2030d8=_0x3f1168?_0x52769d['first']-0x1:_0x52769d['last']+0x1,_0x41a7ac=_0x35e542[0x0]['findAncestor']('table'),_0x513ec0=_0xd5d3c7['createTableWalker'](_0x41a7ac,{'startRow':0x0,'column':_0x2030d8,'includeAllSlots':!0x1}),_0xf48dcc=Array['from'](_0x513ec0)['map'](_0x3838cd=>_0x5bc8f4['createRangeOn'](_0x3838cd['cell']));_0x4ea6c2['markMultiRangeInsertion'](_0xf48dcc,'tableColumn');});});}for(const _0x3c8ec8 of['removeTableRow','removeTableColumn']){const _0x12d8a7=_0x3c8ec8['substr'](0xb),_0x4198a0=_0x12d8a7['toLowerCase'](),_0x27bab2=_0x4198a0['substr'](0x0,0x3)+'span',_0x42e547='table'+_0x12d8a7,_0x307519='min'+_0x12d8a7,_0x57d8ba='max'+_0x12d8a7;_0x4ea6c2['enableCommand'](_0x3c8ec8,()=>{_0x2928e5['model']['change'](_0x59d25b=>{const _0x1723bc=_0xd5d3c7['getSelectionAffectedTableCells'](_0x5b07d1),_0x5ab358=_0x1723bc[0x0]['findAncestor']('table');let _0x31f7e5;if('removeTableRow'==_0x3c8ec8){const _0x1c4093=_0xd5d3c7['getRowIndexes'](_0x1723bc);_0x31f7e5={'startRow':_0x1c4093['first'],'endRow':_0x1c4093['last'],'includeAllSlots':!0x0};}else{const _0x34c5ef=_0xd5d3c7['getColumnIndexes'](_0x1723bc);_0x31f7e5={'startColumn':_0x34c5ef['first'],'endColumn':_0x34c5ef['last'],'includeAllSlots':!0x0};}const _0x4608b6=_0xd5d3c7['createTableWalker'](_0x5ab358,_0x31f7e5),_0x501f6d=Array['from'](_0x4608b6)['map'](({cell:_0x193c1a})=>_0x193c1a),_0x3c290d=uniqueValues(_0x501f6d['filter'](_0x25bc22=>_0x25bc22['hasAttribute'](_0x27bab2))),_0x5aae98=uniqueValues(_0x501f6d['filter'](_0x330926=>!_0x330926['hasAttribute'](_0x27bab2)))['map'](_0x36fc3a=>_0x59d25b['createRangeOn'](_0x36fc3a)),_0x1fcc96=_0x4ea6c2['markMultiRangeDeletion'](_0x5aae98,_0x42e547);if(_0x1fcc96&&('tableRow'==_0x1fcc96['subType']||'tableColumn'==_0x1fcc96['subType'])){const _0x4b65eb=this['_getSuggestionCoords'](_0x1fcc96);for(const _0x41bf63 of _0x3c290d){const _0x287075=_0x59d25b['createRangeOn'](_0x41bf63),_0x41e174=_0xd5d3c7['getCellLocation'](_0x41bf63),_0x56722f=_0x41bf63['getAttribute'](_0x27bab2)-0x1,_0x2a4993=_0x4b65eb[_0x307519],_0x91e90f=_0x4b65eb[_0x57d8ba];_0x2a4993<=_0x41e174[_0x4198a0]&&_0x41e174[_0x4198a0]+_0x56722f<=_0x91e90f&&_0x1fcc96['addRange'](_0x287075);}}});});}function _0x338476(_0x2d5784){const _0x35913b=Array['from'](_0x5b07d1['getRanges']())['map'](_0x103571=>LiveRange['fromRange'](_0x103571));_0x2928e5['model']['change'](_0x3f28d3=>{const _0x45d23f=_0x3f28d3['batch'];_0x2d5784=_0x2d5784['filter'](_0x1b3d8d=>'$graveyard'!=_0x1b3d8d['root']['rootName']),_0x3f28d3['setSelection'](_0x2d5784),_0x2928e5['commands']['get']('removeTableRow')['refresh'](),_0x2928e5['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2928e5['model']['enqueueChange'](()=>{_0x2928e5['model']['enqueueChange'](_0x45d23f,_0x3c64b4=>{const _0x3c8ba2=_0x35913b['filter'](_0x4a8c59=>'$graveyard'!=_0x4a8c59['root']['rootName']);_0x3c8ba2['length']>0x0&&_0x3c64b4['setSelection'](_0x3c8ba2);for(const _0x3309be of _0x35913b)_0x3309be['detach']();});});});}function _0x48ee61(_0x26b47c){_0x2928e5['model']['change'](_0x3d8ed8=>{const _0x1b4855=Array['from'](_0x5b07d1['getRanges']())['map'](_0x179612=>LiveRange['fromRange'](_0x179612)),_0x5ca9b6=[];for(const _0x4f017f of _0x26b47c)for(const _0x25bf65 of _0x4f017f['getItems']({'shallow':!0x0}))_0x5ca9b6['push'](_0x25bf65);for(const _0x54aeda of _0x5ca9b6)'$graveyard'!=_0x54aeda['root']['rootName']&&(_0x3d8ed8['setSelection'](_0x3d8ed8['createPositionAt'](_0x54aeda,0x0)),_0x2928e5['commands']['get']('removeTableColumn')['refresh'](),_0x2928e5['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x163e83=_0x1b4855['filter'](_0x98d1ed=>'$graveyard'!=_0x98d1ed['root']['rootName']);_0x163e83['length']>0x0&&_0x3d8ed8['setSelection'](_0x163e83);for(const _0x581921 of _0x1b4855)_0x581921['detach']();});}function _0x9ed8e8(_0x3c4f01,_0x1557eb){return _0x1557eb['every'](_0xa9ad59=>_0x3c4f01['some'](_0x584dc7=>_0x584dc7['end']['isEqual'](_0xa9ad59['start'])||_0xa9ad59['end']['isEqual'](_0x584dc7['start'])));}function _0x5835b9(_0xd6519c,_0x41ea9c){return!_0xd6519c['some'](_0x25e32f=>_0x41ea9c['some'](_0x3dbe92=>_0x25e32f['isIntersecting'](_0x3dbe92)))&&_0xd6519c['some'](_0x5e78a8=>_0x41ea9c['some'](_0x369789=>_0x5e78a8['end']['isTouching'](_0x369789['start'])));}_0x2928e5['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3ba9b2,_0x2e27b9,_0x4eef32)=>{if(!_0x4eef32['options']['showSuggestionHighlights'])return;const _0x47e310=_0x2e27b9['item'];if(!_0x47e310)return;const _0x4f2319=_0x4eef32['mapper']['toViewElement'](_0x47e310);function _0x2e0112(_0x381c5c){return Array['isArray'](_0x381c5c)?_0x381c5c:[_0x381c5c];}_0x4f2319&&'tableCell'===_0x47e310['name']&&setHighlightHandling(_0x4f2319,_0x4eef32['writer'],(_0x2ee612,_0x48f081,_0x497e61)=>_0x497e61['addClass'](_0x2e0112(_0x48f081['classes']),_0x2ee612),(_0x105bbb,_0x2a9b21,_0x3aaf05)=>_0x3aaf05['removeClass'](_0x2e0112(_0x2a9b21['classes']),_0x105bbb));},{'priority':'highest'}),_0x4ea6c2['descriptionFactory']['registerDescriptionCallback'](_0x1ddef8=>{if('insertion'!=_0x1ddef8['type']&&'deletion'!=_0x1ddef8['type'])return;const _0x2ff4bf=_0x1ddef8['getContainedElement']();if(null!=_0x2ff4bf&&_0x2ff4bf['is']('element','table')){if('insertion'==_0x1ddef8['type']){const _0x1ffc49=_0x1ddef8['getItems']()['filter'](_0x136a3f=>_0x136a3f['is']('$textProxy'))['map'](_0x30b9b0=>_0x30b9b0['data']);if(_0x1ffc49['length'])return{'type':'insertion','content':getTranslation$1(_0x56b277,'*Insert:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1ffc49['join']('\x20')+'\x22'))};}if('deletion'==_0x1ddef8['type']){const _0xef8b1d=_0x1ddef8['getItems']()['filter'](_0x579183=>_0x579183['is']('$textProxy'))['map'](_0x122d82=>_0x122d82['data']);if(_0xef8b1d['length'])return{'type':'deletion','content':getTranslation$1(_0x56b277,'*Remove:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xef8b1d['join']('\x20')+'\x22'))};}}}),_0x4ea6c2['descriptionFactory']['registerDescriptionCallback'](_0x23a603=>{if('tableRow'==_0x23a603['subType']){const _0x5e7cfb=_0x23a603['getItems']()['filter'](_0x522406=>_0x522406['is']('$textProxy'))['map'](_0x2173ac=>_0x2173ac['data']),_0xe22001=this['_getSuggestionCoords'](_0x23a603),_0x23e20d=_0xe22001['maxRow']-_0xe22001['minRow']+0x1;if('insertion'==_0x23a603['type'])return _0x5e7cfb['length']?{'type':'insertion','content':getTranslation$1(_0x56b277,'*Insert:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x23e20d,'\x22'+_0x5e7cfb['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x56b277,'*Insert:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_ROW',_0x23e20d))};if('deletion'==_0x23a603['type'])return _0x5e7cfb['length']?{'type':'deletion','content':getTranslation$1(_0x56b277,'*Remove:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x23e20d,'\x22'+_0x5e7cfb['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x56b277,'*Remove:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_ROW',_0x23e20d))};}if('tableColumn'==_0x23a603['subType']){const _0x5c4cf0=_0x23a603['getItems']()['filter'](_0x16650f=>_0x16650f['is']('$textProxy'))['map'](_0x447573=>_0x447573['data']),_0x58edb3=this['_getSuggestionCoords'](_0x23a603),_0x22e15a=_0x58edb3['maxColumn']-_0x58edb3['minColumn']+0x1;if('insertion'==_0x23a603['type'])return _0x5c4cf0['length']?{'type':'insertion','content':getTranslation$1(_0x56b277,'*Insert:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x22e15a,'\x22'+_0x5c4cf0['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x56b277,'*Insert:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_COLUMN',_0x22e15a))};if('deletion'==_0x23a603['type'])return _0x5c4cf0['length']?{'type':'deletion','content':getTranslation$1(_0x56b277,'*Remove:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x22e15a,'\x22'+_0x5c4cf0['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x56b277,'*Remove:*\x20%0',getTranslation$1(_0x56b277,'ELEMENT_TABLE_COLUMN',_0x22e15a))};}}),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x338476),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x338476),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x48ee61),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x48ee61),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x9ed8e8),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x9ed8e8),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x5835b9),_0x4ea6c2['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x5835b9);}['_acceptFormatSuggestionCallbackFactory'](){const _0x1483a9=this['editor'],_0x300103=_0x1483a9['model']['document']['selection'];return(_0x574f19,_0x4d4915)=>{_0x1483a9['model']['change'](_0x5104a8=>{const {commandName:_0xbe2cf8,commandParams:_0x5f3761}=_0x4d4915;let _0x10e5da=_0x574f19[0x0]['end']['nodeBefore'];_0x5f3761&&_0x5f3761[0x0]&&!0x1===_0x5f3761[0x0]['forceValue']&&(_0x10e5da=_0x574f19[0x0]['start']['nodeAfter']);const _0x262e45=_0x5104a8['createRangeIn'](_0x10e5da);if('$graveyard'==_0x262e45['root']['rootName'])return;const _0x518ec3=Array['from'](_0x300103['getRanges']())['map'](_0x27d836=>LiveRange['fromRange'](_0x27d836));_0x5104a8['setSelection'](_0x262e45),_0x1483a9['commands']['get'](_0xbe2cf8)['refresh'](),_0x5f3761['push']({'forceDefaultExecution':!0x0}),_0x1483a9['execute'](_0xbe2cf8,..._0x5f3761);const _0x200db7=_0x518ec3['filter'](_0x135a2=>'$graveyard'!=_0x135a2['root']['rootName']);_0x200db7['length']>0x0&&_0x5104a8['setSelection'](_0x200db7);for(const _0x28cedc of _0x518ec3)_0x28cedc['detach']();});};}['_getCoordsForCells'](_0x5aee19){const _0x4d9a6c=this['editor']['plugins']['get']('TableUtils');let _0x4bc009=Number['MAX_SAFE_INTEGER'],_0x2306c4=Number['MIN_SAFE_INTEGER'],_0x52f6de=Number['MAX_SAFE_INTEGER'],_0x34ea54=Number['MIN_SAFE_INTEGER'];for(const _0x3f398e of _0x5aee19){if('$graveyard'==_0x3f398e['root']['rootName'])continue;const {row:_0x36c617,column:_0x4450b5}=_0x4d9a6c['getCellLocation'](_0x3f398e),_0x17a699=_0x3f398e['hasAttribute']('rowspan')?_0x3f398e['getAttribute']('rowspan')-0x1:0x0,_0x461ada=_0x3f398e['hasAttribute']('colspan')?_0x3f398e['getAttribute']('colspan')-0x1:0x0;_0x4bc009=_0x36c617<_0x4bc009?_0x36c617:_0x4bc009,_0x2306c4=_0x36c617+_0x17a699>_0x2306c4?_0x36c617+_0x17a699:_0x2306c4,_0x52f6de=_0x4450b5<_0x52f6de?_0x4450b5:_0x52f6de,_0x34ea54=_0x4450b5+_0x461ada>_0x34ea54?_0x4450b5+_0x461ada:_0x34ea54;}return{'minRow':_0x4bc009,'maxRow':_0x2306c4,'minColumn':_0x52f6de,'maxColumn':_0x34ea54};}['_setupColumnsRowsFixing'](){const _0x492111=this['editor'],_0x463f72=_0x492111['plugins']['get']('TrackChangesEditing'),_0x665c84=_0x492111['plugins']['get']('TableUtils');_0x492111['model']['document']['on']('change:data',()=>{const _0x5417f1=Array['from'](_0x492111['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4dfd50,data:_0x453561}of _0x5417f1){const {group:_0x7cbf5c,id:_0x1f812e,subType:_0x10f4f0}=_0x463f72['_splitMarkerName'](_0x4dfd50);if('suggestion'!=_0x7cbf5c)continue;if(null!=_0x453561['oldRange'])continue;const _0x5e7acd=_0x463f72['getSuggestion'](_0x1f812e);this['_tablePostFixingSubtypes']['includes'](_0x10f4f0)&&this['_tableSuggestions']['add'](_0x5e7acd);}},{'priority':'low'});const _0x43eaed=(_0x194b6a,_0x28bc52)=>{let _0xf777b2=!0x1;const _0x47bd74=_0x28bc52['createRangeOn'](_0x194b6a),_0x3f1020=_0x194b6a['findAncestor']('table'),_0x332c96=_0x665c84['getCellLocation'](_0x194b6a);for(const _0x13e5d4 of this['_tableSuggestions']){const _0x17dc09=_0x13e5d4['subType'],_0x807138=_0x17dc09['startsWith']('tablePaste'),_0x256826=_0x17dc09['substr'](_0x807138?0xa:0x5),_0x37dfed=_0x256826['toLowerCase'](),_0x3d116d=_0x37dfed['substr'](0x0,0x3)+'span',_0x4cf1ec='min'+_0x256826,_0x402715='max'+_0x256826;if(!_0x13e5d4['isInContent'])continue;if(_0x3f1020!=_0x13e5d4['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x13e5d4['isIntersectingWithRange'](_0x47bd74))continue;const _0x355995=_0x194b6a['hasAttribute'](_0x3d116d)?_0x194b6a['getAttribute'](_0x3d116d)-0x1:0x0,_0x1ff331=this['_getSuggestionCoords'](_0x13e5d4),_0x2f5e8b=_0x1ff331[_0x4cf1ec],_0x5284fd=_0x1ff331[_0x402715];_0x2f5e8b<=_0x332c96[_0x37dfed]&&_0x332c96[_0x37dfed]+_0x355995<=_0x5284fd&&(_0x13e5d4['addRange'](_0x47bd74),_0xf777b2=!0x0);}return _0xf777b2;};_0x492111['model']['document']['registerPostFixer'](_0x3073dc=>{let _0x233416=!0x1;for(const _0x4ce127 of _0x492111['model']['document']['differ']['getChanges']())if('insert'==_0x4ce127['type']){if('tableRow'==_0x4ce127['name']){for(const _0x4f58b8 of _0x4ce127['position']['nodeAfter']['getChildren']())_0x233416=_0x233416||_0x43eaed(_0x4f58b8,_0x3073dc);}else'tableCell'==_0x4ce127['name']&&(_0x233416=_0x233416||_0x43eaed(_0x4ce127['position']['nodeAfter'],_0x3073dc));}return _0x233416;});}['_getSuggestionCoords'](_0x11bce0){return this['_getCoordsForCells'](_0x11bce0['getRanges']()['map'](_0x32ffba=>_0x32ffba['start']['nodeAfter']));}}function uniqueValues(_0x402bfb){return Array['from'](new Set(_0x402bfb)['values']());}class TrackChangesTableMergeSplit extends Plugin{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x1fdf3a=this['editor'],_0x2d627f=_0x1fdf3a['model']['document']['selection'],_0xcb7de=_0x1fdf3a['locale'];if(!_0x1fdf3a['plugins']['has']('TableEditing'))return;const _0x526a7f=_0x1fdf3a['plugins']['get']('TrackChangesEditing'),_0x1d95b9=_0x1fdf3a['plugins']['get']('TableUtils'),_0x1d2364=_0x1fdf3a['plugins']['get'](TrackChangesTable);_0x1d2364['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x526a7f['enableCommand']('mergeTableCells',()=>{const _0xb92178=_0x1d95b9['getSelectionAffectedTableCells'](_0x1fdf3a['model']['document']['selection']);_0x1fdf3a['model']['change'](()=>{_0x526a7f['markMultiRangeBlockFormat'](_0xb92178,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x1fdf3a['commands']['get']('mergeTableCells')['on']('execute',(_0x5f05a2,_0x51cca7)=>{_0x1fdf3a['commands']['get']('trackChanges')['value']&&(_0x51cca7['length']>0x0&&_0x51cca7[_0x51cca7['length']-0x1]&&_0x51cca7[_0x51cca7['length']-0x1]['forceDefaultExecution']||_0x526a7f['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x5f05a2['stop']());},{'priority':'highest'});for(const _0x2fb479 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x18e7d7=_0x1fdf3a['commands']['get'](_0x2fb479);_0x526a7f['enableCommand'](_0x2fb479,()=>{const _0x4ea80d=_0x1fdf3a['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x366d5b=>_0x366d5b['is']('element','tableCell')),_0x206f89=_0x18e7d7['value'];_0x1fdf3a['model']['change'](()=>{_0x526a7f['markMultiRangeBlockFormat']([_0x4ea80d,_0x206f89],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x5357e4 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x10be47=_0x1fdf3a['commands']['get'](_0x5357e4);_0x526a7f['enableCommand'](_0x5357e4,()=>{const _0x2e8971=_0x1d95b9['getSelectionAffectedTableCells'](_0x1fdf3a['model']['document']['selection'])[0x0],_0x4e200b=_0x2e8971['findAncestor']('table'),{column:_0x19f122,row:_0xa365b5}=_0x1d95b9['getCellLocation'](_0x2e8971);let _0x11f762=[];if('horizontally'==_0x10be47['direction']){const _0x1e1e6e=_0x1d95b9['createTableWalker'](_0x4e200b,{'startRow':_0xa365b5,'endRow':_0xa365b5,'includeAllSlots':!0x0});_0x11f762=Array['from'](_0x1e1e6e)['map'](_0x22408b=>_0x22408b['cell']);}else{const _0x2b2601=_0x1d95b9['createTableWalker'](_0x4e200b,{'column':_0x19f122,'includeAllSlots':!0x0});_0x11f762=Array['from'](_0x2b2601)['map'](_0x499ba2=>_0x499ba2['cell']);}_0x1fdf3a['model']['change'](_0x56c11e=>{_0x526a7f['markBlockFormat'](_0x56c11e['createRangeOn'](_0x2e8971),{'commandName':_0x5357e4,'commandParams':[]},_0x11f762,_0x5357e4);});});}_0x526a7f['descriptionFactory']['registerDescriptionCallback'](_0x5be52f=>{if('formatBlock'!=_0x5be52f['type']&&'formatInline'!=_0x5be52f['type'])return;const {data:_0x2b5cf8}=_0x5be52f;return _0x2b5cf8&&'mergeTableCells'==_0x2b5cf8['commandName']?{'type':'format','content':getTranslation$1(_0xcb7de,'*Merge\x20cells*')}:void 0x0;}),_0x526a7f['descriptionFactory']['registerDescriptionCallback'](_0x3ae56a=>{if('formatBlock'!=_0x3ae56a['type']&&'formatInline'!=_0x3ae56a['type'])return;const {data:_0x1b871a}=_0x3ae56a;return _0x1b871a?'splitTableCellVertically'==_0x1b871a['commandName']?{'type':'format','content':getTranslation$1(_0xcb7de,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x1b871a['commandName']?{'type':'format','content':getTranslation$1(_0xcb7de,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x137a17=_0x1d2364['_acceptFormatSuggestionCallbackFactory']();for(const _0x1165c9 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x526a7f['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1165c9,'accept',_0x137a17);for(const _0x58382e of['splitTableCellVertically','splitTableCellHorizontally'])_0x526a7f['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x58382e,'accept',_0x137a17);_0x526a7f['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x561dfd=>{_0x1fdf3a['model']['change'](_0xe7c483=>{const _0x202a63=Array['from'](_0x2d627f['getRanges']())['map'](_0x4efdc0=>LiveRange['fromRange'](_0x4efdc0));_0xe7c483['setSelection'](_0x561dfd),_0x1fdf3a['commands']['get']('mergeTableCells')['refresh'](),_0x1fdf3a['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x12dafd=_0x202a63['filter'](_0x42b729=>'$graveyard'!=_0x42b729['root']['rootName']);_0x12dafd['length']>0x0&&_0xe7c483['setSelection'](_0x12dafd);for(const _0x350823 of _0x202a63)_0x350823['detach']();});});for(const _0x20944d of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x2a16e6=_0x1fdf3a['commands']['get'](_0x20944d);_0x2a16e6['on']('set:isEnabled',(_0x24fc29,_0x1bd319,_0x2fbf3b)=>{if(_0x2fbf3b){const _0x4e1355=_0x1fdf3a['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x22240b=>_0x22240b['is']('element','tableCell'));this['_areMergableCells'](_0x2a16e6['value'],_0x4e1355)||(_0x24fc29['return']=!0x1,_0x24fc29['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x122ca1=this['editor']['commands']['get']('mergeTableCells'),_0x3e7a1f=this['editor']['plugins']['get']('TableUtils');if(!_0x122ca1['isEnabled'])return!0x1;const _0x5afdc5=_0x3e7a1f['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x4b88cc of _0x5afdc5)for(const _0x424037 of _0x5afdc5)if(_0x4b88cc!=_0x424037&&!this['_areMergableCells'](_0x4b88cc,_0x424037))return!0x1;return!0x0;}['_areMergableCells'](_0x1cc6bd,_0x32ca2c){const _0x230c86=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2dc9de=this['editor']['model']['createRangeOn'](_0x1cc6bd),_0x318f84=this['editor']['model']['createRangeOn'](_0x32ca2c),_0x8e0644=new Set(),_0x94c56f=new Set();for(const _0x5a663a of _0x230c86['getSuggestions']())if(('insertion'==_0x5a663a['type']||'deletion'==_0x5a663a['type']||'mergeTableCells'==_0x5a663a['subType'])&&_0x5a663a['isInContent']){for(const _0x3c3d38 of _0x5a663a['getRanges']())_0x3c3d38['containsRange'](_0x2dc9de,!0x0)&&_0x8e0644['add'](_0x5a663a['type']+':'+_0x5a663a['author']['id']),_0x3c3d38['containsRange'](_0x318f84,!0x0)&&_0x94c56f['add'](_0x5a663a['type']+':'+_0x5a663a['author']['id']);}if(_0x8e0644['size']!=_0x94c56f['size'])return!0x1;for(const _0x3d20d5 of _0x8e0644)if(!_0x94c56f['has'](_0x3d20d5))return!0x1;return!0x0;}}class TrackChangesTableHeadings extends Plugin{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x4b54e0=this['editor'];if(!_0x4b54e0['plugins']['has']('TableEditing'))return;const _0x55ae72=_0x4b54e0['locale'],_0x1872e6=_0x4b54e0['plugins']['get']('TrackChangesEditing');_0x1872e6['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x1872e6['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x1872e6['registerBlockAttribute']('headingRows'),_0x1872e6['registerBlockAttribute']('headingColumns'),_0x1872e6['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$1(_0x55ae72,'FORMAT_HEADER_ROW')),_0x1872e6['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$1(_0x55ae72,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x304421=this['editor']['plugins']['get']('TrackChangesEditing'),_0x305ebc=this['editor']['plugins']['get']('TableUtils'),_0xb72d81=this['editor']['plugins']['get'](TrackChangesTable)['_acceptFormatSuggestionCallbackFactory']();function _0x508b1f({showActiveMarker:_0x5db7b8=!0x0,setDataAttribute:_0x364858=!0x0}={}){return(_0x58a9cf,_0x5b1be4,_0x184340)=>{const {type:_0x3dc634,id:_0x180604}=_0x304421['_splitMarkerName'](_0x5b1be4['markerName']),_0x2c370b=_0x304421['getSuggestion'](_0x180604),_0x204f56=_0x2c370b['data'];if('formatBlock'!=_0x2c370b['type']||!_0x204f56||'setTableColumnHeader'!=_0x204f56['commandName'])return;if(_0x5b1be4['item'])return void _0x58a9cf['stop']();if(!_0x184340['consumable']['consume'](_0x5b1be4['markerRange'],_0x58a9cf['name']))return;const _0x4281b8=_0x5b1be4['markerRange']['start']['nodeAfter'],_0x20688e=_0x5b1be4['markerRange']['end']['nodeBefore'],_0x32cf55=_0x4281b8['parent']['parent'],{column:_0x208edd}=_0x305ebc['getCellLocation'](_0x4281b8),{column:_0x3a7a8a}=_0x305ebc['getCellLocation'](_0x20688e);for(let _0x1f99d2=_0x208edd;_0x1f99d2<=_0x3a7a8a;_0x1f99d2++){const _0x187a3f=_0x305ebc['createTableWalker'](_0x32cf55,{'column':_0x1f99d2,'includeAllSlots':!0x1});for(const _0x48e7c7 of _0x187a3f){const _0x46475f=_0x48e7c7['cell'],_0x57587c=_0x184340['mapper']['toViewElement'](_0x46475f);_0x184340['writer']['addClass']('ck-suggestion-marker-'+_0x3dc634,_0x57587c),_0x364858&&_0x184340['writer']['setAttribute']('data-suggestion',_0x180604,_0x57587c),_0x184340['mapper']['bindElementToMarker'](_0x57587c,_0x5b1be4['markerName']),_0x5db7b8&&(_0x304421['activeMarkers']['includes'](_0x5b1be4['markerName'])?_0x184340['writer']['addClass']('ck-suggestion-marker--active',_0x57587c):_0x184340['writer']['removeClass']('ck-suggestion-marker--active',_0x57587c));}}};}_0x304421['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0xb72d81),_0x304421['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0xb72d81),this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x508b1f(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4428b2,_0x15a4e3,_0x9d3e73)=>{_0x9d3e73['options']['showSuggestionHighlights']&&_0x508b1f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4428b2,_0x15a4e3,_0x9d3e73);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xaf91ce,_0xbffac5,_0x2cfb62)=>{const {type:_0x474c43,id:_0x2befa4}=_0x304421['_splitMarkerName'](_0xbffac5['markerName']),_0x2ae757=_0x304421['getSuggestion'](_0x2befa4),_0x4490eb=_0x2ae757['data'];if('formatBlock'!=_0x2ae757['type']||!_0x4490eb||'setTableColumnHeader'!=_0x4490eb['commandName'])return;const _0x5446e4=_0x2cfb62['mapper']['markerNameToElements'](_0xbffac5['markerName']);if(_0x5446e4){for(const _0x4a051e of _0x5446e4)_0x2cfb62['writer']['removeClass']('ck-suggestion-marker-'+_0x474c43,_0x4a051e),_0x2cfb62['writer']['removeClass']('ck-suggestion-marker--active',_0x4a051e),_0x2cfb62['writer']['removeAttribute']('data-suggestion',_0x4a051e),_0x2cfb62['mapper']['unbindElementFromMarkerName'](_0x4a051e,_0xbffac5['markerName']);}},{'priority':'highest'}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3d5acc=this['editor'],_0x41258b=_0x3d5acc['locale'];function _0x308e9a(_0x22119d){return{'type':'format','content':getTranslation$1(_0x41258b,'*Format:*\x20%0',_0x22119d)};}_0x3d5acc['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x39b872=>{if('formatBlock'!=_0x39b872['type'])return;const {data:_0x5475c7}=_0x39b872;if(_0x5475c7){if('setTableRowHeader'==_0x5475c7['commandName']){const _0x52c5e1=_0x5475c7['commandParams'][0x0]['forceValue'];return _0x308e9a(getTranslation$1(_0x41258b,_0x52c5e1?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x5475c7['commandName']){const _0x38f786=_0x5475c7['commandParams'][0x0]['forceValue'];return _0x308e9a(getTranslation$1(_0x41258b,_0x38f786?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x10b090=>[_0x10b090,null]));class TrackChangesTableClipboard extends Plugin{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x536e8e=this['editor'];if(!_0x536e8e['plugins']['has']('TableClipboard'))return;const _0x480747=_0x536e8e['plugins']['get']('TrackChangesEditing'),_0x38b46d=_0x536e8e['plugins']['get']('TableUtils'),_0x2bb067=_0x536e8e['plugins']['get'](TrackChangesTable),_0x291f47=_0x536e8e['plugins']['get']('TableClipboard');_0x2bb067['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x536e8e['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x536e8e['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x32d55d=null;_0x536e8e['model']['on']('insertContent',(_0x147b0a,_0x37fc9a)=>{const [_0x1c891f,_0x34b2bf]=_0x37fc9a,_0x189b6b=_0x37fc9a[_0x37fc9a['length']-0x1];_0x189b6b&&_0x189b6b['forceDefaultExecution']||_0x480747['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x1c891f,_0x34b2bf,_0x536e8e['model'],_0x38b46d,_0x291f47)&&(_0x147b0a['stop'](),_0x32d55d={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x536e8e['model']['change'](()=>{_0x536e8e['model']['insertContent'](_0x37fc9a[0x0],_0x37fc9a[0x1],_0x37fc9a[0x2],{'forceDefaultExecution':!0x0});const _0xbca64d=uid(),{rowInsertionRanges:_0x1a445a,columnInsertionRanges:_0x3c6c90,insertionRanges:_0x5cae1f,deletionRanges:_0x1bc3f3,cells:_0x3b3484}=_0x32d55d;_0x1a445a['length']&&_0x480747['markMultiRangeInsertion'](_0x1a445a,'tablePasteRow',{'tablePasteChainId':_0xbca64d}),_0x3c6c90['length']&&_0x480747['markMultiRangeInsertion'](_0x3c6c90,'tablePasteColumn',{'tablePasteChainId':_0xbca64d}),_0x5cae1f['length']&&(_0x480747['markMultiRangeInsertion'](_0x5cae1f,'tablePaste',{'tablePasteChainId':_0xbca64d,'skipNestingCheck':!0x0}),_0x5cae1f['forEach'](_0x3cd79a=>{var _0x2d62e5;return null===(_0x2d62e5=_0x3cd79a['detach'])||void 0x0===_0x2d62e5?void 0x0:_0x2d62e5['call'](_0x3cd79a);})),_0x1bc3f3['length']&&(_0x480747['markMultiRangeDeletion'](_0x1bc3f3,'tablePaste',{'tablePasteChainId':_0xbca64d,'skipNestingCheck':!0x0}),_0x1bc3f3['forEach'](_0x1ee970=>{var _0x56ddb1;return null===(_0x56ddb1=_0x1ee970['detach'])||void 0x0===_0x56ddb1?void 0x0:_0x56ddb1['call'](_0x1ee970);}));const _0xfd676d=_0x480747['markMultiRangeBlockFormat'](_0x3b3484['map'](({element:_0x220100})=>_0x220100),{'formatGroupId':uid()},[],'tablePasteCell',{'tablePasteChainId':_0xbca64d});if(_0xfd676d){const _0x323310=_0xfd676d['getMarkers'](),_0x3d7035=[];for(const {element:_0x344ac4,attributes:_0x3c73e0}of _0x3b3484){if(!_0x3c73e0)continue;const _0x24180e=_0x536e8e['model']['createRangeOn'](_0x344ac4),_0x13089b=_0x323310['find'](_0x78ff3c=>_0x78ff3c['getRange']()['isEqual'](_0x24180e));_0x13089b&&_0x3d7035['push']([_0x13089b['name'],_0x3c73e0]);}_0x3d7035['length']&&_0xfd676d['setAttribute']('markerAttributes',Object['fromEntries'](_0x3d7035));}_0x32d55d=null;}));},{'priority':priorities['high']+0xa}),_0x536e8e['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x49c7e9,_0x81efdf)=>{const [_0x55ab3e,_0x4dd531,,_0x3c42cf]=_0x81efdf;if(!_0x32d55d)return;_0x49c7e9['stop']();const _0x17e206=_0x55ab3e['cell'],_0x1bb0dc=_0x4dd531,_0x344146=isEmpty(_0x17e206),_0x5ebe60=isEmpty(_0x1bb0dc);_0x49c7e9['return']=_0x17e206;let _0x471a93=null,_0x61ec5c=null;if(_0x5ebe60||_0x344146){if(_0x344146&&!_0x5ebe60){_0x3c42cf['remove'](_0x17e206['getChild'](0x0));for(const _0x43f8d0 of Array['from'](_0x1bb0dc['getChildren']()))_0x3c42cf['insert'](_0x43f8d0,_0x17e206,'end');const _0x2d9f3b=_0x32d55d['rowInsertionIndexes']['includes'](_0x55ab3e['row']),_0xb410a2=_0x32d55d['columnInsertionIndexes']['includes'](_0x55ab3e['column']);_0x2d9f3b||_0xb410a2||(_0x471a93=LiveRange['fromRange'](_0x3c42cf['createRangeIn'](_0x17e206)));}else _0x5ebe60&&!_0x344146&&(_0x61ec5c=_0x3c42cf['createRangeIn'](_0x17e206));}else{const _0x4218d0=_0x3c42cf['createElement']('tableCellSuggestion'),_0x2cfa90=_0x3c42cf['createElement']('tableCellSuggestion');_0x3c42cf['wrap'](_0x3c42cf['createRangeIn'](_0x17e206),_0x2cfa90),_0x3c42cf['insert'](_0x4218d0,_0x17e206,0x0);for(const _0x5dd58b of Array['from'](_0x1bb0dc['getChildren']()))_0x3c42cf['insert'](_0x5dd58b,_0x4218d0,'end');_0x471a93=LiveRange['fromRange'](_0x3c42cf['createRangeOn'](_0x4218d0)),_0x61ec5c=LiveRange['fromRange'](_0x3c42cf['createRangeOn'](_0x2cfa90));}const _0x76c5aa=Array['from'](_0x1bb0dc['getAttributes']())['filter'](([_0x374fae])=>tableCellStyleAttributeNames['includes'](_0x374fae));_0x32d55d['cells']['push']({'element':_0x17e206,'attributes':_0x76c5aa['length']?Object['fromEntries'](_0x76c5aa):null}),_0x471a93&&_0x32d55d['insertionRanges']['push'](_0x471a93),_0x61ec5c&&_0x32d55d['deletionRanges']['push'](_0x61ec5c);},{'priority':'high'}),_0x38b46d['on']('insertColumns',(_0x2f9f07,_0x5782cd)=>{const [_0x21d409,_0x23a6e7={}]=_0x5782cd;if(!_0x32d55d)return;const _0x265a0e=_0x23a6e7['at']||0x0,_0x24fb3a=_0x23a6e7['columns']||0x1;_0x32d55d['columnInsertionIndexes']=new Array(_0x24fb3a)['fill'](_0x265a0e)['map']((_0x290db7,_0x296e48)=>_0x290db7+_0x296e48);for(const {cell:_0x23ebf3}of _0x38b46d['createTableWalker'](_0x21d409,{'startColumn':_0x265a0e,'endColumn':_0x265a0e+_0x24fb3a-0x1}))_0x32d55d['columnInsertionRanges']['push'](_0x536e8e['model']['createRangeOn'](_0x23ebf3));},{'priority':'low'}),_0x38b46d['on']('insertRows',(_0x2b8aaa,_0x128918)=>{const [_0x476197,_0x4c2223={}]=_0x128918;if(!_0x32d55d)return;const _0x3971b3=_0x4c2223['at']||0x0,_0x43655f=_0x4c2223['rows']||0x1;_0x32d55d['rowInsertionIndexes']=new Array(_0x43655f)['fill'](_0x3971b3)['map']((_0x4fda99,_0x4ad7a7)=>_0x4fda99+_0x4ad7a7);for(const {cell:_0x24e50f}of _0x38b46d['createTableWalker'](_0x476197,{'startRow':_0x3971b3,'endRow':_0x3971b3+_0x43655f-0x1}))_0x32d55d['rowInsertionRanges']['push'](_0x536e8e['model']['createRangeOn'](_0x24e50f));},{'priority':'low'}),_0x480747['descriptionFactory']['registerDescriptionCallback'](_0x3f3a33=>{if(_0x3f3a33['subType']&&_0x3f3a33['subType']['startsWith']('tablePaste'))return _0x3f3a33['previous']?{}:{'type':'insertion','content':getTranslation$1(_0x536e8e['locale'],'*Replace\x20table\x20cells*')};});const _0x2d6202=()=>!0x1;for(const _0x3b7601 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x480747['_suggestionFactory']['registerCustomCallback']('insertion',_0x3b7601,'join',_0x2d6202),_0x480747['_suggestionFactory']['registerCustomCallback']('deletion',_0x3b7601,'join',_0x2d6202),_0x480747['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x3b7601,'join',_0x2d6202);_0x480747['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x2d6202),_0x480747['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x2ae83b,_0x1de2aa,_0x186678)=>{const _0x424c29=_0x2ae83b['map'](_0x140c84=>_0x140c84['getContainedElement']())['filter'](_0x102856=>_0x102856),_0x347b4f=new Map(_0x424c29['map'](_0x5bc0ae=>[_0x5bc0ae,null]));if(_0x32d55d){for(const {element:_0x425886,attributes:_0x2ef9f8}of _0x32d55d['cells'])_0x2ef9f8&&_0x347b4f['set'](_0x425886,_0x2ef9f8);}else{if(_0x186678&&_0x186678['markerAttributes'])for(const [_0x4f9330,_0x36cc32]of Object['entries'](_0x186678['markerAttributes'])){const _0x35944c=_0x536e8e['model']['markers']['get'](_0x4f9330),_0x36411f=_0x35944c?_0x35944c['getRange']()['getContainedElement']():null;_0x36411f&&_0x347b4f['set'](_0x36411f,_0x36cc32);}}_0x536e8e['model']['change'](_0x290700=>{for(const [_0x16951b,_0x5e3ccc]of _0x347b4f)_0x290700['setAttributes']({...tableCellStyleAttributesObject,..._0x5e3ccc},_0x16951b);});});const _0x1d6ad2=(_0x57a489,_0x1851df)=>{_0x480747['_suggestionFactory']['registerCustomCallback'](_0x57a489,'tablePaste',_0x1851df,(_0x2bb711,_0xe98118,_0x3962ed)=>{_0x536e8e['model']['change'](_0x3b909e=>{const _0x2e8ca8=[];for(const _0x301041 of _0x2bb711){const _0x30c2f4=_0x301041['start']['nodeAfter'];_0x30c2f4['is']('element','tableCellSuggestion')&&_0x2e8ca8['push'](_0x30c2f4);}_0x480747['_suggestionFactory']['getSuggestionCallback'](_0x57a489,null,_0x1851df)(_0x2bb711,_0xe98118,_0x3962ed);for(const _0x34c780 of _0x2e8ca8)'$graveyard'!=_0x34c780['root']['rootName']&&_0x3b909e['unwrap'](_0x34c780);});});};_0x1d6ad2('insertion','accept'),_0x1d6ad2('insertion','discard'),_0x1d6ad2('deletion','accept'),_0x1d6ad2('deletion','discard'),_0x480747['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x1569c6=>{const _0x240e27=_0x1569c6['map'](_0x3bfbe1=>_0x3bfbe1['getContainedElement']()),_0x3811bd=_0x240e27[0x0]['findAncestor']('table'),{minRow:_0x37e363,maxRow:_0x19e08c}=_0x2bb067['_getCoordsForCells'](_0x240e27);_0x38b46d['removeRows'](_0x3811bd,{'at':_0x37e363,'rows':_0x19e08c-_0x37e363+0x1});}),_0x480747['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x8cb3e6=>{const _0x41dd31=_0x8cb3e6['map'](_0x506096=>_0x506096['getContainedElement']()),_0x18a404=_0x41dd31[0x0]['findAncestor']('table'),{minColumn:_0xaf74f8,maxColumn:_0x3eb175}=_0x2bb067['_getCoordsForCells'](_0x41dd31);_0x38b46d['removeColumns'](_0x18a404,{'at':_0xaf74f8,'columns':_0x3eb175-_0xaf74f8+0x1});});const _0x15f6c2=(_0x6293c,_0x11b9c2)=>{if(!_0x11b9c2['subType']||!_0x11b9c2['subType']['startsWith']('tablePaste'))return;const _0x489670=_0x11b9c2['attributes']['tablePasteChainId'],_0x2c9472=_0x480747['getSuggestions']()['filter'](_0x2e9073=>_0x2e9073['isInContent']&&_0x2e9073['attributes']&&_0x2e9073['attributes']['tablePasteChainId']==_0x489670);_0x2c9472['length']&&_0x11b9c2['getAllAdjacentSuggestions']()['length']!=_0x2c9472['length']&&_0x2c9472['reduce']((_0xdb229,_0x4abada)=>(_0xdb229['next']=_0x4abada,_0x4abada['previous']=_0xdb229,_0x4abada));};function _0x269c17(_0x122963,_0x5131d2=!0x0){const {id:_0x21bd3b,authorId:_0x70bd9d}=_0x480747['_splitMarkerName'](_0x122963['markerName']),_0x4c08c3=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0xaa15a0=_0x480747['activeMarkers']['includes'](_0x122963['markerName']);return _0xaa15a0&&_0x4c08c3['push']('ck-suggestion-marker--active'),{'classes':_0x4c08c3,'attributes':{'data-suggestion':_0x21bd3b,'data-author-id':_0x70bd9d},'priority':_0xaa15a0&&_0x5131d2?0xbc2:0xbb8};}_0x480747['on']('suggestionLoaded',_0x15f6c2,{'priority':'high'}),_0x480747['on']('suggestionUnloaded',_0x15f6c2,{'priority':'high'}),_0x536e8e['model']['document']['registerPostFixer'](()=>{let _0x3ea3ea=!0x1;const _0x573bbd=Array['from'](_0x536e8e['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x410bfb,data:_0x5a816d}of _0x573bbd){const {group:_0x158794,type:_0x2ed222,id:_0x44e4b9}=_0x480747['_splitMarkerName'](_0x410bfb);if('suggestion'!=_0x158794||'deletion'!=_0x2ed222||_0x5a816d['oldRange'])continue;if(!_0x480747['hasSuggestion'](_0x44e4b9))continue;const _0x1e7e8b=_0x480747['getSuggestion'](_0x44e4b9)['getRanges'](),_0x3539a5=_0x536e8e['plugins']['get']('Users')['me'];for(const _0x3852fc of _0x480747['getSuggestions']()){if(!_0x3852fc['isInContent']||_0x3852fc['author']!=_0x3539a5)continue;if('formatBlock'!=_0x3852fc['type']||'tablePasteCell'!=_0x3852fc['subType'])continue;if(_0x3852fc['getRanges']()['every'](_0x513886=>_0x1e7e8b['some'](_0x49de61=>_0x49de61['containsRange'](_0x513886,!0x0)))){for(const _0x585b99 of _0x3852fc['getAllAdjacentSuggestions']())_0x585b99['isInContent']&&(_0x585b99['discard'](),_0x3ea3ea=!0x0);}}}return _0x3ea3ea;}),_0x536e8e['model']['document']['registerPostFixer'](_0x443188=>{const _0x5aceb7=_0x536e8e['commands']['get']('redo');if(!_0x5aceb7||!_0x5aceb7['_createdBatches']['has'](_0x443188['batch']))return!0x1;let _0x45cdbb=!0x1;const _0x1087a9=_0x536e8e['plugins']['get']('Users')['me'],_0x2c37bc=_0x536e8e['model']['document']['differ']['getChanges'](),_0x442e84=Array['from'](_0x536e8e['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x3f0fd3,data:_0x672974})=>{const {group:_0x235159,subType:_0x140db9,authorId:_0x3278cb}=_0x480747['_splitMarkerName'](_0x3f0fd3);return'suggestion'==_0x235159&&'tablePaste'==_0x140db9&&_0x3278cb==_0x1087a9['id']&&!_0x672974['oldRange'];});for(const _0x2c50b9 of _0x2c37bc){if('insert'!=_0x2c50b9['type']||'tableCellSuggestion'!=_0x2c50b9['name']||0x1!=_0x2c50b9['length'])continue;const _0x4f49a8=_0x443188['createRange'](_0x2c50b9['position'],_0x2c50b9['position']['getShiftedBy'](0x1)),_0x2b91b8=_0x442e84['find'](({data:_0x19e49f})=>_0x19e49f['newRange']['isEqual'](_0x4f49a8));if(!_0x2b91b8){for(const {name:_0x2d6516,data:_0xd94344}of _0x442e84)if(_0x4f49a8['containsRange'](_0xd94344['newRange'])){_0x443188['updateMarker'](_0x2d6516,{'range':_0x4f49a8}),_0x45cdbb=!0x0;break;}}}return _0x45cdbb;}),_0x536e8e['model']['document']['registerPostFixer'](_0xdaa770=>{let _0x2f19b0=!0x1;const _0x3f162a=_0x536e8e['plugins']['get']('Users')['me'],_0xfc483c=_0x480747['getSuggestions']()['filter'](_0x579efc=>_0x579efc['isInContent']&&_0x579efc['author']==_0x3f162a),_0x8c9ac1=new Set(),_0x48593d=new Set();for(const _0x947281 of _0xfc483c)if('tablePaste'==_0x947281['subType'])for(const _0x11aaec of _0x947281['getMarkers']()){const _0xef8c98=_0x11aaec['getRange']()['getContainedElement']();if(_0xef8c98){if(_0xef8c98['is']('element','tableCellSuggestion')&&isEmpty(_0xef8c98)){_0x947281['removeMarker'](_0x11aaec['name']),_0x8c9ac1['add'](_0xef8c98),_0x2f19b0=!0x0;const _0x253d66=_0xef8c98['nextSibling'],_0x14b1ef=_0xef8c98['previousSibling'],_0x3860aa=_0x253d66&&_0x253d66['is']('element','tableCellSuggestion'),_0x2961a1=_0x14b1ef&&_0x14b1ef['is']('element','tableCellSuggestion');_0x3860aa&&!_0x8c9ac1['has'](_0x253d66)&&_0x48593d['add'](_0x253d66),_0x2961a1&&!_0x8c9ac1['has'](_0x14b1ef)&&_0x48593d['add'](_0x14b1ef);}else _0xef8c98['is']('element','paragraph')&&_0xef8c98['isEmpty']&&(_0x947281['removeMarker'](_0x11aaec['name']),_0x2f19b0=!0x0);}}else{if('tablePasteCell'==_0x947281['subType']){if(!_0x947281['attributes']||!_0x947281['attributes']['tablePasteChainId'])continue;const _0x2bf54e=_0x947281['attributes']['markerAttributes'];if(_0x2bf54e&&Object['keys'](_0x2bf54e)['length'])continue;const _0x33f8d9=_0x947281['attributes']['tablePasteChainId'];let _0x594d3f=!0x0,_0x4ef9ca=!0x0;for(const _0x45e2ca of _0xfc483c)if(_0x45e2ca['subType']&&_0x45e2ca['subType']['startsWith']('tablePaste')){if(!_0x45e2ca['attributes']['tablePasteChainId']){_0x4ef9ca=!0x1;break;}if(_0x45e2ca['id']!=_0x947281['id']&&_0x45e2ca['attributes']['tablePasteChainId']==_0x33f8d9){_0x594d3f=!0x1;break;}}_0x4ef9ca&&_0x594d3f&&(_0x947281['removeMarkers'](),_0x2f19b0=!0x0);}}for(const _0x2cd2f3 of _0x8c9ac1)_0xdaa770['remove'](_0x2cd2f3);for(const _0x2522f7 of _0x48593d)_0xdaa770['unwrap'](_0x2522f7);return _0x2f19b0;}),_0x536e8e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x1f77a7=>_0x269c17(_0x1f77a7),'converterPriority':'high'}),_0x536e8e['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x366487,_0x3e1cc5)=>_0x3e1cc5['options']['showSuggestionHighlights']?_0x269c17(_0x366487,!0x1):null,'converterPriority':'high'});const _0x4f4d72=_0x536e8e['editing']['view'];this['listenTo'](_0x4f4d72['document'],'clipboardOutput',(_0x2770c3,_0x4e7788)=>{const _0x1eaeb0=[];for(const _0x4abe44 of _0x4f4d72['createRangeIn'](_0x4e7788['content'])['getItems']())_0x4abe44['is']('element','suggestion-td')&&_0x1eaeb0['push'](_0x4abe44);_0x4f4d72['change'](_0x50c61e=>{for(const _0x32b297 of _0x1eaeb0)_0x50c61e['move'](_0x50c61e['createRangeIn'](_0x32b297),_0x50c61e['createPositionBefore'](_0x32b297)),_0x50c61e['remove'](_0x32b297);});});}}function isEmpty(_0x57c844){if(_0x57c844['isEmpty'])return!0x0;const _0x2564b8=_0x57c844['getChild'](0x0);return _0x2564b8['is']('element','paragraph')&&_0x2564b8['isEmpty'];}function isPasteTableIntoTable(_0x2b3739,_0x55e3c4,_0x51af8e,_0x53d416,_0x14b008){if(_0x55e3c4&&!_0x55e3c4['is']('documentSelection'))return!0x1;const _0x525a0f=_0x14b008['getTableIfOnlyTableInContent'](_0x2b3739,_0x51af8e);if(!_0x525a0f||!isPlainTable(_0x525a0f,void 0x0,_0x53d416))return!0x1;const _0x517b1b=_0x53d416['getSelectionAffectedTableCells'](_0x51af8e['document']['selection']);if(!_0x517b1b['length'])return!0x1;const _0x511ce5=_0x517b1b[0x0]['findAncestor']('table'),_0x21ac91=_0x53d416['getRowIndexes'](_0x517b1b),_0x5571f2=_0x53d416['getColumnIndexes'](_0x517b1b),_0x2bd305={'startRow':_0x21ac91['first'],'endRow':_0x21ac91['last'],'startColumn':_0x5571f2['first'],'endColumn':_0x5571f2['last']};return 0x1==_0x517b1b['length']&&(_0x2bd305['endRow']+=_0x53d416['getRows'](_0x525a0f)-0x1,_0x2bd305['endColumn']+=_0x53d416['getColumns'](_0x525a0f)-0x1),isPlainTable(_0x511ce5,_0x2bd305,_0x53d416);}function isPlainTable(_0x48581e,_0x92efe3={},_0x3c6aad){for(const {isAnchor:_0x497ab7,cellHeight:_0xf824e1,cellWidth:_0x117071}of _0x3c6aad['createTableWalker'](_0x48581e,{'includeAllSlots':!0x0,..._0x92efe3}))if(!_0x497ab7||0x1!=_0xf824e1||0x1!=_0x117071)return!0x1;return!0x0;}class TrackChangesTableColumnResize extends Plugin{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x849fd1=this['editor']['plugins']['get']('TrackChangesEditing');_0x849fd1['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x849fd1['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x849fd1['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x849fd1['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x849fd1['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x849fd1['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x577fcd,_0x28bbb0){const _0x195d00=this['editor']['plugins']['get']('TrackChangesEditing'),_0x358d69=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x1096ca=_0x28bbb0['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x562756=_0x358d69['getColumnGroupElement'](_0x1096ca);let _0x3b5f7a=_0x562756?_0x358d69['getTableColumnsWidths'](_0x562756):null,_0x4b7d60=_0x1096ca['getAttribute']('tableWidth')||null;const _0xede529=_0x28bbb0['tableWidth']||_0x4b7d60,_0x1b6a03=_0x28bbb0['columnWidths']||_0x3b5f7a,_0x4f3952=this['editor']['plugins']['get']('Users')['me'];for(const _0x390d43 of _0x195d00['getSuggestions']()){const _0x5240ce=_0x390d43['getContainedElement']();if('resizeTable'===_0x390d43['subType']&&_0x5240ce===_0x1096ca){_0x390d43['author']!==_0x4f3952&&_0x390d43['discard']();const _0x2534bb=_0x390d43['data']['commandParams'];_0x4b7d60=_0x2534bb[0x0]['tableWidth'],_0x3b5f7a=_0x2534bb[0x0]['columnWidths'];break;}}_0x577fcd({'table':_0x1096ca,'tableWidth':_0xede529,'columnWidths':_0x1b6a03}),_0x195d00['markBlockFormat'](_0x1096ca,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x4b7d60,'columnWidths':_0x3b5f7a}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x5a2390){if('formatBlock'!=_0x5a2390['type']&&'formatInline'!=_0x5a2390['type'])return;const {data:_0x3c2915}=_0x5a2390;if(_0x3c2915&&'resizeTable'===_0x3c2915['formatGroupId']){const _0x2298a9='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$1(this['editor']['locale'],_0x2298a9)};}}}class TrackChangesTemplate extends Plugin{['afterInit'](){const _0x8612d7=this['editor'];_0x8612d7['plugins']['has']('Template')&&_0x8612d7['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends Plugin{['afterInit'](){const _0x59c9b2=this['editor'];if(!_0x59c9b2['commands']['get']('insertTableOfContents'))return;_0x59c9b2['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x314bdd=_0x59c9b2['plugins']['get']('TrackChangesEditing'),_0x358964=_0x59c9b2['locale'];_0x314bdd['descriptionFactory']['registerElementLabel']('tableOfContents',_0x3a80c0=>getTranslation$1(_0x358964,'ELEMENT_TABLE_OF_CONTENTS',_0x3a80c0));}}class TrackChangesTitle extends Plugin{['afterInit'](){const _0x1fa7ec=this['editor'];if(!_0x1fa7ec['plugins']['has']('Title'))return;const _0x410e35=_0x1fa7ec['plugins']['get']('TrackChangesEditing');_0x410e35['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$1(_0x1fa7ec['locale'],'ELEMENT_TITLE')),_0x1fa7ec['model']['document']['registerPostFixer'](_0x52594b=>{let _0x12136f=!0x1;const _0x585772=Array['from'](_0x1fa7ec['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2999ef,data:_0x462a2a}of _0x585772){const {group:_0x50c4d2}=_0x410e35['_splitMarkerName'](_0x2999ef);if('suggestion'!==_0x50c4d2||!_0x462a2a['newRange'])continue;const _0x1dcf73=_0x462a2a['newRange'],_0x31ef3c=_0x1dcf73['end']['nodeBefore'];if(!_0x31ef3c||!_0x31ef3c['is']('element','title-content'))continue;if(!_0x1dcf73['start']['isTouching'](_0x1dcf73['end']))continue;const _0x2c1326=_0x1fa7ec['model']['schema']['getNearestSelectionRange'](_0x1dcf73['end'],'forward');if(_0x2c1326&&_0x2c1326['isCollapsed']){const _0xd9b2d1=_0x52594b['createRange'](_0x1dcf73['start'],_0x2c1326['start']);_0xd9b2d1['isEqual'](_0x1dcf73)||(_0x52594b['updateMarker'](_0x2999ef,{'range':_0xd9b2d1}),_0x12136f=!0x0);}_0x12136f||(_0x52594b['removeMarker'](_0x2999ef),_0x12136f=!0x0);}return _0x12136f;});}}class TrackChangesUploadcare extends Plugin{['afterInit'](){const _0x5c7b56=this['editor'],_0x2a5bb1=_0x5c7b56['plugins']['get']('TrackChangesEditing');_0x5c7b56['plugins']['has']('Uploadcare')&&(_0x2a5bb1['enableCommand']('uploadcare'),_0x5c7b56['plugins']['has']('UploadcareImageEdit')&&(_0x2a5bb1['enableCommand']('uploadcareImageEdit'),_0x2a5bb1['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x2a5bb1['registerBlockAttribute']('uploadcareImageId'),_0x2a5bb1['descriptionFactory']['registerDescriptionCallback'](_0x3d01dd=>{if('attribute'!=_0x3d01dd['type'])return;const {data:_0xfd128}=_0x3d01dd;return _0xfd128&&'uploadcareImageId'==_0xfd128['key']?{'type':'format','content':''}:void 0x0;})));}}class TrackChangesUndo extends Plugin{['afterInit'](){const _0x3c22c1=this['editor'],_0x2a235b=_0x3c22c1['plugins']['get']('TrackChangesEditing');_0x3c22c1['plugins']['has']('UndoEditing')&&(_0x2a235b['enableCommand']('undo'),_0x2a235b['enableCommand']('redo'));}}class TrackChangesTableCaption extends Plugin{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x22f2d6=this['editor'];if(!_0x22f2d6['plugins']['has']('TableCaptionEditing'))return;_0x22f2d6['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends Plugin{constructor(_0x3f5c99){super(_0x3f5c99),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1a631f=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x17fcf4 of this['tableProperties'])_0x1a631f['enableCommand'](_0x17fcf4,(_0x3bcbb6,_0x58bc32)=>{const _0xd40f44=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x17fcf4,[_0xd40f44],this['tableProperties'],'tableProperties',_0x3bcbb6,_0x58bc32);});_0x1a631f['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x1a631f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1a631f['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x38e9d6,_0x147ed7)=>this['handleDiscardAction'](this['tableProperties'],_0x38e9d6,_0x147ed7)),_0x1a631f['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x4a4e6b of this['tableCellProperties'])_0x1a631f['enableCommand'](_0x4a4e6b,(_0x5f281c,_0x261b2c)=>{const _0x21b92d=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x4a4e6b,_0x21b92d,this['tableCellProperties'],'tableCellProperties',_0x5f281c,_0x261b2c);});_0x1a631f['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x1a631f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1a631f['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x3a1d80,_0x131c8b)=>this['handleDiscardAction'](this['tableCellProperties'],_0x3a1d80,_0x131c8b)),_0x1a631f['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1);}_0x1a631f['descriptionFactory']['registerDescriptionCallback'](_0x11eff5=>this['handleSuggestionDescription'](_0x11eff5));}['_handlePropertyChange'](_0x4a5607,_0x1445d9,_0x244a75,_0x1ea9bc,_0xce4402,_0x16a2fc){const _0x1677c7=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x16a2fc['batch'],()=>{for(const _0x2730e5 of _0x1445d9){if(this['_getSuggestion'](_0x2730e5,_0x1ea9bc))_0xce4402(_0x16a2fc);else{const _0x38d00e={};for(const _0x3eee92 of _0x244a75){const _0x5cedb3=_0x2730e5['getAttribute'](_0x3eee92);void 0x0!==_0x5cedb3&&(_0x38d00e[_0x3eee92]=_0x5cedb3);}_0xce4402(_0x16a2fc),_0x1677c7['markBlockFormat'](_0x2730e5,{'commandParams':[_0x38d00e]},[],_0x1ea9bc);}}});}['handleDiscardAction'](_0x31be57,_0x222ebf,_0x3b7d4c){const _0x3a43a4=_0x222ebf[0x0]['start']['nodeAfter'],_0x3b5674=_0x3b7d4c['commandParams'][0x0];this['editor']['model']['change'](_0x2fab9e=>{for(const _0x19b05a of _0x31be57)void 0x0!==_0x3b5674[_0x19b05a]?_0x2fab9e['setAttribute'](_0x19b05a,_0x3b5674[_0x19b05a],_0x3a43a4):_0x2fab9e['removeAttribute'](_0x19b05a,_0x3a43a4);});}['handleSuggestionDescription'](_0x4f768a){if(_0x4f768a['data'])switch(_0x4f768a['subType']){case'tableProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x5d1375,_0x53b6a5){const _0x5972d6=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x7c66dd of _0x5972d6['getSuggestions']({'skipNotAttached':!0x0})){const _0x268bee=_0x7c66dd['getContainedElement']();if(_0x7c66dd['subType']===_0x53b6a5&&_0x268bee===_0x5d1375)return _0x7c66dd;}return null;}}const renameAttributeKey='$elementName';class TrackChangesEditing extends Plugin{static get['requires'](){return['CommentsRepository',Users,PendingActions,TrackChangesAIAssistant,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,TrackChangesBookmark,TrackChangesCKBox,TrackChangesCaseChange,TrackChangesCodeBlock,TrackChangesComments,TrackChangesDeleteCommand,TrackChangesEmoji,TrackChangesEnterCommand,TrackChangesFindAndReplace,TrackChangesFont,TrackChangesFormatPainter,TrackChangesHeading,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,TrackChangesImage,TrackChangesImageStyle,TrackChangesImageReplace,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesListProperties,TrackChangesMultiLevelList,TrackChangesLink,TrackChangesList,TrackChangesDocumentListProperties,TrackChangesMediaEmbed,TrackChangesMention,TrackChangesMergeFields,TrackChangesPageBreak,TrackChangesParagraph,TrackChangesReplaceSourceCommand,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,TrackChangesTable,TrackChangesTableMergeSplit,TrackChangesTableHeadings,TrackChangesTableCaption,TrackChangesTableClipboard,TrackChangesTableColumnResize,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,TrackChangesUploadcare,TrackChangesUndo];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x19c1c6){super(_0x19c1c6),this['_recordAttributeSuggestions']=!0x1,this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x4681a5,_0x207bb4,_0x53eb84,_0x4bf458)=>{this['_model']['change'](()=>{for(const _0x1482e1 of[..._0x4bf458,..._0x53eb84])this['_model']['markers']['has'](_0x1482e1)&&_0x19c1c6['editing']['reconvertMarker'](_0x1482e1);});}),this['descriptionFactory']=new SuggestionDescriptionFactory(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new SuggestionFactory(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x19c1c6['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([renameAttributeKey]),this['_inlineAttributeKeys']=new Set(),_0x19c1c6['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x19c1c6['config']['get']('trackChanges.trackFormatChanges'),_0x19c1c6['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x19c1c6['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new TrackChangesCommand(_0x19c1c6,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x460bec=this['editor'],_0x3877fb=(_0x4f960c,_0x1c3f43)=>{if('attribute'!=_0x4f960c)return'ck-suggestion-marker-'+_0x4f960c;const _0x50c535=_0x1c3f43['split']('|')[0x0];return this['_isBlockAttribute'](_0x50c535)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x460bec['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':_0x279f12=>{const {id:_0x39c3c8,authorId:_0x4706d6,type:_0x5abf46,subType:_0x35cac3}=this['_splitMarkerName'](_0x279f12['markerName']),_0x3bad45=['ck-suggestion-marker',_0x3877fb(_0x5abf46,_0x35cac3)];let _0x39d603=0xbb8;return this['activeMarkers']['includes'](_0x279f12['markerName'])&&(_0x3bad45['push']('ck-suggestion-marker--active'),_0x39d603=0xbc2),'deletion'==_0x5abf46&&(_0x39d603+=0x5),{'classes':_0x3bad45,'attributes':{'data-suggestion':_0x39c3c8,'data-author-id':_0x4706d6},'priority':_0x39d603};}}),_0x460bec['conversion']['for']('dataDowncast')['add'](_0x4d4ace=>{_0x4d4ace['on']('addMarker:suggestion',(_0x5b6b2f,_0x4df566,_0x166f0e)=>{if(!_0x166f0e['options']['showSuggestionHighlights'])return;const _0x222b9a=_0x4df566['item'];if(!_0x222b9a)return;const _0x2191f6=_0x166f0e['mapper']['toViewElement'](_0x222b9a);_0x460bec['model']['schema']['isObject'](_0x222b9a)&&_0x2191f6&&!_0x2191f6['getCustomProperty']('widget')&&_0x2191f6['is']('containerElement')&&toWidget(_0x2191f6,_0x166f0e['writer']);},{'priority':'high'});}),_0x460bec['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x15ec9c,_0x49913a)=>{if(!_0x49913a['options']['showSuggestionHighlights'])return null;const {type:_0x3eac6a,subType:_0x223ac3}=this['_splitMarkerName'](_0x15ec9c['markerName']);return{'classes':['ck-suggestion-marker',_0x3877fb(_0x3eac6a,_0x223ac3)],'priority':0xbb8};}});const _0x596bdf=({showActiveMarkers:_0x3b3fe0=!0x0,isAttributeSuggestion:_0x99760a=!0x1}={})=>(_0x3a3a12,_0x186439,_0x181be1)=>{if(!_0x186439['item'])return;const {id:_0x4ae5e8,authorId:_0x48b910}=this['_splitMarkerName'](_0x186439['markerName']);if(_0x99760a){const _0x465e06=this['_suggestions']['get'](_0x4ae5e8),_0x49d6ff=this['_getAttributeKey'](_0x465e06);if(!this['_isBlockAttribute'](_0x49d6ff))return;}if(_0x186439['item']['is']('selection'))return void _0x181be1['consumable']['consume'](_0x186439['item'],_0x3a3a12['name']);const _0x37dbc8=_0x181be1['mapper']['toViewElement'](_0x186439['item']);if(_0x186439['item']['is']('element')&&_0x460bec['model']['schema']['isBlock'](_0x186439['item'])&&!_0x37dbc8['getCustomProperty']('addHighlight')){_0x181be1['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x37dbc8),_0x181be1['writer']['setAttribute']('data-suggestion',_0x4ae5e8,_0x37dbc8),_0x181be1['writer']['setAttribute']('data-author-id',_0x48b910,_0x37dbc8),_0x181be1['mapper']['bindElementToMarker'](_0x37dbc8,_0x186439['markerName']),_0x3b3fe0&&(this['activeMarkers']['includes'](_0x186439['markerName'])?_0x181be1['writer']['addClass']('ck-suggestion-marker--active',_0x37dbc8):_0x181be1['writer']['removeClass']('ck-suggestion-marker--active',_0x37dbc8));for(const _0x55a1ad of _0x460bec['model']['createRangeIn'](_0x186439['item'])['getItems']())_0x181be1['consumable']['consume'](_0x55a1ad,_0x3a3a12['name']);_0x181be1['consumable']['consume'](_0x186439['item'],_0x3a3a12['name']);}};_0x460bec['conversion']['for']('dataDowncast')['add'](_0x1f7a02=>{_0x1f7a02['on']('addMarker:suggestion:formatBlock',(_0x4bf7ce,_0x527f49,_0x4a177f)=>{_0x4a177f['options']['showSuggestionHighlights']&&_0x596bdf({'showActiveMarkers':!0x1})(_0x4bf7ce,_0x527f49,_0x4a177f);},{'priority':'highest'});}),_0x460bec['conversion']['for']('dataDowncast')['add'](_0x31d6bd=>{_0x31d6bd['on']('addMarker:suggestion:attribute',(_0x3d75b3,_0x5e0ae0,_0x5ab04a)=>{_0x5ab04a['options']['showSuggestionHighlights']&&_0x596bdf({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x3d75b3,_0x5e0ae0,_0x5ab04a);},{'priority':'highest'});}),_0x460bec['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4e7836,_0x3206fb)=>_0x3206fb['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4e7836['substr'](0xb)}}),_0x460bec['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x33c967,{writer:_0x4a8dfb})=>{let _0x7db83f='suggestion:'+_0x33c967['getAttribute']('suggestion-type')+':'+_0x33c967['getAttribute']('id');return _0x33c967['getAttribute']('marker-count')&&(_0x7db83f+=':'+_0x33c967['getAttribute']('marker-count')),_0x4a8dfb['createElement']('$marker',{'data-name':_0x7db83f});}}),_0x460bec['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x460bec['conversion']['for']('editingDowncast')['add'](_0xbeaa37=>{_0xbeaa37['on']('addMarker:suggestion:formatBlock',_0x596bdf(),{'priority':'high'});}),_0x460bec['conversion']['for']('editingDowncast')['add'](_0x53860d=>{_0x53860d['on']('addMarker:suggestion:attribute',_0x596bdf({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x460bec['conversion']['for']('editingDowncast')['add'](_0x329c13=>{_0x329c13['on']('removeMarker:suggestion:formatBlock',(_0x2f890,_0x30b2db,_0x235b8b)=>{const _0x5316ae=_0x235b8b['mapper']['markerNameToElements'](_0x30b2db['markerName']);if(_0x5316ae){for(const _0x4edffa of _0x5316ae)_0x4edffa['getCustomProperty']('addHighlight')||(_0x235b8b['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x4edffa),_0x235b8b['writer']['removeAttribute']('data-suggestion',_0x4edffa),_0x235b8b['writer']['removeAttribute']('data-author-id',_0x4edffa),_0x235b8b['mapper']['unbindElementFromMarkerName'](_0x4edffa,_0x30b2db['markerName']));}},{'priority':'high'});}),_0x460bec['conversion']['for']('editingDowncast')['add'](_0x5e6af0=>{_0x5e6af0['on']('removeMarker:suggestion:attribute',(_0x5b317b,_0x3bfb77,_0xe88ed1)=>{const _0x56a0d9=_0xe88ed1['mapper']['markerNameToElements'](_0x3bfb77['markerName']);if(!_0x56a0d9)return;const {id:_0x13b057}=this['_splitMarkerName'](_0x3bfb77['markerName']),_0x57af97=this['_suggestions']['get'](_0x13b057),_0x26ece3=this['_getAttributeKey'](_0x57af97);if(this['_isBlockAttribute'](_0x26ece3)){for(const _0x23c854 of _0x56a0d9)_0x23c854['getCustomProperty']('addHighlight')||(_0xe88ed1['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x23c854),_0xe88ed1['writer']['removeAttribute']('data-suggestion',_0x23c854),_0xe88ed1['writer']['removeAttribute']('data-author-id',_0x23c854),_0xe88ed1['mapper']['unbindElementFromMarkerName'](_0x23c854,_0x3bfb77['markerName']));}},{'priority':'high'});}),_0x460bec['model']['document']['registerPostFixer'](_0x57da8d=>{let _0x30fa68=!0x1;const _0xe6c20f=Array['from'](_0x460bec['model']['document']['differ']['getChangedMarkers']()),_0x19ffcc=new Set();for(const {name:_0x532a62,data:_0x1e4fd0}of _0xe6c20f){const {group:_0x4cfe65,type:_0x1ebfd1,subType:_0x442c07,id:_0x51f476}=this['_splitMarkerName'](_0x532a62);if('suggestion'!==_0x4cfe65)continue;const _0x29bc88=this['_suggestions']['get'](_0x51f476);if(null!=_0x1e4fd0['newRange']){'formatInline'==_0x1ebfd1&&(_0x30fa68=_0x30fa68||trimFormatInlineSuggestionRange(_0x1e4fd0['newRange'],_0x532a62,_0x57da8d,_0x460bec['model']['schema']));const _0x128c1d='attribute'==_0x1ebfd1&&this['_isBlockAttribute'](_0x442c07['split']('|')[0x0]);if(_0x1e4fd0['newRange']['isCollapsed']||'$graveyard'==_0x1e4fd0['newRange']['root']['rootName']||'formatBlock'==_0x1ebfd1&&!isCorrectFormatBlockSuggestionRange(_0x1e4fd0['newRange'])||_0x128c1d&&!isCorrectFormatBlockSuggestionRange(_0x1e4fd0['newRange'])||'deletion'==_0x1ebfd1&&!isCorrectDeletionSuggestionRange(_0x1e4fd0['newRange']))_0x57da8d['removeMarker'](_0x532a62),_0x30fa68=!0x0;else{if(!_0x29bc88||!_0x29bc88['isInContent'])continue;if(_0x1e4fd0['newRange']&&_0x1e4fd0['oldRange']&&_0x1e4fd0['newRange']['isEqual'](_0x1e4fd0['oldRange']))continue;_0x19ffcc['add'](_0x29bc88);}}}return _0x19ffcc['size']>0x0&&(_0x30fa68=!!this['_joinWithAdjacentSuggestions'](_0x19ffcc)||_0x30fa68),_0x30fa68;}),_0x460bec['model']['document']['registerPostFixer'](_0x279b71=>{let _0x181f2c=!0x1;for(const _0xdfc90e of _0x460bec['model']['document']['differ']['getChanges']())if('insert'==_0xdfc90e['type'])for(const _0x519b7a of this['_suggestions']['values']()){if(_0x519b7a['isMultiRange']||!_0x519b7a['isInContent'])continue;const _0x50cf56='formatBlock'==_0x519b7a['type'],_0x2d5ebb=this['_getAttributeKey'](_0x519b7a),_0x427a53=_0x2d5ebb&&this['_isBlockAttribute'](_0x2d5ebb);if(!_0x50cf56&&!_0x427a53)continue;const _0x41f1ba=_0x519b7a['getFirstRange']();if(_0x41f1ba['start']['parent']!=_0x41f1ba['end']['parent']&&!_0x41f1ba['end']['isAtEnd']){const _0x30eaa0=_0x460bec['model']['createPositionAt'](_0x41f1ba['start']['nodeAfter'],'end'),_0x209adb=_0x460bec['model']['createRange'](_0x41f1ba['start'],_0x30eaa0);_0x279b71['updateMarker'](_0x519b7a['getFirstMarker'](),{'range':_0x209adb}),_0x181f2c=!0x0;}}return _0x181f2c;}),_0x460bec['model']['document']['registerPostFixer'](_0x2bd17c=>this['_processAttributeChanges'](_0x2bd17c)),_0x460bec['model']['document']['registerPostFixer'](_0x30b9b2=>!_0x30b9b2['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x30b9b2)),_0x460bec['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x460bec['model']['document']['on']('change:data',(_0x70e746,_0xcc4fc0)=>{if(!_0xcc4fc0['isLocal']||_0xcc4fc0['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x31d137=_0x460bec['model']['document']['differ']['getChanges']();if(0x0==_0x31d137['length'])return;const _0x41efa8=[],_0x4424dc=_0x31d137['filter'](_0x45a5fd=>'attribute'==_0x45a5fd['type']),_0x2a1dea=_0x31d137['filter'](_0x3a88a4=>'insert'==_0x3a88a4['type']&&'$text'!=_0x3a88a4['name']);for(const _0x3752fc of _0x4424dc)this['_isRegisteredAttribute'](_0x3752fc['attributeKey'])&&_0x41efa8['push']({'key':_0x3752fc['attributeKey'],'newValue':_0x3752fc['attributeNewValue'],'oldValue':_0x3752fc['attributeOldValue'],'range':extendRange(_0x3752fc['range'],_0x460bec['model'])});for(const _0x43e7a8 of _0x2a1dea){if('rename'!=_0x43e7a8['action']&&'refresh'!=_0x43e7a8['action'])continue;const _0x3c99d6=createBlockFormatRangeForElement(_0x43e7a8['position']['nodeAfter'],_0x460bec['model']),_0x2a4853=_0x43e7a8['before'];'rename'==_0x43e7a8['action']&&_0x41efa8['push']({'key':renameAttributeKey,'newValue':_0x43e7a8['name'],'oldValue':_0x2a4853['name'],'range':_0x3c99d6});for(const [_0x55769d,_0x278fdb]of _0x2a4853['attributes']){if(!this['_isRegisteredAttribute'](_0x55769d))continue;const _0x565ae1=_0x43e7a8['attributes']['get'](_0x55769d);_0x278fdb!==_0x565ae1&&_0x41efa8['push']({'key':_0x55769d,'newValue':_0x565ae1,'oldValue':_0x278fdb,'range':_0x3c99d6});}for(const [_0x55ef97,_0x1a0414]of _0x43e7a8['attributes'])this['_isRegisteredAttribute'](_0x55ef97)&&(_0x2a4853['attributes']['has'](_0x55ef97)||_0x41efa8['push']({'key':_0x55ef97,'newValue':_0x1a0414,'oldValue':null,'range':_0x3c99d6}));}0x0!=_0x41efa8['length']&&_0x460bec['model']['enqueueChange'](_0xcc4fc0,_0x1a7225=>{const _0x34f37c=uid();for(const {range:_0x291921,key:_0x2fc898,oldValue:_0x1b8576,newValue:_0x55b597}of _0x41efa8)this['markAttributeChange'](_0x291921,_0x2fc898,_0x1b8576,_0x55b597,{'groupId':_0x34f37c});this['_reduceExistingSuggestions'](_0x1a7225,_0x41efa8);});},{'priority':'lowest'}),_0x460bec['model']['markers']['on']('update:suggestion',(_0xd97d3e,_0x39370,_0x4add88)=>{if(null==_0x4add88){const {id:_0x4dc13e}=this['_splitMarkerName'](_0x39370['name']),_0x18673b=this['_suggestions']['get'](_0x4dc13e);_0x18673b&&_0x18673b['addMarkerName'](_0x39370['name']);}}),_0x460bec['model']['document']['on']('change:data',()=>{const _0x334a50=Array['from'](_0x460bec['model']['document']['differ']['getChangedMarkers']())['filter'](_0x293d0d=>'suggestion'===this['_splitMarkerName'](_0x293d0d['name'])['group']);if(0x0===_0x334a50['length'])return;_0x334a50['sort']((_0x141a61,_0x3f1088)=>{const _0x55a9d5=_0x141a61['data']['oldRange'],_0x2a5714=_0x3f1088['data']['oldRange'];return null===_0x55a9d5&&null===_0x2a5714?0x0:null===_0x55a9d5&&null!==_0x2a5714?-0x1:null!==_0x55a9d5&&null===_0x2a5714?0x1:_0x55a9d5['start']['isBefore'](_0x2a5714['start'])?-0x1:0x1;});const _0x518e0d=new Set(),_0x4e0266=new Set();for(const {name:_0x2ae032,data:_0x2b442d}of _0x334a50){const {id:_0x3962a4}=this['_splitMarkerName'](_0x2ae032);if(null===_0x2b442d['oldRange']){const _0x13743f=this['_handleNewSuggestionMarker'](_0x2ae032);_0x4e0266['add'](_0x13743f);}else{const _0x2a24d4=this['_suggestions']['get'](_0x3962a4);null!==_0x2b442d['newRange']||_0x2a24d4['isInContent']?(_0x518e0d['add'](_0x2a24d4['head']),_0x4e0266['add'](_0x2a24d4)):this['_removeSuggestion'](_0x2a24d4);}}_0x4e0266['size']>0x0&&this['_refreshSuggestionsChain'](_0x4e0266);for(const _0x2e3304 of _0x518e0d)this['fire']('suggestionChanged',_0x2e3304);}),_0x460bec['model']['on']('applyOperation',(_0x529f97,_0x4f760b)=>{const _0x581622=_0x4f760b[0x0];if(!this['_suggestions']['size'])return;if(!_0x581622['isDocumentOperation'])return;if(_0x581622['batch']['isUndo']||!_0x581622['batch']['isLocal'])return;let _0x3cafaf,_0x170623;switch(_0x581622['type']){case'insert':_0x3cafaf=_0x460bec['model']['createPositionAt'](_0x581622['position']),_0x170623=_0x3cafaf['getShiftedBy'](_0x581622['howMany']);break;case'split':_0x3cafaf=_0x460bec['model']['createPositionAt'](_0x581622['splitPosition']),_0x170623=_0x460bec['model']['createPositionAt'](_0x581622['moveTargetPosition']);break;case'move':_0x3cafaf=_0x460bec['model']['createPositionAt'](_0x581622['targetPosition']),_0x170623=_0x3cafaf['getShiftedBy'](_0x581622['howMany']);break;default:return;}const _0x331ac3=_0x460bec['model']['createRange'](_0x3cafaf,_0x170623);_0x460bec['model']['change'](()=>{for(const {suggestion:_0x4f675e,meta:_0x54c17c}of this['_findSuggestions'](_0x331ac3)){if(_0x4f675e['isMultiRange'])continue;if('formatInline'==_0x4f675e['type'])continue;const _0x3bfcc6=this['_getAttributeKey'](_0x4f675e);if(_0x3bfcc6&&this['_isBlockAttribute'](_0x3bfcc6)&&'split'!=_0x581622['type'])continue;const _0x1b4d4d=_0x4f675e['data']&&_0x4f675e['data']['multipleBlocks'];('formatBlock'!=_0x4f675e['type']||'split'==_0x581622['type']&&!_0x1b4d4d)&&(_0x54c17c['containsRangeInObject']||'insertion'==_0x4f675e['type']&&_0x54c17c['isOwn']||_0x4f675e['getFirstRange']()['containsRange'](_0x331ac3)&&this['_breakSuggestionMarker'](_0x4f675e,_0x3cafaf,_0x170623));}});},{'priority':'lowest'}),_0x460bec['model']['on']('deleteContent',(_0x350206,_0x4ae274)=>{const _0x2c02b8=_0x4ae274[0x0],_0x13c5f5=_0x4ae274[0x1];if(_0x13c5f5&&_0x13c5f5['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x2c02b8['isCollapsed'])return;const _0x5f55f0=_0x460bec['model']['schema'],{start:_0x26dea5,end:_0x27e9c7}=_0x2c02b8['getFirstRange'](),_0x1feeeb=_0x26dea5['nodeAfter']&&_0x5f55f0['isLimit'](_0x26dea5['nodeAfter'])?null:_0x5f55f0['getNearestSelectionRange'](_0x26dea5,'forward'),_0x54a6f7=_0x27e9c7['nodeBefore']&&_0x5f55f0['isLimit'](_0x27e9c7['nodeBefore'])?null:_0x5f55f0['getNearestSelectionRange'](_0x27e9c7,'backward'),_0x548f7d=_0x460bec['model']['createRange'](_0x1feeeb?_0x1feeeb['start']:_0x26dea5,_0x54a6f7?_0x54a6f7['end']:_0x27e9c7);_0x460bec['model']['change'](_0x155074=>{this['markDeletion'](_0x548f7d);const _0xb93467=_0x460bec['model']['schema']['getNearestSelectionRange'](_0x548f7d['start']);_0x2c02b8['is']('documentSelection')?_0x155074['setSelection'](_0xb93467):_0x2c02b8['setTo'](_0xb93467);}),_0x350206['stop']();},{'priority':priorities['normal']+0xa}),_0x460bec['model']['on']('insertContent',(_0x58569a,_0x4f6650)=>{const _0x433a89=_0x4f6650[_0x4f6650['length']-0x1];_0x433a89&&_0x433a89['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x460bec['model']['change'](()=>{let _0x2b57b3=_0x460bec['model']['insertContent'](_0x4f6650[0x0],_0x4f6650[0x1],_0x4f6650[0x2],{'forceDefaultExecution':!0x0});if(!_0x2b57b3)return;_0x58569a['return']=_0x2b57b3['clone']();const _0x1c7185=_0x2b57b3['end']['nodeBefore'],_0x5a17e4=_0x460bec['model']['schema'];_0x1c7185&&_0x5a17e4['isBlock'](_0x1c7185)&&!_0x5a17e4['isObject'](_0x1c7185)&&(_0x2b57b3=_0x460bec['model']['createRange'](_0x2b57b3['start'],_0x460bec['model']['createPositionAt'](_0x1c7185,'end'))),this['markInsertion'](_0x2b57b3);}),_0x58569a['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x5dea5e=new AcceptSuggestionCommand(_0x460bec,this['_suggestions']);_0x460bec['commands']['add']('acceptSuggestion',_0x5dea5e),this['enableCommand']('acceptSuggestion');const _0x2f2cd8=new DiscardSuggestionCommand(_0x460bec,this['_suggestions']);_0x460bec['commands']['add']('discardSuggestion',_0x2f2cd8),this['enableCommand']('discardSuggestion'),_0x460bec['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x460bec,_0x5dea5e,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x460bec['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x460bec,_0x2f2cd8,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x460bec['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x460bec,_0x5dea5e,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x460bec['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x460bec,_0x2f2cd8,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x441a8b=_0x460bec['plugins']['get']('CommentsRepository');this['listenTo'](_0x441a8b,'addComment',(_0x1afce3,{threadId:_0x198a44})=>{const _0x5d9888=this['_suggestions']['get'](_0x198a44);_0x5d9888&&_0x5d9888['commentThread']&&0x1===_0x5d9888['commentThread']['length']&&this['_updateSuggestionData'](_0x198a44,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x441a8b,'removeComment',(_0x274cbc,{threadId:_0x111f87})=>{const _0xff3c54=this['_suggestions']['get'](_0x111f87);_0xff3c54&&_0xff3c54['commentThread']&&!_0xff3c54['commentThread']['length']&&this['_updateSuggestionData'](_0x111f87,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){checkLicense$1(this);}set['adapter'](_0x845c09){if(this['_adapter'])throw new CKEditorError('track-changes-adapter-already-set',this);this['_adapter']=_0x845c09;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x1b1c22=!0x1,toJSON:_0x4e052b=!0x1}={}){const _0x47ff03=[];for(const _0x55801c of this['_suggestions']['values']())_0x1b1c22&&!_0x55801c['isInContent']||_0x47ff03['push'](_0x55801c);return _0x4e052b?_0x47ff03['map'](_0x1c2331=>_0x1c2331['toJSON']()):_0x47ff03;}['getSuggestion'](_0x1eb9de){const _0x48f459=this['_suggestions']['get'](_0x1eb9de);if(!_0x48f459)throw new CKEditorError('track-changes-suggestion-not-found',this);return _0x48f459;}['hasSuggestion'](_0x31f33e){return this['_suggestions']['has'](_0x31f33e);}['addSuggestionData'](_0x22e8c9){const {authorId:_0x460874,id:_0x4b143a,attributes:_0x3e1b2c}=_0x22e8c9,[_0x32a363,_0x57ce6c]=_0x22e8c9['type']['split'](':'),_0x40b547=this['_suggestions']['get'](_0x4b143a)||this['_createSuggestion'](_0x32a363,_0x57ce6c,_0x4b143a,_0x460874,_0x3e1b2c);if(this['_addThreadToSuggestion'](_0x40b547),this['_checkSuggestionCorrectness'](_0x40b547,_0x32a363,_0x57ce6c||null,_0x460874),_0x40b547['createdAt']=_0x22e8c9['createdAt'],_0x40b547['_isDataLoaded']=!0x0,_0x3e1b2c&&_0x3e1b2c['@external']){const _0x3fa71a=_0x3e1b2c['@external'],_0x143039=this['_getExternalAuthor'](_0x3fa71a['authorName']);_0x40b547['authoredAt']=_0x3fa71a['createdAt'],_0x40b547['author']=_0x143039,_0x40b547['isExternal']=!0x0;}else _0x40b547['authoredAt']=_0x22e8c9['createdAt'];switch(_0x22e8c9['data']&&(_0x40b547['data']=_0x22e8c9['data']),_0x22e8c9['attributes']&&(_0x40b547['attributes']=_0x22e8c9['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x40b547['_saved']=!0x0),this['_suggestionState']['get'](_0x40b547)){case'notReady':this['_suggestionState']['set'](_0x40b547,'dataReady');break;case'markerReady':_0x40b547['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x40b547])),this['_refreshSuggestionsChain'](new Set([_0x40b547])),this['_suggestionState']['set'](_0x40b547,'ready'),this['fire']('suggestionLoaded',_0x40b547)):this['_suggestionState']['set'](_0x40b547,'removed');}return _0x40b547;}['acceptSuggestion'](_0x484d89){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x2b67ae of _0x484d89['getAllAdjacentSuggestions']())_0x2b67ae['accept']();});});}['discardSuggestion'](_0x3268b4){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x209359 of _0x3268b4['getAllAdjacentSuggestions']())_0x209359['discard']();});});}['enableCommand'](_0x5c3447,_0x2259a6){const _0x3d8769=this['editor']['commands']['get'](_0x5c3447);if(!_0x3d8769)throw new CKEditorError('track-changes-command-not-found',this,{'commandName':_0x5c3447});if(this['_enabledCommands']['has'](_0x3d8769))throw new CKEditorError('track-changes-enable-command-twice',this,{'commandName':_0x5c3447});this['_enabledCommands']['add'](_0x3d8769),_0x2259a6&&_0x3d8769['on']('execute',(_0xf910b6,_0x4fe613)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x4fe613['length']>0x0&&_0x4fe613[_0x4fe613['length']-0x1]&&_0x4fe613[_0x4fe613['length']-0x1]['forceDefaultExecution']?_0x4fe613['pop']():(_0xf910b6['return']=_0x2259a6((..._0x249042)=>_0x3d8769['execute'](..._0x249042,{'forceDefaultExecution':!0x0}),..._0x4fe613),_0xf910b6['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x1958b8){let _0x97edf9,_0x567a0a;const _0x44f27d=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x97edf9=_0x1958b8();}catch(_0xa545ca){_0x567a0a=_0xa545ca;}return _0x44f27d||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x567a0a&&CKEditorError['rethrowUnexpectedError'](_0x567a0a,this),_0x97edf9;}['markInsertion'](_0x590220,_0x41c914=null,_0x45e59c={}){if(_0x590220['isCollapsed'])return null;const _0x592abf=this['editor']['plugins']['get']('Users')['me'];for(const {suggestion:_0x8d04cf,meta:_0x30fc63}of this['_findSuggestions'](_0x590220,'insertion'))if(_0x30fc63['isOwn']){if(!_0x30fc63['isNextTo']){if(_0x30fc63['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x8d04cf,_0x45e59c))continue;return _0x8d04cf;}if(_areSimilarAttributes(_0x8d04cf,_0x45e59c))return _0x8d04cf;this['_breakSuggestionMarker'](_0x8d04cf,_0x590220['start'],_0x590220['end']);break;}if(_0x41c914==_0x8d04cf['subType']&&_areSimilarAttributes(_0x8d04cf,_0x45e59c)){const _0x7d3206=_0x8d04cf['getFirstRange']();return _0x7d3206['start']['isEqual'](_0x590220['end'])?this['_setSuggestionRange'](_0x8d04cf,this['_model']['createRange'](_0x590220['start'],_0x7d3206['end'])):this['_setSuggestionRange'](_0x8d04cf,this['_model']['createRange'](_0x7d3206['start'],_0x590220['end'])),_0x8d04cf;}}const _0x5aa13c=uid(),_0xac0415=_0x592abf['id'],_0x3a0a06=_0x41c914?'insertion:'+_0x41c914:'insertion',_0x36c443=this['_setSuggestionData']({'id':_0x5aa13c,'type':_0x3a0a06,'createdAt':new Date(),'authorId':_0xac0415,'attributes':_0x45e59c});return this['_addSuggestionMarker'](_0x3a0a06,_0x5aa13c,_0xac0415,_0x590220),_0x36c443;}['markMultiRangeInsertion'](_0x2b0922,_0x333432='multi',_0x522c3a={}){const _0x1e6d5a=this['editor']['plugins']['get']('Users')['me'],_0x28b80f=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x333432,'join');for(const _0x18e263 of this['getSuggestions']())if(_0x18e263['author']['id']==_0x1e6d5a['id']&&'insertion'==_0x18e263['type']&&_0x18e263['subType']==_0x333432&&_areSimilarAttributes(_0x18e263,_0x522c3a)&&(_0x28b80f(_0x18e263['getRanges'](),_0x2b0922)||_0x28b80f(_0x2b0922,_0x18e263['getRanges']()))){for(const _0x1cf4ae of _0x2b0922)_0x18e263['addRange'](_0x1cf4ae);return _0x18e263;}for(const {suggestion:_0x211a06,meta:_0x4cd65c}of this['_findSuggestions'](_0x2b0922,'insertion')){if(!_0x4cd65c['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x4cd65c['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0x211a06,_0x522c3a))continue;let _0x1f7697=!0x0;for(const _0x232c7e of _0x211a06['getRanges']())for(const _0x4a51de of _0x2b0922)if(!_0x232c7e['containsRange'](_0x4a51de)){_0x1f7697=!0x1;break;}if(_0x1f7697)return _0x211a06;}const _0x48d9d5=uid(),_0x4ec191=_0x1e6d5a['id'],_0x67344b='insertion:'+_0x333432,_0xc14531=this['_setSuggestionData']({'id':_0x48d9d5,'type':_0x67344b,'createdAt':new Date(),'authorId':_0x4ec191,'attributes':_0x522c3a});for(const _0x3b4cff of _0x2b0922)this['_addSuggestionMarker'](_0x67344b,_0x48d9d5,_0x4ec191,_0x3b4cff,Suggestion['getMultiRangeId']());return _0xc14531;}['markInlineFormat'](_0x133fe1,_0x153b02,_0x595fcd=null,_0x382243={}){if(_0x595fcd=_0x595fcd||createFormatSubType(_0x153b02),_0x133fe1['isCollapsed'])return null;if('never'===this['_trackFormatChanges']){const _0x4b9170=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x595fcd,'accept');return this['forceDefaultExecution'](()=>_0x4b9170([_0x133fe1],_0x153b02,_0x382243)),null;}const _0xd32b9=this['editor']['plugins']['get']('Users')['me'],_0x3b7849=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x3f053d,meta:_0x49b868}of this['_findSuggestions'](_0x133fe1,'insertion'))_0x49b868['isOwn']&&!_0x49b868['isInsideObject']&&_0x3b7849['push'](..._0x3f053d['getRanges']());}const _0x2644f3=getIntersectionsWithMultipleRanges(_0x133fe1,_0x3b7849),_0x5a3c55=getDifferencesWithMultipleRanges(_0x133fe1,_0x3b7849);_0x2644f3['length']&&this['_model']['change'](()=>{for(const _0xedb20e of _0x2644f3){const _0x3c5067=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x595fcd,'accept');this['forceDefaultExecution'](()=>_0x3c5067([_0xedb20e],_0x153b02,_0x382243));}});for(const _0x1e6e28 of _0x5a3c55){let _0x43790c=null,_0x58324c=_0x1e6e28['start'],_0x5866af=_0x1e6e28['end'];for(const {suggestion:_0x251956,meta:_0x47871c}of this['_findSuggestions'](_0x1e6e28,'formatInline')){if(!_0x47871c['isOwn'])continue;if(_0x251956['subType']!=_0x595fcd)continue;if(!_areSimilarAttributes(_0x251956,_0x382243))continue;const _0xf317fe=_0x251956['getFirstRange']();if(_0xf317fe['containsRange'](_0x1e6e28,!0x0))return null;_0x58324c=_0x58324c['isBefore'](_0xf317fe['start'])?_0x58324c:_0xf317fe['start'],_0x5866af=_0x5866af['isAfter'](_0xf317fe['end'])?_0x5866af:_0xf317fe['end'],_0x43790c?_0xf317fe['start']['isBefore'](_0x43790c['getFirstRange']()['start'])?(_0x43790c['removeMarkers'](),_0x43790c=_0x251956):_0x251956['removeMarkers']():_0x43790c=_0x251956;}const _0x12b73a=this['_model']['createRange'](_0x58324c,_0x5866af);if(_0x43790c)this['_setSuggestionRange'](_0x43790c,_0x12b73a);else{const _0x4f1f63=uid(),_0x2ccdc4=_0xd32b9['id'];this['_setSuggestionData']({'id':_0x4f1f63,'type':'formatInline:'+_0x595fcd,'data':_0x153b02,'createdAt':new Date(),'authorId':_0x2ccdc4,'attributes':_0x382243}),this['_addSuggestionMarker']('formatInline:'+_0x595fcd,_0x4f1f63,_0x2ccdc4,_0x12b73a);}}return null;}['markBlockFormat'](_0xdee2c4,_0x52a237,_0x2fd501=[],_0x515c72=null,_0x25f4a8={}){_0x52a237['formatGroupId']||(_0x52a237['formatGroupId']=_0x52a237['commandName']),_0x52a237['multipleBlocks']=_0xdee2c4['is']('range'),_0x515c72=_0x515c72||createFormatSubType(_0x52a237);const _0x5cbe12=_0x2fd501['map'](_0x24401b=>createBlockFormatRangeForElement(_0x24401b,this['_model'])),_0x49cc2a=_0xdee2c4['is']('range')?_0xdee2c4:createBlockFormatRangeForElement(_0xdee2c4,this['_model']);if('never'===this['_trackFormatChanges']){const _0x3fffec=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x515c72,'accept');return this['forceDefaultExecution'](()=>_0x3fffec([_0x49cc2a],_0x52a237,_0x25f4a8)),null;}_0x5cbe12['push'](_0x49cc2a);let _0x1d57a3=!0x0;for(const _0x2159ae of _0x5cbe12)if(!this['_rangeIsInLocalUserInsertion'](_0x2159ae)){_0x1d57a3=!0x1;break;}if(_0x1d57a3&&'always'!==this['_trackFormatChanges']){const _0x44fd7e=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x515c72,'accept');return this['forceDefaultExecution'](()=>_0x44fd7e([_0x49cc2a],_0x52a237,_0x25f4a8)),null;}let _0x5544d6=null,_0x431ef7=_0x49cc2a['start'],_0xb6d895=_0x49cc2a['end'];for(const {suggestion:_0x36bf1b,meta:_0xcd8683}of this['_findSuggestions'](_0x49cc2a,'formatBlock')){if(!_0xcd8683['isOwn'])continue;if(_0xcd8683['isNextTo']||_0xcd8683['containsRangeInObject']||_0xcd8683['isInsideObject'])continue;if(_0x36bf1b['data']['formatGroupId']!=_0x52a237['formatGroupId'])continue;if(!_areSimilarAttributes(_0x36bf1b,_0x25f4a8))continue;const _0x660e9a=_0x36bf1b['getFirstRange']();if(_0x36bf1b['subType']==_0x515c72){if(_0x660e9a['containsRange'](_0x49cc2a,!0x0))return null;_0x431ef7=_0x431ef7['isBefore'](_0x660e9a['start'])?_0x431ef7:_0x660e9a['start'],_0xb6d895=_0xb6d895['isAfter'](_0x660e9a['end'])?_0xb6d895:_0x660e9a['end'],_0x5544d6?_0x660e9a['start']['isBefore'](_0x5544d6['getFirstRange']()['start'])?(_0x5544d6['removeMarkers'](),_0x5544d6=_0x36bf1b):_0x36bf1b['removeMarkers']():_0x5544d6=_0x36bf1b;}else{const _0xd9893a=_0x49cc2a['getIntersection'](_0x660e9a);this['_cutOutSuggestionMarker'](_0x36bf1b,_0xd9893a);}}const _0x28571c=this['editor']['plugins']['get']('Users')['me'],_0x526ebc=uid(),_0x3126bb=_0x28571c['id'];if(_0x5544d6)return this['_setSuggestionRange'](_0x5544d6,this['_model']['createRange'](_0x431ef7,_0xb6d895)),_0x5544d6;{const _0x4885fb=this['_setSuggestionData']({'id':_0x526ebc,'type':'formatBlock:'+_0x515c72,'data':_0x52a237,'createdAt':new Date(),'authorId':_0x3126bb,'attributes':_0x25f4a8});return this['_addSuggestionMarker']('formatBlock:'+_0x515c72,_0x526ebc,_0x3126bb,this['_model']['createRange'](_0x431ef7,_0xb6d895)),_0x4885fb;}}['markMultiRangeBlockFormat'](_0x2fc97e,_0x21e79b,_0x36d744=[],_0x26babe=null,_0xdc012d={}){_0x21e79b['formatGroupId']||(_0x21e79b['formatGroupId']=_0x21e79b['commandName']);const _0x44843b=_0x2fc97e[0x0];_0x21e79b['multipleBlocks']=_0x44843b['is']('range'),_0x26babe=_0x26babe||createFormatSubType(_0x21e79b);const _0x7d5efe=_0x36d744['map'](_0x4788c3=>createBlockFormatRangeForElement(_0x4788c3,this['_model'])),_0x4ddc80=_0x44843b['is']('range')?_0x2fc97e:_0x2fc97e['map'](_0x502910=>createBlockFormatRangeForElement(_0x502910,this['_model']));if('never'===this['_trackFormatChanges']){const _0x2d70d3=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x26babe,'accept');return this['forceDefaultExecution'](()=>_0x2d70d3(_0x4ddc80,_0x21e79b,_0xdc012d)),null;}_0x7d5efe['push'](..._0x4ddc80);let _0x69faa=!0x0;for(const _0xf2aac3 of _0x7d5efe)if(!this['_rangeIsInLocalUserInsertion'](_0xf2aac3)){_0x69faa=!0x1;break;}if(_0x69faa&&'always'!==this['_trackFormatChanges']){const _0x430642=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x26babe,'accept');return this['forceDefaultExecution'](()=>_0x430642(_0x4ddc80,_0x21e79b,_0xdc012d)),null;}const _0x1fe2d2=this['editor']['plugins']['get']('Users')['me'];for(const _0x286d43 of this['getSuggestions']()){if(_0x286d43['author']['id']!=_0x1fe2d2['id'])continue;if('formatBlock'!=_0x286d43['type']||_0x286d43['data']['formatGroupId']!=_0x21e79b['formatGroupId'])continue;if(!_areSimilarAttributes(_0x286d43,_0xdc012d))continue;const _0x31ff23=_0x286d43['subType']==_0x26babe;for(let _0x5d56f9=0x0;_0x5d56f9<_0x4ddc80['length'];_0x5d56f9++){const _0x12473c=_0x4ddc80[_0x5d56f9];for(const _0x8c6923 of _0x286d43['getMarkers']()){const _0x2d7ad8=_0x8c6923['getRange']();if(_0x12473c['isEqual'](_0x2d7ad8)){_0x31ff23?(_0x4ddc80['splice'](_0x5d56f9,0x1),_0x5d56f9--):_0x286d43['removeMarker'](_0x8c6923['name']);break;}}}}if(0x0==_0x4ddc80['length'])return null;const _0x376461=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x26babe,'join');for(const _0xa0a8d of this['getSuggestions']())if(_0xa0a8d['author']['id']==_0x1fe2d2['id']&&'formatBlock'==_0xa0a8d['type']&&_0xa0a8d['data']['formatGroupId']==_0x21e79b['formatGroupId']&&_0xa0a8d['subType']==_0x26babe&&_areSimilarAttributes(_0xa0a8d,_0xdc012d)&&(_0x376461(_0xa0a8d['getRanges'](),_0x4ddc80)||_0x376461(_0x4ddc80,_0xa0a8d['getRanges']()))){for(const _0x1422f8 of _0x4ddc80)_0xa0a8d['addRange'](_0x1422f8);return _0xa0a8d;}const _0x38450e=uid(),_0x452266=_0x1fe2d2['id'],_0x31e21a='formatBlock:'+_0x26babe,_0xe8a5e1=this['_setSuggestionData']({'id':_0x38450e,'type':_0x31e21a,'data':_0x21e79b,'createdAt':new Date(),'authorId':_0x452266,'attributes':_0xdc012d});for(const _0x4f9c1c of _0x4ddc80)this['_addSuggestionMarker'](_0x31e21a,_0x38450e,_0x452266,_0x4f9c1c,Suggestion['getMultiRangeId']());return _0xe8a5e1;}['markDeletion'](_0x1debec,_0x3faeda=null,_0x51227f={}){if(_0x1debec['isCollapsed'])return null;const _0xa0b475=this['editor']['plugins']['get']('Users')['me'],_0xbe6157=new LiveRange(_0x1debec['start'],_0x1debec['end']);for(const {suggestion:_0x32b11b,meta:_0x2a67e5}of this['_findSuggestions'](_0xbe6157,'insertion'))if(_0x2a67e5['isOwn']&&!_0x2a67e5['isNextTo']){if(_0x32b11b['isMultiRange']){const _0x48463d=_0x32b11b['getRanges']()['filter'](_0x2e7a8d=>'$graveyard'!=_0x2e7a8d['root']['rootName']);_0x48463d['every'](_0x407dc8=>_0xbe6157['containsRange'](_0x407dc8,!0x0))&&_0x32b11b['discard']();if(_0x48463d['some'](_0xd9c8de=>_0xd9c8de['containsRange'](_0xbe6157,!0x0))){const _0x4c7505=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x3faeda,'accept');return this['forceDefaultExecution'](()=>_0x4c7505([_0xbe6157],null,_0x51227f)),null;}}else{const _0x3e257c=_0xbe6157['getIntersection'](_0x32b11b['getFirstRange']());null!==_0x3e257c&&_0x32b11b['_onDiscard']([_0x3e257c],null,_0x51227f);}}if(_0xbe6157['detach'](),_0xbe6157['isCollapsed']||'$graveyard'==_0xbe6157['root']['rootName'])return null;let _0x27cef5=null,_0x5dad8c=_0xbe6157['start'],_0xd45c7d=_0xbe6157['end'];const _0x86ea06=this['_findSuggestions'](_0xbe6157,'deletion');for(const {suggestion:_0x366ef3,meta:_0x24b43b}of _0x86ea06){const _0x5a5c45=this['_model']['createRange'](_0x5dad8c,_0xd45c7d);if(_0x24b43b['isOwn']&&(this['_mergeNestedSuggestions']||!_0x24b43b['containsRangeInObject']&&!_0x24b43b['isInsideObject'])){if(_0x366ef3['isMultiRange']){if(!_areSimilarAttributes(_0x366ef3,_0x51227f))continue;let _0x1419cf=!0x0;for(const _0x44ff11 of _0x366ef3['getRanges']()){if(_0x44ff11['containsRange'](_0x5a5c45,!0x0))return _0x366ef3;_0x5a5c45['containsRange'](_0x44ff11)||(_0x1419cf=!0x1);}_0x1419cf&&_0x366ef3['discard']();}else{const _0x51366d=_0x366ef3['getFirstRange']();if(_0x51366d['containsRange'](_0x5a5c45,!0x0))return _0x366ef3;if(!_areSimilarAttributes(_0x366ef3,_0x51227f)){_0x5a5c45['containsRange'](_0x51366d)?_0x366ef3['removeMarkers']():_0x51366d['containsPosition'](_0x5dad8c)?_0x5dad8c=_0x51366d['end']:_0x51366d['containsPosition'](_0xd45c7d)&&(_0xd45c7d=_0x51366d['start']);continue;}_0x5dad8c=_0x5dad8c['isBefore'](_0x51366d['start'])?_0x5dad8c:_0x51366d['start'],_0xd45c7d=_0xd45c7d['isAfter'](_0x51366d['end'])?_0xd45c7d:_0x51366d['end'],_0x51227f=Object['assign']({},_0x366ef3['attributes']),_0x27cef5?_0x51366d['start']['isBefore'](_0x27cef5['getFirstRange']()['start'])?(_0x27cef5['removeMarkers'](),_0x27cef5=_0x366ef3):_0x366ef3['removeMarkers']():_0x27cef5=_0x366ef3;}}}if(_0x27cef5)return this['_setSuggestionRange'](_0x27cef5,this['_model']['createRange'](_0x5dad8c,_0xd45c7d)),_0x27cef5;{const _0x10a41d=uid(),_0x5a3a9a=this['_model']['createRange'](_0x5dad8c,_0xd45c7d),_0x311077=_0xa0b475['id'],_0x344e5e=_0x3faeda?'deletion:'+_0x3faeda:'deletion',_0x5413c0=this['_setSuggestionData']({'id':_0x10a41d,'type':_0x344e5e,'createdAt':new Date(),'authorId':_0x311077,'attributes':_0x51227f});return this['_addSuggestionMarker'](_0x344e5e,_0x10a41d,_0x311077,_0x5a3a9a),_0x5413c0;}}['markMultiRangeDeletion'](_0x307c62,_0x4575d2='multi',_0x46192b={}){const _0xadf2c=this['editor']['plugins']['get']('Users')['me'],_0x30478a=_0x307c62['map'](_0xaf5183=>new LiveRange(_0xaf5183['start'],_0xaf5183['end'])),_0x339cba=new Set();for(const {suggestion:_0xf38f08,meta:_0x529899}of this['_findSuggestions'](_0x30478a,'insertion'))_0x529899['isOwn']&&!_0x529899['isNextTo']&&_0x339cba['add'](_0xf38f08);for(const _0x41c7b9 of _0x339cba)if(_0x41c7b9['isMultiRange']){const _0x23f891=_0x41c7b9['getRanges']();(!_0x41c7b9['attributes']||!_0x41c7b9['attributes']['skipNestingCheck'])&&(_0x23f891['every'](_0x459cec=>_0x30478a['some'](_0x5bed2d=>_0x5bed2d['containsRange'](_0x459cec,!0x0)))&&_0x41c7b9['discard']());if(_0x30478a['every'](_0xb10936=>_0x23f891['some'](_0x46e445=>_0x46e445['containsRange'](_0xb10936,!0x0)))){const _0x4ea951=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4575d2,'accept');return this['forceDefaultExecution'](()=>_0x4ea951(_0x307c62,null,_0x46192b)),null;}}else{const _0x5c1c93=_0x41c7b9['getFirstRange']();_0x30478a['some'](_0x3f9012=>_0x3f9012['containsRange'](_0x5c1c93,!0x0))&&_0x41c7b9['discard']();if(_0x30478a['every'](_0x18e5dc=>_0x5c1c93['containsRange'](_0x18e5dc,!0x0))){const _0x452372=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4575d2,'accept');return this['forceDefaultExecution'](()=>_0x452372(_0x30478a,null,_0x46192b)),null;}}const _0x28d0cf=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x4575d2,'join');let _0x42fc0f=null;for(const _0x154aa9 of this['getSuggestions']())if(_0x154aa9['author']['id']==_0xadf2c['id']&&_0x154aa9['isInContent']&&'deletion'==_0x154aa9['type']&&_0x154aa9['subType']==_0x4575d2&&_areSimilarAttributes(_0x154aa9,_0x46192b)&&(_0x28d0cf(_0x154aa9['getRanges'](),_0x30478a)||_0x28d0cf(_0x30478a,_0x154aa9['getRanges']()))){if(_0x42fc0f){if(_0x154aa9['commentThread']&&_0x154aa9['commentThread']['length'])continue;for(const _0x4b41cb of _0x154aa9['getRanges']())_0x42fc0f['isIntersectingWithRange'](_0x4b41cb)||_0x42fc0f['addRange'](_0x4b41cb);_0x154aa9['removeMarkers']();}else{_0x42fc0f=_0x154aa9;for(const _0x25a6fb of _0x30478a)_0x154aa9['isIntersectingWithRange'](_0x25a6fb)||_0x154aa9['addRange'](_0x25a6fb);}}if(_0x42fc0f)return _0x42fc0f;_0x339cba['clear']();for(const {suggestion:_0x3d6847,meta:_0x5255ba}of this['_findSuggestions'](_0x30478a,'deletion'))_0x5255ba['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5255ba['containsRangeInObject']&&!_0x5255ba['isInsideObject'])&&_areSimilarAttributes(_0x3d6847,_0x46192b)&&_0x339cba['add'](_0x3d6847);for(const _0x389419 of _0x339cba){const _0x4997b3=_0x389419['getRanges']();if(!_0x46192b||!_0x46192b['skipNestingCheck']){if(_0x30478a['every'](_0xa449a3=>_0x4997b3['some'](_0x443d30=>_0x443d30['containsRange'](_0xa449a3,!0x0))))return _0x389419;}(!_0x389419['attributes']||!_0x389419['attributes']['skipNestingCheck'])&&(_0x4997b3['every'](_0x39e87a=>_0x30478a['some'](_0x51f1f5=>_0x51f1f5['containsRange'](_0x39e87a,!0x0)))&&_0x389419['discard']());}const _0x44daf3=uid(),_0x67a4c7=_0xadf2c['id'],_0x4b696b='deletion:'+_0x4575d2,_0x434cd=this['_setSuggestionData']({'id':_0x44daf3,'type':_0x4b696b,'createdAt':new Date(),'authorId':_0x67a4c7,'attributes':_0x46192b});for(const _0x1ccb15 of _0x30478a)_0x1ccb15['detach'](),_0x1ccb15['isCollapsed']||'$graveyard'==_0x1ccb15['root']['rootName']||this['_addSuggestionMarker'](_0x4b696b,_0x44daf3,_0x67a4c7,_0x1ccb15,Suggestion['getMultiRangeId']());return _0x434cd;}['markAttributeChange'](_0x236c75,_0x1a53c6,_0x251e3b,_0x4d382d,_0x2a2958){if(_0x236c75['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x20e751=this['editor']['plugins']['get']('Users')['me']['id'],_0x3b7c09=Array['from'](this['_suggestions']['values']())['filter'](_0x3c30f3=>'attribute'==_0x3c30f3['type']&&_0x3c30f3['data']['key']==_0x1a53c6&&_0x3c30f3['isIntersectingWithRange'](_0x236c75));if('default'===this['_trackFormatChanges']){const _0x333bda=this['_findSuggestions'](_0x236c75,'insertion')['filter'](({meta:_0x346da7})=>_0x346da7['isOwn']&&!_0x346da7['isInsideObject']&&!_0x346da7['isNextTo'])['map'](({suggestion:_0x57d53c})=>_0x57d53c);_0x3b7c09['unshift'](..._0x333bda);}const _0x268ab5=new Map([[_0x236c75,_0x251e3b]]);for(const _0x3933da of _0x3b7c09){const _0x54b6d3='attribute'==_0x3933da['type']?_0x3933da['data']['oldValue']:void 0x0,_0x5ce9c9=_0x3933da['getFirstRange'](),_0x1a95ec=Array['from'](_0x268ab5['keys']())['find'](_0xc74149=>_0xc74149['isIntersecting'](_0x5ce9c9));if(!_0x1a95ec)continue;const _0x7715b=_0x1a95ec['getDifference'](_0x5ce9c9);this['_isBlockAttribute'](_0x1a53c6)&&'insertion'==_0x3933da['type']&&0x0!=_0x7715b['length']||(_0x268ab5['delete'](_0x1a95ec),_0x7715b['forEach'](_0x493a7a=>{_0x268ab5['set'](_0x493a7a,_0x251e3b);}),'insertion'!=_0x3933da['type']&&_0x54b6d3!=_0x4d382d&&_0x268ab5['set'](_0x1a95ec['getIntersection'](_0x5ce9c9),_0x54b6d3));}const _0x38025c=[];for(const [_0x974d0f,_0xed28]of _0x268ab5){const _0x5a850c=uid(),_0x280bd1={'key':_0x1a53c6,'oldValue':_0xed28,'newValue':_0x4d382d};_0x1a53c6['length']>0x25&&console['warn']('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x1a53c6});const _0x8cb1ed=('attribute:'+(_0x1a53c6+'|'+createFormatSubType({'newValue':_0x4d382d})))['substring'](0x0,0x3c),_0x59ba37=this['_setSuggestionData']({'id':_0x5a850c,'type':_0x8cb1ed,'data':_0x280bd1,'createdAt':new Date(),'authorId':_0x20e751,'attributes':_0x2a2958});_0x38025c['push'](_0x59ba37),this['_addSuggestionMarker'](_0x8cb1ed,_0x5a850c,_0x20e751,_0x974d0f);}return _0x38025c;}['enableDefaultAttributesIntegration'](_0x5c73c0){this['enableCommand'](_0x5c73c0,(_0x501342,..._0x3aa466)=>{this['_recordAttributeChanges'](()=>{_0x501342(..._0x3aa466);});});}['registerBlockAttribute'](_0x4c9bc2){this['_blockAttributeKeys']['add'](_0x4c9bc2);}['registerInlineAttribute'](_0x5d2f93){this['_inlineAttributeKeys']['add'](_0x5d2f93);}['_getAttributeKey'](_0x2cbb3c){return'attribute'==_0x2cbb3c['type']?_getAttributeKeyFromSubType(_0x2cbb3c['subType']):null;}['_setSuggestionRange'](_0x18fe0d,_0x48942f){const _0x2c7323=_0x18fe0d['getFirstMarker']();this['_model']['change'](_0x4840d4=>{_0x4840d4['updateMarker'](_0x2c7323,{'range':_0x48942f});});}['_addThreadToSuggestion'](_0x2ce0a1){const _0x13c6a1=_0x2ce0a1['id'],_0x484e2a=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x13c6a1)||this['_commentsRepository']['addCommentThread']({'channelId':_0x484e2a,'threadId':_0x13c6a1,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4c912c=this['_commentsRepository']['getCommentThread'](_0x13c6a1);_0x4c912c['unbind']('isRemovable'),_0x4c912c['isRemovable']=!0x1,_0x2ce0a1['commentThread']=_0x4c912c;}['_checkSuggestionCorrectness'](_0x316336,_0x36ddef,_0x175bbe,_0x25e953){if(_0x316336['type']!=_0x36ddef||_0x316336['subType']!=_0x175bbe||_0x316336['creator']['id']!=_0x25e953)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new CKEditorError('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x3451e0,_0x47d239){const _0x229453=_0x3451e0['getFirstRange']();if(_0x47d239['isEqual'](_0x229453))_0x3451e0['removeMarkers']();else{if(_0x229453['containsRange'](_0x47d239)){const _0x132aec=this['_model']['createPositionAt'](_0x47d239['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x3451e0,this['_model']['createRange'](_0x229453['start'],_0x132aec));const _0x22abc1=uid(),_0x48cca6=_0x3451e0['creator']['id'],_0x1f41bc=_0x3451e0['type']+':'+_0x3451e0['subType'];this['_setSuggestionData']({'id':_0x22abc1,'type':_0x1f41bc,'createdAt':new Date(),'authorId':_0x48cca6,'data':_0x3451e0['data'],'attributes':_0x3451e0['attributes']});const _0x864be2=this['_model']['createPositionAt'](_0x47d239['end']['parent'],'after'),_0x303e0a=this['_model']['createRange'](_0x864be2,_0x229453['end']);this['_addSuggestionMarker'](_0x1f41bc,_0x22abc1,_0x48cca6,_0x303e0a);}else{if(_0x229453['containsPosition'](_0x47d239['start'])){const _0x8dbc12=this['_model']['createPositionAt'](_0x47d239['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x3451e0,this['_model']['createRange'](_0x229453['start'],_0x8dbc12));}else{const _0x8d9b03=this['_model']['createPositionAt'](_0x47d239['end']['parent'],'after');this['_setSuggestionRange'](_0x3451e0,this['_model']['createRange'](_0x8d9b03,_0x229453['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x4cf1fd){for(const {suggestion:_0xe4e50b,meta:_0x58376c}of this['_findSuggestions'](_0x4cf1fd,'insertion')){if(!_0x58376c['isOwn'])continue;const _0x1ab3ef=_0xe4e50b['getRanges']();for(const _0x5ee12b of _0x1ab3ef)if(!_0x4cf1fd['getDifference'](_0x5ee12b)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x37e8a5){const _0x1a9aeb=this['editor']['plugins']['get']('Users')['getUser'](_0x37e8a5);if(!_0x1a9aeb)throw new CKEditorError('track-changes-user-not-found',this);return _0x1a9aeb;}['_getExternalAuthor'](_0x46289f){const _0x5f0575=this['editor']['plugins']['get']('Users'),_0x3886cd=hashObject('external:'+_0x46289f),_0x25f65d=_0x5f0575['getUser'](_0x3886cd);return _0x25f65d||_0x5f0575['addUser']({'id':_0x3886cd,'name':_0x46289f});}['_createSuggestion'](_0x50611b,_0x36158d,_0x236e9f,_0xa8a50e,_0xa83fbe){const _0x44ca83=this['_getAuthorFromId'](_0xa8a50e),_0x13fed2=this['_suggestionFactory']['buildSuggestion'](_0x50611b,_0x36158d,_0x236e9f,_0x44ca83,_0xa83fbe,_0x5d8040=>{this['_updateSuggestionData'](_0x236e9f,{'attributes':_0x5d8040});const _0x475622=this['getSuggestion'](_0x236e9f);this['_joinWithAdjacentSuggestions'](new Set([_0x475622])),this['_refreshSuggestionsChain'](new Set([_0x475622]));});return this['listenTo'](_0x13fed2,'accept',()=>{this['_updateSuggestionData'](_0x236e9f,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x13fed2,'discard',()=>{this['_updateSuggestionData'](_0x236e9f,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x236e9f,_0x13fed2),this['_suggestionState']['set'](_0x13fed2,'notReady'),_0x13fed2;}['_splitMarkerName'](_0x28c30a){const _0x152078=_0x28c30a['split'](':');return{'group':_0x152078[0x0],'type':_0x152078[0x1],'subType':_0x152078['length']>=0x5?_0x152078[0x2]:null,'id':_0x152078['length']<0x5?_0x152078[0x2]:_0x152078[0x3],'authorId':_0x152078['length']<0x5?_0x152078[0x3]:_0x152078[0x4],'markerCount':0x6==_0x152078['length']?_0x152078[0x5]:null};}['_breakSuggestionMarker'](_0x5b4b63,_0x298cc3,_0x29a349){const _0xa86ccf=_0x5b4b63['getFirstRange'](),_0x753c91=_0xa86ccf['start'],_0x20f020=_0xa86ccf['end'];this['_setSuggestionRange'](_0x5b4b63,this['_model']['createRange'](_0x753c91,_0x298cc3));const _0x40f10e=uid(),_0x26e4ce=_0x5b4b63['creator']['id'],_0x286023=_0x5b4b63['type']+(_0x5b4b63['subType']?':'+_0x5b4b63['subType']:'');this['_setSuggestionData']({'id':_0x40f10e,'type':_0x286023,'createdAt':new Date(),'authorId':_0x26e4ce,'originalSuggestionId':_0x5b4b63['id'],'attributes':_0x5b4b63['attributes'],'data':_0x5b4b63['data']});const _0x61448d=this['_getAttributeKey'](_0x5b4b63);('formatBlock'==_0x5b4b63['type']||_0x61448d&&this['_isBlockAttribute'](_0x61448d))&&(_0x29a349=this['_model']['createPositionBefore'](_0x29a349['parent'])),this['_addSuggestionMarker'](_0x286023,_0x40f10e,_0x26e4ce,this['_model']['createRange'](_0x29a349,_0x20f020));}['_findSuggestions'](_0x33ccdd,_0x22eb16=null){const _0x39b01e=[],_0x5a09c4=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x33ccdd)||(_0x33ccdd=[_0x33ccdd]);for(const _0x3a97aa of this['getSuggestions']()){if(!_0x3a97aa['isInContent'])continue;if(_0x22eb16&&_0x3a97aa['type']!=_0x22eb16)continue;let _0x3a7f6e=!0x1;for(const _0x6f20d0 of _0x3a97aa['getRanges']()){for(const _0x468cef of _0x33ccdd){const _0x3a5b16=_0x468cef['start']['isEqual'](_0x6f20d0['end'])||_0x468cef['end']['isEqual'](_0x6f20d0['start']);if(_0x3a5b16||_0x468cef['getIntersection'](_0x6f20d0)){const _0x2fadc0=_0x468cef['containsRange'](_0x6f20d0)&&_isInObject(this['_model']['schema'],_0x6f20d0['start'],_0x468cef),_0x386dc7=_0x6f20d0['containsRange'](_0x468cef)&&_isInObject(this['_model']['schema'],_0x468cef['start'],_0x6f20d0);_0x39b01e['push']({'suggestion':_0x3a97aa,'meta':{'isOwn':_0x5a09c4==_0x3a97aa['author'],'isNextTo':_0x3a5b16,'isInsideObject':_0x2fadc0,'containsRangeInObject':_0x386dc7}}),_0x3a7f6e=!0x0;break;}}if(_0x3a7f6e)break;}}return _0x39b01e;}['_addSuggestionMarker'](_0xbe3544,_0x431664,_0x16044b,_0x59b1f0,_0x222f34){this['_model']['change'](_0x568b7e=>{let _0x3829ed='suggestion:'+_0xbe3544+':'+_0x431664+':'+_0x16044b;_0x222f34&&(_0x3829ed=_0x3829ed+':'+_0x222f34),_0x568b7e['addMarker'](_0x3829ed,{'range':_0x59b1f0,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x160a33){const _0x4bac03=_0x160a33['previous'],_0x19e562=_0x160a33['next'];_0x160a33['previous']=null,_0x160a33['next']=null,null!=_0x4bac03&&_0x4bac03['next']==_0x160a33&&(_0x4bac03['next']=_0x19e562),null!=_0x19e562&&_0x19e562['previous']==_0x160a33&&(_0x19e562['previous']=_0x4bac03),'ready'==this['_suggestionState']['get'](_0x160a33)&&(this['_suggestionState']['set'](_0x160a33,'removed'),this['fire']('suggestionUnloaded',_0x160a33,_0x4bac03,_0x19e562));}['_setSuggestionData'](_0x4c6352){const _0x542d36=_0x4c6352['id'],_0x5286f8=this['addSuggestionData'](_0x4c6352);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x320d06=this['editor']['plugins']['get']('PendingActions'),_0x1e06e1=_0x5286f8['hasComments'],_0x2035b2=_0x5286f8['subType']?_0x5286f8['type']+':'+_0x5286f8['subType']:_0x5286f8['type'],_0x158583=this['editor']['locale'],_0xfe5735=_0x320d06['add'](getTranslation$1(_0x158583,'PENDING_ACTION_SUGGESTION')),_0x2fc673={'id':_0x542d36,'type':_0x2035b2,'hasComments':_0x1e06e1,'data':_0x4c6352['data']||null,'originalSuggestionId':_0x4c6352['originalSuggestionId']||null,'attributes':_0x5286f8['attributes']};this['_adapter']['addSuggestion'](_0x2fc673)['then'](_0x34b634=>{_0x5286f8['_saved']=!0x0,_0x320d06['remove'](_0xfe5735),_0x34b634&&_0x34b634['createdAt']&&(this['_suggestions']['get'](_0x542d36)['createdAt']=_0x34b634['createdAt']);})['catch'](_0x48eaf9=>{throw logWarning('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x5286f8['discard']();}),_0x5286f8['stopListening'](),this['_suggestions']['delete'](_0x5286f8['id']),this['_suggestionState']['delete'](_0x5286f8),_0x48eaf9;});}return _0x5286f8;}['_isBlockAttribute'](_0x53c1ff){return this['_blockAttributeKeys']['has'](_0x53c1ff);}['_updateSuggestionData'](_0x7630de,_0x366a53){const _0x55c459=this['editor']['plugins']['get']('PendingActions'),_0x4345cc=this['getSuggestion'](_0x7630de);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x4345cc['_saved']){const _0x2d6608=_0x55c459['add'](getTranslation$1(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x7630de,_0x366a53)['then'](()=>{_0x55c459['remove'](_0x2d6608);});}else _0x4345cc['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x7630de,_0x366a53);});}}['_getSuggestionData'](_0x5f1276){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new CKEditorError('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x5f1276);}['_handleNewSuggestionMarker'](_0x1e282c){const {id:_0x150784,type:_0xdf2f03,subType:_0x504400,authorId:_0x167286}=this['_splitMarkerName'](_0x1e282c),_0x4f5779=this['_suggestions']['get'](_0x150784)||this['_createSuggestion'](_0xdf2f03,_0x504400,_0x150784,_0x167286,{});switch(this['_checkSuggestionCorrectness'](_0x4f5779,_0xdf2f03,_0x504400,_0x167286),this['_suggestionState']['get'](_0x4f5779)){case'notReady':this['_getSuggestionData'](_0x150784)['then'](_0x3c5d5c=>{let _0x1e2ed2=Promise['resolve']();_0x3c5d5c['hasComments']&&(_0x1e2ed2=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x150784})),_0x1e2ed2['then'](()=>{this['addSuggestionData'](_0x3c5d5c)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x4f5779,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x150784,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x4f5779,'ready'),this['fire']('suggestionLoaded',_0x4f5779);break;case'ready':this['fire']('suggestionChanged',_0x4f5779);}return _0x4f5779['addMarkerName'](_0x1e282c),_0x4f5779;}['_refreshSuggestionsChain'](_0x288661){const _0x4f857e=Array['from'](_0x288661),_0xd608=_0x4f857e['filter'](_0x59ea2e=>'attribute'==_0x59ea2e['type']);this['_refreshAttributeSuggestionsChain'](_0xd608);const _0x48dfa0=_0x4f857e['filter'](_0xbfaac2=>!_0xbfaac2['isMultiRange']&&'attribute'!=_0xbfaac2['type']),_0x5261f0=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x580d7e=>!_0x580d7e['isMultiRange']&&'attribute'!=_0x580d7e['type']),_0x42ce28=_0x5261f0['filter'](_0x31772f=>!_0x288661['has'](_0x31772f)),_0x12257b=new Map(_0x5261f0['map'](_0x2f207d=>[_0x2f207d,this['_suggestionFactory']['getSuggestionCallback'](_0x2f207d['type'],_0x2f207d['subType'],'chain')])),_0x5aba87=new Map(_0x5261f0['map'](_0x5c3ef1=>[_0x5c3ef1,_0x5c3ef1['getFirstRange']()])),_0x546f87=new Set(),_0x2c79fe=new Set();for(let _0x550908=0x0;_0x550908<_0x48dfa0['length'];_0x550908++)_0x56512b(_0x48dfa0[_0x550908],_0x48dfa0,_0x550908+0x1);for(let _0x422a7d=0x0;_0x422a7d<_0x48dfa0['length'];_0x422a7d++)_0x56512b(_0x48dfa0[_0x422a7d],_0x42ce28,0x0);const _0x20287f=new Set();for(let _0x501298=0x0;_0x501298<_0x48dfa0['length'];_0x501298++){const _0x51a585=_0x48dfa0[_0x501298];!_0x2c79fe['has'](_0x51a585)&&_0x51a585['previous']&&(_0x20287f['add'](_0x51a585['previous']),_0x51a585['previous']['next']===_0x51a585&&(_0x51a585['previous']['next']=null),_0x51a585['previous']=null),!_0x546f87['has'](_0x51a585)&&_0x51a585['next']&&(_0x20287f['add'](_0x51a585['next']),_0x51a585['next']['previous']===_0x51a585&&(_0x51a585['next']['previous']=null),_0x51a585['next']=null);}function _0x56512b(_0x3a3bae,_0x2bb5ff,_0x3b95ec){for(let _0x77f1c4=_0x3b95ec;_0x77f1c4<_0x2bb5ff['length'];_0x77f1c4++){const _0x2bfa1a=_0x4f09d9(_0x3a3bae,_0x2bb5ff[_0x77f1c4]);_0x2bfa1a&&(_0x2bfa1a[0x0]['next']=_0x2bfa1a[0x1],_0x2bfa1a[0x1]['previous']=_0x2bfa1a[0x0],_0x546f87['add'](_0x2bfa1a[0x0]),_0x2c79fe['add'](_0x2bfa1a[0x1]));}}function _0x4f09d9(_0x46e471,_0x3350c4){if(_0x46e471['author']['id']!==_0x3350c4['author']['id'])return null;const _0x2e5798=_0x12257b['get'](_0x46e471)(_0x46e471,_0x3350c4,_0x5aba87['get'](_0x46e471),_0x5aba87['get'](_0x3350c4));if(!_0x2e5798)return null;return _0x12257b['get'](_0x3350c4)(_0x46e471,_0x3350c4,_0x5aba87['get'](_0x46e471),_0x5aba87['get'](_0x3350c4))?_0x2e5798[0x1]['commentThread']&&_0x2e5798[0x1]['commentThread']['length']?null:_0x2e5798:null;}_0x20287f['size']&&this['_refreshSuggestionsChain'](_0x20287f);}['_refreshAttributeSuggestionsChain'](_0xdc4c15){if(0x0==_0xdc4c15['length'])return;const _0x1faaf7=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x39fefa=>'attribute'==_0x39fefa['type']&&_0x39fefa['_isDataLoaded']),_0x55b4e6=[],_0x41ade3=new Map();for(const _0x21a2c6 of _0x1faaf7){const _0x3f1979=hashObject(_0x21a2c6['attributes']);_0x41ade3['has'](_0x3f1979)||(_0x41ade3['set'](_0x3f1979,_0x55b4e6['length']),_0x55b4e6['push']([]));const _0x70b2cf=_0x41ade3['get'](_0x3f1979);_0x55b4e6[_0x70b2cf]['push'](_0x21a2c6);}!(function(){_0x55b4e6['sort']((_0x55012e,_0x49291a)=>{const _0x53cef0=_0x55012e[0x0]['createdAt'],_0x29d95b=_0x49291a[0x0]['createdAt'];return _0x53cef0==_0x29d95b?_0x55012e[0x0]['attributes']['groupId']<_0x49291a[0x0]['attributes']['groupId']?-0x1:0x1:_0x53cef0<_0x29d95b?-0x1:0x1;});for(const _0x135a00 of _0x55b4e6)_0x135a00['sort']((_0x1fda4d,_0x7a2875)=>_0x1fda4d['id']<_0x7a2875['id']?-0x1:0x1);}());for(let _0x4e97af=0x0;_0x4e97af<_0x55b4e6['length'];_0x4e97af++){if(0x0==_0x55b4e6[_0x4e97af]['length'])continue;const _0x2852b6=[];for(let _0x530ede=_0x4e97af+0x1;_0x530ede<_0x55b4e6['length'];_0x530ede++)0x0!=_0x55b4e6[_0x530ede]['length']&&_0x382b6d(_0x55b4e6[_0x4e97af],_0x55b4e6[_0x530ede])&&_0x2852b6['push'](_0x530ede);for(const _0x2486fb of _0x2852b6)_0x55b4e6[_0x4e97af]=_0x55b4e6[_0x4e97af]['concat'](_0x55b4e6[_0x2486fb]),_0x55b4e6[_0x2486fb]=[];}for(const _0x517f38 of _0x55b4e6)for(let _0x599a44=0x0;_0x599a44<_0x517f38['length'];_0x599a44++){const _0x11cfed=_0x517f38[_0x599a44+0x1]||null;_0x517f38[_0x599a44]['next']!==_0x11cfed&&(_0x517f38[_0x599a44]['next']=_0x11cfed);}for(const _0xb50294 of _0x55b4e6)for(let _0xa6a9d9=0x0;_0xa6a9d9<_0xb50294['length'];_0xa6a9d9++){const _0x5bbef5=_0xb50294[_0xa6a9d9-0x1]||null;_0xb50294[_0xa6a9d9]['previous']!==_0x5bbef5&&(_0xb50294[_0xa6a9d9]['previous']=_0x5bbef5);}function _0x382b6d(_0x13aa2f,_0x19e6ec){if(_0x13aa2f[0x0]['attributes']['groupId']!==_0x19e6ec[0x0]['attributes']['groupId']&&_0x13aa2f[0x0]['author']!==_0x19e6ec[0x0]['author'])return!0x1;if(!function(_0x329e95,_0xc21484){if(!_0x329e95['hasComments']&&!_0xc21484['hasComments'])return!0x0;if(_0x329e95['hasComments']&&_0xc21484['hasComments'])return!0x1;if(_0x329e95['hasComments']&&_0xc21484['createdAt']<_0x329e95['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0xc21484['hasComments']&&_0x329e95['createdAt']<_0xc21484['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x13aa2f[0x0],_0x19e6ec[0x0]))return!0x1;if(!isEqual(omit(_0x13aa2f[0x0]['attributes'],'groupId'),omit(_0x19e6ec[0x0]['attributes'],'groupId')))return!0x1;return!!_0x13aa2f['every'](_0x38334c=>_0x19e6ec['some'](_0x8de91c=>_0x38334c['getFirstRange']()['isEqual'](_0x8de91c['getFirstRange']())))&&_0x19e6ec['every'](_0x4469fa=>_0x13aa2f['some'](_0x516b2d=>_0x4469fa['getFirstRange']()['isEqual'](_0x516b2d['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x3e1eda){const _0x18313e=Array['from'](_0x3e1eda),_0x2abb10=this['getSuggestions']({'skipNotAttached':!0x0}),_0x23104f=_0x2abb10['filter'](_0x21ae81=>!_0x3e1eda['has'](_0x21ae81)),_0x3da08f=new Map(_0x18313e['map'](_0x2dbd04=>[_0x2dbd04,this['_suggestionFactory']['getSuggestionCallback'](_0x2dbd04['type'],_0x2dbd04['subType'],'join')])),_0x1a9677=new Map(_0x2abb10['map'](_0x490edd=>[_0x490edd,_0x490edd['getRanges']()]));for(let _0x146faf=0x0;_0x146faf<_0x18313e['length'];_0x146faf++){if(_0x36f53c(this,_0x18313e[_0x146faf],_0x18313e,_0x146faf+0x1))return!0x0;}for(let _0x228f00=0x0;_0x228f00<_0x18313e['length'];_0x228f00++){if(_0x36f53c(this,_0x18313e[_0x228f00],_0x23104f,0x0))return!0x0;}return!0x1;function _0x36f53c(_0x2c41b8,_0x746b4c,_0x333ce0,_0x35cb59){for(let _0x366114=_0x35cb59;_0x366114<_0x333ce0['length'];_0x366114++){const _0x253646=_0x333ce0[_0x366114];if(_0x253646['type']!==_0x746b4c['type']||_0x253646['author']['id']!==_0x746b4c['author']['id']||_0x253646['subType']!==_0x746b4c['subType'])continue;if(!_haveSameAttributes(_0x746b4c,_0x253646))continue;if('attribute'==_0x746b4c['type']&&_0x746b4c['data']['oldValue']!=_0x253646['data']['oldValue'])continue;if('attribute'==_0x746b4c['type']&&_0x2c41b8['_isBlockAttribute'](_0x746b4c['data']['key']))continue;if('formatBlock'==_0x746b4c['type']){const _0xe58a16=_0x2c41b8['editor']['model'],_0x1bc3a7=_0x746b4c['getContainedElement']();if(_0x1bc3a7&&(_0xe58a16['schema']['isObject'](_0x1bc3a7)||_0xe58a16['schema']['isLimit'](_0x1bc3a7)))continue;}const _0x2baf5c=_0x3da08f['get'](_0x746b4c),_0x36a094=_0x1a9677['get'](_0x746b4c),_0x26d637=_0x1a9677['get'](_0x253646),_0x4dad2e=_0x746b4c['commentThread']&&_0x746b4c['commentThread']['length'],_0xe265a9=_0x253646['commentThread']&&_0x253646['commentThread']['length'];if(!_0x4dad2e&&_0x2baf5c(_0x26d637,_0x36a094))return _0x2c41b8['_joinSuggestions'](_0x253646,_0x746b4c),_0x1a9677['delete'](_0x746b4c),!0x0;if(!_0xe265a9&&_0x2baf5c(_0x36a094,_0x26d637))return _0x2c41b8['_joinSuggestions'](_0x746b4c,_0x253646),_0x1a9677['delete'](_0x253646),!0x0;}return!0x1;}}['_joinSuggestions'](_0x299944,_0x580216){if(_0x299944['isMultiRange']){for(const _0x4dbdea of _0x580216['getRanges']())_0x299944['addRange'](_0x4dbdea);}else{const _0x3024da=_0x580216['getFirstRange']()['end'];this['_setSuggestionRange'](_0x299944,this['_model']['createRange'](_0x299944['getFirstRange']()['start'],_0x3024da));}_0x580216['removeMarkers']();}['_getMarkerAnnouncementText'](_0x5a8ac9,_0x4b48b8,_0x3852ab){const _0x5dd5ab=_0x5a8ac9['startsWith']('format')||_0x5a8ac9['startsWith']('attribute')?'FORMATTING':_0x5a8ac9['toUpperCase']();return getTranslation$1(this['editor']['locale'],_0x4b48b8+'_'+_0x5dd5ab+'_SUGGESTION_ANNOUNCEMENT',_0x3852ab);}['_initAriaMarkerChangeAnnouncements'](){const _0x1feaee=this['editor'];if(!_0x1feaee['ui'])return;const {ariaLiveAnnouncer:_0x4f8551}=_0x1feaee['ui'];surroundingMarkersDetector(this['_model'],({left:_0x2f8673,entered:_0x7cc667})=>{for(const _0x32db07 of _0x2f8673){const {group:_0x472dd6,type:_0x59f9d6}=this['_splitMarkerName'](_0x32db07['name']);if('suggestion'===_0x472dd6){_0x4f8551['announce'](this['_getMarkerAnnouncementText'](_0x59f9d6,'LEAVE'));break;}}for(const _0x49bd23 of _0x7cc667){const {group:_0x5d27ac,type:_0x423115}=this['_splitMarkerName'](_0x49bd23['name']);if('suggestion'===_0x5d27ac){_0x4f8551['announce'](this['_getMarkerAnnouncementText'](_0x423115,'ENTER',getEnvKeystrokeText(FOCUS_ANNOTATION_KEYSTROKE)));break;}}});}['_processAttributeChanges'](_0x44cc51){if(this['_recordAttributeSuggestions'])return!0x1;const _0x3a5bd7=this['editor'],_0x337749=_0x3a5bd7['model']['document']['differ']['getChanges']();if(0x0==_0x337749['length'])return!0x1;const _0x53f3ad=[],_0x3de2c1=_0x337749['filter'](_0x4d47fb=>'attribute'==_0x4d47fb['type']),_0x4eb47a=_0x337749['filter'](_0xb996ce=>'insert'==_0xb996ce['type']&&'$text'!=_0xb996ce['name']),_0x2288e4=_0x337749['filter'](_0x1abdd4=>'remove'==_0x1abdd4['type']&&'$text'!=_0x1abdd4['name']);for(const _0x30d497 of _0x3de2c1)_0x53f3ad['push']({'key':_0x30d497['attributeKey'],'newValue':_0x30d497['attributeNewValue'],'oldValue':_0x30d497['attributeOldValue'],'range':extendRange(_0x30d497['range'],_0x3a5bd7['model'])});for(const _0x429a85 of _0x4eb47a){const _0x208cdd=_0x2288e4['find'](_0x443864=>_0x443864['position']['isEqual'](_0x429a85['position']));_0x208cdd&&_0x53f3ad['push']({'key':renameAttributeKey,'newValue':_0x429a85['name'],'oldValue':_0x208cdd['name'],'range':_0x3a5bd7['model']['createRangeOn'](_0x429a85['position']['nodeAfter'])});}return 0x0!=_0x53f3ad['length']&&this['_reduceExistingSuggestions'](_0x44cc51,_0x53f3ad);}['_processAttributeSuggestions'](_0x41d5a1){let _0x574bd9=!0x1;const _0xdf5fbb=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2570fc=>_0x2570fc['data']['newRange']&&_0x2570fc['name']['startsWith']('suggestion:attribute:'));for(const _0x58f7c3 of _0xdf5fbb){const {subType:_0x68efd3,id:_0x5479fc}=this['_splitMarkerName'](_0x58f7c3['name']),_0x58007f=_0x68efd3['split']('|')[0x0];for(const _0x4d49dd of this['getSuggestions']({'skipNotAttached':!0x0}))_0x4d49dd['id']!=_0x5479fc&&'attribute'==_0x4d49dd['type']&&_0x4d49dd['data']&&_0x4d49dd['data']['key']==_0x58007f&&_0x4d49dd['getFirstRange']()['isIntersecting'](_0x58f7c3['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x4d49dd,_0x58f7c3['data']['newRange'],_0x41d5a1),_0x574bd9=!0x0);}return _0x574bd9;}['_recordAttributeChanges'](_0x43c902){this['_recordAttributeSuggestions']=!0x0,_0x43c902();}['_isRegisteredAttribute'](_0x59ca85){const _0x3e3be6=this['_isBlockAttribute'](_0x59ca85),_0x20dcea=this['_inlineAttributeKeys']['has'](_0x59ca85);return _0x3e3be6||_0x20dcea;}['_reduceExistingSuggestions'](_0x1d5a10,_0x261b93){if(0x0==_0x261b93['length'])return!0x1;let _0x2f54b3=!0x1;for(const _0x3bde9b of _0x261b93){const _0x9fc1a1=this['_findSuggestions'](_0x3bde9b['range'],'attribute')['filter'](_0x26fc30=>!_0x26fc30['meta']['isNextTo'])['map'](_0x21b246=>_0x21b246['suggestion']),_0x43c27b=hashObject({'newValue':_0x3bde9b['newValue']});_0x9fc1a1['filter'](_0x139bee=>{const [_0x4b2141,_0x301b9a]=_0x139bee['subType']['split']('|');return _0x4b2141==_0x3bde9b['key']&&_0x301b9a!=_0x43c27b;})['forEach'](_0x5a19b6=>{this['_reduceSuggestionAttributeRange'](_0x5a19b6,_0x3bde9b['range'],_0x1d5a10),_0x2f54b3=!0x0;});}return _0x2f54b3;}['_reduceSuggestionAttributeRange'](_0x451000,_0x3d934f,_0x682545){const _0x5e97af=_0x451000['getFirstRange']()['getDifference'](_0x3d934f);0x0!==_0x5e97af['length']?0x1!==_0x5e97af['length']?this['_breakSuggestionMarker'](_0x451000,_0x3d934f['start'],_0x3d934f['end']):this['_setSuggestionRange'](_0x451000,_0x5e97af[0x0]):_0x682545['removeMarker'](_0x451000['getFirstMarker']());}}class SuggestionFactory{constructor(_0x41217d){this['_editor']=_0x41217d,this['_model']=_0x41217d['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x29011c,_0xd085a4,_0x1a005a,_0x5aa0ca,_0x5ea81a,_0x279009){return new Suggestion(this['_model'],{'type':_0x29011c,'subType':_0xd085a4,'id':_0x1a005a,'author':_0x5aa0ca,'creator':_0x5aa0ca,'attributes':_0x5ea81a,'onAttributesChange':_0x279009,'onAccept':(..._0xabeac1)=>this['getSuggestionCallback'](_0x29011c,_0xd085a4,'accept')(..._0xabeac1),'onDiscard':(..._0x2a678b)=>this['getSuggestionCallback'](_0x29011c,_0xd085a4,'discard')(..._0x2a678b)});}['registerCustomCallback'](_0x40b91a,_0x4198c7,_0x4159ed,_0x3d41fc){const _0x4acca4=_0x40b91a+':'+_0x4198c7+':'+_0x4159ed;this['_customCallbacks']['set'](_0x4acca4,_0x3d41fc);}['getSuggestionCallback'](_0x3af8d3,_0x15e6b2,_0x3a9c72){const _0x18e0a7=_0x3af8d3+':'+_0x15e6b2+':'+_0x3a9c72;return this['_customCallbacks']['get'](_0x18e0a7)||this['_defaultCallbacks']['get'](_0x3af8d3+':'+_0x3a9c72);}['_registerDefaultCallbacks'](){const _0x519f23=()=>!0x1,_0x5af466=_0x464cc7=>{_0x464cc7['sort']((_0x23c848,_0x2c7c2d)=>_0x23c848['start']['isBefore'](_0x2c7c2d['start'])?0x1:-0x1),this['_model']['change'](_0x4aa9d0=>{for(const _0x57471b of _0x464cc7){let _0x44c058;_0x44c058=_0x57471b['end']['isAtEnd']&&_0x57471b['end']['parent']==_0x57471b['start']['nodeAfter']?_0x4aa9d0['createSelection'](_0x57471b['start']['nodeAfter'],'on'):_0x4aa9d0['createSelection'](_0x57471b),this['_model']['deleteContent'](_0x44c058,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5b6ae9=(_0x1ee3f6,_0x566e59)=>{_0x566e59&&this['_model']['change'](_0x3d9072=>{const {commandName:_0x1b9822,commandParams:_0x41ce59=[]}=_0x566e59,_0x3c3209=_0x1ee3f6['map'](_0x16e06b=>(rangeOnOpeningTag(_0x16e06b)&&(_0x16e06b=this['_model']['createRange'](_0x16e06b['end'])),_0x16e06b))['filter'](_0x1145d8=>'$graveyard'!==_0x1145d8['root']['rootName']);if(_0x3c3209['length']<0x1)return;const _0x306414=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x2637c8=>LiveRange['fromRange'](_0x2637c8));_0x3d9072['setSelection'](_0x3c3209);for(const _0x3f2202 of this['_editor']['commands']['commands']())_0x3f2202['refresh']();_0x41ce59['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x1b9822,..._0x41ce59);const _0x511bbe=_0x306414['filter'](_0x58b614=>'$graveyard'!=_0x58b614['root']['rootName']);_0x511bbe['length']>0x0&&_0x3d9072['setSelection'](_0x511bbe);for(const _0x399fc7 of _0x306414)_0x399fc7['detach']();});},_0x27f99e=(_0x4024d4,_0x3d24fc)=>0x1==_0x4024d4['length']&&0x1==_0x3d24fc['length']&&_0x4024d4[0x0]['end']['isEqual'](_0x3d24fc[0x0]['start']),_0x334365=(_0x1d9e2f,_0x3df27c,_0x923b88,_0x52a7a4)=>canChainSuggestions(_0x1d9e2f,_0x3df27c,_0x923b88,_0x52a7a4)?[_0x1d9e2f,_0x3df27c]:canChainSuggestions(_0x3df27c,_0x1d9e2f,_0x52a7a4,_0x923b88)?[_0x3df27c,_0x1d9e2f]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x519f23),this['_defaultCallbacks']['set']('insertion:discard',_0x5af466),this['_defaultCallbacks']['set']('insertion:join',_0x27f99e),this['_defaultCallbacks']['set']('insertion:chain',_0x334365),this['_defaultCallbacks']['set']('deletion:accept',_0x5af466),this['_defaultCallbacks']['set']('deletion:discard',_0x519f23),this['_defaultCallbacks']['set']('deletion:join',_0x27f99e),this['_defaultCallbacks']['set']('deletion:chain',_0x334365),this['_defaultCallbacks']['set']('formatInline:accept',_0x5b6ae9),this['_defaultCallbacks']['set']('formatInline:discard',_0x519f23),this['_defaultCallbacks']['set']('formatInline:join',_0x27f99e),this['_defaultCallbacks']['set']('formatInline:chain',_0x519f23),this['_defaultCallbacks']['set']('formatBlock:accept',_0x5b6ae9),this['_defaultCallbacks']['set']('formatBlock:discard',_0x519f23),this['_defaultCallbacks']['set']('formatBlock:join',_0x27f99e),this['_defaultCallbacks']['set']('formatBlock:chain',_0x519f23),this['_defaultCallbacks']['set']('attribute:accept',_0x519f23),this['_defaultCallbacks']['set']('attribute:discard',(_0x5e2e68,_0x5aefcc)=>{if(!_0x5aefcc)return;const _0x3c5e55=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x25441a=>{if(_0x5aefcc['key']==renameAttributeKey)for(const _0x2ed9eb of _0x5e2e68){const _0x150b14=_0x2ed9eb['start']['nodeAfter'],_0x15ad4f=_0x5aefcc['oldValue'];_0x25441a['rename'](_0x150b14,_0x15ad4f);}else{if(_0x3c5e55['_isBlockAttribute'](_0x5aefcc['key'])){for(const _0x2a9bdf of _0x5e2e68)void 0x0!==_0x5aefcc['oldValue']?_0x25441a['setAttribute'](_0x5aefcc['key'],_0x5aefcc['oldValue'],_0x2a9bdf['start']['nodeAfter']):_0x25441a['removeAttribute'](_0x5aefcc['key'],_0x2a9bdf['start']['nodeAfter']);}else{for(const _0x4cacee of _0x5e2e68)_0x5aefcc['oldValue']?_0x25441a['setAttribute'](_0x5aefcc['key'],_0x5aefcc['oldValue'],_0x4cacee):_0x25441a['removeAttribute'](_0x5aefcc['key'],_0x4cacee);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x27f99e);}}function getIntersectionsWithMultipleRanges(_0x42cbab,_0x1fb697){const _0x17b2d4=[];for(const _0x1d21ad of _0x1fb697){const _0x52421b=_0x42cbab['getIntersection'](_0x1d21ad);_0x52421b&&_0x17b2d4['push'](_0x52421b);}return _0x17b2d4;}function getDifferencesWithMultipleRanges(_0x264a05,_0xb73fc){const _0x2dc342=[_0x264a05];for(const _0xf7d75f of _0xb73fc){let _0x673f49=0x0;for(;_0x673f49<_0x2dc342['length'];){const _0x598108=_0x2dc342[_0x673f49]['getDifference'](_0xf7d75f);_0x2dc342['splice'](_0x673f49,0x1,..._0x598108),_0x673f49+=_0x598108['length'];}}return _0x2dc342;}function _isInObject(_0x1eff23,_0x5deb74,_0x2dfbca){for(const _0x52c7eb of _0x5deb74['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x52c7eb['root']==_0x52c7eb)return!0x1;if(!_0x2dfbca['containsItem'](_0x52c7eb))return!0x1;if(_0x1eff23['isObject'](_0x52c7eb)||_0x1eff23['isLimit'](_0x52c7eb))return!0x0;}return!0x1;}function rangeOnOpeningTag(_0x24d3c8){return _0x24d3c8['end']['parent']==_0x24d3c8['start']['nodeAfter']&&_0x24d3c8['end']['isAtStart'];}function rangeOnClosingTag(_0x9f2d86){return _0x9f2d86['start']['parent']==_0x9f2d86['end']['nodeBefore']&&_0x9f2d86['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x526123,_0x1b5828,_0x439dfc,_0x3e17ae){const _0x4ce954=_0x116e06=>!_0x116e06['item']['is']('$textProxy')&&!_0x3e17ae['isObject'](_0x116e06['item']),_0x13e9e9=_0x526123['start']['getLastMatchingPosition'](_0x4ce954),_0x486fb6=_0x526123['end']['getLastMatchingPosition'](_0x4ce954,{'direction':'backward'});return(!_0x526123['start']['isEqual'](_0x13e9e9)||!_0x526123['end']['isEqual'](_0x486fb6))&&(_0x13e9e9['isBefore'](_0x486fb6)?_0x439dfc['updateMarker'](_0x1b5828,{'range':_0x439dfc['createRange'](_0x13e9e9,_0x486fb6)}):_0x439dfc['removeMarker'](_0x1b5828),!0x0);}function createFormatSubType(_0x30d94b){return hashObject(_0x30d94b);}function isCorrectFormatBlockSuggestionRange(_0x3e5c7c){const _0x412b5f=_0x3e5c7c['start']['nodeAfter'];return _0x412b5f&&_0x412b5f['is']('element');}function isCorrectDeletionSuggestionRange(_0x4c4c90){return!rangeOnOpeningTag(_0x4c4c90)&&!rangeOnClosingTag(_0x4c4c90);}function extendRange(_0x1bd1a5,_0x597d1f){return null==_0x1bd1a5['end']['nodeBefore']&&_0x1bd1a5['end']['parent']==_0x1bd1a5['start']['nodeAfter']?createBlockFormatRangeForElement(_0x1bd1a5['start']['nodeAfter'],_0x597d1f):_0x1bd1a5;}function createBlockFormatRangeForElement(_0x1c1b13,_0x390903){const _0x2dbdd2=_0x390903['schema']['isObject'](_0x1c1b13)||_0x390903['schema']['isSelectable'](_0x1c1b13);return _0x390903['createRange'](_0x390903['createPositionAt'](_0x1c1b13,'before'),_0x2dbdd2?_0x390903['createPositionAfter'](_0x1c1b13):_0x390903['createPositionAt'](_0x1c1b13,'end'));}function canChainSuggestions(_0x3fc9c9,_0x4fb59c,_0x56a7cb,_0x4f4fe8){return!!_haveSameAttributes(_0x3fc9c9,_0x4fb59c)&&_0x56a7cb['end']['isEqual'](_0x4f4fe8['start']);}function _haveSameAttributes(_0x534095,_0x214f52){if(!_0x534095['_isDataLoaded']||!_0x214f52['_isDataLoaded'])return!0x1;const _0x3dca91=new Set(Object['keys'](_0x534095['attributes'])),_0xe6f60e=new Set(Object['keys'](_0x214f52['attributes']));if(_0x3dca91['delete']('groupId'),_0xe6f60e['delete']('groupId'),0x0==_0x3dca91['size']&&0x0==_0xe6f60e['size'])return!0x0;if(_0x3dca91['size']!=_0xe6f60e['size'])return!0x1;const _0x5eb666={..._0x534095['attributes']},_0x557c0a={..._0x214f52['attributes']};return delete _0x5eb666['groupId'],delete _0x557c0a['groupId'],JSON['stringify'](_0x5eb666)==JSON['stringify'](_0x557c0a);}function _areSimilarAttributes(_0x16fbe0,_0x2b490f){const _0x54fad6=_cleanUpAttributes(_0x16fbe0['attributes']),_0x525af3=_cleanUpAttributes(_0x2b490f);if(!_0x16fbe0['_isDataLoaded'])return!0x1;for(const _0x32782a of Object['keys'](_0x525af3))if(!isEqual(_0x54fad6[_0x32782a],_0x525af3[_0x32782a]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x52054c){const _0x54814e=Object['assign']({},_0x52054c);return delete _0x54814e['skipNestingCheck'],delete _0x54814e['tablePasteChainId'],_0x54814e;}function _getAttributeKeyFromSubType(_0x1a674c){return _0x1a674c['split']('|')[0x0];}async function checkLicense$1(_0x37145b){const _0x1394c4=_0x577ffd([0x64,0x66,0x38,0x65,0x70,0x57,0x4b,0x45,0x5a,0x4c,0x46,0x49,0x31,0x32,0x67,0x41,0x58,0x6a,0x55,0x73,0x76,0x6f,0x35,0x47,0x36,0x77,0x4e,0x4d,0x79,0x62,0x61,0x44,0x48,0x68,0x56,0x71,0x42,0x75,0x34,0x37,0x72,0x33,0x6d,0x51,0x59,0x63,0x43,0x53,0x39,0x6e,0x6c,0x52,0x4a,0x4f,0x78,0x50,0x74,0x54,0x6b,0x30,0x7a,0x69]),_0x5b7c1f=window[_0x577ffd([0x44,0x61,0x74,0x65])][_0x577ffd([0x6e,0x6f,0x77])](),_0xc42b33=_0x37145b[_0x577ffd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x548bc6=new window[(_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ada49=>{_0xc42b33[_0x577ffd([0x6f,0x6e,0x63,0x65])](_0x577ffd([0x72,0x65,0x61,0x64,0x79]),_0x1ada49);}),_0x17a69f={[_0x577ffd([0x6b,0x74,0x79])]:_0x577ffd([0x45,0x43]),[_0x577ffd([0x75,0x73,0x65])]:_0x577ffd([0x73,0x69,0x67]),[_0x577ffd([0x63,0x72,0x76])]:_0x577ffd([0x50,0x2d,0x32,0x35,0x36]),[_0x577ffd([0x78])]:_0x577ffd([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]),[_0x577ffd([0x79])]:_0x577ffd([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]),[_0x577ffd([0x61,0x6c,0x67])]:_0x577ffd([0x45,0x53,0x32,0x35,0x36])},_0x5e79e7=_0xc42b33[_0x577ffd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x577ffd([0x67,0x65,0x74])](_0x577ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x15995e=await(async function(){let _0x16dcbf,_0x1eec67=null,_0xa5ba68=null;try{if(_0x5e79e7==_0x577ffd([0x47,0x50,0x4c]))return _0x577ffd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16dcbf=(function(){const _0xb14581=_0x5e79e7[_0x577ffd([0x73,0x70,0x6c,0x69,0x74])](_0x577ffd([0x2e]));if(0x3!=_0xb14581[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x19efe8=_0xb14581[0x1];return _0x3e14a1(_0x19efe8);function _0x3e14a1(_0x3d4895){const _0x41b641=_0x3f8eff(_0x3d4895);return _0x41b641&&_0x4c14e0()?_0x41b641:null;function _0x4c14e0(){const _0x201df6=_0x41b641[_0x577ffd([0x6a,0x74,0x69])],_0x40bc0b=window[_0x577ffd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x201df6[_0x577ffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201df6[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e9ab7={..._0x41b641,[_0x577ffd([0x6a,0x74,0x69])]:_0x201df6[_0x577ffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x201df6[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e9ab7[_0x577ffd([0x76,0x63])],_0x161d48(_0x1e9ab7)==_0x40bc0b;}}}()),!_0x16dcbf)return _0x577ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x16dcbf[_0x577ffd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa5ba68=function(_0xd6b774,_0x55e962){return new window[(_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e896f=>{if(_0x1e0b99())return _0x4e896f(_0x577ffd([0x56,0x61,0x6c,0x69,0x64]));_0xcba340(),_0xc42b33[_0x577ffd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x577ffd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32445b=!0x1;const _0x36f4c6=uid();function _0x5507c2(_0x4f19d6){return!!_0x4f19d6&&(typeof _0x4f19d6===_0x577ffd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f19d6===_0x577ffd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f19d6[_0x577ffd([0x74,0x68,0x65,0x6e])]===_0x577ffd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f19d6[_0x577ffd([0x63,0x61,0x74,0x63,0x68])]===_0x577ffd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f832e(_0x5649ad){_0x487427(_0x5649ad)[_0x577ffd([0x74,0x68,0x65,0x6e])](_0x2b8581=>{if(!_0x2b8581||_0x2b8581[_0x577ffd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x577ffd([0x6f,0x6b]))return _0x577ffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x571cd9(_0x161d48(_0x36f4c6+_0x55e962))!=_0x2b8581[_0x577ffd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x577ffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x577ffd([0x56,0x61,0x6c,0x69,0x64]);})[_0x577ffd([0x74,0x68,0x65,0x6e])](_0x2bf1dd=>(_0xbb1973(),_0x2bf1dd),()=>{const _0x4b6b95=_0x32ddba();return null==_0x4b6b95?(_0xbb1973(),_0x577ffd([0x56,0x61,0x6c,0x69,0x64])):_0x577ffd(_0x5b7c1f-_0x4b6b95>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x577ffd([0x74,0x68,0x65,0x6e])](_0x4e896f)[_0x577ffd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e896f(_0x577ffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fbfd3=0x36ee80;function _0xbb1973(){const _0x250dda=_0x577ffd([0x6c,0x6c,0x63,0x74,0x2d])+_0x571cd9(_0x161d48(_0xd6b774)),_0x462549=_0xfff1e5(_0x571cd9(window[_0x577ffd([0x4d,0x61,0x74,0x68])][_0x577ffd([0x63,0x65,0x69,0x6c])](_0x5b7c1f/_0x4fbfd3)));window[_0x577ffd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x577ffd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x250dda,_0x462549);}function _0x32ddba(){const _0x13ea33=_0x577ffd([0x6c,0x6c,0x63,0x74,0x2d])+_0x571cd9(_0x161d48(_0xd6b774)),_0x3f14c1=window[_0x577ffd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x577ffd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13ea33);return _0x3f14c1?window[_0x577ffd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfff1e5(_0x3f14c1),0x10)*_0x4fbfd3:null;}function _0x487427(_0x308724){return new window[(_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15bc10,_0x2a12dc)=>{_0x308724[_0x577ffd([0x74,0x68,0x65,0x6e])](_0x15bc10,_0x2a12dc),window[_0x577ffd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a12dc,0x1d4c0);});}}_0xc42b33[_0x577ffd([0x6f,0x6e])](_0x577ffd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b22a9,_0x24a304)=>{if(_0x24a304[0x0]!=_0xd6b774)return _0x4e896f(_0x577ffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24a304[0x1]={..._0x24a304[0x1],[_0x577ffd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36f4c6};},{[_0x577ffd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x577ffd([0x68,0x69,0x67,0x68])}),_0xc42b33[_0x577ffd([0x6f,0x6e])](_0x577ffd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4404c2=>{_0x5507c2(_0x4404c2[_0x577ffd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32445b=!0x0,_0x3f832e(_0x4404c2[_0x577ffd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x577ffd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x577ffd([0x6c,0x6f,0x77])}),_0x548bc6[_0x577ffd([0x74,0x68,0x65,0x6e])](()=>{_0x32445b||_0x4e896f(_0x577ffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e0b99(){return _0xc42b33[_0x577ffd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x577ffd([0x76,0x69,0x65,0x77])][_0x577ffd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x577ffd([0x61,0x75,0x74,0x6f]);}function _0xcba340(){_0xc42b33[_0x577ffd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x577ffd([0x76,0x69,0x65,0x77])][_0x577ffd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x577ffd([0x61,0x75,0x74,0x6f]);}}(_0x16dcbf[_0x577ffd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16dcbf[_0x577ffd([0x6a,0x74,0x69])]));const _0x54b43d=await(async function(){let _0x2d65fa=!0x0;try{const _0x451296=_0x5e79e7[_0x577ffd([0x73,0x70,0x6c,0x69,0x74])](_0x577ffd([0x2e])),[_0x33ad5f,_0x5c9bc7,_0x1e1261]=_0x451296;return _0x1ec3c6(_0x33ad5f),await _0x166153(_0x33ad5f,_0x5c9bc7,_0x1e1261),_0x2d65fa;}catch(_0x433c01){return!0x1;}function _0x1ec3c6(_0x44b1a9){const _0x1be827=_0x3f8eff(_0x44b1a9);_0x1be827&&_0x1be827[_0x577ffd([0x61,0x6c,0x67])]==_0x577ffd([0x45,0x53,0x32,0x35,0x36])||(_0x2d65fa=!0x1);}async function _0x166153(_0x142f4e,_0x4236cb,_0x40e8a4){const _0x385998=window[_0x577ffd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x577ffd([0x66,0x72,0x6f,0x6d])](_0x5a3df6(_0x40e8a4),_0x3bb0b7=>_0x3bb0b7[_0x577ffd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x207f9b=new window[(_0x577ffd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x577ffd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x142f4e+_0x577ffd([0x2e])+_0x4236cb),_0x3390f3=window[_0x577ffd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x577ffd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3390f3)return;const _0x286180=await _0x3390f3[_0x577ffd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x577ffd([0x6a,0x77,0x6b]),_0x17a69f,{[_0x577ffd([0x6e,0x61,0x6d,0x65])]:_0x577ffd([0x45,0x43,0x44,0x53,0x41]),[_0x577ffd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x577ffd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x577ffd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3390f3[_0x577ffd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x577ffd([0x6e,0x61,0x6d,0x65])]:_0x577ffd([0x45,0x43,0x44,0x53,0x41]),[_0x577ffd([0x68,0x61,0x73,0x68])]:{[_0x577ffd([0x6e,0x61,0x6d,0x65])]:_0x577ffd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x286180,_0x385998,_0x207f9b)||(_0x2d65fa=!0x1);}}());return _0x54b43d?(function(){const _0x384442=_0x16dcbf[_0x577ffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x384442)return!0x1;if(_0x384442[_0x577ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577ffd([0x2a])))return!0x0;if(_0x384442[_0x577ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577ffd([0x54,0x43])))return!0x0;if(_0x384442[_0x577ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577ffd([0x52,0x54,0x43]))){if(_0x39ba4b(_0x577ffd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0xa5cd3=_0x577ffd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0xc42b33[_0x577ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x577ffd([0x67,0x65,0x74])](_0xa5cd3))[_0x577ffd([0x73,0x74,0x61,0x74,0x65])]==_0x577ffd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x39ba4b(_0x577ffd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x39ba4b(_0x577ffd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0xa5cd3;return!0x1;}())?(function(){const _0x26eb2c=[_0x577ffd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x577ffd([0x74,0x72,0x69,0x61,0x6c])][_0x577ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dcbf[_0x577ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b7c1f/0x3e8:0x67b67080;return _0x16dcbf[_0x577ffd([0x65,0x78,0x70])]<_0x26eb2c;}())?_0x577ffd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1a1137=_0x16dcbf[_0x577ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a1137||0x0==_0x1a1137[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fdcd1}=new URL(window[_0x577ffd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a1137[_0x577ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fdcd1))return!0x0;const _0x3ffd49=_0x1fdcd1[_0x577ffd([0x73,0x70,0x6c,0x69,0x74])](_0x577ffd([0x2e]));return _0x1a1137[_0x577ffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb7e0b8=>_0xb7e0b8[_0x577ffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577ffd([0x2a])))[_0x577ffd([0x6d,0x61,0x70])](_0x4f8f72=>_0x4f8f72[_0x577ffd([0x73,0x70,0x6c,0x69,0x74])](_0x577ffd([0x2e])))[_0x577ffd([0x73,0x6f,0x6d,0x65])](_0x43a83e=>_0x3ffd49[_0x577ffd([0x65,0x76,0x65,0x72,0x79])]((_0x5ea518,_0x319dfd)=>_0x43a83e[_0x319dfd]===_0x5ea518||_0x43a83e[_0x319dfd]===_0x577ffd([0x2a])));}())?(_0x16dcbf[_0x577ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x577ffd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eec67=_0x3b3bba(_0x577ffd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x16dcbf[_0x577ffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x577ffd([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eec67=_0x3b3bba(_0x577ffd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1eec67&&_0xa5ba68)return new window[(_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39ab70,_0x367054)=>{_0x1eec67[_0x577ffd([0x74,0x68,0x65,0x6e])](_0x39ab70,_0x367054),_0xa5ba68[_0x577ffd([0x74,0x68,0x65,0x6e])](_0x9ebf0f=>{_0x9ebf0f!=_0x577ffd([0x56,0x61,0x6c,0x69,0x64])&&_0x39ab70(_0x9ebf0f);},_0x367054);});return _0x1eec67||_0xa5ba68||_0x577ffd([0x56,0x61,0x6c,0x69,0x64]);}())):_0x577ffd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x577ffd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x577ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x7a6844){return _0x577ffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3b3bba(_0x33ecfb){const _0x5dd725=new window[(_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e286a=>setTimeout(_0x2e286a,0x93ecc)),_0x2ab92e=_0x548bc6[_0x577ffd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3238b9=>{let _0x1fb43c=0x0;_0xc42b33[_0x577ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x577ffd([0x6f,0x6e])](_0x577ffd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29a3ca,_0x42134c)=>{_0x42134c[0x0][_0x577ffd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fb43c++,0x1f8==_0x1fb43c&&(_0x3238b9(),_0x29a3ca[_0x577ffd([0x6f,0x66,0x66])]());});})),_0x2a3978=[_0x5dd725,_0x2ab92e];return window[_0x577ffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x577ffd([0x72,0x61,0x63,0x65])](_0x2a3978)[_0x577ffd([0x74,0x68,0x65,0x6e])](()=>_0x33ecfb);}function _0x3f8eff(_0x1f262a){return _0x1f262a[_0x577ffd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x577ffd([0x65,0x79]))?JSON[_0x577ffd([0x70,0x61,0x72,0x73,0x65])](_0x5a3df6(_0x1f262a)):null;}function _0x5a3df6(_0x530a70){return window[_0x577ffd([0x61,0x74,0x6f,0x62])](_0x530a70[_0x577ffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x577ffd([0x2b]))[_0x577ffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x577ffd([0x2f])));}function _0x161d48(_0x359b78){let _0x260710=0x1505;function _0x1d0d8e(_0x3e4989){for(let _0x5840ec=0x0;_0x5840ec<_0x3e4989[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5840ec++){const _0xa5eeb7=_0x3e4989[_0x577ffd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5840ec);_0x260710=(_0x260710<<0x5)+_0x260710+_0xa5eeb7,_0x260710&=_0x260710;}}return function _0x55f621(_0x3fa13a){Array[_0x577ffd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fa13a)?_0x3fa13a[_0x577ffd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55f621):_0x3fa13a&&typeof _0x3fa13a==_0x577ffd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x577ffd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fa13a)[_0x577ffd([0x73,0x6f,0x72,0x74])]()[_0x577ffd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c4814,_0x3a6115])=>{_0x1d0d8e(_0x3c4814),_0x55f621(_0x3a6115);}):_0x1d0d8e(window[_0x577ffd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fa13a));}(_0x359b78),_0x260710>>>0x0;}function _0x571cd9(_0x52ece8){return _0x52ece8[_0x577ffd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x577ffd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x577ffd([0x30]));}function _0xfff1e5(_0x583b8b){return _0x583b8b[_0x577ffd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x577ffd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x577ffd([0x6a,0x6f,0x69,0x6e])]('');}function _0x39ba4b(_0x561154){return _0xc42b33[_0x577ffd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x577ffd([0x68,0x61,0x73])](_0x561154);}function _0x2f1997(){}function _0x577ffd(_0x3eb277){return _0x3eb277['map'](_0x5e63e9=>String['fromCharCode'](_0x5e63e9))['join']('');}!function(_0x18e209){const _0x3c003c=(function(){const _0x541787=window[_0x577ffd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x577ffd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x577ffd([0x6e,0x6f,0x77])]())[_0x577ffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x577ffd([0x2e]),'');let _0x237b3b=_0x577ffd([0x64]);for(let _0x354072=0x0;_0x354072<_0x541787[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x354072+=0x2){let _0x5b92a8=window[_0x577ffd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x541787[_0x577ffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x354072,_0x354072+0x2));_0x5b92a8>=_0x1394c4[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b92a8-=_0x1394c4[_0x577ffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x237b3b+=_0x1394c4[_0x5b92a8];}return _0x237b3b;}());_0xc42b33[_0x3c003c]=_0x577ffd([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18e209,_0x18e209!=_0x577ffd([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x548bc6,_0xc42b33[_0x577ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x577ffd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f1997,_0xc42b33[_0x577ffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x577ffd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f1997,_0xc42b33[_0x577ffd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x577ffd([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x15995e);}class SuggestionController extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x2d85fa,_0x594525,_0x4351f0,_0x23bc37){super(),this['model']=_0x594525,this['view']=_0x4351f0,this['commentThreadController']=_0x23bc37,this['_editor']=_0x2d85fa,this['_acceptCommand']=_0x2d85fa['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x2d85fa['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x487618,_0x44b2fb)=>_0x487618||_0x44b2fb),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x33477f=>_0x33477f&&this['_editor']['model']['canEditAt'](_0x594525['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x2763d6=>_0x2763d6&&this['_editor']['model']['canEditAt'](_0x594525['getRanges']())),this['_pendingAction']=null,_0x4351f0['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x4351f0,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x4351f0,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x4351f0,'change:isDirty',()=>{_0x4351f0['isDirty']?this['_setPendingAction']():this['_removePendingAction']();});}['acceptSuggestion'](){this['_acceptCommand']['execute'](this['model']['id']);}['discardSuggestion'](){this['_discardCommand']['execute'](this['model']['id']);}['destroy'](){this['view']['unbind']('isEnabled'),this['view']['unbind']('canAccept'),this['view']['unbind']('canDiscard'),this['stopListening'](),this['commentThreadController']['destroy'](),this['_pendingAction']&&this['_removePendingAction']();}['_setPendingAction'](){const _0x3bb37c=getTranslation$1(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x3bb37c);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends View{constructor(_0x174a57,_0x1921a5,_0x176aec,_0xde3315){super(_0x174a57),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x174a57,getTranslation$1(_0x174a57,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x1921a5['authoredAt']),this['bind']('authoredAt')['to'](_0x1921a5),this['set']('descriptionParts',[]),this['set']('isDirty',!0x1),this['set']('isEnabled',!0x1),this['set']('canAccept',!0x1),this['set']('canDiscard',!0x1),this['bind']('ariaLabel')['to'](this,'length',_0x1921a5,'authoredAt',this,'descriptionParts',(_0x539c69,_0x3745b1,_0x1fadae)=>{const _0x15868e=_0x1fadae['map'](_0x59acbd=>renderDescription(_0x59acbd['content']))['join']('.\x20')+'.';return getTranslation$1(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x539c69-0x1,_0x1921a5['author']['name'],_0x3745b1?_0xde3315['formatDateTime'](_0x3745b1):'',new DOMParser()['parseFromString'](_0x15868e,'text/html')['body']['textContent']]);}),this['focusables']=new ViewCollection(),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2d80c2=>_0x2d80c2['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x1921a5,this['_localUser']=_0x176aec,this['_config']=_0xde3315,_0xde3315['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x4de089}=this['_config'];this['commentsListView']=new _0x4de089(this['locale'],this['_model']['commentThread'],Object['assign']({'CommentView':this['_config']['CommentView']},this['_config'])),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['set']('length',this['commentsListView']['length']+0x1),this['bind']('length')['to'](this['commentsListView'],'length',_0x40d381=>_0x40d381+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x5456c4,_0xa9d37a)=>_0x5456c4||!!_0xa9d37a);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x1286fc}=this['_config'],_0xece618=new _0x1286fc(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x158606=_0xece618['commentInputView'];return _0xece618['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x158606,'value',(_0x293235,_0x2bb5a4,_0x516d07)=>!!_0x516d07||_0x293235&&!_0x2bb5a4),_0x158606['on']('submit',(_0x1f4a76,_0x1d2d11)=>{this['fire']('addComment',_0x1d2d11),_0x158606['editor']['setData']('');}),_0x158606['on']('cancel',()=>this['focus']()),_0x158606['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0xece618;}}class SuggestionThreadView extends BaseSuggestionThreadView{constructor(_0x551c92,_0x3bd234,_0x4712d0,_0x4bdd52){super(_0x551c92,_0x3bd234,_0x4712d0,_0x4bdd52),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x893ba=>_0x893ba&&_0x893ba[0x0]?_0x893ba[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x42d848,_0x44aa76)=>{let _0x295387='';for(const _0x5164c5 of _0x42d848)_0x295387+='<p>'+renderDescription(_0x5164c5['content'],_0x5164c5['color'])+'</p>';return _0x44aa76?_0x295387:trimHtml(_0x295387,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x4bdd52['SuggestionView'](_0x551c92,_0x3bd234,{'formatDateTime':_0x4bdd52['formatDateTime']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x50141b=this['bindTemplate'],_0x42cd10=[this['suggestionView']];this['commentsListView']&&_0x42cd10['push'](this['commentsListView']),this['commentThreadInputView']&&_0x42cd10['push'](this['commentThreadInputView']),_0x42cd10['push'](this['ariaDescriptionView']);const _0x3f89ac={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x50141b['if']('isActive','ck-suggestion-wrapper--active'),_0x50141b['to']('type',_0x25307e=>'ck-suggestion-'+_0x25307e),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x50141b['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x42cd10};return _0x3f89ac;}['render'](){super['render'](),this['commentsListView']&&(this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this)),this['commentThreadInputView']&&(this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this));}}class SuggestionView extends View{constructor(_0x5bfc6c,_0x207c2f,_0x48a6da){super(_0x5bfc6c),this['_model']=_0x207c2f,this['_config']=_0x48a6da,this['set']('description',''),this['bind']('authoredAt')['to'](_0x207c2f),this['acceptButton']=this['_createButton'](getTranslation$1(_0x5bfc6c,'Accept\x20suggestion'),_0x40ee59['check'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$1(_0x5bfc6c,'Discard\x20suggestion'),_0x40ee59['cancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new UserView(_0x5bfc6c,_0x207c2f['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new ViewCollection([this['acceptButton'],this['discardButton']]),this['focusTracker']=new FocusTracker(),this['keystrokes']=new KeystrokeHandler(),this['focusCycler']=new FocusCycler({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x361fd8=>_0x361fd8['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x3d8791=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x3d8791['innerHTML']=this['description'],this['on']('change:description',(_0x1e3d69,_0x2d7173,_0x5dde2e)=>{_0x3d8791['innerHTML']=_0x5dde2e;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x65bbdd=this['bindTemplate'],_0xa3c9d9=[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x65bbdd['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x65bbdd['to']('authoredAt',_0x46aed7=>this['_config']['formatDateTime'](_0x46aed7))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];return this['_model']['isExternal']&&_0xa3c9d9['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0xa3c9d9}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$1(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):getTranslation$1(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x21edbd,_0x167ea2,_0x3ecde8,_0x5be274,_0xe845b3){const _0x5ad7b6=new LateFocusButtonView(this['locale']);return _0x5ad7b6['set']({'label':_0x21edbd,'icon':_0x167ea2,'tooltip':!0x0,'tooltipPosition':_0xe845b3}),_0x5ad7b6['extendTemplate']({'attributes':{'class':_0x3ecde8}}),_0x5ad7b6['on']('execute',()=>{this['fire'](_0x5be274,this['_model']['id']);}),_0x5ad7b6;}['_setupKeyboardNavigation'](){const _0x5d195d=this['element'];this['keystrokes']['listenTo'](_0x5d195d);for(const _0x3ebfe2 of this['focusables'])this['focusTracker']['add'](_0x3ebfe2['element']),this['keystrokes']['listenTo'](_0x3ebfe2['element']);this['keystrokes']['set']('enter',(_0x3d5b34,_0x130ec9)=>{_0x5d195d===_0x3d5b34['target']&&(this['focusCycler']['focusFirst'](),_0x130ec9());}),this['keystrokes']['set']('esc',(_0x128148,_0x406a5f)=>{_0x5d195d!==_0x128148['target']&&(this['focus'](),_0x406a5f());});}}var trackChangesIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M6.182\x205.514a.643.643\x200\x200\x200-.636.64v-.001a.636.636\x200\x200\x200\x20.636.639h5.682a.641.641\x200\x200\x200\x20.636-.638.637.637\x200\x200\x200-.636-.64H6.182Z\x22/><path\x20d=\x22M6.182\x208.5a.642.642\x200\x200\x200-.588.882.636.636\x200\x200\x200\x20.588.395h5.682a.641.641\x200\x200\x200\x20.636-.639.635.635\x200\x200\x200-.636-.638H6.182Z\x22/><path\x20d=\x22M6.18\x2011.5a.64.64\x200\x200\x200\x200\x201.278h3.133a.64.64\x200\x200\x200\x200-1.278H6.18Z\x22/><path\x20d=\x22m11.772\x2018.308.154-.23c-.195-.098-.304-.192-.328-.28-.024-.09\x200-.274.076-.551.062-.166.099-.296.11-.393a2.934\x202.934\x200\x200\x200\x200-.479c-.137-.41-.2-.685-.186-.83.013-.145.117-.335.313-.57l4.465-6.207c.356-.6\x201.059-.56\x202.11.118\x201.05.68\x201.443\x201.272\x201.177\x201.772l-3.876\x206.833c-.105.27-.22.444-.347.515-.128.07-.4.119-.813.139a2.954\x202.954\x200\x200\x200-.487.21c-.127.09-.244.193-.347.31-.193.174-.332.262-.416.262-.064\x200-.178-.05-.346-.15l-.204.27-1.056-.739Zm-.184.274\x201.039.727-.26.34h-1.496l.717-1.067Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M3.272\x201A1.28\x201.28\x200\x200\x200\x202\x202.28v14.439a1.276\x201.276\x200\x200\x200\x201.272\x201.28h6.838a2.13\x202.13\x200\x200\x201\x20.003-.61c.024-.18.066-.363.113-.534.012-.046.027-.092.043-.136.011-.029.02-.052.025-.069v-.008a7.395\x207.395\x200\x200\x201-.042-.142H3.5V2.46s11\x20.002\x2011\x20.005v6.341l.627-.872c.204-.32.49-.614.873-.819V2.281c0-.707-.569-1.28-1.272-1.28L3.272\x201ZM16\x209.29l-1.5\x202.085V16.5h-2.708c.005.118.002.236-.007.354a.904.904\x200\x200\x201-.013.075l-.001.005a3.108\x203.108\x200\x200\x201-.097.312c-.027.101-.048.19-.062.266a.734.734\x200\x200\x200-.014.287.25.25\x200\x200\x200\x20.068.105.65.65\x200\x200\x200\x20.088.074l.017.011.016.01h.175L14.73\x2018c.697\x200\x201.271-.573\x201.271-1.281v-7.43Z\x22/></svg>\x0a';class TrackChangesUI extends Plugin{static get['requires'](){return[TrackChangesEditing,Users,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc9c734){super(_0xc9c734),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x6de184=this['editor']['config'];_0x6de184['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x6de184['define']('trackChanges.SuggestionView',SuggestionView),_0x6de184['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x6de184['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x45d929,_0x4dca67){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x131445,_0x27e9ff]of this['_handleControllerBuffer']){const _0xa03107=this['_suggestionToController']['has'](_0x131445);_0xa03107||_0x27e9ff?_0xa03107&&_0x27e9ff&&this['_destroyController'](_0x131445):this['_initializeController'](_0x131445);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x45d929,_0x4dca67);}['init'](){const _0x3305af=this['editor'],_0x1efb82=_0x3305af['plugins']['get']('TrackChangesEditing'),_0x35b4b1=_0x3305af['plugins']['get']('Annotations'),_0x352d97=_0x3305af['plugins']['get']('EditorAnnotations'),_0x3dd165=_0x3305af['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x352d97['addSourceCollector'](()=>{const _0x46e20b=[];for(const [_0x25b97b,_0x7a5293]of Array['from'](this['_suggestionToController'])){const _0x2ec3fb=_0x25b97b['getAllAdjacentSuggestions'](),_0x256311=[];for(const _0x2d5269 of _0x2ec3fb){if(!_0x2d5269['isInContent'])continue;if(_0x2d5269['isMultiRange']){_0x256311['push'](..._0x2d5269['getRanges']());continue;}const _0x15f3f7=_0x2d5269['getFirstRange']();if(_0x256311['length']>0x0){const _0x39181a=_0x256311[0x0]['getJoined'](_0x15f3f7);if(_0x39181a){_0x256311[0x0]=_0x39181a;continue;}}_0x256311['push'](_0x15f3f7);}_0x46e20b['push']([_0x7a5293['view'],_0x256311]);}return _0x46e20b;}),this['listenTo'](_0x1efb82,'suggestionLoaded',(_0x10fa09,_0x5eb321)=>{this['listenTo'](_0x5eb321,'change:previous',(_0x3b40a1,_0x2282db,_0x9ed7ff,_0x494f7c)=>{_0x5eb321['isInContent']&&(null==_0x9ed7ff?(this['_updateController'](_0x494f7c['head']),this['_handleSuggestionControllerDelayed'](_0x5eb321,!0x1)):(this['_updateController'](_0x9ed7ff['head']),null==_0x494f7c&&this['_handleSuggestionControllerDelayed'](_0x5eb321,!0x0)));}),null!==_0x5eb321['previous']?this['_updateController'](_0x5eb321['head']):this['_handleSuggestionControllerDelayed'](_0x5eb321,!0x1);}),this['listenTo'](_0x1efb82,'suggestionUnloaded',(_0x3ff7dc,_0x58c240,_0x399b18)=>{this['stopListening'](_0x58c240,'change:previous'),this['_handleControllerBuffer']['delete'](_0x58c240),this['_suggestionToController']['has'](_0x58c240)&&this['_destroyController'](_0x58c240),_0x399b18&&this['_updateController'](_0x399b18['head']);}),this['listenTo'](_0x1efb82,'suggestionChanged',(_0x464507,_0x224158)=>{this['_updateController'](_0x224158);}),this['listenTo'](_0x35b4b1,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x3dd165,'addComment',(_0x23b81f,{threadId:_0xeed5bb,isFromAdapter:_0x2a1dd6})=>{if(_0x2a1dd6||!_0x1efb82['hasSuggestion'](_0xeed5bb))return;const _0x939db0=_0x1efb82['getSuggestion'](_0xeed5bb);this['_suggestionToController']['get'](_0x939db0)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x126f20=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a1c3b;for(const _0x46e9fa in _0x126f20){const _0x401e00=_0x46e9fa,_0x3a4c8b=_0x126f20[_0x401e00];if('trackChangesLicenseKeyValid'==_0x3a4c8b||'trackChangesLicenseKeyInvalid'==_0x3a4c8b||'trackChangesLicenseKeyExpired'==_0x3a4c8b||'trackChangesLicenseKeyDomainLimit'==_0x3a4c8b||'trackChangesLicenseKeyNotAllowed'==_0x3a4c8b||'trackChangesLicenseKeyEvaluationLimit'==_0x3a4c8b||'trackChangesLicenseKeyTrialLimit'==_0x3a4c8b||'trackChangesLicenseKeyUsageLimit'==_0x3a4c8b){delete _0x126f20[_0x401e00],_0x5a1c3b=_0x3a4c8b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x5a1c3b&&_0x126f20['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x5a1c3b&&_0x126f20['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x5a1c3b&&_0x126f20['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x5a1c3b&&_0x126f20['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x5a1c3b&&_0x126f20['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyTrialLimit'==_0x5a1c3b&&_0x126f20['_showLicenseError']('trialLimit'),'trackChangesLicenseKeyUsageLimit'==_0x5a1c3b&&_0x126f20['_showLicenseError']('usageLimit');},0x3e8);}['_refreshActiveMarkers'](){const _0x281971=this['editor']['plugins']['get']('Annotations'),_0x440e4b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x216e35=Array['from'](_0x281971['activeAnnotations'],_0x26d150=>_0x26d150['innerView'])['filter'](_0x1abf6c=>this['_viewToController']['has'](_0x1abf6c)),_0x30d337=[];for(const _0x5af129 of _0x216e35){const _0x522f32=this['_viewToController']['get'](_0x5af129)['model']['getAllAdjacentSuggestions']();_0x30d337['push'](..._0x522f32['reduce']((_0x387b41,_0xe7a83d)=>[..._0x387b41,..._0xe7a83d['getMarkerNames']()],[]));}_0x440e4b['activeMarkers']=_0x30d337;}['_addUIComponentsToFactory'](){const _0xbacb18=this['editor'],_0x18f7a8=_0xbacb18['locale'],_0x44a83b=getTranslation$1(_0x18f7a8,'Track\x20changes'),_0x240e83=new Collection([{'type':'switchbutton','model':new ViewModel({'withText':!0x0,'isToggleable':!0x0,'label':_0x44a83b,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ViewModel({'withText':!0x0,'label':getTranslation$1(_0x18f7a8,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ViewModel({'withText':!0x0,'label':getTranslation$1(_0x18f7a8,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ViewModel({'withText':!0x0,'label':getTranslation$1(_0x18f7a8,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ViewModel({'withText':!0x0,'label':getTranslation$1(_0x18f7a8,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0xbacb18['plugins']['has']('TrackChangesPreview')&&_0x240e83['addMany']([{'type':'separator'},{'type':'button','model':new ViewModel({'withText':!0x0,'label':getTranslation$1(_0x18f7a8,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x4a4d31 of _0x240e83)if(isListDropdownButtonDefinition(_0x4a4d31)){const _0x34c6aa=_0xbacb18['commands']['get'](_0x4a4d31['model']['commandName']);_0x4a4d31['model']['bind']('isOn','isEnabled')['to'](_0x34c6aa,'value','isEnabled');}_0xbacb18['ui']['componentFactory']['add']('trackChanges',_0x53458d=>this['_createToolbarButton'](_0x53458d,_0x240e83,_0x44a83b)),_0xbacb18['ui']['componentFactory']['add']('menuBar:trackChanges',_0xecfef5=>this['_createMenuBarMenu'](_0xecfef5,_0x240e83,_0x44a83b));}['_createToolbarButton'](_0x56f144,_0x2aee2e,_0x47c643){const _0x351a53=createDropdown(_0x56f144,SplitButtonView),_0x43f9ae=this['editor']['commands']['get']('trackChanges');_0x351a53['buttonView']['set']({'tooltip':_0x47c643,'label':_0x47c643,'icon':trackChangesIcon}),_0x351a53['buttonView']['bind']('isOn')['to'](_0x43f9ae,'value'),_0x351a53['buttonView']['on']('execute',()=>{_0x43f9ae['execute'](),this['editor']['editing']['view']['focus']();}),addListToDropdown(_0x351a53,_0x2aee2e,{'role':'menu'});const _0x388d07=[];for(const _0xe5b5a7 of _0x2aee2e)isListDropdownButtonDefinition(_0xe5b5a7)&&_0x388d07['push'](this['editor']['commands']['get'](_0xe5b5a7['model']['commandName']));const _0x2c8c16=_0x351a53['buttonView'];return _0x2c8c16['actionView']['unbind']('isEnabled'),_0x2c8c16['arrowView']['unbind']('isEnabled'),_0x2c8c16['actionView']['bind']('isEnabled')['to'](_0x43f9ae,'isEnabled'),_0x2c8c16['arrowView']['bind']('isEnabled')['toMany'](_0x388d07,'isEnabled',(..._0x448fe7)=>_0x448fe7['some'](_0xeccd6e=>_0xeccd6e)),_0x351a53['on']('execute',_0x196050=>{this['editor']['execute'](_0x196050['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x351a53;}['_createMenuBarMenu'](_0x342412,_0x5e5d5a,_0x5a261d){const _0x924456=new MenuBarMenuView(_0x342412),_0xfbdc83=this['editor']['commands']['get']('trackChanges');_0x924456['buttonView']['set']({'label':_0x5a261d,'icon':trackChangesIcon});const _0x4854ec=new MenuBarMenuListView(_0x342412);for(const _0x568142 of _0x5e5d5a){if('separator'==_0x568142['type']){_0x4854ec['items']['add'](new ListSeparatorView(_0x342412));continue;}const _0x3133e7=new MenuBarMenuListItemView(_0x342412,_0x924456),_0x3d9323=new MenuBarMenuListItemButtonView(_0x342412),_0x375326=_0x568142['model'];_0x3d9323['bind'](...Object['keys'](_0x375326))['to'](_0x375326),_0x3d9323['delegate']('execute')['to'](_0x924456),_0x3d9323['on']('execute',()=>{this['editor']['execute'](_0x375326['commandName']),this['editor']['editing']['view']['focus']();}),_0x3133e7['children']['add'](_0x3d9323),_0x4854ec['items']['add'](_0x3133e7);}return _0x924456['bind']('isEnabled')['to'](_0xfbdc83,'isEnabled'),_0x924456['panelView']['children']['add'](_0x4854ec),_0x924456;}['_initializeController'](_0x482fd2){const _0x316410=this['editor'],_0x3798aa=_0x316410['config'],_0x3e838c=_0x316410['plugins']['get']('Annotations'),_0x5d667c=_0x316410['plugins']['get']('CommentsRepository'),_0x5a98a8=_0x316410['plugins']['get']('EditorAnnotations'),_0xe3ad10=_0x316410['plugins']['get'](Users)['me'],_0x1be98d=_0x3798aa['get']('trackChanges')['SuggestionThreadView'],_0x3cdbb9=_0x3798aa['get']('trackChanges')['SuggestionView'],{CommentsListView:_0xd8112,CommentThreadInputView:_0x3780c5}=_0x316410['plugins']['get']('CommentsUI');let _0x24308b,_0xc48859,_0x5f726c;this['_annotationViews']['has'](_0x482fd2['id'])?(_0xc48859=this['_annotationViews']['get'](_0x482fd2['id']),_0x24308b=_0xc48859['mainView']):(_0x24308b=new _0x1be98d(_0x316410['locale'],_0x482fd2,_0xe3ad10,{'disableComments':this['_disableComments'],'editorConfig':{..._0x3798aa['get']('comments.editorConfig'),'licenseKey':_0x3798aa['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x3798aa['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x3798aa['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x3798aa['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x3798aa['get']('locale')),'CommentView':_0x3798aa['get']('comments')['CommentView'],'CommentsListView':_0xd8112,'CommentThreadInputView':_0x3780c5,'SuggestionView':_0x3cdbb9}),_0x24308b['suggestionView']['acceptButton']['on']('execute',()=>{_0x316410['editing']['view']['focus']();}),_0x24308b['suggestionView']['discardButton']['on']('execute',()=>{_0x316410['editing']['view']['focus']();}),_0xc48859=_0x3e838c['createAnnotationView'](this['editor']['locale'],_0x24308b),_0xc48859['bind']('isDirty')['to'](_0x24308b,'isDirty'),_0xc48859['bind']('length')['to'](_0x24308b),_0xc48859['bind']('type')['to'](_0x24308b,'type',_0x5246d2=>'suggestion-'+_0x5246d2),_0x24308b['on']('escape',()=>{_0x5f726c['fire']('escape');}),this['_annotationViews']['set'](_0x482fd2['id'],_0xc48859));const _0x5af42c=_0x5d667c['createCommentThreadController'](_0x482fd2['commentThread'],_0x24308b),_0x94def3=new SuggestionController(_0x316410,_0x482fd2,_0x24308b,_0x5af42c),_0x287ab6=_0x482fd2['getAllAdjacentSuggestions']()['filter'](_0x35466d=>_0x35466d['isInContent']);_0x24308b['descriptionParts']=_0x316410['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x287ab6),this['_suggestionToController']['set'](_0x482fd2,_0x94def3),this['_viewToController']['set'](_0x24308b,_0x94def3),_0x5f726c=_0x3e838c['createAnnotation']({'view':_0xc48859,'target':()=>{const _0x290709=[],_0xbb539=_0x482fd2['getAllAdjacentSuggestions']()['filter'](_0xcf24e6=>_0xcf24e6['isInContent']);for(const _0x405a1b of _0xbb539)_0x290709['push'](..._0x405a1b['getMarkers']());return getAllMarkersDomElementsSorted(_0x316410['editing'],_0x290709);},'type':()=>'suggestion-'+_0x94def3['view']['type']}),_0x5d667c['_bindAnnotationToEditors'](_0x24308b,_0x5f726c),_0x3e838c['add'](_0x5f726c),_0x5a98a8['registerAnnotation'](_0x5f726c);}['_destroyController'](_0x525c9f){const _0x50222e=this['editor']['plugins']['get']('CommentsRepository'),_0x39ead9=this['editor']['plugins']['get']('Annotations'),_0x5b8422=this['_suggestionToController']['get'](_0x525c9f),_0x57f4a4=_0x5b8422['view'],_0xd19cf6=_0x39ead9['getByInnerView'](_0x57f4a4);_0x50222e['_unbindEditors'](_0x57f4a4),_0xd19cf6&&_0x39ead9['remove'](_0xd19cf6),this['_suggestionToController']['delete'](_0x525c9f),this['_viewToController']['delete'](_0x57f4a4),_0x5b8422['destroy']();}['_updateController'](_0x21ef72){if(!_0x21ef72['isInContent']||!this['_suggestionToController']['has'](_0x21ef72))return;const _0x16db44=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3eadae=this['_suggestionToController']['get'](_0x21ef72),_0x54d6dd=_0x21ef72['getAllAdjacentSuggestions']();_0x3eadae['view']['descriptionParts']=_0x16db44['descriptionFactory']['getDescriptions'](_0x54d6dd);}['destroy'](){for(const _0x349959 of this['_suggestionToController']['keys']())this['_destroyController'](_0x349959);for(const _0x4e6515 of this['_annotationViews']['values']())_0x4e6515['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x1cd258){return'model'in _0x1cd258;}class TrackChanges extends Plugin{static get['requires'](){return[TrackChangesEditing,TrackChangesUI,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x339b4e){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x339b4e;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x4f5f3f){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x4f5f3f);}['getSuggestions']({skipNotAttached:_0x24eed3=!0x1,toJSON:_0x24e45a=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x24eed3,'toJSON':_0x24e45a});}['getSuggestion'](_0x200269){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x200269);}}const blackListedPlugins=['Pagination'];class TrackChangesData extends Plugin{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe34560=this['editor'];if(_0xe34560['config']['define']('trackChangesData.editorCreator',_0x4b7813=>{const _0x1f0845=_0xe34560['model']['document']['getRootNames']()['reduce']((_0x3e4678,_0x4ba1f8)=>(_0x3e4678[_0x4ba1f8]='',_0x3e4678),{});return _0xe34560['constructor']['create'](_0x1f0845,_0x4b7813);}),'function'!=typeof _0xe34560['config']['get']('trackChangesData')['editorCreator'])throw new CKEditorError('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x2517ab){return getTrackChangesData(this['editor'],!0x0,_0x2517ab);}['getDataWithDiscardedSuggestions'](_0x527116){return getTrackChangesData(this['editor'],!0x1,_0x527116);}}class TrackChangesDataGetter extends Plugin{static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16d0c1){function _0x1a0de9(_0x2fb271){return _0x2fb271['map'](_0x5f405b=>String['fromCharCode'](_0x5f405b))['join']('');}super(_0x16d0c1),this['result']='end',_0x16d0c1[_0x1a0de9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a0de9([0x76,0x69,0x65,0x77])][_0x1a0de9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a0de9([0x61,0x75,0x74,0x6f]),_0x16d0c1[_0x1a0de9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x1a0de9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a0de9([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x1a0de9([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x1a0de9([0x6f,0x6b])});}['init'](){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}}function isMultiRootEditor$1(_0x1495c6){return void 0x0!==_0x1495c6['getRootsAttributes'];}async function getTrackChangesData(_0x2bb063,_0x3a495d,_0x285921){const _0x481cc2=sanitizeEditorConfig(_0x2bb063,blackListedPlugins);_0x481cc2['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x481cc2['rootsAttributes']=isMultiRootEditor$1(_0x2bb063)?_0x2bb063['getRootsAttributes']():void 0x0;const _0x8a419f=document['createDocumentFragment'](),_0x37c546=_0x2bb063['config']['get']('trackChangesData')['editorCreator'],_0x1cf39b=await _0x37c546(_0x481cc2,()=>createAttachedElement(_0x8a419f));copyEditorData(_0x2bb063,_0x1cf39b),_0x1cf39b['execute'](_0x3a495d?'acceptAllSuggestions':'discardAllSuggestions');const _0xdd22ed=isMultiRootEditor$1(_0x1cf39b)?_0x1cf39b['getFullData'](_0x285921):_0x1cf39b['data']['get'](_0x285921);return await _0x1cf39b['destroy'](),_0xdd22ed;}function copyEditorData(_0x44ba4e,_0x25dc7e){const _0x2dfc2b=_0x44ba4e['model']['document']['getRootNames']()['reduce']((_0x5050d9,_0xeda140)=>(_0x5050d9[_0xeda140]=_0x44ba4e['data']['get']({'rootName':_0xeda140}),_0x5050d9),{}),_0x1f6668=_0x44ba4e['plugins']['get']('Users')['users']['map'](_0x2cfb81=>({'id':_0x2cfb81['id'],'name':_0x2cfb81['name']})),_0x4a448c=_0x44ba4e['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x47017a=_0x44ba4e['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2e920f=_0x25dc7e['plugins']['get']('Users'),_0x24343b=_0x25dc7e['plugins']['get']('TrackChangesEditing'),_0x49f530=_0x25dc7e['plugins']['get']('CommentsRepository');for(const _0x221c38 of _0x49f530['getCommentThreads']())_0x221c38['remove']();for(const _0x402447 of _0x1f6668)_0x2e920f['getUser'](_0x402447['id'])||_0x2e920f['addUser'](_0x402447);_0x2e920f['me']||_0x2e920f['useAnonymousUser']();for(const _0x1d5bf2 of _0x47017a)_0x49f530['addCommentThread'](_0x1d5bf2);for(const _0x2cfea7 of _0x4a448c)_0x24343b['addSuggestionData'](_0x2cfea7);_0x25dc7e['data']['set'](_0x2dfc2b);}function createAttachedElement(_0x18a787){const _0x2f6aa4=document['createElement']('div');return _0x18a787['appendChild'](_0x2f6aa4),_0x2f6aa4;}class TrackChangesPreviewView extends View{constructor(_0x1e9182,_0x23fd80){super(_0x1e9182),this['options']=_0x23fd80,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-track-changes-preview'],'tabindex':-0x1}});}['render'](){super['render'](),this['element']['style']['width']=this['options']['dialogRects']['width']+'px',this['element']['style']['height']=this['options']['dialogRects']['height']+'px';}['setPreviewData'](_0x5cd72d,_0x4a8a9e){if(!this['element'])return;const _0x37e4b5=[];for(const [_0xa1ba89,_0x31b1d9]of _0x5cd72d){const _0x5ce66f=document['createElement']('div');_0x5ce66f['setAttribute']('data-ck-root-name',_0xa1ba89),_0x5ce66f['className']=_0x31b1d9['classes']+'\x20ck-track-changes-preview__root-container',_0x5ce66f['innerHTML']=_0x31b1d9['content'],_0x37e4b5['push'](_0x5ce66f);}_0x4a8a9e(this['element'],_0x37e4b5),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0xa280c5{constructor(_0x5f1c0c){super(_0x5f1c0c),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x161f03=this['editor'],_0x65614b=_0x161f03['locale'],_0x165fb6=_0x161f03['plugins']['get']('Dialog');let _0x5128a5;const _0x18c2c3=getEditables(_0x161f03),_0x160c0a=calculateDialogRects(_0x18c2c3);_0x165fb6['show']({'id':'finalContentPreview','title':getTranslation$1(_0x65614b,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new TrackChangesPreviewView(_0x65614b,{'dialogRects':_0x160c0a}),'onHide':()=>{_0x5128a5['detachFromDom']();},'onShow':()=>{_0x161f03['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x3dc5aa=>{const _0x176d36=this['_standarizeRootsData'](_0x3dc5aa,_0x161f03,_0x18c2c3);_0x165fb6['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x176d36,_0x161f03['config']['get']('trackChanges.preview.renderFunction'));}),_0x5128a5=new BodyCollection(_0x65614b,[_0x165fb6['view']]),_0x5128a5['attachToDom'](),_0x5128a5['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x161f03['once']('destroy',()=>{_0x5128a5['detachFromDom']();});const _0x1f899a=_0x165fb6['view']['headerView']['class'];_0x165fb6['view']['headerView']['class']=_0x1f899a?_0x1f899a+'\x20ck-reset_all':'ck-reset_all',_0x165fb6['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x165fb6['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x169241=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x32681a=_0x169241['previewMode'],_0x232a47={};if('$labels'===_0x32681a){for(const _0x3f675e of _0x169241['getMergeFieldsIds']())_0x232a47[_0x3f675e]=_0x169241['getLabel'](_0x3f675e)||_0x3f675e;}else{const _0x1f5226='$defaultValues'===_0x32681a?_0x169241['getDefaultValues']():_0x169241['getDataSetValues'](_0x32681a,!0x0);for(const _0x32dc61 of Object['entries'](_0x1f5226)){const [_0x157808,_0x529a80]=_0x32dc61;_0x232a47[_0x157808]=null!==_0x529a80?_0x529a80:_0x169241['getLabel'](_0x157808)||_0x157808;}}return{'mergeFieldsData':_0x232a47};}['_standarizeRootsData'](_0x30404e,_0x5afa47,_0xc3f19b){let _0x21fb55;if('string'==typeof _0x30404e){const _0x417e49=_0x5afa47['model']['document']['getRootNames']()[0x0];_0x21fb55={[_0x417e49]:_0x30404e};}else _0x21fb55=_0x30404e;const _0x552058=this['_fixMediaEmbeds'](_0x21fb55,_0x5afa47);return addEditableClasses(this['_sortRoots'](_0x5afa47)['reduce']((_0x26fcda,_0x56f8fd)=>(_0x26fcda['push']([_0x56f8fd,{'content':_0x552058[_0x56f8fd],'classes':''}]),_0x26fcda),[]),_0xc3f19b);}['_fixMediaEmbeds'](_0x41a999,_0x363a61){if(!_0x363a61['plugins']['has']('MediaEmbedEditing'))return _0x41a999;const _0x5b81b3=_0x363a61['plugins']['get']('MediaEmbedEditing');for(const [_0x2b7ce6,_0x53d793]of Object['entries'](_0x41a999)){const _0x46f522=document['createElement']('div');_0x46f522['innerHTML']=_0x53d793,(_0x46f522['querySelectorAll']('figure.media')['forEach'](_0x5aaf5b=>{const _0x393878=_0x5aaf5b['querySelector']('oembed');if(_0x393878){const _0x27e73b=_0x393878['getAttribute']('url');if(_0x27e73b){const _0x299fb4=_0x5b81b3['registry']['getMediaViewElement'](new DowncastWriter(_0x363a61['editing']['view']['document']),_0x27e73b,{'elementName':'','renderForEditingView':!0x0}),_0x116deb=document['createElement']('div');_0x116deb['classList']['add']('ck-media__wrapper'),_0x299fb4['render'](_0x116deb,_0x363a61['editing']['view']['domConverter']),_0x393878['replaceWith'](_0x116deb);}}}),_0x41a999[_0x2b7ce6]=_0x46f522['innerHTML']);}return _0x41a999;}['_sortRoots'](_0x2b94b6){if(!isMultiRootEditor(_0x2b94b6))return _0x2b94b6['model']['document']['getRootNames']();const _0x197744=[],_0x2480a1=new Map();for(const _0x3314dd of _0x2b94b6['model']['document']['getRootNames']()){const _0x3fcb45=_0x2b94b6['editing']['view']['getDomRoot'](_0x3314dd)['getClientRects']()['item'](0x0);_0x197744['push'](_0x3314dd),_0x2480a1['set'](_0x3314dd,_0x3fcb45);}return _0x197744['sort']((_0x402dfc,_0x2dcea9)=>{const _0xafe8f3=_0x2480a1['get'](_0x402dfc),_0x56e9c8=_0x2480a1['get'](_0x2dcea9);return _0xafe8f3['y']-_0x56e9c8['y']||_0xafe8f3['x']-_0x56e9c8['x'];}),_0x197744;}}function getEditables(_0x111cf8){const _0x7562e8={};if('editables'in _0x111cf8['ui']['view']){for(const [_0x221e9a,_0x56d2e8]of Object['entries'](_0x111cf8['ui']['view']['editables']))_0x7562e8[_0x221e9a]=_0x56d2e8['element'];}else _0x7562e8[_0x111cf8['model']['document']['getRootNames']()[0x0]]=_0x111cf8['ui']['view']['editable']['element'];return _0x7562e8;}function calculateDialogRects(_0x4ecdd2){let _0x477c2a=0x0;for(const _0x46f31f of Object['values'](_0x4ecdd2))_0x477c2a=Math['max'](_0x477c2a,_0x46f31f['getBoundingClientRect']()['width']);let _0x78935b=0x0;for(const _0x517ba0 of Object['values'](_0x4ecdd2))_0x78935b+=_0x517ba0['getBoundingClientRect']()['height'];const _0x251f67=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x477c2a,'height':Math['min'](_0x78935b,_0x251f67)};}function addEditableClasses(_0x552c95,_0x2cb4b8){for(const [_0x4137dc,_0x5c5bc1]of _0x552c95)_0x5c5bc1['classes']=_0x2cb4b8[_0x4137dc]['classList']['value']['replace']('ck-focused','');return _0x552c95;}function isMultiRootEditor(_0x22f82e){return void 0x0!==_0x22f82e['getRootsAttributes'];}class TrackChangesPreview extends Plugin{static get['requires'](){return[TrackChangesData,Dialog];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d345d){super(_0x4d345d),_0x4d345d['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x4d345d['config']['define']('trackChanges.preview.renderFunction',(_0x488174,_0x36979f)=>{for(const _0x4cd211 of _0x36979f)_0x488174['appendChild'](_0x4cd211);});}}var dropboxIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M5.972\x203.115A.746.746\x200\x200\x201\x206.374\x203c.14\x200\x20.28.037.402.115l3.229\x202.059\x203.228-2.057a.75.75\x200\x200\x201\x20.805\x200l3.629\x202.31h.002a.757.757\x200\x200\x201\x200\x201.264h-.002L15.034\x208.37l2.633\x201.678h.002a.756.756\x200\x200\x201\x200\x201.262h-.002l-3.63\x202.312a.746.746\x200\x200\x201-.161.076c.234.08.409.275.482.5a.75.75\x200\x200\x201-.322.854l-3.629\x202.308a.75.75\x200\x200\x201-.805\x200l-3.63-2.31a.75.75\x200\x200\x201-.229-1.031l.076-.122h.022a.746.746\x200\x200\x201\x20.32-.189.75.75\x200\x200\x201-.19-.086l-3.63-2.312a.756.756\x200\x200\x201\x200-1.264l2.632-1.678-2.632-1.676a.757.757\x200\x200\x201\x200-1.263l3.63-2.313Zm2.64\x202.946L6.374\x204.635\x204.136\x206.06l2.238\x201.423\x202.238-1.423Zm7.262\x200-2.236-1.426-2.239\x201.426\x202.237\x201.423\x202.238-1.423Zm-3.637\x202.306-2.232-1.422-2.233\x201.422\x202.235\x201.422\x202.23-1.422Zm-3.625\x202.31L6.374\x209.253l-2.238\x201.426\x202.238\x201.424\x202.238-1.424Zm7.262\x200-2.236-1.425-2.239\x201.426\x202.237\x201.424\x202.238-1.424Zm-2.64\x202.944-3.23-2.056-3.228\x202.056a.75.75\x200\x200\x201-.185.084.724.724\x200\x200\x201\x20.185.08l3.229\x202.057\x203.226-2.055a.827.827\x200\x200\x201\x20.18-.084.746.746\x200\x200\x201-.178-.082Z\x22/></svg>\x0a',facebookIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.01\x202C5.59\x202\x202\x205.59\x202\x2010.01a8.011\x208.011\x200\x200\x200\x206.775\x207.914.754.754\x200\x200\x200\x20.598-.17.75.75\x200\x200\x200\x20.262-.565v-5.02a.745.745\x200\x200\x200-.22-.524.745.745\x200\x200\x200-.526-.221H7.77v-.627H8.89a.745.745\x200\x200\x200\x20.525-.22c.14-.14.22-.329.22-.526V8.324c0-.466.122-1.083.524-1.48.33-.326\x201.017-.6\x202.332-.43v.408c-.152.012-.305.017-.457.04-.335.048-.662.136-.943.326-.313.21-.497.505-.59.804-.093.3-.107.602-.107.88v1.18a.746.746\x200\x200\x200\x20.744.746h1.158l-.098.63h-1.06a.744.744\x200\x200\x200-.744.744v5.017a.752.752\x200\x200\x200\x20.26.567c.081.07.177.119.28.148a.75.75\x200\x200\x200\x20.319.022A8.012\x208.012\x200\x200\x200\x2010.01\x202Zm0\x201.486a6.52\x206.52\x200\x200\x201\x206.521\x206.524c0\x202.945-1.973\x205.386-4.65\x206.197v-3.291h.951a.749.749\x200\x200\x200\x20.736-.63l.332-2.12a.742.742\x200\x200\x200-.17-.6.745.745\x200\x200\x200-.564-.26h-1.285V8.87c0-.252.024-.384.039-.433.003-.008.002-.012.002-.016.016-.011.104-.055.326-.088a7\x207\x200\x200\x201\x20.984-.05.746.746\x200\x200\x200\x20.528-.218c.14-.139.217-.33.217-.527V5.76a.747.747\x200\x200\x200-.586-.729c-2.04-.438-3.433-.083-4.278.75-.818.807-.968\x201.884-.968\x202.543v.983H7.027a.744.744\x200\x200\x200-.525.22.743.743\x200\x200\x200-.219.526v2.119c0\x20.197.08.386.219.525.14.14.328.221.525.221h1.118v3.291c-2.681-.809-4.659-3.25-4.659-6.197a6.523\x206.523\x200\x200\x201\x206.524-6.526Z\x22/></svg>\x0a',googleDriveIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M7.666\x203a.736.736\x200\x200\x200-.371.1.748.748\x200\x200\x200-.275.267l-4.918\x208.397a.743.743\x200\x200\x200-.006.744l2.46\x204.318a.747.747\x200\x200\x200\x20.65.377h9.606a.754.754\x200\x200\x200\x20.65-.377l2.46-4.318a.74.74\x200\x200\x200\x20.002-.735l-4.688-8.392a.754.754\x200\x200\x200-.654-.38H7.666Zm1.285\x201.492h3.195l3.854\x206.9h-3.1l-3.949-6.9Zm-1.293.742L9.223\x207.97l-4.016\x206.988-1.6-2.813\x204.051-6.91Zm2.424\x204.237\x201.098\x201.922H8.977l1.105-1.922ZM8.12\x2012.885h7.87L14.38\x2015.71H6.494l1.625-2.826Z\x22/></svg>\x0a',googlePhotosIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.258\x203.082c0-.594.486-1.082\x201.08-1.082a4.38\x204.38\x200\x200\x201\x204.239\x205.489c-.18.688-.633\x201.245-1.109\x201.767h3.468c.595\x200\x201.082.488\x201.082\x201.082a4.382\x204.382\x200\x200\x201-5.49\x204.24v-.001c-.689-.18-1.246-.633-1.768-1.109v3.468c0\x20.595-.487\x201.082-1.082\x201.082a4.384\x204.384\x200\x200\x201-4.111-2.866\x204.382\x204.382\x200\x200\x201-.125-2.624c.18-.689.632-1.246\x201.108-1.768H3.082A1.085\x201.085\x200\x200\x201\x202\x209.68a4.382\x204.382\x200\x200\x201\x205.49-4.238c.69.18\x201.246.632\x201.768\x201.108V3.082Zm3.164\x201.32c-.435-.46-1.043-.667-1.662-.767v5.49c.619-.1\x201.227-.307\x201.662-.766a2.875\x202.875\x200\x200\x200\x200-3.958ZM7.21\x206.918a2.876\x202.876\x200\x200\x200-2.93.789c-.396.423-.569.983-.658\x201.55h5.56c-.045-.295-.091-.59-.224-.859a2.879\x202.879\x200\x200\x200-1.748-1.48Zm9.254\x203.841h-5.653l.013.1c.012.098.025.197.053.292a2.873\x202.873\x200\x200\x200\x204.862\x201.158\x202.87\x202.87\x200\x200\x200\x20.398-.54v-.001c.111-.195.2-.403.263-.619.026-.092.038-.188.05-.283l.014-.107Zm-8.872\x204.86c.437.459\x201.045.666\x201.665.766V10.89c-1.369.222-2.456\x201.314-2.456\x202.747\x200\x20.738.283\x201.447.791\x201.981Z\x22/></svg>\x0a',linkIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M12.748\x202a4.622\x204.622\x200\x200\x200-3.174\x201.362L8.02\x204.915a.783.783\x200\x200\x200\x20.002\x201.11.786.786\x200\x200\x200\x201.11\x200l1.55-1.553c1.185-1.185\x203.024-1.195\x204.116-.104l.851.854c1.092\x201.091\x201.083\x202.927-.101\x204.11l-1.555\x201.554a.787.787\x200\x200\x200\x20.557\x201.34.78.78\x200\x200\x200\x20.553-.23l1.554-1.552c1.758-1.757\x201.838-4.597.102-6.332l-.854-.853A4.31\x204.31\x200\x200\x200\x2012.748\x202Zm-.488\x204.973a.78.78\x200\x200\x200-.553.23L7.2\x2011.71l-.004.002a.784.784\x200\x200\x200\x201.11\x201.107l.003-.002\x204.504-4.505a.785.785\x200\x200\x200-.554-1.339Zm-6.79.815a.791.791\x200\x200\x200-.554.234L3.36\x209.573c-1.757\x201.758-1.836\x204.597-.101\x206.332l.853.852c1.736\x201.734\x204.572\x201.655\x206.33-.102l1.547-1.547.006-.008a.777.777\x200\x200\x200\x20.244-.554.782.782\x200\x200\x200-.799-.797.774.774\x200\x200\x200-.56.248l-1.545\x201.547c-1.184\x201.184-3.021\x201.195-4.113.104l-.854-.854c-1.091-1.091-1.083-2.927.102-4.111l1.552-1.555a.787.787\x200\x200\x200\x20.233-.555.79.79\x200\x200\x200-.06-.3.793.793\x200\x200\x200-.173-.253s-.104-.14-.183-.185c-.051-.03-.133-.047-.37-.047Z\x22/></svg>\x0a',oneDriveIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.223\x205.001a5.277\x205.277\x200\x200\x200-4.408\x202.258c-3.224.423-4.908\x204.123-3.032\x206.814l.004.008.002.004c.48.627\x201.712\x201.84\x203.588\x201.84h7.936c.667\x200\x201.32-.179\x201.894-.522a3.838\x203.838\x200\x200\x200\x201.381-1.46v-.005c1.13-2.16-.133-4.777-2.488-5.298-.617-1.853-2.177-3.242-4.111-3.565a5.273\x205.273\x200\x200\x200-.766-.074Zm-.092\x201.5c.078\x200\x20.154.001.23.008.077.004.154.014.231.021l.226.035a5.203\x205.203\x200\x200\x201\x20.45.116\x203.31\x203.31\x200\x200\x201\x20.433.166\x204.079\x204.079\x200\x200\x201\x20.606.348\x204.195\x204.195\x200\x200\x201\x20.37.293\x203.54\x203.54\x200\x200\x201\x20.33.348\x203.517\x203.517\x200\x200\x201\x20.505.778\x203.182\x203.182\x200\x200\x200-.42.117c-.082.03-.164.06-.244.094l-1.49.627-2.686-1.61a4.39\x204.39\x200\x200\x200-1.002-.445c.015-.01.032-.026.047-.039a3.744\x203.744\x200\x200\x201\x20.4-.289\x203.713\x203.713\x200\x200\x201\x20.424-.23\x203.02\x203.02\x200\x200\x201\x20.219-.094c.074-.03.15-.053.225-.076a3.77\x203.77\x200\x200\x201\x20.222-.06c.077-.02.157-.035.233-.05.075-.015.15-.025.228-.033.077-.007.154-.015.233-.02.078-.003.154-.005.23-.005Zm-3.8\x202.193h.003c.54.001\x201.111.156\x201.551.428l1.783\x201.07-5.867\x202.471c-.535-1.29-.15-2.788\x201.059-3.537l.007-.004c.441-.271.946-.42\x201.463-.428Zm7.974\x201.33.152.008c.086.008.173.018.258.033a1.956\x201.956\x200\x200\x201\x20.477.145\x202.179\x202.179\x200\x200\x201\x20.918.756c.046.066.09.133.127.2a2.284\x202.284\x200\x200\x201\x20.269.919c.004.081.008.165.002.248-.003.055-.012.111-.02.166l-3.507-2.102.459-.193.015-.008a2.118\x202.118\x200\x200\x201\x20.41-.125\x202.297\x202.297\x200\x200\x201\x20.44-.047Zm-3.008\x201.112\x204.506\x202.699a2.217\x202.217\x200\x200\x201-.338.26\x202.228\x202.228\x200\x200\x201-.668.275c-.078.019-.157.03-.24.04-.081.007-.164.015-.246.015H6.373c-.057\x200-.113-.001-.168-.004a1.904\x201.904\x200\x200\x201-.164-.016l-.154-.023c-.051-.008-.102-.014-.15-.026a2.942\x202.942\x200\x200\x201-.77-.3\x202.889\x202.889\x200\x200\x201-.21-.133c-.012-.008-.019-.016-.03-.024l6.57-2.763Z\x22/></svg>\x0a',UploadcareSource;function getTranslation(_0x34e99f,_0x184420,_0x591b03){const t=_0x34e99f['t'],_0x26d2d0=_0x34e99f['t'];switch(_0x184420){case UploadcareSource['Local']:return{'text':_0x26d2d0('Insert'===_0x591b03?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x26d2d0('From\x20computer')};case UploadcareSource['URL']:return{'text':'Insert'===_0x591b03?_0x26d2d0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x26d2d0('Via\x20URL')};case UploadcareSource['Dropbox']:return{'text':t('Insert'===_0x591b03?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case UploadcareSource['Facebook']:return{'text':t('Insert'===_0x591b03?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case UploadcareSource['GDrive']:return{'text':t('Insert'===_0x591b03?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case UploadcareSource['GPhotos']:return{'text':t('Insert'===_0x591b03?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case UploadcareSource['OneDrive']:return{'text':t('Insert'===_0x591b03?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x184420;}}!function(_0x4acfd9){_0x4acfd9['Local']='local',_0x4acfd9['URL']='url',_0x4acfd9['Dropbox']='dropbox',_0x4acfd9['GDrive']='gdrive',_0x4acfd9['Facebook']='facebook',_0x4acfd9['GPhotos']='gphotos',_0x4acfd9['OneDrive']='onedrive';}(UploadcareSource||(UploadcareSource={}));class UploadcareUI extends Plugin{static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ef057=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x588ead;for(const _0x1d1a20 in _0x4ef057){const _0x549bfc=_0x1d1a20,_0x131dec=_0x4ef057[_0x549bfc];if('uploadcareLicenseKeyValid'==_0x131dec||'uploadcareLicenseKeyInvalid'==_0x131dec||'uploadcareLicenseKeyExpired'==_0x131dec||'uploadcareLicenseKeyDomainLimit'==_0x131dec||'uploadcareLicenseKeyNotAllowed'==_0x131dec||'uploadcareLicenseKeyEvaluationLimit'==_0x131dec||'uploadcareLicenseKeyTrialLimit'==_0x131dec||'uploadcareLicenseKeyUsageLimit'==_0x131dec){delete _0x4ef057[_0x549bfc],_0x588ead=_0x131dec,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x588ead&&_0x4ef057['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x588ead&&_0x4ef057['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x588ead&&_0x4ef057['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x588ead&&_0x4ef057['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x588ead&&_0x4ef057['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x588ead&&_0x4ef057['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x588ead&&_0x4ef057['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x311f4d}=this,_0x37ff94=_0x311f4d['commands']['get']('uploadcare');if(!_0x37ff94)return;const _0x4cd507=this['_normalizeConfigSourceList'](_0x311f4d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xdd4c67,_0x16d313)=>{const _0x55edfc=this['_getIntegrationKey'](_0x16d313['type']);return _0xdd4c67[_0x55edfc]||(_0xdd4c67[_0x55edfc]=[]),_0xdd4c67[_0x55edfc]['push'](_0x16d313),_0xdd4c67;},{});_0x311f4d['plugins']['has']('ImageInsertUI')&&_0x311f4d['commands']['get']('uploadcare')&&Object['entries'](_0x4cd507)['forEach'](([_0x3edb02,_0x1525f1])=>{_0x311f4d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3edb02,'observable':()=>_0x37ff94,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1525f1),'formViewCreator':()=>this['_createDropdownButtons'](_0x1525f1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1525f1),'override':'assetManager'!==_0x3edb02});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x27721c){const {locale:_0x3da159}=this['editor'];return _0x27721c['map'](_0x3e6580=>{const _0x10e428=getTranslation(_0x3da159,_0x3e6580,'Insert');switch(_0x3e6580){case UploadcareSource['Local']:return{'icon':_0x40ee59['imageUpload'],'type':UploadcareSource['Local'],..._0x10e428};case UploadcareSource['URL']:return{'icon':linkIcon,'type':UploadcareSource['URL'],..._0x10e428};case UploadcareSource['Dropbox']:return{'icon':dropboxIcon,'type':UploadcareSource['Dropbox'],..._0x10e428};case UploadcareSource['Facebook']:return{'icon':facebookIcon,'type':UploadcareSource['Facebook'],..._0x10e428};case UploadcareSource['GDrive']:return{'icon':googleDriveIcon,'type':UploadcareSource['GDrive'],..._0x10e428};case UploadcareSource['GPhotos']:return{'icon':googlePhotosIcon,'type':UploadcareSource['GPhotos'],..._0x10e428};case UploadcareSource['OneDrive']:return{'icon':oneDriveIcon,'type':UploadcareSource['OneDrive'],..._0x10e428};}});}['_getIntegrationKey'](_0x16971c){switch(_0x16971c){case UploadcareSource['Local']:return'upload';case UploadcareSource['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x16f0f7,_0x10d000){const _0x279029=this['editor'],_0x251b95=new _0x16f0f7(_0x279029['locale']),_0x434733=_0x279029['commands']['get']('uploadcare');return _0x251b95['bind']('isEnabled')['to'](_0x434733),_0x251b95['on']('execute',()=>{_0x434733['execute'](_0x10d000);}),_0x251b95;}['_createToolbarButton'](_0x12e03e){const {locale:_0x2483af}=this['editor'],_0x5de76e=this['editor']['plugins']['get']('ImageInsertUI'),_0xcf8268=_0x12e03e[0x0],_0x3851e3=this['_createButton'](ButtonView,_0xcf8268['type']);return _0x3851e3['icon']=_0xcf8268['icon'],_0x3851e3['bind']('label')['to'](_0x5de76e,'isImageSelected',_0x2f6ebd=>getTranslation(_0x2483af,_0xcf8268['type'],_0x2f6ebd?'Replace':'Insert')['text']),_0x3851e3['tooltip']=!0x0,_0x3851e3;}['_createDropdownButtons'](_0x2ccb57){const {locale:_0x215abc}=this['editor'],_0x31be55=this['editor']['plugins']['get']('ImageInsertUI');return _0x2ccb57['map'](_0x387e12=>{const _0x3e15b7=this['_createButton'](ButtonView,_0x387e12['type']);return _0x3e15b7['withText']=!0x0,_0x3e15b7['icon']=_0x387e12['icon'],_0x3e15b7['bind']('label')['to'](_0x31be55,'isImageSelected',_0x47b912=>getTranslation(_0x215abc,_0x387e12['type'],_0x47b912?'Replace':'Insert')['text']),_0x3e15b7;});}['_createMenuBarButtons'](_0x1b1c2f){return _0x1b1c2f['map'](_0x31b918=>{const _0xe5b6e1=this['_createButton'](MenuBarMenuListItemButtonView,_0x31b918['type']);return _0xe5b6e1['icon']=_0x31b918['icon'],_0xe5b6e1['label']=_0x31b918['shortText'],_0xe5b6e1;});}}class DialogFocusManagerView extends View{constructor(_0x32a8d4){super(_0x32a8d4),this['focusTracker']=new FocusTracker(),this['focusCycler']=new FocusCycler({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class UploadcareFormView extends DialogFocusManagerView{constructor(_0x5bf880){super(_0x5bf880),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x2b275b){const _0x358388=createUrlChecker(_0x2b275b);return _0xa3b802=>!(!_0xa3b802||!_0xa3b802['is']('element','imageBlock')&&!_0xa3b802['is']('element','imageInline'))&&(!!_0xa3b802['hasAttribute']('uploadcareImageId')||!!_0xa3b802['hasAttribute']('src')&&_0x358388(_0xa3b802['getAttribute']('src')));}function getImageUrls(_0x2d4c40,_0x57fc27){const _0x560148=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3d0d75=>_0x3d0d75<=_0x57fc27)['map'](_0x4fe4ab=>_0x2d4c40['replace'](/\/$/,'')+'/-/resize/'+_0x4fe4ab+'x/\x20'+_0x4fe4ab+'w');return{'imageFallbackUrl':_0x2d4c40,'imageSources':[{'srcset':_0x560148['join'](',\x20'),'sizes':'(max-width:\x20'+_0x57fc27+'px)\x20100vw,\x20'+_0x57fc27+'px','type':'image/webp'}]};}function getImageDimension(_0x5d00de,_0x3d1c71,_0x5c4297){const _0x178f39=_0x5d00de['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x178f39?parseInt(_0x178f39[0x1],0xa):_0x3d1c71,'height':_0x178f39?parseInt(_0x178f39[0x2],0xa):_0x5c4297};}function showImageProcessingIndicator(_0xba0e7d,_0x4528f2){const _0x550002=Object['create'](DomEmitterMixin),_0x1a64d7=_0xba0e7d['plugins']['get']('ImageUtils'),_0x5affd0=_0xba0e7d['editing']['mapper']['toViewElement'](_0x4528f2),_0x2fb4b1=_0x1a64d7['findViewImgElement'](_0x5affd0),_0x4cc851=_0xba0e7d['editing']['view']['domConverter']['viewToDom'](_0x2fb4b1),_0x1a5692=_0x4528f2['getAttribute']('width'),_0x442c3f=_0x4528f2['getAttribute']('height'),_0x3973cb='image-processing';_0xba0e7d['editing']['view']['change'](_0x5980c3=>{_0x5980c3['addClass'](_0x3973cb,_0x5affd0),_0x5980c3['setStyle']('aspect-ratio',_0x1a5692+'/'+_0x442c3f,_0x2fb4b1);}),_0x550002['listenTo'](_0x4cc851,'load',()=>{_0x550002['stopListening'](_0x4cc851,'load'),_0xba0e7d['editing']['view']['change'](_0xd4607e=>{_0xd4607e['removeClass'](_0x3973cb,_0x5affd0),_0xd4607e['removeStyle']('aspect-ratio',_0x2fb4b1);});});}function createUrlChecker(_0x2ee753){if(Array['isArray'](_0x2ee753)){const _0x3787cc=_0x2ee753['map'](createUrlChecker);return _0x29ee2c=>_0x3787cc['some'](_0x33b321=>_0x33b321(_0x29ee2c));}if('origin'==_0x2ee753){const _0x5b2259=_0x25cc2c['window']['location']['origin'];return _0x3d5aa6=>new URL(_0x3d5aa6,_0x25cc2c['document']['baseURI'])['origin']==_0x5b2259;}return'function'==typeof _0x2ee753?_0x2ee753:_0x2ee753 instanceof RegExp?_0x1c0fcc=>!(!_0x1c0fcc['match'](_0x2ee753)&&!_0x1c0fcc['replace'](/^https?:\/\//,'')['match'](_0x2ee753)):()=>!0x1;}function isAncestor(_0x8b94e2,_0x1e58b3){return getAncestors(_0x8b94e2['target'])['includes'](_0x1e58b3);}class UploadcareController extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x541c48,_0x2be188,_0x758231){super(),this['_type']=null,this['_formView']=null,this['_editor']=_0x541c48,this['_editing']=_0x2be188,this['_dialog']=_0x541c48['plugins']['get'](Dialog),this['_api']=_0x2be188['ctxElement']['getAPI'](),this['_type']=_0x758231,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x26b273,model:_0x29f5dd}=this['_editor'],_0x561c44=_0x29f5dd['document']['selection']['getSelectedElement'](),_0xd6c9a4=_0x561c44&&(_0x561c44['is']('element','imageBlock')||_0x561c44['is']('element','imageInline'));this['_formView']=new UploadcareFormView(_0x26b273),this['_dialog']['show']({'id':'uploadCare','icon':_0x40ee59['imageUpload'],'title':getTranslation(_0x26b273,this['_type'],_0xd6c9a4?'Replace':'Insert')['text'],'content':this['_formView'],'position':DialogViewPosition['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x11510f=>!isAncestor(_0x11510f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2de742}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x42aba6=>{const _0x34a657=_0x2de742['length'];for(const _0x24e09d of _0x2de742){const _0x14f3a0=_0x24e09d===_0x2de742[_0x34a657-0x1],{cdnUrl:_0x1789b6,fileInfo:_0x403c6a}=_0x24e09d;if(!_0x1789b6||!_0x403c6a)continue;const {width:_0x1f3ef2,height:_0x2c4ed1}=_0x403c6a['imageInfo'],_0x197ae5=getImageDimension(_0x1789b6,_0x1f3ef2,_0x2c4ed1),_0x92f11e=getImageUrls(_0x1789b6,_0x197ae5['width']),_0x3d9ba4={'id':_0x403c6a['uuid'],'type':'image','attributes':{'imageDimension':_0x197ae5,..._0x92f11e}};this['_insertAsset'](_0x3d9ba4,_0x14f3a0,_0x42aba6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x45197e=>{'idle'===_0x45197e['detail']['status']&&!_0x45197e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===UploadcareSource['Local']?this['_api']['setCurrentActivity'](UploadcareSource['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4ae5cb,_0x396aeb,_0x35bdac){const _0x331286=this['_editor']['model']['document']['selection'],_0x47fec1=_0x331286['getSelectedElement'](),_0x188b48=!(!_0x47fec1||!_0x47fec1['is']('element','imageInline'));_0x35bdac['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4ae5cb,_0x188b48),_0x396aeb||_0x35bdac['setSelection'](_0x331286['getLastPosition']());}['_insertImage'](_0x38c149,_0x35f7c9){const _0x53ff32=this['_editor'],{imageDimension:_0x244121,imageFallbackUrl:_0x5ffa76,imageSources:_0x1d031d}=_0x38c149['attributes'];_0x53ff32['execute']('insertImage',{'imageType':_0x35f7c9?'imageInline':null,'source':{'uploadcareImageId':_0x38c149['id'],'src':_0x5ffa76,'sources':_0x1d031d,..._0x244121}});}}class UploadcareCommand extends _0xa280c5{static get['requires'](){return[Dialog,UploadcareEditing];}constructor(_0xb58a43){super(_0xb58a43),this['_controller']=null,this['_editing']=_0xb58a43['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1e66ef){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x1e66ef);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x30e6a7){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x30e6a7);}const SEPARATOR$1=/\W|_/g;function camelizeString$1(_0x30b24f){return _0x30b24f['split'](SEPARATOR$1)['map']((_0x94eaed,_0x13c1e8)=>_0x94eaed['charAt'](0x0)[_0x13c1e8>0x0?'toUpperCase':'toLowerCase']()+_0x94eaed['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0x5c202b,{ignoreKeys:_0x4dad00}={'ignoreKeys':[]}){return Array['isArray'](_0x5c202b)?_0x5c202b['map'](_0x571cf7=>camelizeKeys$1(_0x571cf7,{'ignoreKeys':_0x4dad00})):_0x5c202b;}function camelizeKeys$1(_0xbd4b35,{ignoreKeys:_0x468d6e}={'ignoreKeys':[]}){if(Array['isArray'](_0xbd4b35))return camelizeArrayItems$1(_0xbd4b35,{'ignoreKeys':_0x468d6e});if(!isObject$1(_0xbd4b35))return _0xbd4b35;const _0x2024f7={};for(const _0xd4045d of Object['keys'](_0xbd4b35)){let _0x3b53de=_0xbd4b35[_0xd4045d];_0x468d6e['includes'](_0xd4045d)?_0x2024f7[_0xd4045d]=_0x3b53de:(isObject$1(_0x3b53de)?_0x3b53de=camelizeKeys$1(_0x3b53de,{'ignoreKeys':_0x468d6e}):Array['isArray'](_0x3b53de)&&(_0x3b53de=camelizeArrayItems$1(_0x3b53de,{'ignoreKeys':_0x468d6e})),_0x2024f7[camelizeString$1(_0xd4045d)]=_0x3b53de);}return _0x2024f7;}const delay$1=_0x56cab2=>new Promise(_0x545f1=>setTimeout(_0x545f1,_0x56cab2));function getUserAgent$1$1({libraryName:_0x195239,libraryVersion:_0x3c213b,userAgent:_0x4f670a,publicKey:_0x4ff29b='',integration:_0x5c7821=''}){const _0x466f96='JavaScript';if('string'==typeof _0x4f670a)return _0x4f670a;if('function'==typeof _0x4f670a)return _0x4f670a({'publicKey':_0x4ff29b,'libraryName':_0x195239,'libraryVersion':_0x3c213b,'languageName':_0x466f96,'integration':_0x5c7821});return[_0x195239,_0x3c213b,_0x4ff29b]['filter'](Boolean)['join']('/')+'\x20('+[_0x466f96,_0x5c7821]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0x239143,_0x4467b8=defaultOptions$1){let _0x2f5a80=0x0;return function _0x560280(_0x179d2e){const _0x330cab=Math['round'](_0x4467b8['time']*_0x4467b8['factor']**_0x2f5a80);return _0x179d2e({'attempt':_0x2f5a80,'retry':_0x461600=>delay$1(_0x461600??_0x330cab)['then'](()=>(_0x2f5a80+=0x1,_0x560280(_0x179d2e)))});}(_0x239143);}let UploadcareError$1=class extends Error{},NetworkError$1=class e extends UploadcareError$1{['originalProgressEvent'];constructor(_0x37b67c){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,e['prototype']),this['originalProgressEvent']=_0x37b67c;}};const onCancel$1=(_0x5b88ea,_0x12d2dd)=>{_0x5b88ea&&(_0x5b88ea['aborted']?Promise['resolve']()['then'](_0x12d2dd):_0x5b88ea['addEventListener']('abort',()=>_0x12d2dd(),{'once':!0x0}));};let CancelError$1=class e extends UploadcareError$1{['isCancel']=!0x0;constructor(_0x352b98='Request\x20canceled'){super(_0x352b98),this['name']='CancelError',Object['setPrototypeOf'](this,e['prototype']);}};const DEFAULT_INTERVAL$1=0x1f4,poll$1=({check:_0xb9d280,interval:_0x49f755=DEFAULT_INTERVAL$1,timeout:_0x313012,signal:_0x2416c2})=>new Promise((_0x5067b4,_0x3a2da3)=>{let _0x10bcb3,_0x3eb54d;onCancel$1(_0x2416c2,()=>{_0x10bcb3&&clearTimeout(_0x10bcb3),_0x3a2da3(new CancelError$1('Poll\x20cancelled'));}),_0x313012&&(_0x3eb54d=setTimeout(()=>{_0x10bcb3&&clearTimeout(_0x10bcb3),_0x3a2da3(new CancelError$1('Timed\x20out'));},_0x313012));const _0x503942=()=>{try{Promise['resolve'](_0xb9d280(_0x2416c2))['then'](_0x4983fc=>{_0x4983fc?(_0x3eb54d&&clearTimeout(_0x3eb54d),_0x5067b4(_0x4983fc)):_0x10bcb3=setTimeout(_0x503942,_0x49f755);})['catch'](_0x18eaed=>{_0x3eb54d&&clearTimeout(_0x3eb54d),_0x3a2da3(_0x18eaed);});}catch(_0x50b9cb){_0x3eb54d&&clearTimeout(_0x3eb54d),_0x3a2da3(_0x50b9cb);}};_0x10bcb3=setTimeout(_0x503942,0x0);}),defaultSettings$1={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType$1='application/octet-stream',defaultFilename$1='original',request$1=({method:_0x180aef,url:_0x568f54,data:_0x5978d7,headers:_0x590a06={},signal:_0x3ddc6a,onProgress:_0xddc103})=>new Promise((_0x211c90,_0x181d25)=>{const _0x24a221=new XMLHttpRequest(),_0x14303f=_0x180aef?.['toUpperCase']()||'GET';let _0x31c8e3=!0x1;_0x24a221['open'](_0x14303f,_0x568f54,!0x0),_0x590a06&&Object['entries'](_0x590a06)['forEach'](_0x73097c=>{const [_0x54419d,_0x362ee8]=_0x73097c;void 0x0!==_0x362ee8&&!Array['isArray'](_0x362ee8)&&_0x24a221['setRequestHeader'](_0x54419d,_0x362ee8);}),_0x24a221['responseType']='text',onCancel$1(_0x3ddc6a,()=>{_0x31c8e3=!0x0,_0x24a221['abort'](),_0x181d25(new CancelError$1());}),_0x24a221['onload']=()=>{if(0xc8!=_0x24a221['status'])_0x181d25(new Error('Error\x20'+_0x24a221['status']+':\x20'+_0x24a221['statusText']));else{const _0x2d9612={'method':_0x14303f,'url':_0x568f54,'data':_0x5978d7,'headers':_0x590a06||void 0x0,'signal':_0x3ddc6a,'onProgress':_0xddc103},_0x151a6e=_0x24a221['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x54d7bf={};_0x151a6e['forEach'](function(_0x22899b){const _0x46f7c1=_0x22899b['split'](':\x20'),_0x463a2f=_0x46f7c1['shift'](),_0x1d568d=_0x46f7c1['join'](':\x20');_0x463a2f&&void 0x0!==_0x463a2f&&(_0x54d7bf[_0x463a2f]=_0x1d568d);});const _0x13770f=_0x24a221['response'],_0xb1d63e=_0x24a221['status'];_0x211c90({'request':_0x2d9612,'data':_0x13770f,'headers':_0x54d7bf,'status':_0xb1d63e});}},_0x24a221['onerror']=_0x44d047=>{_0x31c8e3||_0x181d25(new NetworkError$1(_0x44d047));},_0xddc103&&'function'==typeof _0xddc103&&(_0x24a221['upload']['onprogress']=_0x295a79=>{_0x295a79['lengthComputable']?_0xddc103({'isComputable':!0x0,'value':_0x295a79['loaded']/_0x295a79['total']}):_0xddc103({'isComputable':!0x1});}),_0x5978d7?_0x24a221['send'](_0x5978d7):_0x24a221['send']();});function identity$1(_0x403d36,..._0x2b7981){return _0x403d36;}const getFileOptions$1=({name:_0x4c60fd})=>_0x4c60fd?[_0x4c60fd]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const isBuffer$1=_0xc62e6b=>!0x1,isBlob$1=_0x5aea0f=>'undefined'!=typeof Blob&&_0x5aea0f instanceof Blob,isFile$1=_0x37aa1a=>'undefined'!=typeof File&&_0x37aa1a instanceof File,isReactNativeAsset$1=_0x26d238=>!!_0x26d238&&'object'==typeof _0x26d238&&!Array['isArray'](_0x26d238)&&'uri'in _0x26d238&&'string'==typeof _0x26d238['uri'],isFileData$1=_0x49cbf1=>isBlob$1(_0x49cbf1)||isFile$1(_0x49cbf1)||isBuffer$1()||isReactNativeAsset$1(_0x49cbf1),isSimpleValue$1=_0xc07a9e=>'string'==typeof _0xc07a9e||'number'==typeof _0xc07a9e||void 0x0===_0xc07a9e,isObjectValue$1=_0x131547=>!!_0x131547&&'object'==typeof _0x131547&&!Array['isArray'](_0x131547),isFileValue$1=_0x388d12=>!!_0x388d12&&'object'==typeof _0x388d12&&'data'in _0x388d12&&isFileData$1(_0x388d12['data']);function collectParams$1(_0x1cbf4f,_0x3c912d,_0xcc685f){if(Array['isArray'](_0xcc685f)){for(const _0x581772 of _0xcc685f)collectParams$1(_0x1cbf4f,_0x3c912d+'[]',_0x581772);}else{if(isFileValue$1(_0xcc685f)){const {name:_0x3eefbe,contentType:_0x5c570e}=_0xcc685f,_0x3d1372=transformFile$1(_0xcc685f['data'],_0x3eefbe,_0x5c570e??defaultContentType$1),_0x50832f=getFileOptions$1({'name':_0x3eefbe});_0x1cbf4f['push']([_0x3c912d,_0x3d1372,..._0x50832f]);}else{if(isObjectValue$1(_0xcc685f)){for(const [_0x52cf71,_0x1fbe9c]of Object['entries'](_0xcc685f))void 0x0!==_0x1fbe9c&&_0x1cbf4f['push']([_0x3c912d+'['+_0x52cf71+']',String(_0x1fbe9c)]);}else isSimpleValue$1(_0xcc685f)&&_0xcc685f&&_0x1cbf4f['push']([_0x3c912d,_0xcc685f['toString']()]);}}}function getFormDataParams$1(_0x29532c){const _0x553385=[];for(const [_0x5da528,_0x516339]of Object['entries'](_0x29532c))collectParams$1(_0x553385,_0x5da528,_0x516339);return _0x553385;}function buildFormData$1(_0x3b289a){const _0x3d9042=getFormData$1(),_0x3ed28d=getFormDataParams$1(_0x3b289a);for(const _0x43e778 of _0x3ed28d){const [_0x2aa7b9,_0x37c777,..._0x2ba186]=_0x43e778;_0x3d9042['append'](_0x2aa7b9,_0x37c777,..._0x2ba186);}return _0x3d9042;}let UploadError$1=class e extends UploadcareError$1{['code'];['request'];['response'];['headers'];constructor(_0x5ad5e0,_0x1fbc89,_0x777fc4,_0x487c08,_0x558e92){super(),this['name']='UploadError',this['message']=_0x5ad5e0,this['code']=_0x1fbc89,this['request']=_0x777fc4,this['response']=_0x487c08,this['headers']=_0x558e92,Object['setPrototypeOf'](this,e['prototype']);}};const buildSearchParams$1=_0x13f048=>{const _0x285c84=new URLSearchParams();for(const [_0x41ec32,_0x2016d3]of Object['entries'](_0x13f048))_0x2016d3&&'object'==typeof _0x2016d3&&!Array['isArray'](_0x2016d3)?Object['entries'](_0x2016d3)['filter'](_0x3de3a1=>_0x3de3a1[0x1]??!0x1)['forEach'](_0x56deb2=>_0x285c84['set'](_0x41ec32+'['+_0x56deb2[0x0]+']',String(_0x56deb2[0x1]))):Array['isArray'](_0x2016d3)?_0x2016d3['forEach'](_0x264a96=>{_0x285c84['append'](_0x41ec32+'[]',_0x264a96);}):'string'==typeof _0x2016d3&&_0x2016d3?_0x285c84['set'](_0x41ec32,_0x2016d3):'number'==typeof _0x2016d3&&_0x285c84['set'](_0x41ec32,_0x2016d3['toString']());return _0x285c84['toString']();},getUrl$1=(_0x5ac317,_0x59eeb1,_0x31206d)=>{const _0x185828=new URL(_0x5ac317);return _0x185828['pathname']=(_0x185828['pathname']+_0x59eeb1)['replace']('//','/'),_0x31206d&&(_0x185828['search']=buildSearchParams$1(_0x31206d)),_0x185828['toString']();};var version$1='6.14.1';const LIBRARY_NAME$1='UploadcareUploadClient',LIBRARY_VERSION$1=version$1;function getUserAgent$2(_0x1d1c18){return getUserAgent$1$1({'libraryName':LIBRARY_NAME$1,'libraryVersion':LIBRARY_VERSION$1,..._0x1d1c18});}const REQUEST_WAS_THROTTLED_CODE$1='RequestThrottledError',DEFAULT_RETRY_AFTER_TIMEOUT$1=0x3a98,DEFAULT_NETWORK_ERROR_TIMEOUT$1=0x3e8;function getTimeoutFromThrottledRequest$1(_0xcbbd16){const {headers:_0x595bed}=_0xcbbd16||{};if(!_0x595bed||'string'!=typeof _0x595bed['retry-after'])return DEFAULT_RETRY_AFTER_TIMEOUT$1;const _0x38f7fc=parseInt(_0x595bed['retry-after'],0xa);return Number['isFinite'](_0x38f7fc)?0x3e8*_0x38f7fc:DEFAULT_RETRY_AFTER_TIMEOUT$1;}function retryIfFailed$1(_0x9e399,_0x25e736){const {retryThrottledRequestMaxTimes:_0x1353f3,retryNetworkErrorMaxTimes:_0x4a30a9}=_0x25e736;return retrier$1(({attempt:_0x69bb94,retry:_0x4150c7})=>_0x9e399()['catch'](_0x206ac0=>{if('response'in _0x206ac0&&_0x206ac0?.['code']===REQUEST_WAS_THROTTLED_CODE$1&&_0x69bb94<_0x1353f3)return _0x4150c7(getTimeoutFromThrottledRequest$1(_0x206ac0));if(_0x206ac0 instanceof NetworkError$1&&_0x69bb94<_0x4a30a9)return _0x4150c7((_0x69bb94+0x1)*DEFAULT_NETWORK_ERROR_TIMEOUT$1);throw _0x206ac0;}));}const getContentType$1=_0x3023e2=>{let _0x2dce30='';return(isBlob$1(_0x3023e2)||isFile$1(_0x3023e2)||isReactNativeAsset$1(_0x3023e2))&&(_0x2dce30=_0x3023e2['type']),_0x2dce30||defaultContentType$1;},getFileName$1=_0x54e149=>{let _0x424121='';return isFile$1(_0x54e149)&&_0x54e149['name']?_0x424121=_0x54e149['name']:isBlob$1(_0x54e149)||isBuffer$1()?_0x424121='':isReactNativeAsset$1(_0x54e149)&&_0x54e149['name']&&(_0x424121=_0x54e149['name']),_0x424121||defaultFilename$1;};function getStoreValue$1(_0x5899f1){return'auto';}function base$1(_0xd336f5,{publicKey:_0x651015,fileName:_0x3e404a,contentType:_0x272c30,baseURL:_0x1f644d=defaultSettings$1['baseURL'],secureSignature:_0x226a66,secureExpire:_0x458309,store:_0x85e41c,signal:_0xeb5a29,onProgress:_0x377411,source:_0x254ccc='local',integration:_0x1a3ec6,userAgent:_0x53c3cb,retryThrottledRequestMaxTimes:_0x2d813c=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4bd509=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x4b79a5}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x1f644d,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x651015,'integration':_0x1a3ec6,'userAgent':_0x53c3cb})},'data':buildFormData$1({'file':{'data':_0xd336f5,'name':_0x3e404a||getFileName$1(_0xd336f5),'contentType':_0x272c30||getContentType$1(_0xd336f5)},'UPLOADCARE_PUB_KEY':_0x651015,'UPLOADCARE_STORE':getStoreValue$1(),'signature':_0x226a66,'expire':_0x458309,'source':_0x254ccc,'metadata':_0x4b79a5}),'signal':_0xeb5a29,'onProgress':_0x377411})['then'](({data:_0x2a8ac4,headers:_0x3dabeb,request:_0x40d496})=>{const _0x7cb2a5=camelizeKeys$1(JSON['parse'](_0x2a8ac4));if('error'in _0x7cb2a5)throw new UploadError$1(_0x7cb2a5['error']['content'],_0x7cb2a5['error']['errorCode'],_0x40d496,_0x7cb2a5,_0x3dabeb);return _0x7cb2a5;}),{'retryNetworkErrorMaxTimes':_0x4bd509,'retryThrottledRequestMaxTimes':_0x2d813c});}var TypeEnum$1,Status$1;function fromUrl$1(_0x5c393b,{publicKey:_0x260229,baseURL:_0x50dce2=defaultSettings$1['baseURL'],store:_0x56e3fc,fileName:_0x177da6,checkForUrlDuplicates:_0x1f216b,saveUrlForRecurrentUploads:_0xf7d271,secureSignature:_0x4a1dd0,secureExpire:_0x21df45,source:_0x25a7fe='url',signal:_0x836f2,integration:_0x6bb067,userAgent:_0x32ec19,retryThrottledRequestMaxTimes:_0x39b511=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4e0812=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x4b67e8}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x260229,'integration':_0x6bb067,'userAgent':_0x32ec19})},'url':getUrl$1(_0x50dce2,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x260229,'source_url':_0x5c393b,'store':getStoreValue$1(),'filename':_0x177da6,'check_URL_duplicates':_0x1f216b?0x1:void 0x0,'save_URL_duplicates':_0xf7d271?0x1:void 0x0,'signature':_0x4a1dd0,'expire':_0x21df45,'source':_0x25a7fe,'metadata':_0x4b67e8}),'signal':_0x836f2})['then'](({data:_0x11b489,headers:_0x38ec57,request:_0x23e4a4})=>{const _0x2d275d=camelizeKeys$1(JSON['parse'](_0x11b489));if('error'in _0x2d275d)throw new UploadError$1(_0x2d275d['error']['content'],_0x2d275d['error']['errorCode'],_0x23e4a4,_0x2d275d,_0x38ec57);return _0x2d275d;}),{'retryNetworkErrorMaxTimes':_0x4e0812,'retryThrottledRequestMaxTimes':_0x39b511});}!function(_0x30ce94){_0x30ce94['Token']='token',_0x30ce94['FileInfo']='file_info';}(TypeEnum$1||(TypeEnum$1={})),function(_0x4aed3c){_0x4aed3c['Unknown']='unknown',_0x4aed3c['Waiting']='waiting',_0x4aed3c['Progress']='progress',_0x4aed3c['Error']='error',_0x4aed3c['Success']='success';}(Status$1||(Status$1={}));const isErrorResponse$1=_0x45bb02=>'status'in _0x45bb02&&_0x45bb02['status']===Status$1['Error'];function fromUrlStatus$1(_0x2f13a1,{publicKey:_0xbec2d3,baseURL:_0x1957a1=defaultSettings$1['baseURL'],signal:_0xc31aea,integration:_0x1a6f93,userAgent:_0x12b49d,retryThrottledRequestMaxTimes:_0x4a63a1=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x525db1=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0xbec2d3?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0xbec2d3,'integration':_0x1a6f93,'userAgent':_0x12b49d})}:void 0x0,'url':getUrl$1(_0x1957a1,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2f13a1}),'signal':_0xc31aea})['then'](({data:_0x164204,headers:_0x556309,request:_0x466941})=>{const _0x4d7b03=camelizeKeys$1(JSON['parse'](_0x164204));if('error'in _0x4d7b03&&!isErrorResponse$1(_0x4d7b03))throw new UploadError$1(_0x4d7b03['error']['content'],_0x4d7b03['error']['errorCode'],_0x466941,_0x4d7b03,_0x556309);return _0x4d7b03;}),{'retryNetworkErrorMaxTimes':_0x525db1,'retryThrottledRequestMaxTimes':_0x4a63a1});}function info$1(_0x4cb6b7,{publicKey:_0x552463,baseURL:_0x383db8=defaultSettings$1['baseURL'],signal:_0x30c768,source:_0x28b640,integration:_0x2307cd,userAgent:_0x2f267d,retryThrottledRequestMaxTimes:_0x11ade3=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x28fa1b=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x552463,'integration':_0x2307cd,'userAgent':_0x2f267d})},'url':getUrl$1(_0x383db8,'/info/',{'jsonerrors':0x1,'pub_key':_0x552463,'file_id':_0x4cb6b7,'source':_0x28b640}),'signal':_0x30c768})['then'](({data:_0x464807,headers:_0x2f5a66,request:_0xbd2515})=>{const _0x3a23ca=camelizeKeys$1(JSON['parse'](_0x464807));if('error'in _0x3a23ca)throw new UploadError$1(_0x3a23ca['error']['content'],_0x3a23ca['error']['errorCode'],_0xbd2515,_0x3a23ca,_0x2f5a66);return _0x3a23ca;}),{'retryThrottledRequestMaxTimes':_0x11ade3,'retryNetworkErrorMaxTimes':_0x28fa1b});}function multipartStart$1(_0x2ae58b,{publicKey:_0x17265b,contentType:_0x3fda0f,fileName:_0x2ac189,multipartChunkSize:_0x40806e=defaultSettings$1['multipartChunkSize'],baseURL:_0x3421f6='',secureSignature:_0x49b0aa,secureExpire:_0x5eeb4b,store:_0x1471f7,signal:_0x4c6d9e,source:_0x36658b='local',integration:_0x5f1646,userAgent:_0xeb8667,retryThrottledRequestMaxTimes:_0x2e1275=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x44f99d=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x426c28}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x3421f6,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x17265b,'integration':_0x5f1646,'userAgent':_0xeb8667})},'data':buildFormData$1({'filename':_0x2ac189||defaultFilename$1,'size':_0x2ae58b,'content_type':_0x3fda0f||defaultContentType$1,'part_size':_0x40806e,'UPLOADCARE_STORE':getStoreValue$1(),'UPLOADCARE_PUB_KEY':_0x17265b,'signature':_0x49b0aa,'expire':_0x5eeb4b,'source':_0x36658b,'metadata':_0x426c28}),'signal':_0x4c6d9e})['then'](({data:_0xda99c6,headers:_0x43f312,request:_0x4ee52b})=>{const _0x22ac57=camelizeKeys$1(JSON['parse'](_0xda99c6));if('error'in _0x22ac57)throw new UploadError$1(_0x22ac57['error']['content'],_0x22ac57['error']['errorCode'],_0x4ee52b,_0x22ac57,_0x43f312);return _0x22ac57['parts']=Object['keys'](_0x22ac57['parts'])['map'](_0x22acce=>_0x22ac57['parts'][Number(_0x22acce)]),_0x22ac57;}),{'retryThrottledRequestMaxTimes':_0x2e1275,'retryNetworkErrorMaxTimes':_0x44f99d});}function multipartUpload$1(_0x1e4c88,_0x5881aa,{contentType:_0x91f384,signal:_0x5551d3,onProgress:_0x23d102,retryThrottledRequestMaxTimes:_0x111fee=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x551d29=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x5881aa,'data':_0x1e4c88,'onProgress':_0x23d102,'signal':_0x5551d3,'headers':{'Content-Type':_0x91f384||defaultContentType$1}})['then'](_0x33ea6e=>(_0x23d102&&_0x23d102({'isComputable':!0x0,'value':0x1}),_0x33ea6e))['then'](({status:_0x163291})=>({'code':_0x163291})),{'retryThrottledRequestMaxTimes':_0x111fee,'retryNetworkErrorMaxTimes':_0x551d29});}function multipartComplete$1(_0x588d6f,{publicKey:_0x44ba04,baseURL:_0x11e9cc=defaultSettings$1['baseURL'],source:_0x285005='local',signal:_0x4b81b2,integration:_0x26ac7c,userAgent:_0xe51388,retryThrottledRequestMaxTimes:_0x222912=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x25fee7=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x11e9cc,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x44ba04,'integration':_0x26ac7c,'userAgent':_0xe51388})},'data':buildFormData$1({'uuid':_0x588d6f,'UPLOADCARE_PUB_KEY':_0x44ba04,'source':_0x285005}),'signal':_0x4b81b2})['then'](({data:_0x9a2ccb,headers:_0x4fc652,request:_0x24796a})=>{const _0x48c079=camelizeKeys$1(JSON['parse'](_0x9a2ccb));if('error'in _0x48c079)throw new UploadError$1(_0x48c079['error']['content'],_0x48c079['error']['errorCode'],_0x24796a,_0x48c079,_0x4fc652);return _0x48c079;}),{'retryThrottledRequestMaxTimes':_0x222912,'retryNetworkErrorMaxTimes':_0x25fee7});}function isReadyPoll$1(_0x5cdbf7,{publicKey:_0x1cce8f,baseURL:_0x3bbb0f,source:_0x38f982,integration:_0x38c465,userAgent:_0x5e6926,retryThrottledRequestMaxTimes:_0x4b6c1c,retryNetworkErrorMaxTimes:_0x5220d4,signal:_0x54f5b6,onProgress:_0x3b6ada}){return poll$1({'check':_0x1f0f9d=>info$1(_0x5cdbf7,{'publicKey':_0x1cce8f,'baseURL':_0x3bbb0f,'signal':_0x1f0f9d,'source':_0x38f982,'integration':_0x38c465,'userAgent':_0x5e6926,'retryThrottledRequestMaxTimes':_0x4b6c1c,'retryNetworkErrorMaxTimes':_0x5220d4})['then'](_0x50f0f1=>_0x50f0f1['isReady']?_0x50f0f1:(_0x3b6ada&&_0x3b6ada({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x54f5b6});}function isGroupFileInfo$1(_0x30969f){return'defaultEffects'in _0x30969f;}let UploadcareFile$1=class{['uuid'];['name']=null;['size']=null;['isStored']=null;['isImage']=null;['mimeType']=null;['cdnUrl']=null;['s3Url']=null;['originalFilename']=null;['imageInfo']=null;['videoInfo']=null;['contentInfo']=null;['metadata']=null;['s3Bucket']=null;['defaultEffects']=null;constructor(_0x266b9d,{baseCDN:_0x338717=defaultSettings$1['baseCDN'],fileName:_0x3fb103}={}){const {uuid:_0xe3ca55,s3Bucket:_0x4a92d5}=_0x266b9d,_0x23045e=getUrl$1(_0x338717,_0xe3ca55+'/'),_0x147602=_0x4a92d5?getUrl$1('https://'+_0x4a92d5+'.s3.amazonaws.com/',_0xe3ca55+'/'+_0x266b9d['filename']):null;this['uuid']=_0xe3ca55,this['name']=_0x3fb103||_0x266b9d['filename'],this['size']=_0x266b9d['size'],this['isStored']=_0x266b9d['isStored'],this['isImage']=_0x266b9d['isImage'],this['mimeType']=_0x266b9d['mimeType'],this['cdnUrl']=_0x23045e,this['originalFilename']=_0x266b9d['originalFilename'],this['imageInfo']=_0x266b9d['imageInfo'],this['videoInfo']=_0x266b9d['videoInfo'],this['contentInfo']=_0x266b9d['contentInfo'],this['metadata']=_0x266b9d['metadata']||null,this['s3Bucket']=_0x4a92d5||null,this['s3Url']=_0x147602,isGroupFileInfo$1(_0x266b9d)&&(this['defaultEffects']=_0x266b9d['defaultEffects']);}};const uploadDirect$1=(_0x5f7dd0,{publicKey:_0x1de1a2,fileName:_0x583627,baseURL:_0x80eb12,secureSignature:_0x3f7eed,secureExpire:_0x437b51,store:_0x15a5e6,contentType:_0x5b3557,signal:_0x240d38,onProgress:_0x1f0134,source:_0x5462b8,integration:_0x11855c,userAgent:_0x558c79,retryThrottledRequestMaxTimes:_0x13d569,retryNetworkErrorMaxTimes:_0x158517,baseCDN:_0x2c1a06,metadata:_0x57e206})=>base$1(_0x5f7dd0,{'publicKey':_0x1de1a2,'fileName':_0x583627,'contentType':_0x5b3557,'baseURL':_0x80eb12,'secureSignature':_0x3f7eed,'secureExpire':_0x437b51,'store':_0x15a5e6,'signal':_0x240d38,'onProgress':_0x1f0134,'source':_0x5462b8,'integration':_0x11855c,'userAgent':_0x558c79,'retryThrottledRequestMaxTimes':_0x13d569,'retryNetworkErrorMaxTimes':_0x158517,'metadata':_0x57e206})['then'](({file:_0x3f64e6})=>isReadyPoll$1(_0x3f64e6,{'publicKey':_0x1de1a2,'baseURL':_0x80eb12,'source':_0x5462b8,'integration':_0x11855c,'userAgent':_0x558c79,'retryThrottledRequestMaxTimes':_0x13d569,'retryNetworkErrorMaxTimes':_0x158517,'onProgress':_0x1f0134,'signal':_0x240d38}))['then'](_0x4de9f7=>new UploadcareFile$1(_0x4de9f7,{'baseCDN':_0x2c1a06})),uploadFromUploaded$1=(_0x3a01be,{publicKey:_0x34034f,fileName:_0x371f88,baseURL:_0x4184a7,signal:_0x1ebdf1,onProgress:_0x1e36a3,source:_0x16725b,integration:_0x4f28be,userAgent:_0x5b7a33,retryThrottledRequestMaxTimes:_0x55fefd,retryNetworkErrorMaxTimes:_0x2bbc28,baseCDN:_0x21780d})=>info$1(_0x3a01be,{'publicKey':_0x34034f,'baseURL':_0x4184a7,'signal':_0x1ebdf1,'source':_0x16725b,'integration':_0x4f28be,'userAgent':_0x5b7a33,'retryThrottledRequestMaxTimes':_0x55fefd,'retryNetworkErrorMaxTimes':_0x2bbc28})['then'](_0x34a8ce=>new UploadcareFile$1(_0x34a8ce,{'baseCDN':_0x21780d,'fileName':_0x371f88}))['then'](_0x533340=>(_0x1e36a3&&_0x1e36a3({'isComputable':!0x0,'value':0x1}),_0x533340)),race$1=(_0x30edfd,{signal:_0x38766a}={})=>{let _0x2a43aa=null,_0x57df2c=null;const _0x77e19a=_0x30edfd['map'](()=>new AbortController());return onCancel$1(_0x38766a,()=>{_0x77e19a['forEach'](_0x1fb9c2=>_0x1fb9c2['abort']());}),Promise['all'](_0x30edfd['map']((_0x29bb7b,_0x2bea90)=>{const _0x4056b6=(_0x2535a2=>()=>{_0x57df2c=_0x2535a2,_0x77e19a['forEach']((_0x5cf447,_0x426891)=>_0x426891!==_0x2535a2&&_0x5cf447['abort']());})(_0x2bea90);return Promise['resolve']()['then'](()=>_0x29bb7b({'stopRace':_0x4056b6,'signal':_0x77e19a[_0x2bea90]['signal']}))['then'](_0x3a4a45=>(_0x4056b6(),_0x3a4a45))['catch'](_0x2a32d4=>(_0x2a43aa=_0x2a32d4,null));}))['then'](_0x2389b0=>{if(null===_0x57df2c)throw _0x2a43aa;return _0x2389b0[_0x57df2c];});};var WebSocket$1=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0x3575e9,_0x2ca950){this['events'][_0x3575e9]?.['forEach'](_0x284f10=>_0x284f10(_0x2ca950));}['on'](_0x395140,_0x59fd49){this['events'][_0x395140]=this['events'][_0x395140]||[],this['events'][_0x395140]['push'](_0x59fd49);}['off'](_0x29caa9,_0x29d2d1){this['events'][_0x29caa9]=_0x29d2d1?this['events'][_0x29caa9]['filter'](_0x44bb4c=>_0x44bb4c!==_0x29d2d1):[];}};const response$1=(_0x2279d3,_0x3abddb)=>'success'===_0x2279d3?{'status':Status$1['Success'],..._0x3abddb}:'progress'===_0x2279d3?{'status':Status$1['Progress'],..._0x3abddb}:{'status':Status$1['Error'],..._0x3abddb};let Pusher$1=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x49cc26,_0x1927ce=0x7530){this['key']=_0x49cc26,this['disconnectTime']=_0x1927ce;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0xa1d8f4='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0xa1d8f4),this['ws']['addEventListener']('error',_0x95e660=>{this['emmitter']['emit']('error',new Error(_0x95e660['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x335f45=>this['send'](_0x335f45['event'],_0x335f45['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x32f97c=>{const _0x1e9d43=JSON['parse'](_0x32f97c['data']['toString']());switch(_0x1e9d43['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x1e9d43['channel'],response$1(_0x1e9d43['event'],JSON['parse'](_0x1e9d43['data'])));}});}}['disconnect'](){const _0x593b78=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x593b78();},this['disconnectTime']):_0x593b78();}['send'](_0xc6ac24,_0x596f4c){const _0x3a67f4=JSON['stringify']({'event':_0xc6ac24,'data':_0x596f4c});this['ws']?.['send'](_0x3a67f4);}['subscribe'](_0xe5f5cf,_0x165ebd){this['subscribers']+=0x1,this['connect']();const _0x4ab9b0='task-status-'+_0xe5f5cf,_0x1d1ebd={'event':'pusher:subscribe','data':{'channel':_0x4ab9b0}};this['emmitter']['on'](_0x4ab9b0,_0x165ebd),this['isConnected']?this['send'](_0x1d1ebd['event'],_0x1d1ebd['data']):this['queue']['push'](_0x1d1ebd);}['unsubscribe'](_0xd19671){this['subscribers']-=0x1;const _0x352d72='task-status-'+_0xd19671,_0x2a8a09={'event':'pusher:unsubscribe','data':{'channel':_0x352d72}};this['emmitter']['off'](_0x352d72),this['isConnected']?this['send'](_0x2a8a09['event'],_0x2a8a09['data']):this['queue']=this['queue']['filter'](_0x29f591=>_0x29f591['data']['channel']!==_0x352d72),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x4d61f4){return this['emmitter']['on']('error',_0x4d61f4),()=>this['emmitter']['off']('error',_0x4d61f4);}},pusher$1=null;const getPusher$1=_0x202068=>{if(!pusher$1){const _0x1e4b4f='undefined'==typeof window?0x0:0x7530;pusher$1=new Pusher$1(_0x202068,_0x1e4b4f);}return pusher$1;},preconnect$1=_0x5ae73c=>{getPusher$1(_0x5ae73c)['connect']();};function pollStrategy$1({token:_0x384bb0,publicKey:_0x5d094f,baseURL:_0x268391,integration:_0x3d9d86,userAgent:_0xf51433,retryThrottledRequestMaxTimes:_0x2bda7f,retryNetworkErrorMaxTimes:_0x2a64f2,onProgress:_0x1d527f,signal:_0x2a654f}){return poll$1({'check':_0x504ebd=>fromUrlStatus$1(_0x384bb0,{'publicKey':_0x5d094f,'baseURL':_0x268391,'integration':_0x3d9d86,'userAgent':_0xf51433,'retryThrottledRequestMaxTimes':_0x2bda7f,'retryNetworkErrorMaxTimes':_0x2a64f2,'signal':_0x504ebd})['then'](_0x48ef48=>{switch(_0x48ef48['status']){case Status$1['Error']:return new UploadError$1(_0x48ef48['error'],_0x48ef48['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new UploadError$1('Token\x20\x22'+_0x384bb0+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x1d527f&&('unknown'===_0x48ef48['total']?_0x1d527f({'isComputable':!0x1}):_0x1d527f({'isComputable':!0x0,'value':_0x48ef48['done']/_0x48ef48['total']})),!0x1;case Status$1['Success']:return _0x1d527f&&_0x1d527f({'isComputable':!0x0,'value':_0x48ef48['done']/_0x48ef48['total']}),_0x48ef48;default:throw new Error('Unknown\x20status');}}),'signal':_0x2a654f});}const pushStrategy$1=({token:_0x1e03f4,pusherKey:_0x48e2eb,signal:_0xa2e4f7,onProgress:_0x1aebdd})=>new Promise((_0x43be00,_0x3e5268)=>{const _0xaf9b83=getPusher$1(_0x48e2eb),_0x3d922c=_0xaf9b83['onError'](_0x3e5268),_0x3e8b22=()=>{_0x3d922c(),_0xaf9b83['unsubscribe'](_0x1e03f4);};onCancel$1(_0xa2e4f7,()=>{_0x3e8b22(),_0x3e5268(new CancelError$1('pusher\x20cancelled'));}),_0xaf9b83['subscribe'](_0x1e03f4,_0x2fc472=>{switch(_0x2fc472['status']){case Status$1['Progress']:_0x1aebdd&&('unknown'===_0x2fc472['total']?_0x1aebdd({'isComputable':!0x1}):_0x1aebdd({'isComputable':!0x0,'value':_0x2fc472['done']/_0x2fc472['total']}));break;case Status$1['Success']:_0x3e8b22(),_0x1aebdd&&_0x1aebdd({'isComputable':!0x0,'value':_0x2fc472['done']/_0x2fc472['total']}),_0x43be00(_0x2fc472);break;case Status$1['Error']:_0x3e8b22(),_0x3e5268(new UploadError$1(_0x2fc472['msg'],_0x2fc472['error_code']));}});}),uploadFromUrl$1=(_0x406ce2,{publicKey:_0x4231e4,fileName:_0x2e96b6,baseURL:_0x4aff77,baseCDN:_0x102cf5,checkForUrlDuplicates:_0x5a5764,saveUrlForRecurrentUploads:_0x2d7beb,secureSignature:_0x13304a,secureExpire:_0x5a1cfd,store:_0x292d66,signal:_0x4feebb,onProgress:_0x184a68,source:_0x1224d3,integration:_0x158014,userAgent:_0x4c8ee4,retryThrottledRequestMaxTimes:_0x1956a4,pusherKey:_0x2e0c0a=defaultSettings$1['pusherKey'],metadata:_0x152308})=>Promise['resolve'](preconnect$1(_0x2e0c0a))['then'](()=>fromUrl$1(_0x406ce2,{'publicKey':_0x4231e4,'fileName':_0x2e96b6,'baseURL':_0x4aff77,'checkForUrlDuplicates':_0x5a5764,'saveUrlForRecurrentUploads':_0x2d7beb,'secureSignature':_0x13304a,'secureExpire':_0x5a1cfd,'store':_0x292d66,'signal':_0x4feebb,'source':_0x1224d3,'integration':_0x158014,'userAgent':_0x4c8ee4,'retryThrottledRequestMaxTimes':_0x1956a4,'metadata':_0x152308}))['catch'](_0x142a9a=>{const _0x749fc4=getPusher$1(_0x2e0c0a);return _0x749fc4?.['disconnect'](),Promise['reject'](_0x142a9a);})['then'](_0xe0bc18=>_0xe0bc18['type']===TypeEnum$1['FileInfo']?_0xe0bc18:race$1([({signal:_0x33cbcb})=>pollStrategy$1({'token':_0xe0bc18['token'],'publicKey':_0x4231e4,'baseURL':_0x4aff77,'integration':_0x158014,'userAgent':_0x4c8ee4,'retryThrottledRequestMaxTimes':_0x1956a4,'onProgress':_0x184a68,'signal':_0x33cbcb}),({signal:_0x3b04c7})=>pushStrategy$1({'token':_0xe0bc18['token'],'pusherKey':_0x2e0c0a,'signal':_0x3b04c7,'onProgress':_0x184a68})],{'signal':_0x4feebb}))['then'](_0x25deba=>{if(_0x25deba instanceof UploadError$1)throw _0x25deba;return _0x25deba;})['then'](_0x4453a6=>isReadyPoll$1(_0x4453a6['uuid'],{'publicKey':_0x4231e4,'baseURL':_0x4aff77,'integration':_0x158014,'userAgent':_0x4c8ee4,'retryThrottledRequestMaxTimes':_0x1956a4,'onProgress':_0x184a68,'signal':_0x4feebb}))['then'](_0x38bbce=>new UploadcareFile$1(_0x38bbce,{'baseCDN':_0x102cf5})),memo$1=new WeakMap(),getBlobFromReactNativeAsset$1=async _0x1fdbf9=>{if(memo$1['has'](_0x1fdbf9))return memo$1['get'](_0x1fdbf9);const _0x3e7192=await fetch(_0x1fdbf9['uri'])['then'](_0x59428e=>_0x59428e['blob']());return memo$1['set'](_0x1fdbf9,_0x3e7192),_0x3e7192;},getFileSize$1=async _0x30293c=>{if(isFile$1(_0x30293c)||isBlob$1(_0x30293c))return _0x30293c['size'];if(isReactNativeAsset$1(_0x30293c))return(await getBlobFromReactNativeAsset$1(_0x30293c))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0x4a9306,_0x2baac4=defaultSettings$1['multipartMinFileSize'])=>_0x4a9306>=_0x2baac4,isUuid$1=_0x454ea8=>{const _0x280c8f=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData$1(_0x454ea8)&&_0x280c8f['test'](_0x454ea8);},isUrl$1=_0x567a26=>{const _0x1fc666=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x567a26)&&_0x1fc666['test'](_0x567a26);},runWithConcurrency$1=(_0x4f686e,_0x13407f)=>new Promise((_0x30716f,_0x5897ad)=>{const _0x382216=[];let _0x24c8c6=!0x1,_0x985082=_0x13407f['length'];const _0x47324a=[..._0x13407f],_0x579f15=()=>{const _0xf242b9=_0x13407f['length']-_0x47324a['length'],_0x2b98f5=_0x47324a['shift']();_0x2b98f5&&_0x2b98f5()['then'](_0x3fb96a=>{_0x24c8c6||(_0x382216[_0xf242b9]=_0x3fb96a,_0x985082-=0x1,_0x985082?_0x579f15():_0x30716f(_0x382216));})['catch'](_0x5e8b3d=>{_0x24c8c6=!0x0,_0x5897ad(_0x5e8b3d);});};for(let _0x47ce1f=0x0;_0x47ce1f<_0x4f686e;_0x47ce1f++)_0x579f15();}),sliceChunk$1=(_0xb012a1,_0x3e5617,_0x11cf26,_0x4184f0)=>{const _0x24ea3d=_0x4184f0*_0x3e5617,_0x492ebe=Math['min'](_0x24ea3d+_0x4184f0,_0x11cf26);return _0xb012a1['slice'](_0x24ea3d,_0x492ebe);},prepareChunks$1=async(_0x33dc00,_0x1142b8,_0xafc3e7)=>_0x2599be=>sliceChunk$1(_0x33dc00,_0x2599be,_0x1142b8,_0xafc3e7),uploadPart$1=(_0x5c33d2,_0x34e576,{publicKey:_0xf9e2fc,contentType:_0x771290,onProgress:_0x5dd189,signal:_0x45e736,integration:_0x4ca264,retryThrottledRequestMaxTimes:_0x5d7352,retryNetworkErrorMaxTimes:_0x327ee5})=>multipartUpload$1(_0x5c33d2,_0x34e576,{'contentType':_0x771290,'onProgress':_0x5dd189,'signal':_0x45e736,'retryThrottledRequestMaxTimes':_0x5d7352,'retryNetworkErrorMaxTimes':_0x327ee5}),uploadMultipart$1=async(_0x49539e,{publicKey:_0x7316c5,fileName:_0xa32ccf,fileSize:_0x2bdcc2,baseURL:_0x3f3688,secureSignature:_0x14e152,secureExpire:_0x511a42,store:_0x4be6e9,signal:_0x3fc293,onProgress:_0x53c567,source:_0x1de124,integration:_0xe9dfc6,userAgent:_0x1b0d28,retryThrottledRequestMaxTimes:_0x480ccd,retryNetworkErrorMaxTimes:_0x593c15,contentType:_0x1ca3b1,multipartChunkSize:_0x3cffb7=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x237b7d=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0x45d8ec,metadata:_0x2c21d0})=>{const _0x2a25cc=_0x2bdcc2??await getFileSize$1(_0x49539e);let _0x2e5899;const _0x2c58d7=(_0x216a38,_0x20b38a)=>{if(!_0x53c567)return;_0x2e5899||(_0x2e5899=Array(_0x216a38)['fill'](0x0));const _0x5837aa=_0x4e2648=>_0x4e2648['reduce']((_0x5bde85,_0x6732b0)=>_0x5bde85+_0x6732b0,0x0);return _0x3c2efa=>{_0x3c2efa['isComputable']&&(_0x2e5899[_0x20b38a]=_0x3c2efa['value'],_0x53c567({'isComputable':!0x0,'value':_0x5837aa(_0x2e5899)/_0x216a38}));};};return _0x1ca3b1||=getContentType$1(_0x49539e),multipartStart$1(_0x2a25cc,{'publicKey':_0x7316c5,'contentType':_0x1ca3b1,'fileName':_0xa32ccf||getFileName$1(_0x49539e),'baseURL':_0x3f3688,'secureSignature':_0x14e152,'secureExpire':_0x511a42,'store':_0x4be6e9,'signal':_0x3fc293,'source':_0x1de124,'integration':_0xe9dfc6,'userAgent':_0x1b0d28,'retryThrottledRequestMaxTimes':_0x480ccd,'retryNetworkErrorMaxTimes':_0x593c15,'metadata':_0x2c21d0})['then'](async({uuid:_0x43fae6,parts:_0x2f6304})=>{const _0x472680=await prepareChunks$1(_0x49539e,_0x2a25cc,_0x3cffb7);return Promise['all']([_0x43fae6,runWithConcurrency$1(_0x237b7d,_0x2f6304['map']((_0x225bfc,_0x1e483d)=>()=>uploadPart$1(_0x472680(_0x1e483d),_0x225bfc,{'publicKey':_0x7316c5,'contentType':_0x1ca3b1,'onProgress':_0x2c58d7(_0x2f6304['length'],_0x1e483d),'signal':_0x3fc293,'integration':_0xe9dfc6,'retryThrottledRequestMaxTimes':_0x480ccd,'retryNetworkErrorMaxTimes':_0x593c15})))]);})['then'](([_0x42ff2f])=>multipartComplete$1(_0x42ff2f,{'publicKey':_0x7316c5,'baseURL':_0x3f3688,'source':_0x1de124,'integration':_0xe9dfc6,'userAgent':_0x1b0d28,'retryThrottledRequestMaxTimes':_0x480ccd,'retryNetworkErrorMaxTimes':_0x593c15}))['then'](_0x51b365=>_0x51b365['isReady']?_0x51b365:isReadyPoll$1(_0x51b365['uuid'],{'publicKey':_0x7316c5,'baseURL':_0x3f3688,'source':_0x1de124,'integration':_0xe9dfc6,'userAgent':_0x1b0d28,'retryThrottledRequestMaxTimes':_0x480ccd,'retryNetworkErrorMaxTimes':_0x593c15,'onProgress':_0x53c567,'signal':_0x3fc293}))['then'](_0x24212b=>new UploadcareFile$1(_0x24212b,{'baseCDN':_0x45d8ec}));};async function uploadFile$1(_0x2a02a2,{publicKey:_0x15ebf8,fileName:_0x4d9435,baseURL:_0x5a1f81=defaultSettings$1['baseURL'],secureSignature:_0x41a8dc,secureExpire:_0x370107,store:_0x25ac30,signal:_0x541936,onProgress:_0x24ebcb,source:_0x588c84,integration:_0x32fd91,userAgent:_0x86ecb8,retryThrottledRequestMaxTimes:_0x33bf79,retryNetworkErrorMaxTimes:_0x3e521f,contentType:_0x24ea6e,multipartMinFileSize:_0x214248,multipartChunkSize:_0x35878e,maxConcurrentRequests:_0x33f6ac,baseCDN:_0x109b5b=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0x1afc0d,saveUrlForRecurrentUploads:_0x33a96b,pusherKey:_0x2218f4,metadata:_0x443865}){if(isFileData$1(_0x2a02a2)){const _0x2125d5=await getFileSize$1(_0x2a02a2);return isMultipart$1(_0x2125d5,_0x214248)?uploadMultipart$1(_0x2a02a2,{'publicKey':_0x15ebf8,'contentType':_0x24ea6e,'multipartChunkSize':_0x35878e,'fileSize':_0x2125d5,'fileName':_0x4d9435,'baseURL':_0x5a1f81,'secureSignature':_0x41a8dc,'secureExpire':_0x370107,'store':_0x25ac30,'signal':_0x541936,'onProgress':_0x24ebcb,'source':_0x588c84,'integration':_0x32fd91,'userAgent':_0x86ecb8,'maxConcurrentRequests':_0x33f6ac,'retryThrottledRequestMaxTimes':_0x33bf79,'retryNetworkErrorMaxTimes':_0x3e521f,'baseCDN':_0x109b5b,'metadata':_0x443865}):uploadDirect$1(_0x2a02a2,{'publicKey':_0x15ebf8,'fileName':_0x4d9435,'contentType':_0x24ea6e,'baseURL':_0x5a1f81,'secureSignature':_0x41a8dc,'secureExpire':_0x370107,'store':_0x25ac30,'signal':_0x541936,'onProgress':_0x24ebcb,'source':_0x588c84,'integration':_0x32fd91,'userAgent':_0x86ecb8,'retryThrottledRequestMaxTimes':_0x33bf79,'retryNetworkErrorMaxTimes':_0x3e521f,'baseCDN':_0x109b5b,'metadata':_0x443865});}if(isUrl$1(_0x2a02a2))return uploadFromUrl$1(_0x2a02a2,{'publicKey':_0x15ebf8,'fileName':_0x4d9435,'baseURL':_0x5a1f81,'baseCDN':_0x109b5b,'checkForUrlDuplicates':_0x1afc0d,'saveUrlForRecurrentUploads':_0x33a96b,'secureSignature':_0x41a8dc,'secureExpire':_0x370107,'store':_0x25ac30,'signal':_0x541936,'onProgress':_0x24ebcb,'source':_0x588c84,'integration':_0x32fd91,'userAgent':_0x86ecb8,'retryThrottledRequestMaxTimes':_0x33bf79,'pusherKey':_0x2218f4,'metadata':_0x443865});if(isUuid$1(_0x2a02a2))return uploadFromUploaded$1(_0x2a02a2,{'publicKey':_0x15ebf8,'fileName':_0x4d9435,'baseURL':_0x5a1f81,'signal':_0x541936,'onProgress':_0x24ebcb,'source':_0x588c84,'integration':_0x32fd91,'userAgent':_0x86ecb8,'retryThrottledRequestMaxTimes':_0x33bf79,'retryNetworkErrorMaxTimes':_0x3e521f,'baseCDN':_0x109b5b});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2a02a2+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x247727,publicKey:_0x77b75c,signal:_0x2a326f,onProgress:_0x9d8180}){return uploadFile$1(_0x247727,{'publicKey':_0x77b75c,'store':'auto','signal':_0x2a326f,'onProgress':_0x9d8180});}static['getInfo'](_0x2ce475,_0x4fdfe3){return info$1(_0x2ce475,_0x4fdfe3);}}class UploadcareUploadAdapter extends Plugin{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',FileRepository,UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22d479=this['editor'];if(!!!_0x22d479['config']['get']('uploadcare'))return;_0x22d479['plugins']['get'](FileRepository)['createUploadAdapter']=_0x16673d=>new Adapter(_0x16673d,_0x22d479),_0x22d479['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5150cd,{imageElement:_0x35f0ef,data:_0x878901})=>{_0x22d479['model']['change'](_0x3d73df=>{_0x3d73df['setAttribute']('uploadcareImageId',_0x878901['uploadcareImageId'],_0x35f0ef);});});}}class Adapter{constructor(_0x5e1741,_0x564f50){this['loader']=_0x5e1741,this['editor']=_0x564f50,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1024a3=this['editor']['config']['get']('uploadcare.pubkey'),_0x4e4f7e=await this['loader']['file'];return UploadUtils['upload']({'file':_0x4e4f7e,'publicKey':_0x1024a3,'signal':this['controller']['signal'],'onProgress':_0x5f08c6=>{_0x5f08c6&&_0x5f08c6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5f08c6['value']);}})['then'](async _0x58d6aa=>{const {imageFallbackUrl:_0x3319fc,imageSources:_0x2e9bb1}=getImageUrls(_0x58d6aa['cdnUrl'],_0x58d6aa['imageInfo']['width']);return{'uploadcareImageId':_0x58d6aa['uuid'],'default':_0x3319fc,'sources':_0x2e9bb1};})['catch'](()=>{const _0x2f1ed4=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e4f7e['name']+'.');return Promise['reject'](_0x2f1ed4);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends Plugin{constructor(){super(...arguments),this['_configElement']=null,this['_ctxElement']=null;}static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',UploadcareUploadAdapter,Dialog];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x206f93=this['editor'];_0x206f93['commands']['add']('uploadcare',new UploadcareCommand(_0x206f93));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x2cf8fe=_0x25cc2c['document']['querySelector']('input[uploadcare-file-input]');_0x2cf8fe&&_0x2cf8fe['remove']();}),checkLicense(this);}['_initSchema'](){const _0x5cbd1e=this['editor']['model']['schema'];_0x5cbd1e['isRegistered']('imageBlock')&&_0x5cbd1e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5cbd1e['isRegistered']('imageInline')&&_0x5cbd1e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x569b67=this['editor'];_0x569b67['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x569b67['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4d8c37=>_0x4d8c37['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x19800e=_0x569b67['commands']['get']('replaceImageSource');_0x19800e&&this['listenTo'](_0x19800e,'cleanupImage',(_0x5df1af,[_0x40a21f,_0x1b5645])=>{_0x40a21f['removeAttribute']('uploadcareImageId',_0x1b5645);});}['_initConfig'](){const _0x1a3a97=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3a663b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=createElement(_0x25cc2c['document'],'uc-config',{..._0x1a3a97,'pubkey':_0x3a663b,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x3d6529=>{if('closeMax'==_0x3d6529)return'#uc-icon-arrow-down';},_0x25cc2c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=createElement(_0x25cc2c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x25cc2c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2ce4ef=this['editor']['commands']['get']('insertImage');_0x2ce4ef&&this['listenTo'](_0x2ce4ef,'execute',()=>{const _0x32ad1e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32ad1e&&_0x32ad1e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x32ad1e);});});const _0x2171ea=this['editor']['commands']['get']('uploadcareImageReplace');_0x2171ea&&this['listenTo'](_0x2171ea,'execute',()=>{const _0x428f54=this['editor']['model']['document']['selection']['getSelectedElement']();_0x428f54&&_0x428f54['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x428f54);});});}}async function checkLicense(_0x256abc){const _0x405c34=_0x1dca30([0x74,0x62,0x4a,0x4d,0x49,0x41,0x7a,0x44,0x72,0x42,0x36,0x65,0x34,0x46,0x70,0x48,0x52,0x64,0x54,0x53,0x68,0x75,0x6d,0x58,0x78,0x61,0x30,0x39,0x6a,0x66,0x57,0x32,0x37,0x5a,0x51,0x6c,0x4c,0x50,0x69,0x79,0x6e,0x4f,0x73,0x59,0x38,0x45,0x47,0x77,0x6f,0x4b,0x56,0x35,0x71,0x6b,0x63,0x67,0x31,0x33,0x43,0x55,0x4e,0x76]),_0x15c9a0=window[_0x1dca30([0x44,0x61,0x74,0x65])][_0x1dca30([0x6e,0x6f,0x77])](),_0x4bb0e3=_0x256abc[_0x1dca30([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x540e39=new window[(_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c55ce=>{_0x4bb0e3[_0x1dca30([0x6f,0x6e,0x63,0x65])](_0x1dca30([0x72,0x65,0x61,0x64,0x79]),_0x3c55ce);}),_0x37d0e4={[_0x1dca30([0x6b,0x74,0x79])]:_0x1dca30([0x45,0x43]),[_0x1dca30([0x75,0x73,0x65])]:_0x1dca30([0x73,0x69,0x67]),[_0x1dca30([0x63,0x72,0x76])]:_0x1dca30([0x50,0x2d,0x32,0x35,0x36]),[_0x1dca30([0x78])]:_0x1dca30([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]),[_0x1dca30([0x79])]:_0x1dca30([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]),[_0x1dca30([0x61,0x6c,0x67])]:_0x1dca30([0x45,0x53,0x32,0x35,0x36])},_0x19b519=_0x4bb0e3[_0x1dca30([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1dca30([0x67,0x65,0x74])](_0x1dca30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xee44a8=await(async function(){let _0x22717f,_0x311a47=null,_0x5db645=null;try{if(_0x19b519==_0x1dca30([0x47,0x50,0x4c]))return _0x1dca30([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22717f=(function(){const _0x1a88b3=_0x19b519[_0x1dca30([0x73,0x70,0x6c,0x69,0x74])](_0x1dca30([0x2e]));if(0x3!=_0x1a88b3[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1123b3=_0x1a88b3[0x1];return _0x2ea731(_0x1123b3);function _0x2ea731(_0x2a6452){const _0x436084=_0x3cdb62(_0x2a6452);return _0x436084&&_0x578b21()?_0x436084:null;function _0x578b21(){const _0x262ede=_0x436084[_0x1dca30([0x6a,0x74,0x69])],_0x2495e7=window[_0x1dca30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x262ede[_0x1dca30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x262ede[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6cd38d={..._0x436084,[_0x1dca30([0x6a,0x74,0x69])]:_0x262ede[_0x1dca30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x262ede[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6cd38d[_0x1dca30([0x76,0x63])],_0xf995bc(_0x6cd38d)==_0x2495e7;}}}()),!_0x22717f)return _0x1dca30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x22717f[_0x1dca30([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5db645=function(_0x16895a,_0x2332bd){return new window[(_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc562ea=>{if(_0x310a3b())return _0xc562ea(_0x1dca30([0x56,0x61,0x6c,0x69,0x64]));_0x2e93fa(),_0x4bb0e3[_0x1dca30([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1dca30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58a2d8=!0x1;const _0x2cda00=uid();function _0x2978d3(_0x57546a){return!!_0x57546a&&(typeof _0x57546a===_0x1dca30([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57546a===_0x1dca30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57546a[_0x1dca30([0x74,0x68,0x65,0x6e])]===_0x1dca30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57546a[_0x1dca30([0x63,0x61,0x74,0x63,0x68])]===_0x1dca30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29bc82(_0x5b68f5){_0x229d41(_0x5b68f5)[_0x1dca30([0x74,0x68,0x65,0x6e])](_0xd1431f=>{if(!_0xd1431f||_0xd1431f[_0x1dca30([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1dca30([0x6f,0x6b]))return _0x1dca30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35932f(_0xf995bc(_0x2cda00+_0x2332bd))!=_0xd1431f[_0x1dca30([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1dca30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1dca30([0x56,0x61,0x6c,0x69,0x64]);})[_0x1dca30([0x74,0x68,0x65,0x6e])](_0x5d5f5e=>(_0x86da7b(),_0x5d5f5e),()=>{const _0x3407f7=_0x55ac70();return null==_0x3407f7?(_0x86da7b(),_0x1dca30([0x56,0x61,0x6c,0x69,0x64])):_0x1dca30(_0x15c9a0-_0x3407f7>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1dca30([0x74,0x68,0x65,0x6e])](_0xc562ea)[_0x1dca30([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc562ea(_0x1dca30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1da2d4=0x36ee80;function _0x86da7b(){const _0x287981=_0x1dca30([0x6c,0x6c,0x63,0x74,0x2d])+_0x35932f(_0xf995bc(_0x16895a)),_0x5615b2=_0x510b92(_0x35932f(window[_0x1dca30([0x4d,0x61,0x74,0x68])][_0x1dca30([0x63,0x65,0x69,0x6c])](_0x15c9a0/_0x1da2d4)));window[_0x1dca30([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1dca30([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x287981,_0x5615b2);}function _0x55ac70(){const _0x3aaf4a=_0x1dca30([0x6c,0x6c,0x63,0x74,0x2d])+_0x35932f(_0xf995bc(_0x16895a)),_0x28fff4=window[_0x1dca30([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1dca30([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3aaf4a);return _0x28fff4?window[_0x1dca30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x510b92(_0x28fff4),0x10)*_0x1da2d4:null;}function _0x229d41(_0x1b0a06){return new window[(_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bf3df,_0x2d1d42)=>{_0x1b0a06[_0x1dca30([0x74,0x68,0x65,0x6e])](_0x2bf3df,_0x2d1d42),window[_0x1dca30([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d1d42,0x1d4c0);});}}_0x4bb0e3[_0x1dca30([0x6f,0x6e])](_0x1dca30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21917f,_0x5d0f11)=>{if(_0x5d0f11[0x0]!=_0x16895a)return _0xc562ea(_0x1dca30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d0f11[0x1]={..._0x5d0f11[0x1],[_0x1dca30([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cda00};},{[_0x1dca30([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1dca30([0x68,0x69,0x67,0x68])}),_0x4bb0e3[_0x1dca30([0x6f,0x6e])](_0x1dca30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd02017=>{_0x2978d3(_0xd02017[_0x1dca30([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58a2d8=!0x0,_0x29bc82(_0xd02017[_0x1dca30([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1dca30([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1dca30([0x6c,0x6f,0x77])}),_0x540e39[_0x1dca30([0x74,0x68,0x65,0x6e])](()=>{_0x58a2d8||_0xc562ea(_0x1dca30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x310a3b(){return _0x4bb0e3[_0x1dca30([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1dca30([0x76,0x69,0x65,0x77])][_0x1dca30([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1dca30([0x61,0x75,0x74,0x6f]);}function _0x2e93fa(){_0x4bb0e3[_0x1dca30([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1dca30([0x76,0x69,0x65,0x77])][_0x1dca30([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1dca30([0x61,0x75,0x74,0x6f]);}}(_0x22717f[_0x1dca30([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22717f[_0x1dca30([0x6a,0x74,0x69])]));const _0x1fab58=await(async function(){let _0x142876=!0x0;try{const _0x1a99c7=_0x19b519[_0x1dca30([0x73,0x70,0x6c,0x69,0x74])](_0x1dca30([0x2e])),[_0x4bffd9,_0x48dd6c,_0x5a6805]=_0x1a99c7;return _0x29c441(_0x4bffd9),await _0x52f7e9(_0x4bffd9,_0x48dd6c,_0x5a6805),_0x142876;}catch(_0x32895d){return!0x1;}function _0x29c441(_0xe273b5){const _0x129d6b=_0x3cdb62(_0xe273b5);_0x129d6b&&_0x129d6b[_0x1dca30([0x61,0x6c,0x67])]==_0x1dca30([0x45,0x53,0x32,0x35,0x36])||(_0x142876=!0x1);}async function _0x52f7e9(_0x5666f5,_0xe7f71c,_0x481612){const _0x232225=window[_0x1dca30([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1dca30([0x66,0x72,0x6f,0x6d])](_0x3cfc95(_0x481612),_0x35a571=>_0x35a571[_0x1dca30([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f0b09=new window[(_0x1dca30([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1dca30([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5666f5+_0x1dca30([0x2e])+_0xe7f71c),_0x35431b=window[_0x1dca30([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1dca30([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35431b)return;const _0x5b5b12=await _0x35431b[_0x1dca30([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1dca30([0x6a,0x77,0x6b]),_0x37d0e4,{[_0x1dca30([0x6e,0x61,0x6d,0x65])]:_0x1dca30([0x45,0x43,0x44,0x53,0x41]),[_0x1dca30([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1dca30([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1dca30([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35431b[_0x1dca30([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1dca30([0x6e,0x61,0x6d,0x65])]:_0x1dca30([0x45,0x43,0x44,0x53,0x41]),[_0x1dca30([0x68,0x61,0x73,0x68])]:{[_0x1dca30([0x6e,0x61,0x6d,0x65])]:_0x1dca30([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b5b12,_0x232225,_0x1f0b09)||(_0x142876=!0x1);}}());return _0x1fab58?(function(){const _0x4c8ff5=_0x22717f[_0x1dca30([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4c8ff5)return!0x1;if(_0x4c8ff5[_0x1dca30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dca30([0x2a])))return!0x0;if(_0x4c8ff5[_0x1dca30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dca30([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x1eaada=[_0x1dca30([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1dca30([0x74,0x72,0x69,0x61,0x6c])][_0x1dca30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22717f[_0x1dca30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15c9a0/0x3e8:0x67b67080;return _0x22717f[_0x1dca30([0x65,0x78,0x70])]<_0x1eaada;}())?_0x1dca30([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x43ee24=_0x22717f[_0x1dca30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43ee24||0x0==_0x43ee24[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4561cb}=new URL(window[_0x1dca30([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43ee24[_0x1dca30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4561cb))return!0x0;const _0x37c0cd=_0x4561cb[_0x1dca30([0x73,0x70,0x6c,0x69,0x74])](_0x1dca30([0x2e]));return _0x43ee24[_0x1dca30([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f886c=>_0x4f886c[_0x1dca30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dca30([0x2a])))[_0x1dca30([0x6d,0x61,0x70])](_0x39de65=>_0x39de65[_0x1dca30([0x73,0x70,0x6c,0x69,0x74])](_0x1dca30([0x2e])))[_0x1dca30([0x73,0x6f,0x6d,0x65])](_0x475c7e=>_0x37c0cd[_0x1dca30([0x65,0x76,0x65,0x72,0x79])]((_0x5ac58e,_0xedd0d7)=>_0x475c7e[_0xedd0d7]===_0x5ac58e||_0x475c7e[_0xedd0d7]===_0x1dca30([0x2a])));}())?(_0x22717f[_0x1dca30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1dca30([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x311a47=_0x495128(_0x1dca30([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22717f[_0x1dca30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1dca30([0x74,0x72,0x69,0x61,0x6c])&&(_0x311a47=_0x495128(_0x1dca30([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x311a47&&_0x5db645)return new window[(_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc99e1b,_0x32316c)=>{_0x311a47[_0x1dca30([0x74,0x68,0x65,0x6e])](_0xc99e1b,_0x32316c),_0x5db645[_0x1dca30([0x74,0x68,0x65,0x6e])](_0x324d36=>{_0x324d36!=_0x1dca30([0x56,0x61,0x6c,0x69,0x64])&&_0xc99e1b(_0x324d36);},_0x32316c);});return _0x311a47||_0x5db645||_0x1dca30([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1dca30([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1dca30([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1dca30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x52f7cd){return _0x1dca30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x495128(_0x1c3b78){const _0x430682=new window[(_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cf6ee=>setTimeout(_0x3cf6ee,0x93ecc)),_0x51f58d=_0x540e39[_0x1dca30([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e403e=>{let _0x17f7eb=0x0;_0x4bb0e3[_0x1dca30([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dca30([0x6f,0x6e])](_0x1dca30([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f2524,_0x11ca10)=>{_0x11ca10[0x0][_0x1dca30([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17f7eb++,0x1f8==_0x17f7eb&&(_0x3e403e(),_0x5f2524[_0x1dca30([0x6f,0x66,0x66])]());});})),_0x94d987=[_0x430682,_0x51f58d];return window[_0x1dca30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1dca30([0x72,0x61,0x63,0x65])](_0x94d987)[_0x1dca30([0x74,0x68,0x65,0x6e])](()=>_0x1c3b78);}function _0x3cdb62(_0x42bdaf){return _0x42bdaf[_0x1dca30([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1dca30([0x65,0x79]))?JSON[_0x1dca30([0x70,0x61,0x72,0x73,0x65])](_0x3cfc95(_0x42bdaf)):null;}function _0x3cfc95(_0x937b99){return window[_0x1dca30([0x61,0x74,0x6f,0x62])](_0x937b99[_0x1dca30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1dca30([0x2b]))[_0x1dca30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1dca30([0x2f])));}function _0xf995bc(_0x5383e1){let _0x10d504=0x1505;function _0x256bb1(_0x284f2b){for(let _0x96facf=0x0;_0x96facf<_0x284f2b[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x96facf++){const _0x22a7c9=_0x284f2b[_0x1dca30([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x96facf);_0x10d504=(_0x10d504<<0x5)+_0x10d504+_0x22a7c9,_0x10d504&=_0x10d504;}}return function _0x4f13f1(_0x28a6fb){Array[_0x1dca30([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28a6fb)?_0x28a6fb[_0x1dca30([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f13f1):_0x28a6fb&&typeof _0x28a6fb==_0x1dca30([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1dca30([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28a6fb)[_0x1dca30([0x73,0x6f,0x72,0x74])]()[_0x1dca30([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x154a18,_0x451c2e])=>{_0x256bb1(_0x154a18),_0x4f13f1(_0x451c2e);}):_0x256bb1(window[_0x1dca30([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28a6fb));}(_0x5383e1),_0x10d504>>>0x0;}function _0x35932f(_0x243c33){return _0x243c33[_0x1dca30([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1dca30([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1dca30([0x30]));}function _0x510b92(_0x41d4a7){return _0x41d4a7[_0x1dca30([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1dca30([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1dca30([0x6a,0x6f,0x69,0x6e])]('');}function _0x2547ea(){}function _0x1dca30(_0x21698b){return _0x21698b['map'](_0x27e177=>String['fromCharCode'](_0x27e177))['join']('');}!function(_0x33a0c4){const _0x3f0d07=(function(){const _0x8e149=window[_0x1dca30([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1dca30([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1dca30([0x6e,0x6f,0x77])]())[_0x1dca30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1dca30([0x2e]),'');let _0x5b0cb0=_0x1dca30([0x74]);for(let _0x4ba5de=0x0;_0x4ba5de<_0x8e149[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ba5de+=0x2){let _0x52c06a=window[_0x1dca30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8e149[_0x1dca30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ba5de,_0x4ba5de+0x2));_0x52c06a>=_0x405c34[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52c06a-=_0x405c34[_0x1dca30([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b0cb0+=_0x405c34[_0x52c06a];}return _0x5b0cb0;}());_0x4bb0e3[_0x3f0d07]=_0x1dca30([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33a0c4,_0x33a0c4!=_0x1dca30([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x540e39,_0x4bb0e3[_0x1dca30([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dca30([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2547ea,_0x4bb0e3[_0x1dca30([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dca30([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2547ea,_0x4bb0e3[_0x1dca30([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1dca30([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xee44a8);}var __defProp=Object['defineProperty'],__defNormalProp=(_0x3d11e1,_0x5cd862,_0xe76aec)=>_0x5cd862 in _0x3d11e1?__defProp(_0x3d11e1,_0x5cd862,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe76aec}):_0x3d11e1[_0x5cd862]=_0xe76aec,__publicField=(_0x57cb39,_0x2b108b,_0x5f5645)=>(__defNormalProp(_0x57cb39,'symbol'!=typeof _0x2b108b?_0x2b108b+'':_0x2b108b,_0x5f5645),_0x5f5645);function cloneObj(_0x15d087){let _0x553b4b=_0x1aa9fd=>{var _0x3cdd27;for(let _0x58e454 in _0x1aa9fd)(null==(_0x3cdd27=_0x1aa9fd[_0x58e454])?void 0x0:_0x3cdd27['constructor'])===Object&&(_0x1aa9fd[_0x58e454]=_0x553b4b(_0x1aa9fd[_0x58e454]));return{..._0x1aa9fd};};return _0x553b4b(_0x15d087);}var Data=class{constructor(_0x1e65d1){_0x1e65d1['constructor']===Object?this['store']=cloneObj(_0x1e65d1):(this['_storeIsProxy']=!0x0,this['store']=_0x1e65d1),this['callbackMap']=Object['create'](null);}static['warn'](_0x131781,_0x6695c3){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x131781+'.\x20Prop\x20name:\x20'+_0x6695c3);}['read'](_0x2a5368){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x2a5368)?this['store'][_0x2a5368]:(Data['warn']('read',_0x2a5368),null);}['has'](_0x4fc4bb){return this['_storeIsProxy']?void 0x0!==this['store'][_0x4fc4bb]:this['store']['hasOwnProperty'](_0x4fc4bb);}['add'](_0x419d60,_0xc235f2,_0x4376fe=!0x1){!_0x4376fe&&Object['keys'](this['store'])['includes'](_0x419d60)||(this['store'][_0x419d60]=_0xc235f2,this['notify'](_0x419d60));}['pub'](_0x5f5111,_0x39fc40){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x5f5111)?(this['store'][_0x5f5111]=_0x39fc40,this['notify'](_0x5f5111)):Data['warn']('publish',_0x5f5111);}['multiPub'](_0x3f332e){for(let _0x353b92 in _0x3f332e)this['pub'](_0x353b92,_0x3f332e[_0x353b92]);}['notify'](_0x1b6904){this['callbackMap'][_0x1b6904]&&this['callbackMap'][_0x1b6904]['forEach'](_0xeab50f=>{_0xeab50f(this['store'][_0x1b6904]);});}['sub'](_0x3e096f,_0x26fa9d,_0x22af92=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x3e096f)?(this['callbackMap'][_0x3e096f]||(this['callbackMap'][_0x3e096f]=new Set()),this['callbackMap'][_0x3e096f]['add'](_0x26fa9d),_0x22af92&&_0x26fa9d(this['store'][_0x3e096f]),{'remove':()=>{this['callbackMap'][_0x3e096f]['delete'](_0x26fa9d),this['callbackMap'][_0x3e096f]['size']||delete this['callbackMap'][_0x3e096f];},'callback':_0x26fa9d}):(Data['warn']('subscribe',_0x3e096f),null);}static['registerCtx'](_0x9b3ce2,_0x506b48=Symbol()){let _0x5cbf9a=Data['globalStore']['get'](_0x506b48);return _0x5cbf9a?console['warn']('State:\x20context\x20UID\x20\x22'+_0x506b48+'\x22\x20already\x20in\x20use'):(_0x5cbf9a=new Data(_0x9b3ce2),Data['globalStore']['set'](_0x506b48,_0x5cbf9a)),_0x5cbf9a;}static['deleteCtx'](_0x1f0131){Data['globalStore']['delete'](_0x1f0131);}static['getCtx'](_0x303114,_0x3f898e=!0x0){return Data['globalStore']['get'](_0x303114)||(_0x3f898e&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x303114+'\x22'),null);}};Data['globalStore']=new Map();var DICT=Object['freeze']({'BIND_ATTR':'set','ATTR_BIND_PRFX':'@','EXT_DATA_CTX_PRFX':'*','NAMED_DATA_CTX_SPLTR':'/','CTX_NAME_ATTR':'ctx-name','CTX_OWNER_ATTR':'ctx-owner','CSS_CTX_PROP':'--ctx-name','EL_REF_ATTR':'ref','AUTO_TAG_PRFX':'sym','REPEAT_ATTR':'repeat','REPEAT_ITEM_TAG_ATTR':'repeat-item-tag','SET_LATER_KEY':'__toSetLater__','USE_TPL':'use-template','ROOT_STYLE_ATTR_NAME':'sym-component'}),CHARS='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',CHLENGTH=CHARS['length']-0x1,UID=class{static['generate'](_0x240125='XXXXXXXXX-XXX'){let _0x254b5b='';for(let _0x387de9=0x0;_0x387de9<_0x240125['length'];_0x387de9++)_0x254b5b+='-'===_0x240125[_0x387de9]?_0x240125[_0x387de9]:CHARS['charAt'](Math['random']()*CHLENGTH);return _0x254b5b;}};function setNestedProp(_0x137efb,_0x454cb7,_0x435811){let _0x382bc1,_0x43a560=!0x0,_0x509673=_0x454cb7['split']('.');return _0x509673['forEach']((_0x45251a,_0x3dc493)=>{_0x3dc493<_0x509673['length']-0x1?_0x137efb=_0x137efb[_0x45251a]:_0x382bc1=_0x45251a;}),_0x137efb?_0x137efb[_0x382bc1]=_0x435811:_0x43a560=!0x1,_0x43a560;}function kebabToCamel(_0x1cd1ce){return _0x1cd1ce['split']('-')['map']((_0x5751b0,_0x1dde75)=>_0x5751b0&&_0x1dde75?_0x5751b0[0x0]['toUpperCase']()+_0x5751b0['slice'](0x1):_0x5751b0)['join']('')['split']('_')['map']((_0x5afdec,_0xdfe341)=>_0x5afdec&&_0xdfe341?_0x5afdec['toUpperCase']():_0x5afdec)['join']('');}function repeatProcessor(_0x5ecb70,_0xc2da98){[..._0x5ecb70['querySelectorAll']('['+DICT['REPEAT_ATTR']+']')]['forEach'](_0x10b44a=>{let _0x2d60ed,_0x3a1a89=_0x10b44a['getAttribute'](DICT['REPEAT_ITEM_TAG_ATTR']);if(_0x3a1a89&&(_0x2d60ed=window['customElements']['get'](_0x3a1a89)),!_0x2d60ed){_0x2d60ed=class extends _0xc2da98['BaseComponent']{constructor(){super(),_0x3a1a89||(this['style']['display']='contents');}};let _0x161f66=_0x10b44a['innerHTML'];_0x2d60ed['template']=_0x161f66,_0x2d60ed['reg'](_0x3a1a89);}for(;_0x10b44a['firstChild'];)_0x10b44a['firstChild']['remove']();let _0x3493a5=_0x10b44a['getAttribute'](DICT['REPEAT_ATTR']);_0xc2da98['sub'](_0x3493a5,_0x2b7a5e=>{if(!_0x2b7a5e){for(;_0x10b44a['firstChild'];)_0x10b44a['firstChild']['remove']();return;}let _0x32749c,_0x3e93ab=[..._0x10b44a['children']],_0x37ae03=_0x535271=>{_0x535271['forEach']((_0x10eb15,_0x1b9db0)=>{if(_0x3e93ab[_0x1b9db0]){if(_0x3e93ab[_0x1b9db0]['set$'])setTimeout(()=>{_0x3e93ab[_0x1b9db0]['set$'](_0x10eb15);});else{for(let _0x1b9af5 in _0x10eb15)_0x3e93ab[_0x1b9db0][_0x1b9af5]=_0x10eb15[_0x1b9af5];}}else{_0x32749c||(_0x32749c=new DocumentFragment());let _0x1c34d1=new _0x2d60ed();Object['assign'](_0x1c34d1['init$'],_0x10eb15),_0x32749c['appendChild'](_0x1c34d1);}}),_0x32749c&&_0x10b44a['appendChild'](_0x32749c);let _0x36946f=_0x3e93ab['slice'](_0x535271['length'],_0x3e93ab['length']);for(let _0x2a89df of _0x36946f)_0x2a89df['remove']();};if(_0x2b7a5e['constructor']===Array)_0x37ae03(_0x2b7a5e);else{if(_0x2b7a5e['constructor']===Object){let _0x4b23af=[];for(let _0x119087 in _0x2b7a5e){let _0x4a1acc=_0x2b7a5e[_0x119087];Object['defineProperty'](_0x4a1acc,'_KEY_',{'value':_0x119087,'enumerable':!0x0}),_0x4b23af['push'](_0x4a1acc);}_0x37ae03(_0x4b23af);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x2b7a5e);}}),_0x10b44a['removeAttribute'](DICT['REPEAT_ATTR']),_0x10b44a['removeAttribute'](DICT['REPEAT_ITEM_TAG_ATTR']);});}var DEFAULT_SLOT_KEY='__default__';function slotProcessor(_0x4a8a7b,_0x3ec182){if(_0x3ec182['shadowRoot'])return;let _0x528e35=[..._0x4a8a7b['querySelectorAll']('slot')];if(!_0x528e35['length'])return;let _0x2802cb={};_0x528e35['forEach'](_0x5079d9=>{let _0x4a2e5e=_0x5079d9['getAttribute']('name')||DEFAULT_SLOT_KEY;_0x2802cb[_0x4a2e5e]={'slot':_0x5079d9,'fr':document['createDocumentFragment']()};}),_0x3ec182['initChildren']['forEach'](_0x533fc3=>{var _0x4215cc;let _0x40d0a5=DEFAULT_SLOT_KEY;_0x533fc3 instanceof Element&&_0x533fc3['hasAttribute']('slot')&&(_0x40d0a5=_0x533fc3['getAttribute']('slot'),_0x533fc3['removeAttribute']('slot')),null==(_0x4215cc=_0x2802cb[_0x40d0a5])||_0x4215cc['fr']['appendChild'](_0x533fc3);}),Object['values'](_0x2802cb)['forEach'](_0x40a558=>{if(_0x40a558['fr']['childNodes']['length'])_0x40a558['slot']['parentNode']['replaceChild'](_0x40a558['fr'],_0x40a558['slot']);else{if(_0x40a558['slot']['childNodes']['length']){let _0x564ba7=document['createDocumentFragment']();_0x564ba7['append'](..._0x40a558['slot']['childNodes']),_0x40a558['slot']['parentNode']['replaceChild'](_0x564ba7,_0x40a558['slot']);}else _0x40a558['slot']['remove']();}});}function refProcessor(_0x866731,_0x5a99c8){[..._0x866731['querySelectorAll']('['+DICT['EL_REF_ATTR']+']')]['forEach'](_0x2dd92f=>{let _0x5c5f01=_0x2dd92f['getAttribute'](DICT['EL_REF_ATTR']);_0x5a99c8['ref'][_0x5c5f01]=_0x2dd92f,_0x2dd92f['removeAttribute'](DICT['EL_REF_ATTR']);});}function domSetProcessor(_0x272cd9,_0x2f4992){[..._0x272cd9['querySelectorAll']('['+DICT['BIND_ATTR']+']')]['forEach'](_0x227cc4=>{let _0x353c6a=_0x227cc4['getAttribute'](DICT['BIND_ATTR'])['split'](';');[..._0x227cc4['attributes']]['forEach'](_0x14e7d1=>{if(_0x14e7d1['name']['startsWith']('-')&&_0x14e7d1['value']){let _0x157c6a=kebabToCamel(_0x14e7d1['name']['replace']('-',''));_0x353c6a['push'](_0x157c6a+':'+_0x14e7d1['value']),_0x227cc4['removeAttribute'](_0x14e7d1['name']);}}),_0x353c6a['forEach'](_0xe62c12=>{if(!_0xe62c12)return;let _0x42f17b,_0x33d1c0=_0xe62c12['split'](':')['map'](_0x5f1e18=>_0x5f1e18['trim']()),_0x36a8e1=_0x33d1c0[0x0];0x0===_0x36a8e1['indexOf'](DICT['ATTR_BIND_PRFX'])&&(_0x42f17b=!0x0,_0x36a8e1=_0x36a8e1['replace'](DICT['ATTR_BIND_PRFX'],''));let _0x1a2c66=_0x33d1c0[0x1]['split'](',')['map'](_0x82e9c2=>_0x82e9c2['trim']());for(let _0x1c3bcf of _0x1a2c66){let _0x5a5b32;_0x1c3bcf['startsWith']('!!')?(_0x5a5b32='double',_0x1c3bcf=_0x1c3bcf['replace']('!!','')):_0x1c3bcf['startsWith']('!')&&(_0x5a5b32='single',_0x1c3bcf=_0x1c3bcf['replace']('!','')),_0x2f4992['sub'](_0x1c3bcf,_0x2b82a7=>{'double'===_0x5a5b32?_0x2b82a7=!!_0x2b82a7:'single'===_0x5a5b32&&(_0x2b82a7=!_0x2b82a7),_0x42f17b?(null==_0x2b82a7?void 0x0:_0x2b82a7['constructor'])===Boolean?_0x2b82a7?_0x227cc4['setAttribute'](_0x36a8e1,''):_0x227cc4['removeAttribute'](_0x36a8e1):_0x227cc4['setAttribute'](_0x36a8e1,_0x2b82a7):setNestedProp(_0x227cc4,_0x36a8e1,_0x2b82a7)||(_0x227cc4[DICT['SET_LATER_KEY']]||(_0x227cc4[DICT['SET_LATER_KEY']]=Object['create'](null)),_0x227cc4[DICT['SET_LATER_KEY']][_0x36a8e1]=_0x2b82a7);});}}),_0x227cc4['removeAttribute'](DICT['BIND_ATTR']);});}var OPEN_TOKEN$1='{{',CLOSE_TOKEN$1='}}',SKIP_ATTR='skip-text';function getTextNodesWithTokens(_0x568da6){let _0x5c5b9a,_0x5f3dcb=[],_0x5b6cce=document['createTreeWalker'](_0x568da6,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x43525b=>{var _0x1349c7;return!(null==(_0x1349c7=_0x43525b['parentElement'])?void 0x0:_0x1349c7['hasAttribute'](SKIP_ATTR))&&_0x43525b['textContent']['includes'](OPEN_TOKEN$1)&&_0x43525b['textContent']['includes'](CLOSE_TOKEN$1)&&0x1;}});for(;_0x5c5b9a=_0x5b6cce['nextNode']();)_0x5f3dcb['push'](_0x5c5b9a);return _0x5f3dcb;}var txtNodesProcessor=function(_0x4ea5ee,_0x13bc96){getTextNodesWithTokens(_0x4ea5ee)['forEach'](_0x1403f5=>{let _0x1ce47e,_0x52b6f1=[];for(;_0x1403f5['textContent']['includes'](CLOSE_TOKEN$1);)_0x1403f5['textContent']['startsWith'](OPEN_TOKEN$1)?(_0x1ce47e=_0x1403f5['textContent']['indexOf'](CLOSE_TOKEN$1)+CLOSE_TOKEN$1['length'],_0x1403f5['splitText'](_0x1ce47e),_0x52b6f1['push'](_0x1403f5)):(_0x1ce47e=_0x1403f5['textContent']['indexOf'](OPEN_TOKEN$1),_0x1403f5['splitText'](_0x1ce47e)),_0x1403f5=_0x1403f5['nextSibling'];_0x52b6f1['forEach'](_0xafba8d=>{let _0x394558=_0xafba8d['textContent']['replace'](OPEN_TOKEN$1,'')['replace'](CLOSE_TOKEN$1,'');_0xafba8d['textContent']='',_0x13bc96['sub'](_0x394558,_0x2ea07e=>{_0xafba8d['textContent']=_0x2ea07e;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,refProcessor,domSetProcessor,txtNodesProcessor],SINGLE_QUOTE='\x27',DOUBLE_QUOTE='\x22',ESCAPED_PATTERN=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x3e292d){return!(_0x3e292d[0x0]!==DOUBLE_QUOTE&&_0x3e292d[0x0]!==SINGLE_QUOTE||_0x3e292d[_0x3e292d['length']-0x1]!==DOUBLE_QUOTE&&_0x3e292d[_0x3e292d['length']-0x1]!==SINGLE_QUOTE);}function trimQuotes(_0x18160f){return _0x18160f[0x0]!==DOUBLE_QUOTE&&_0x18160f[0x0]!==SINGLE_QUOTE||(_0x18160f=_0x18160f['slice'](0x1)),_0x18160f[_0x18160f['length']-0x1]!==DOUBLE_QUOTE&&_0x18160f[_0x18160f['length']-0x1]!==SINGLE_QUOTE||(_0x18160f=_0x18160f['slice'](0x0,-0x1)),_0x18160f;}function escapeQuotes(_0x35d037){let _0x36d720='',_0x263417='';for(var _0x44f2f8=0x0;_0x44f2f8<_0x35d037['length'];_0x44f2f8++){const _0x48b3cf=_0x35d037[_0x44f2f8+0x1];'\x5c'===_0x35d037[_0x44f2f8]&&'\x22'===_0x48b3cf?(_0x36d720+='\x5c\x22',_0x44f2f8++):'\x22'===_0x35d037[_0x44f2f8]&&'\x5c'!==_0x263417?_0x36d720+='\x5c\x22':_0x36d720+=_0x35d037[_0x44f2f8],_0x263417=_0x35d037[_0x44f2f8];}return _0x36d720;}function parseCssPropertyValue(_0x21da25){let _0x3f9853=_0x21da25;hasLeadingTrailingQuotes(_0x21da25)&&(_0x3f9853=trimQuotes(_0x3f9853),_0x3f9853=_0x3f9853['replace'](ESCAPED_PATTERN,(_0x3bd9a5,_0x392d80)=>String['fromCodePoint'](parseInt(_0x392d80['trim'](),0x10))),_0x3f9853=_0x3f9853['replaceAll']('\x5c\x0a','\x5cn'),_0x3f9853=escapeQuotes(_0x3f9853),_0x3f9853=DOUBLE_QUOTE+_0x3f9853+DOUBLE_QUOTE);try{return JSON['parse'](_0x3f9853);}catch(_0x4554ef){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x3f9853+'.\x20Original\x20input:\x20'+_0x21da25);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),__publicField(this,'updateCssData',()=>{var _0x4b4378;this['dropCssDataCache'](),null==(_0x4b4378=this['__boundCssProps'])||_0x4b4378['forEach'](_0x331916=>{let _0x38fd19=this['getCssData'](this['__extractCssName'](_0x331916),!0x0);null!==_0x38fd19&&this['$'][_0x331916]!==_0x38fd19&&(this['$'][_0x331916]=_0x38fd19);});}),this['init$']=Object['create'](null),this['cssInit$']=Object['create'](null),this['tplProcessors']=new Set(),this['ref']=Object['create'](null),this['allSubs']=new Set(),this['pauseRender']=!0x1,this['renderShadow']=!0x1,this['readyToDestroy']=!0x0,this['processInnerHtml']=!0x1,this['allowCustomTemplate']=!0x1,this['ctxOwner']=!0x1;}get['BaseComponent'](){return _BaseComponent;}['initCallback'](){}['__initCallback'](){var _0x53efc6;this['__initialized']||(this['__initialized']=!0x0,null==(_0x53efc6=this['initCallback'])||_0x53efc6['call'](this));}['render'](_0x525b9a,_0x333d04=this['renderShadow']){let _0x2acfbe;if(!_0x333d04&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x3b8909=this['getAttribute'](DICT['USE_TPL']);if(_0x3b8909){let _0x3af242=this['getRootNode'](),_0x3d91e4=(null==_0x3af242?void 0x0:_0x3af242['querySelector'](_0x3b8909))||document['querySelector'](_0x3b8909);_0x3d91e4?_0x525b9a=_0x3d91e4['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x3b8909+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x3b972d of this['tplProcessors'])_0x3b972d(this,this);}if(_0x525b9a||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x525b9a?void 0x0:_0x525b9a['constructor'])===DocumentFragment)_0x2acfbe=_0x525b9a;else{if((null==_0x525b9a?void 0x0:_0x525b9a['constructor'])===String){let _0x1c6c7f=document['createElement']('template');_0x1c6c7f['innerHTML']=_0x525b9a,_0x2acfbe=_0x1c6c7f['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x2acfbe=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x49b197 of this['tplProcessors'])_0x49b197(_0x2acfbe,this);}let _0x59ce5a=()=>{_0x2acfbe&&(_0x333d04&&this['shadowRoot']['appendChild'](_0x2acfbe)||this['appendChild'](_0x2acfbe)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x333d04=!0x0;let _0x400503=document['createElement']('link');_0x400503['rel']='stylesheet',_0x400503['href']=this['constructor']['__shadowStylesUrl'],_0x400503['onload']=_0x59ce5a,this['shadowRoot']['prepend'](_0x400503);}else _0x59ce5a();}['addTemplateProcessor'](_0xbd3bfa){this['tplProcessors']['add'](_0xbd3bfa);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=UID['generate'](),this['style']['setProperty'](DICT['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](DICT['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x94ab46;let _0x1ed9af=(null==(_0x94ab46=this['getAttribute'](DICT['CTX_NAME_ATTR']))?void 0x0:_0x94ab46['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x1ed9af,_0x1ed9af;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=Data['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return Data['getCtx'](this['ctxName'],!0x1)||Data['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x554d34,_0x1c6b67){let _0x417bc3,_0x1cf319;if(_0x554d34['startsWith'](DICT['EXT_DATA_CTX_PRFX']))_0x417bc3=_0x1c6b67['nodeCtx'],_0x1cf319=_0x554d34['replace'](DICT['EXT_DATA_CTX_PRFX'],'');else{if(_0x554d34['includes'](DICT['NAMED_DATA_CTX_SPLTR'])){let _0x5ea239=_0x554d34['split'](DICT['NAMED_DATA_CTX_SPLTR']);_0x417bc3=Data['getCtx'](_0x5ea239[0x0]),_0x1cf319=_0x5ea239[0x1];}else _0x417bc3=_0x1c6b67['localCtx'],_0x1cf319=_0x554d34;}return{'ctx':_0x417bc3,'name':_0x1cf319};}['sub'](_0x5193b8,_0x48847a,_0x24fdd8=!0x0){let _0x3fc11c=_0x40b770=>{this['isConnected']&&_0x48847a(_0x40b770);},_0xe075c3=_BaseComponent['__parseProp'](_0x5193b8,this);_0xe075c3['ctx']['has'](_0xe075c3['name'])?this['allSubs']['add'](_0xe075c3['ctx']['sub'](_0xe075c3['name'],_0x3fc11c,_0x24fdd8)):window['setTimeout'](()=>{this['allSubs']['add'](_0xe075c3['ctx']['sub'](_0xe075c3['name'],_0x3fc11c,_0x24fdd8));});}['notify'](_0x3ae115){let _0x9bddd6=_BaseComponent['__parseProp'](_0x3ae115,this);_0x9bddd6['ctx']['notify'](_0x9bddd6['name']);}['has'](_0x11ab02){let _0x309b63=_BaseComponent['__parseProp'](_0x11ab02,this);return _0x309b63['ctx']['has'](_0x309b63['name']);}['add'](_0x1fb3ca,_0x4f501a,_0x598854=!0x1){let _0x2fef66=_BaseComponent['__parseProp'](_0x1fb3ca,this);_0x2fef66['ctx']['add'](_0x2fef66['name'],_0x4f501a,_0x598854);}['add$'](_0x9c4c00,_0x5bb28b=!0x1){for(let _0x43f8e3 in _0x9c4c00)this['add'](_0x43f8e3,_0x9c4c00[_0x43f8e3],_0x5bb28b);}get['$'](){if(!this['__stateProxy']){let _0x8b307d=Object['create'](null);this['__stateProxy']=new Proxy(_0x8b307d,{'set':(_0x4adee0,_0x503243,_0x184b81)=>{let _0x5ea42b=_BaseComponent['__parseProp'](_0x503243,this);return _0x5ea42b['ctx']['pub'](_0x5ea42b['name'],_0x184b81),!0x0;},'get':(_0x4a1daa,_0x2ec05f)=>{let _0x548ed5=_BaseComponent['__parseProp'](_0x2ec05f,this);return _0x548ed5['ctx']['read'](_0x548ed5['name']);}});}return this['__stateProxy'];}['set$'](_0x5e3b81,_0x5e7d25=!0x1){for(let _0x344f94 in _0x5e3b81){let _0x2f931f=_0x5e3b81[_0x344f94],_0x1bf14f=[String,Number,Boolean];(_0x5e7d25||!_0x1bf14f['includes'](null==_0x2f931f?void 0x0:_0x2f931f['constructor'])||this['$'][_0x344f94]!==_0x2f931f)&&(this['$'][_0x344f94]=_0x2f931f);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](DICT['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](DICT['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x3c333e=this['constructor']['__attrDesc'];if(_0x3c333e){for(let _0x101a7d of Object['values'](_0x3c333e))Object['keys'](this['init$'])['includes'](_0x101a7d)||(this['init$'][_0x101a7d]='');}for(let _0x24b625 in this['init$'])if(_0x24b625['startsWith'](DICT['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x24b625['replace'](DICT['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x24b625],this['__ctxOwner']);else{if(_0x24b625['includes'](DICT['NAMED_DATA_CTX_SPLTR'])){let _0x15dfb3=_0x24b625['split'](DICT['NAMED_DATA_CTX_SPLTR']),_0x41bd59=_0x15dfb3[0x0]['trim'](),_0x1420cc=_0x15dfb3[0x1]['trim']();if(_0x41bd59&&_0x1420cc){let _0x58cb27=Data['getCtx'](_0x41bd59,!0x1);_0x58cb27||(_0x58cb27=Data['registerCtx']({},_0x41bd59)),_0x58cb27['add'](_0x1420cc,this['init$'][_0x24b625]);}}else this['localCtx']['add'](_0x24b625,this['init$'][_0x24b625]);}for(let _0x13c313 in this['cssInit$'])this['bindCssData'](_0x13c313,this['cssInit$'][_0x13c313]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x570209;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x2eca7d=null==(_0x570209=this['getAttribute'](DICT['CTX_NAME_ATTR']))?void 0x0:_0x570209['trim']();if(_0x2eca7d&&this['style']['setProperty'](DICT['CSS_CTX_PROP'],'\x27'+_0x2eca7d+'\x27'),this['__initDataCtx'](),this[DICT['SET_LATER_KEY']]){for(let _0x39100f in this[DICT['SET_LATER_KEY']])setNestedProp(this,_0x39100f,this[DICT['SET_LATER_KEY']][_0x39100f]);delete this[DICT['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x3472c4 of tpl_processors_default)this['addTemplateProcessor'](_0x3472c4);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x416ca4=this['getRootNode']();if(!_0x416ca4)return;if(null==_0x416ca4?void 0x0:_0x416ca4['querySelector']('link['+DICT['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x5dcf9a=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x5dcf9a['setAttribute'](DICT['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x5dcf9a['onload']=()=>{this['render']();},_0x416ca4['nodeType']===Node['DOCUMENT_NODE']?_0x416ca4['head']['appendChild'](_0x5dcf9a):_0x416ca4['prepend'](_0x5dcf9a);}else this['render']();}}this['connectedOnce']=!0x0;}}['destroyCallback'](){}['disconnectedCallback'](){this['connectedOnce']&&(this['dropCssDataCache'](),this['readyToDestroy']&&(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),this['__disconnectTimeout']=window['setTimeout'](()=>{this['destroyCallback']();for(let _0x3dcf35 of this['allSubs'])_0x3dcf35['remove'](),this['allSubs']['delete'](_0x3dcf35);for(let _0x18315a of this['tplProcessors'])this['tplProcessors']['delete'](_0x18315a);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0x2d1b76,_0x16634c=!0x1){_0x2d1b76||(autoTagsCount++,_0x2d1b76=DICT['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0x2d1b76;let _0x40fe61=window['customElements']['get'](_0x2d1b76);_0x40fe61?_0x16634c||_0x40fe61===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x2d1b76+'\x22\x20already\x20registered.','You\x27re\x20trying\x20to\x20override\x20it\x20with\x20another\x20class\x20\x22'+this['name']+'\x22.','This\x20is\x20most\x20likely\x20a\x20mistake.','New\x20element\x20will\x20not\x20be\x20registered.']['join']('\x0a')):window['customElements']['define'](_0x2d1b76,_0x16634c?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x46feec){this['observedAttributes']=Object['keys'](_0x46feec),this['__attrDesc']=_0x46feec;}['attributeChangedCallback'](_0x56c1c2,_0x49cdbb,_0x3f62e6){var _0x16c4bc;if(_0x49cdbb===_0x3f62e6)return;let _0x585b76=null==(_0x16c4bc=this['constructor']['__attrDesc'])?void 0x0:_0x16c4bc[_0x56c1c2];_0x585b76?this['__dataCtxInitialized']?this['$'][_0x585b76]=_0x3f62e6:this['init$'][_0x585b76]=_0x3f62e6:this[_0x56c1c2]=_0x3f62e6;}['getCssData'](_0x5e1ede,_0x1f0c58=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x5e1ede)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x1ef1f0=this['__computedStyle']['getPropertyValue'](_0x5e1ede)['trim']();try{this['__cssDataCache'][_0x5e1ede]=parseCssPropertyValue(_0x1ef1f0);}catch(_0x44ca3d){!_0x1f0c58&&console['warn']('CSS\x20Data\x20error:\x20'+_0x5e1ede),this['__cssDataCache'][_0x5e1ede]=null;}}return this['__cssDataCache'][_0x5e1ede];}['__extractCssName'](_0x4543d3){return _0x4543d3['split']('--')['map']((_0x5d0287,_0x562ea0)=>0x0===_0x562ea0?'':_0x5d0287)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x7ffbab=>{'attributes'===_0x7ffbab[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x899853=>{_0x899853();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x2c62a4,_0x5148f3=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x2c62a4);let _0x152588=this['getCssData'](this['__extractCssName'](_0x2c62a4),!0x0);null===_0x152588&&(_0x152588=_0x5148f3),this['add'](_0x2c62a4,_0x152588),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0xdb4784,_0x500f18,_0x436a56){let _0x4acf00='__'+_0xdb4784;this[_0x4acf00]=this[_0xdb4784],Object['defineProperty'](this,_0xdb4784,{'set':_0x41f432=>{this[_0x4acf00]=_0x41f432,_0x436a56?window['setTimeout'](()=>{null==_0x500f18||_0x500f18(_0x41f432);}):null==_0x500f18||_0x500f18(_0x41f432);},'get':()=>this[_0x4acf00]}),this[_0xdb4784]=this[_0x4acf00];}static set['shadowStyles'](_0x5e0c9a){let _0x19f2d5=new Blob([_0x5e0c9a],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x19f2d5);}static set['rootStyles'](_0x5832ca){if(!this['__rootStylesLink']){let _0xdf62d1=new Blob([_0x5832ca],{'type':'text/css'}),_0x5509de=URL['createObjectURL'](_0xdf62d1),_0x7d1542=document['createElement']('link');_0x7d1542['href']=_0x5509de,_0x7d1542['rel']='stylesheet',this['__rootStylesLink']=_0x7d1542;}}},BaseComponent=_BaseComponent;function applyStyles(_0x4d9aff,_0x254f9c){for(let _0x1991f7 in _0x254f9c)_0x1991f7['includes']('-')?_0x4d9aff['style']['setProperty'](_0x1991f7,_0x254f9c[_0x1991f7]):_0x4d9aff['style'][_0x1991f7]=_0x254f9c[_0x1991f7];}function applyAttributes(_0x201cf3,_0x44ca77){for(let _0x5307fe in _0x44ca77)_0x44ca77[_0x5307fe]['constructor']===Boolean?_0x44ca77[_0x5307fe]?_0x201cf3['setAttribute'](_0x5307fe,''):_0x201cf3['removeAttribute'](_0x5307fe):_0x201cf3['setAttribute'](_0x5307fe,_0x44ca77[_0x5307fe]);}function create(_0xb7a259={'tag':'div'}){let _0x36381b=document['createElement'](_0xb7a259['tag']);if(_0xb7a259['attributes']&&applyAttributes(_0x36381b,_0xb7a259['attributes']),_0xb7a259['styles']&&applyStyles(_0x36381b,_0xb7a259['styles']),_0xb7a259['properties']){for(let _0x26a87b in _0xb7a259['properties'])_0x36381b[_0x26a87b]=_0xb7a259['properties'][_0x26a87b];}return _0xb7a259['processors']&&_0xb7a259['processors']['forEach'](_0x1785ae=>{_0x1785ae(_0x36381b);}),_0xb7a259['children']&&_0xb7a259['children']['forEach'](_0x206201=>{let _0x33b643=create(_0x206201);_0x36381b['appendChild'](_0x33b643);}),_0x36381b;}__publicField(BaseComponent,'template');var READY_EVENT_NAME='idb-store-ready',DEFAULT_DB_NAME='symbiote-db',UPD_EVENT_PREFIX='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x26d372=null){window['dispatchEvent'](new CustomEvent(READY_EVENT_NAME,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x26d372}}));}get['_updEventName'](){return UPD_EVENT_PREFIX+this['name'];}['_getUpdateEvent'](_0x42cb91){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x42cb91}});}['_notifySubscribers'](_0x510ec5){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x510ec5),window['dispatchEvent'](this['_getUpdateEvent'](_0x510ec5));}constructor(_0x547198,_0x5df232){this['name']=_0x547198,this['storeName']=_0x5df232,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x5877a0=>{this['db']=_0x5877a0['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x5df232,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x13cf8f=>{this['_notifyWhenReady'](_0x13cf8f);};},this['request']['onsuccess']=_0x4e422=>{this['db']=_0x4e422['target']['result'],this['_notifyWhenReady'](_0x4e422);},this['request']['onerror']=_0x1633ea=>{console['error'](_0x1633ea);},this['_subscriptionsMap']={},this['_updateHandler']=_0x4bc8b1=>{_0x4bc8b1['key']===this['name']&&this['_subscriptionsMap'][_0x4bc8b1['newValue']]&&this['_subscriptionsMap'][_0x4bc8b1['newValue']]['forEach'](async _0x5cf0d2=>{_0x5cf0d2(await this['read'](_0x4bc8b1['newValue']));});},this['_localUpdateHandler']=_0x546944=>{this['_updateHandler'](_0x546944['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x121088){let _0x4db3fd=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x121088);return new Promise((_0x5db17c,_0x310178)=>{_0x4db3fd['onsuccess']=_0x146632=>{var _0xa3fae3;(null==(_0xa3fae3=_0x146632['target']['result'])?void 0x0:_0xa3fae3['_value'])?_0x5db17c(_0x146632['target']['result']['_value']):(_0x5db17c(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x121088+'\x22'));},_0x4db3fd['onerror']=_0x1da891=>{_0x310178(_0x1da891);};});}['write'](_0x505ef6,_0x57d83c,_0x90e9dd=!0x1){let _0x15d7bc={'_key':_0x505ef6,'_value':_0x57d83c},_0x542c8d=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x15d7bc);return new Promise((_0x459d33,_0x15aad7)=>{_0x542c8d['onsuccess']=_0x286e7b=>{_0x90e9dd||this['_notifySubscribers'](_0x505ef6),_0x459d33(_0x286e7b['target']['result']);},_0x542c8d['onerror']=_0x111d9a=>{_0x15aad7(_0x111d9a);};});}['delete'](_0x2e1e84,_0x5cd8b7=!0x1){let _0x1bf947=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x2e1e84);return new Promise((_0x1f0f67,_0x27b92a)=>{_0x1bf947['onsuccess']=_0x717fb5=>{_0x5cd8b7||this['_notifySubscribers'](_0x2e1e84),_0x1f0f67(_0x717fb5);},_0x1bf947['onerror']=_0x57a07b=>{_0x27b92a(_0x57a07b);};});}['getAll'](){let _0x3c66a7=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x567b81,_0x1f6943)=>{_0x3c66a7['onsuccess']=_0x51f9b4=>{let _0x1cf74e=_0x51f9b4['target']['result'];_0x567b81(_0x1cf74e['map'](_0x4646dd=>_0x4646dd['_value']));},_0x3c66a7['onerror']=_0x2d8552=>{_0x1f6943(_0x2d8552);};});}['subscribe'](_0x50a2f9,_0x5cfd7f){this['_subscriptionsMap'][_0x50a2f9]||(this['_subscriptionsMap'][_0x50a2f9]=new Set());let _0x3a0de3=this['_subscriptionsMap'][_0x50a2f9];return _0x3a0de3['add'](_0x5cfd7f),{'remove':()=>{_0x3a0de3['delete'](_0x5cfd7f),_0x3a0de3['size']||delete this['_subscriptionsMap'][_0x50a2f9];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,IDB['clear'](this['name']);}},IDB=class{static get['readyEventName'](){return READY_EVENT_NAME;}static['open'](_0x5975a7=DEFAULT_DB_NAME,_0x55de16='store'){let _0x283b99=_0x5975a7+'/'+_0x55de16;return this['_reg'][_0x283b99]||(this['_reg'][_0x283b99]=new DbInstance(_0x5975a7,_0x55de16)),this['_reg'][_0x283b99];}static['clear'](_0x998796){window['indexedDB']['deleteDatabase'](_0x998796);for(let _0x3b55a0 in this['_reg'])_0x3b55a0['split']('/')[0x0]===_0x998796&&delete this['_reg'][_0x3b55a0];}};__publicField(IDB,'_reg',Object['create'](null));const normalizeCdnOperation=_0x3207ca=>{if('string'!=typeof _0x3207ca||!_0x3207ca)return'';let _0x49b29c=_0x3207ca['trim']();return _0x49b29c['startsWith']('-/')?_0x49b29c=_0x49b29c['slice'](0x2):_0x49b29c['startsWith']('/')&&(_0x49b29c=_0x49b29c['slice'](0x1)),_0x49b29c['endsWith']('/')&&(_0x49b29c=_0x49b29c['slice'](0x0,_0x49b29c['length']-0x1)),_0x49b29c;},joinCdnOperations=(..._0x21203f)=>_0x21203f['filter'](_0xdeadd3=>'string'==typeof _0xdeadd3&&_0xdeadd3)['map'](_0x3a0886=>normalizeCdnOperation(_0x3a0886))['join']('/-/'),createCdnUrlModifiers=(..._0x80521b)=>{let _0x4ef66b=joinCdnOperations(..._0x80521b);return _0x4ef66b?'-/'+_0x4ef66b+'/':'';};function extractFilename(_0x1e187b){let _0xb9591=new URL(_0x1e187b),_0x1548ca=_0xb9591['pathname']+_0xb9591['search']+_0xb9591['hash'],_0x455e3f=_0x1548ca['lastIndexOf']('http'),_0x26e3c5=_0x1548ca['lastIndexOf']('/'),_0x3dbb35='';return _0x455e3f>=0x0?_0x3dbb35=_0x1548ca['slice'](_0x455e3f):_0x26e3c5>=0x0&&(_0x3dbb35=_0x1548ca['slice'](_0x26e3c5+0x1)),_0x3dbb35;}function extractUuid(_0x11a14a){let _0x567e85=new URL(_0x11a14a),{pathname:_0x2aebbc}=_0x567e85;const _0x1f3316=_0x2aebbc['indexOf']('/'),_0x5113a5=_0x2aebbc['indexOf']('/',_0x1f3316+0x1);return _0x2aebbc['substring'](_0x1f3316+0x1,_0x5113a5);}function extractCdnUrlModifiers(_0x209943){let _0x345791=trimFilename(_0x209943),_0x1aa3e6=new URL(_0x345791),_0x4a69f9=_0x1aa3e6['pathname']['indexOf']('/-/');return-0x1===_0x4a69f9?'':_0x1aa3e6['pathname']['substring'](_0x4a69f9)['slice'](0x1);}function extractOperations(_0x18eb34){return extractCdnUrlModifiers(_0x18eb34)['split']('/-/')['filter'](Boolean)['map'](_0x26c693=>normalizeCdnOperation(_0x26c693));}function trimFilename(_0x4e29be){let _0x19c010=new URL(_0x4e29be),_0x3bf462=extractFilename(_0x4e29be),_0x1f27ad=isFileUrl(_0x3bf462)?splitFileUrl(_0x3bf462)['pathname']:_0x3bf462;return _0x19c010['pathname']=_0x19c010['pathname']['replace'](_0x1f27ad,''),_0x19c010['search']='',_0x19c010['hash']='',_0x19c010['toString']();}function isFileUrl(_0x590f57){return _0x590f57['startsWith']('http');}function splitFileUrl(_0x202d4e){let _0x56d4f6=new URL(_0x202d4e);return{'pathname':_0x56d4f6['origin']+_0x56d4f6['pathname']||'','search':_0x56d4f6['search']||'','hash':_0x56d4f6['hash']||''};}const createCdnUrl=(_0x3e0020,_0x206210,_0x5e4971)=>{let _0x40dc97=new URL(trimFilename(_0x3e0020));if(_0x5e4971=_0x5e4971||extractFilename(_0x3e0020),_0x40dc97['pathname']['startsWith']('//')&&(_0x40dc97['pathname']=_0x40dc97['pathname']['replace']('//','/')),isFileUrl(_0x5e4971)){let _0x2c49b8=splitFileUrl(_0x5e4971);_0x40dc97['pathname']=_0x40dc97['pathname']+(_0x206210||'')+(_0x2c49b8['pathname']||''),_0x40dc97['search']=_0x2c49b8['search'],_0x40dc97['hash']=_0x2c49b8['hash'];}else _0x40dc97['pathname']=_0x40dc97['pathname']+(_0x206210||'')+(_0x5e4971||'');return _0x40dc97['toString']();},createOriginalUrl=(_0x47fa6c,_0x386c52)=>{let _0x539b14=new URL(_0x47fa6c);return _0x539b14['pathname']=_0x386c52+'/',_0x539b14['toString']();},stringToArray=(_0x2b3a9b,_0x204971=',')=>_0x2b3a9b['trim']()['split'](_0x204971)['map'](_0x143634=>_0x143634['trim']())['filter'](_0x512f70=>_0x512f70['length']>0x0),OPERATIONS_DEFAULTS=Object['freeze']({'brightness':0x0,'exposure':0x0,'gamma':0x64,'contrast':0x0,'saturation':0x0,'vibrance':0x0,'warmth':0x0,'enhance':0x0,'filter':0x0,'rotate':0x0,'mirror':!0x1,'flip':!0x1,'crop':void 0x0}),SUPPORTED_OPERATIONS_ORDERED=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0x2a63ce,_0x34b417){if('number'==typeof _0x34b417){const _0x3230c6=_0x34b417;return OPERATIONS_DEFAULTS[_0x2a63ce]!==_0x3230c6?_0x2a63ce+'/'+_0x3230c6:'';}if('boolean'==typeof _0x34b417){const _0x4fd951=_0x34b417;return OPERATIONS_DEFAULTS[_0x2a63ce]!==_0x4fd951?''+_0x2a63ce:'';}if('filter'===_0x2a63ce&&_0x34b417){const {name:_0x41a050,amount:_0x383399}=_0x34b417;return OPERATIONS_DEFAULTS['filter']===_0x383399?'':_0x2a63ce+'/'+_0x41a050+'/'+_0x383399;}if('crop'===_0x2a63ce&&_0x34b417){let {dimensions:_0x4a38bf,coords:_0x42c2dd}=_0x34b417;return _0x2a63ce+'/'+_0x4a38bf['join']('x')+'/'+_0x42c2dd['join'](',');}return'';}function transformationsToOperations(_0x3a4580){return joinCdnOperations(...SUPPORTED_OPERATIONS_ORDERED['filter'](_0x62fe4f=>void 0x0!==_0x3a4580[_0x62fe4f]&&null!==_0x3a4580[_0x62fe4f])['map'](_0x190a99=>transformationToStr(_0x190a99,_0x3a4580[_0x190a99]))['filter'](_0x1327d5=>!!_0x1327d5));}const COMMON_OPERATIONS=joinCdnOperations('format/auto','progressive/yes'),asNumber$1=([_0x374425])=>void 0x0!==_0x374425?Number(_0x374425):void 0x0,asBoolean$1=()=>!0x0,asFilter=([_0x2764cf,_0x468d23])=>({'name':_0x2764cf,'amount':void 0x0!==_0x468d23?Number(_0x468d23):0x64}),asCrop=([_0x24924e,_0x4de362])=>{if(!/\d+x\d+/['test'](_0x24924e)||!/\d+,\d+/['test'](_0x4de362))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x24924e,'x')['map'](Number),'coords':stringToArray(_0x4de362)['map'](Number)};},OPERATION_PROCESSORS=Object['freeze']({'enhance':asNumber$1,'brightness':asNumber$1,'exposure':asNumber$1,'gamma':asNumber$1,'contrast':asNumber$1,'saturation':asNumber$1,'vibrance':asNumber$1,'warmth':asNumber$1,'filter':asFilter,'mirror':asBoolean$1,'flip':asBoolean$1,'rotate':asNumber$1,'crop':asCrop});function operationsToTransformations(_0x28cacf){const _0xb66699={};for(const _0x2b5bae of _0x28cacf){const [_0xadf6eb,..._0x4e511e]=_0x2b5bae['split']('/');if(!SUPPORTED_OPERATIONS_ORDERED['includes'](_0xadf6eb))continue;const _0x5c5f27=_0xadf6eb,_0x4b65d2=OPERATION_PROCESSORS[_0x5c5f27];try{const _0x38b849=_0x4b65d2(_0x4e511e);_0xb66699[_0x5c5f27]=_0x38b849;}catch(_0x2c6ccf){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x2b5bae+'\x22.\x20It\x20will\x20be\x20ignored.',_0x2c6ccf instanceof Error?'Error\x20message:\x20\x22'+_0x2c6ccf['message']+'\x22':_0x2c6ccf,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0xb66699;}const TabId=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),ALL_TABS=[TabId['CROP'],TabId['TUNING'],TabId['FILTERS']],ALL_COLOR_OPERATIONS=['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance'],ALL_FILTERS=['adaris','briaril','calarel','carris','cynarel','cyren','elmet','elonni','enzana','erydark','fenralan','ferand','galen','gavin','gethriel','iorill','iothari','iselva','jadis','lavra','misiara','namala','nerion','nethari','pamaya','sarnar','sedis','sewen','sorahel','sorlen','tarian','thellassan','varriel','varven','vevera','virkas','yedis','yllara','zatvel','zevcen'],ALL_CROP_OPERATIONS=['rotate','mirror','flip'],COLOR_OPERATIONS_CONFIG=Object['freeze']({'brightness':{'zero':OPERATIONS_DEFAULTS['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':OPERATIONS_DEFAULTS['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':OPERATIONS_DEFAULTS['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':OPERATIONS_DEFAULTS['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':OPERATIONS_DEFAULTS['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':OPERATIONS_DEFAULTS['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':OPERATIONS_DEFAULTS['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':OPERATIONS_DEFAULTS['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':OPERATIONS_DEFAULTS['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),deserealizeCsv=_0x51bc30=>_0x51bc30?_0x51bc30['split'](',')['map'](_0x3399f2=>_0x3399f2['trim']()):[],serializeCsv=_0x13c71b=>_0x13c71b?_0x13c71b['join'](','):'',DEFAULT_CDN_CNAME='https://ucarecdn.com',DEFAULT_BASE_URL='https://upload.uploadcare.com',DEFAULT_SOCIAL_BASE_URL='https://social.uploadcare.com',initialConfig={'pubkey':'','multiple':!0x0,'multipleMin':0x0,'multipleMax':Number['MAX_SAFE_INTEGER'],'confirmUpload':!0x1,'imgOnly':!0x1,'accept':'','externalSourcesPreferredTypes':'','externalSourcesEmbedCss':'','store':'auto','cameraMirror':!0x1,'cameraCapture':'','sourceList':'local,\x20url,\x20camera,\x20dropbox,\x20gdrive','cloudImageEditorTabs':serializeCsv(ALL_TABS),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':DEFAULT_CDN_CNAME,'baseUrl':DEFAULT_BASE_URL,'socialBaseUrl':DEFAULT_SOCIAL_BASE_URL,'secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0x1,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0xa,'multipartMaxConcurrentRequests':0x4,'multipartMaxAttempts':0x3,'checkForUrlDuplicates':!0x1,'saveUrlForRecurrentUploads':!0x1,'groupOutput':!0x1,'userAgentIntegration':'','debug':!0x1,'metadata':null,'localeName':'en','localeDefinitionOverride':null,'secureUploadsExpireThreshold':0x927c0,'secureUploadsSignatureResolver':null,'secureDeliveryProxyUrlResolver':null,'iconHrefResolver':null,'fileValidators':[],'collectionValidators':[],'defaultCameraMode':'photo','enableAudioRecording':!0x0,'enableVideoRecording':!0x0,'maxVideoRecordingDuration':null,'mediaRecorerOptions':null},DEFAULT_DEBOUNCE_TIMEOUT=0x14,EventType=Object['freeze']({'FILE_ADDED':'file-added','FILE_REMOVED':'file-removed','FILE_UPLOAD_START':'file-upload-start','FILE_UPLOAD_PROGRESS':'file-upload-progress','FILE_UPLOAD_SUCCESS':'file-upload-success','FILE_UPLOAD_FAILED':'file-upload-failed','FILE_URL_CHANGED':'file-url-changed','MODAL_OPEN':'modal-open','MODAL_CLOSE':'modal-close','DONE_CLICK':'done-click','UPLOAD_CLICK':'upload-click','ACTIVITY_CHANGE':'activity-change','COMMON_UPLOAD_START':'common-upload-start','COMMON_UPLOAD_PROGRESS':'common-upload-progress','COMMON_UPLOAD_SUCCESS':'common-upload-success','COMMON_UPLOAD_FAILED':'common-upload-failed','CHANGE':'change','GROUP_CREATED':'group-created'});class EventEmitter{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x1097da){this['_debugPrint']=_0x1097da;}['bindTarget'](_0x909a17){this['_targets']['add'](_0x909a17);}['unbindTarget'](_0x105cbc){this['_targets']['delete'](_0x105cbc);}['_dispatch'](_0x816be3,_0xb93672){for(const _0x34c047 of this['_targets'])_0x34c047['dispatchEvent'](new CustomEvent(_0x816be3,{'detail':_0xb93672}));this['_debugPrint']?.(()=>{const _0x1067f4=_0xb93672&&'object'==typeof _0xb93672?{..._0xb93672}:_0xb93672;return['event\x20\x22'+_0x816be3+'\x22',_0x1067f4];});}['emit'](_0x42fd4d,_0x406d22,{debounce:_0x284c0c}={}){if('number'!=typeof _0x284c0c&&!_0x284c0c)return void this['_dispatch'](_0x42fd4d,'function'==typeof _0x406d22?_0x406d22():_0x406d22);this['_timeoutStore']['has'](_0x42fd4d)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x42fd4d));const _0x66bc26='number'==typeof _0x284c0c?_0x284c0c:DEFAULT_DEBOUNCE_TIMEOUT,_0x1645b1=window['setTimeout'](()=>{this['_dispatch'](_0x42fd4d,'function'==typeof _0x406d22?_0x406d22():_0x406d22),this['_timeoutStore']['delete'](_0x42fd4d);},_0x66bc26);this['_timeoutStore']['set'](_0x42fd4d,_0x1645b1);}}function debounce(_0x31718f,_0x3960cb){let _0x1e18a8;const _0xe7bae1=(..._0x38ab95)=>{clearTimeout(_0x1e18a8),_0x1e18a8=setTimeout(()=>_0x31718f(..._0x38ab95),_0x3960cb);};return _0xe7bae1['cancel']=()=>{clearTimeout(_0x1e18a8);},_0xe7bae1;}const WINDOW_HEIGHT_TRACKER_PROPERTY='--uploadcare-blocks-window-height';class WindowHeightTracker{static ['clientsRegistry']=new Set();static ['flush']=debounce(()=>{document['documentElement']['style']['setProperty'](WINDOW_HEIGHT_TRACKER_PROPERTY,window['innerHeight']+'px');},0x64);static['registerClient'](_0x53077b){0x0===this['clientsRegistry']['size']&&this['attachTracker'](),this['clientsRegistry']['add'](_0x53077b);}static['unregisterClient'](_0x10b26a){this['clientsRegistry']['delete'](_0x10b26a),0x0===this['clientsRegistry']['size']&&this['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',this['flush'],{'passive':!0x0,'capture':!0x0}),this['flush']();}static['detachTracker'](){window['removeEventListener']('resize',this['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](WINDOW_HEIGHT_TRACKER_PROPERTY);}}const getLocaleDirection=_0x287b0c=>{const _0x11b65d=new Intl['Locale'](_0x287b0c);let _0x4ab294='ltr';return'function'==typeof _0x11b65d['getTextInfo']&&_0x11b65d['getTextInfo']()['direction']?_0x4ab294=_0x11b65d['getTextInfo']()['direction']:'textInfo'in _0x11b65d&&_0x11b65d['textInfo']?.['direction']&&(_0x4ab294=_0x11b65d['textInfo']['direction']),_0x4ab294;},getPluralForm=(_0x262b6c,_0x96b1a4)=>new Intl['PluralRules'](_0x262b6c)['select'](_0x96b1a4),DEFAULT_TRANSFORMER=_0x42a222=>_0x42a222,OPEN_TOKEN='{{',CLOSE_TOKEN='}}',PLURAL_PREFIX='plural:';function applyTemplateData(_0x314cfe,_0x195098,_0x3fa67b={}){let {openToken:_0x1e0cfc=OPEN_TOKEN,closeToken:_0x5d6f36=CLOSE_TOKEN,transform:_0x429b2e=DEFAULT_TRANSFORMER}=_0x3fa67b;for(let _0xff396e in _0x195098){let _0x497426=_0x195098[_0xff396e]?.['toString']();_0x314cfe=_0x314cfe['replaceAll'](_0x1e0cfc+_0xff396e+_0x5d6f36,'string'==typeof _0x497426?_0x429b2e(_0x497426):_0x497426);}return _0x314cfe;}function getPluralObjects(_0x342a60){const _0xb29fb4=[];let _0x204828=_0x342a60['indexOf'](OPEN_TOKEN);for(;-0x1!==_0x204828;){const _0x4690fb=_0x342a60['indexOf'](CLOSE_TOKEN,_0x204828),_0x14f940=_0x342a60['substring'](_0x204828+0x2,_0x4690fb);if(_0x14f940['startsWith'](PLURAL_PREFIX)){const _0x2906de=_0x342a60['substring'](_0x204828+0x2,_0x4690fb)['replace'](PLURAL_PREFIX,''),_0x2128df=_0x2906de['substring'](0x0,_0x2906de['indexOf']('(')),_0x1a984d=_0x2906de['substring'](_0x2906de['indexOf']('(')+0x1,_0x2906de['indexOf'](')'));_0xb29fb4['push']({'variable':_0x14f940,'pluralKey':_0x2128df,'countVariable':_0x1a984d});}_0x204828=_0x342a60['indexOf'](OPEN_TOKEN,_0x4690fb);}return _0xb29fb4;}const waitForAttribute=({element:_0x7e2b3b,attribute:_0x14c5ce,onSuccess:_0x517472,onTimeout:_0x12099d,timeout:_0x436584=0x12c})=>{const _0x480a5f=_0x7e2b3b['getAttribute'](_0x14c5ce);if(null!==_0x480a5f)return void _0x517472(_0x480a5f);const _0x1cb0ee=new MutationObserver(_0x21addc=>{const _0x4161f8=_0x21addc[_0x21addc['length']-0x1];_0x3e3e44(_0x4161f8);});_0x1cb0ee['observe'](_0x7e2b3b,{'attributes':!0x0,'attributeFilter':[_0x14c5ce]});const _0xaae4b3=setTimeout(()=>{_0x1cb0ee['disconnect'](),_0x12099d();},_0x436584),_0x3e3e44=_0x161966=>{const _0x3650f4=_0x7e2b3b['getAttribute'](_0x14c5ce);'attributes'===_0x161966['type']&&_0x161966['attributeName']===_0x14c5ce&&null!==_0x3650f4&&(clearTimeout(_0xaae4b3),_0x1cb0ee['disconnect'](),_0x517472(_0x3650f4));};};function isObject(_0x448fdb){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x448fdb);}const SEPARATOR=/\W|_/g;function camelizeString(_0x2e4779){return _0x2e4779['split'](SEPARATOR)['map']((_0x5ae6fd,_0x1ad462)=>_0x5ae6fd['charAt'](0x0)[_0x1ad462>0x0?'toUpperCase':'toLowerCase']()+_0x5ae6fd['slice'](0x1))['join']('');}function camelizeArrayItems(_0x45ba2b,{ignoreKeys:_0x35e8f4}={'ignoreKeys':[]}){return Array['isArray'](_0x45ba2b)?_0x45ba2b['map'](_0x135ae4=>camelizeKeys(_0x135ae4,{'ignoreKeys':_0x35e8f4})):_0x45ba2b;}function camelizeKeys(_0x10782e,{ignoreKeys:_0x42fb6c}={'ignoreKeys':[]}){if(Array['isArray'](_0x10782e))return camelizeArrayItems(_0x10782e,{'ignoreKeys':_0x42fb6c});if(!isObject(_0x10782e))return _0x10782e;const _0x4751b1={};for(const _0x3268ea of Object['keys'](_0x10782e)){let _0x47ce68=_0x10782e[_0x3268ea];_0x42fb6c['includes'](_0x3268ea)?_0x4751b1[_0x3268ea]=_0x47ce68:(isObject(_0x47ce68)?_0x47ce68=camelizeKeys(_0x47ce68,{'ignoreKeys':_0x42fb6c}):Array['isArray'](_0x47ce68)&&(_0x47ce68=camelizeArrayItems(_0x47ce68,{'ignoreKeys':_0x42fb6c})),_0x4751b1[camelizeString(_0x3268ea)]=_0x47ce68);}return _0x4751b1;}const delay=_0x854b19=>new Promise(_0x288610=>setTimeout(_0x288610,_0x854b19));function getUserAgent$1({libraryName:_0x51ed15,libraryVersion:_0x7b5800,userAgent:_0x1ca7fb,publicKey:_0x470ad6='',integration:_0x18109c=''}){const _0x5aec36='JavaScript';if('string'==typeof _0x1ca7fb)return _0x1ca7fb;if('function'==typeof _0x1ca7fb)return _0x1ca7fb({'publicKey':_0x470ad6,'libraryName':_0x51ed15,'libraryVersion':_0x7b5800,'languageName':_0x5aec36,'integration':_0x18109c});return[_0x51ed15,_0x7b5800,_0x470ad6]['filter'](Boolean)['join']('/')+'\x20('+[_0x5aec36,_0x18109c]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x155a69,_0x1eeb6b=defaultOptions){let _0x3d4768=0x0;return function _0x3f9de7(_0x7ee2ed){const _0x43ffd8=Math['round'](_0x1eeb6b['time']*_0x1eeb6b['factor']**_0x3d4768);return _0x7ee2ed({'attempt':_0x3d4768,'retry':_0x481103=>delay(_0x481103??_0x43ffd8)['then'](()=>(_0x3d4768+=0x1,_0x3f9de7(_0x7ee2ed)))});}(_0x155a69);}class UploadcareError extends Error{}class NetworkError extends UploadcareError{['originalProgressEvent'];constructor(_0x597020){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x597020;}}const onCancel=(_0xaa9b48,_0x188fc9)=>{_0xaa9b48&&(_0xaa9b48['aborted']?Promise['resolve']()['then'](_0x188fc9):_0xaa9b48['addEventListener']('abort',()=>_0x188fc9(),{'once':!0x0}));};class CancelError extends UploadcareError{['isCancel']=!0x0;constructor(_0x3a99ce='Request\x20canceled'){super(_0x3a99ce),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}}const DEFAULT_INTERVAL=0x1f4,poll=({check:_0x467a26,interval:_0x3ec7f4=DEFAULT_INTERVAL,timeout:_0x474107,signal:_0x16831f})=>new Promise((_0x12456c,_0x38a386)=>{let _0x395ff6,_0x1844a3;onCancel(_0x16831f,()=>{_0x395ff6&&clearTimeout(_0x395ff6),_0x38a386(new CancelError('Poll\x20cancelled'));}),_0x474107&&(_0x1844a3=setTimeout(()=>{_0x395ff6&&clearTimeout(_0x395ff6),_0x38a386(new CancelError('Timed\x20out'));},_0x474107));const _0x588c35=()=>{try{Promise['resolve'](_0x467a26(_0x16831f))['then'](_0x57039f=>{_0x57039f?(_0x1844a3&&clearTimeout(_0x1844a3),_0x12456c(_0x57039f)):_0x395ff6=setTimeout(_0x588c35,_0x3ec7f4);})['catch'](_0x13b262=>{_0x1844a3&&clearTimeout(_0x1844a3),_0x38a386(_0x13b262);});}catch(_0x2bffc9){_0x1844a3&&clearTimeout(_0x1844a3),_0x38a386(_0x2bffc9);}};_0x395ff6=setTimeout(_0x588c35,0x0);}),defaultSettings={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType='application/octet-stream',defaultFilename='original',request=({method:_0x23ff56,url:_0x516c2d,data:_0x35fdf4,headers:_0x138774={},signal:_0x1d76d6,onProgress:_0x38a5d2})=>new Promise((_0x430573,_0x12f48f)=>{const _0x2b80b6=new XMLHttpRequest(),_0x3d779f=_0x23ff56?.['toUpperCase']()||'GET';let _0x56a924=!0x1;_0x2b80b6['open'](_0x3d779f,_0x516c2d,!0x0),_0x138774&&Object['entries'](_0x138774)['forEach'](_0x1bdd28=>{const [_0x4c8a1e,_0x3da7ed]=_0x1bdd28;void 0x0!==_0x3da7ed&&!Array['isArray'](_0x3da7ed)&&_0x2b80b6['setRequestHeader'](_0x4c8a1e,_0x3da7ed);}),_0x2b80b6['responseType']='text',onCancel(_0x1d76d6,()=>{_0x56a924=!0x0,_0x2b80b6['abort'](),_0x12f48f(new CancelError());}),_0x2b80b6['onload']=()=>{if(0xc8!=_0x2b80b6['status'])_0x12f48f(new Error('Error\x20'+_0x2b80b6['status']+':\x20'+_0x2b80b6['statusText']));else{const _0x33efa9={'method':_0x3d779f,'url':_0x516c2d,'data':_0x35fdf4,'headers':_0x138774||void 0x0,'signal':_0x1d76d6,'onProgress':_0x38a5d2},_0x474f50=_0x2b80b6['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x1cbf83={};_0x474f50['forEach'](function(_0x490bbd){const _0x455302=_0x490bbd['split'](':\x20'),_0x4c3212=_0x455302['shift'](),_0x483b59=_0x455302['join'](':\x20');_0x4c3212&&void 0x0!==_0x4c3212&&(_0x1cbf83[_0x4c3212]=_0x483b59);});const _0x2c8efa=_0x2b80b6['response'],_0x17fad5=_0x2b80b6['status'];_0x430573({'request':_0x33efa9,'data':_0x2c8efa,'headers':_0x1cbf83,'status':_0x17fad5});}},_0x2b80b6['onerror']=_0x31cd66=>{_0x56a924||_0x12f48f(new NetworkError(_0x31cd66));},_0x38a5d2&&'function'==typeof _0x38a5d2&&(_0x2b80b6['upload']['onprogress']=_0x40878c=>{_0x40878c['lengthComputable']?_0x38a5d2({'isComputable':!0x0,'value':_0x40878c['loaded']/_0x40878c['total']}):_0x38a5d2({'isComputable':!0x1});}),_0x35fdf4?_0x2b80b6['send'](_0x35fdf4):_0x2b80b6['send']();});function identity(_0x22e001,..._0x49827f){return _0x22e001;}const getFileOptions=({name:_0x22a63e})=>_0x22a63e?[_0x22a63e]:[],transformFile=identity;var getFormData=()=>new FormData();const isBuffer=_0x426218=>!0x1,isBlob=_0x59bacd=>'undefined'!=typeof Blob&&_0x59bacd instanceof Blob,isFile=_0x459b74=>'undefined'!=typeof File&&_0x459b74 instanceof File,isReactNativeAsset=_0x22530c=>!!_0x22530c&&'object'==typeof _0x22530c&&!Array['isArray'](_0x22530c)&&'uri'in _0x22530c&&'string'==typeof _0x22530c['uri'],isFileData=_0x42956b=>isBlob(_0x42956b)||isFile(_0x42956b)||isBuffer()||isReactNativeAsset(_0x42956b),isSimpleValue=_0x2db2dd=>'string'==typeof _0x2db2dd||'number'==typeof _0x2db2dd||void 0x0===_0x2db2dd,isObjectValue=_0x32e581=>!!_0x32e581&&'object'==typeof _0x32e581&&!Array['isArray'](_0x32e581),isFileValue=_0x1e621a=>!!_0x1e621a&&'object'==typeof _0x1e621a&&'data'in _0x1e621a&&isFileData(_0x1e621a['data']);function collectParams(_0x2bde8f,_0x47449c,_0x2ab1eb){if(Array['isArray'](_0x2ab1eb)){for(const _0x29c9d4 of _0x2ab1eb)collectParams(_0x2bde8f,_0x47449c+'[]',_0x29c9d4);}else{if(isFileValue(_0x2ab1eb)){const {name:_0x2f8f7e,contentType:_0xea764e}=_0x2ab1eb,_0x39abfa=transformFile(_0x2ab1eb['data'],_0x2f8f7e,_0xea764e??defaultContentType),_0x2f822b=getFileOptions({'name':_0x2f8f7e});_0x2bde8f['push']([_0x47449c,_0x39abfa,..._0x2f822b]);}else{if(isObjectValue(_0x2ab1eb)){for(const [_0x37b009,_0x19aa1b]of Object['entries'](_0x2ab1eb))void 0x0!==_0x19aa1b&&_0x2bde8f['push']([_0x47449c+'['+_0x37b009+']',String(_0x19aa1b)]);}else isSimpleValue(_0x2ab1eb)&&_0x2ab1eb&&_0x2bde8f['push']([_0x47449c,_0x2ab1eb['toString']()]);}}}function getFormDataParams(_0x526696){const _0x3be290=[];for(const [_0x56bf44,_0x2cf45e]of Object['entries'](_0x526696))collectParams(_0x3be290,_0x56bf44,_0x2cf45e);return _0x3be290;}function buildFormData(_0x57be21){const _0x110c93=getFormData(),_0xc9841c=getFormDataParams(_0x57be21);for(const _0x36b1ed of _0xc9841c){const [_0xf0a221,_0x15fba5,..._0x460caa]=_0x36b1ed;_0x110c93['append'](_0xf0a221,_0x15fba5,..._0x460caa);}return _0x110c93;}class UploadError extends UploadcareError{['code'];['request'];['response'];['headers'];constructor(_0x4248fa,_0x438261,_0x4edb54,_0x338e22,_0x5d6c29){super(),this['name']='UploadError',this['message']=_0x4248fa,this['code']=_0x438261,this['request']=_0x4edb54,this['response']=_0x338e22,this['headers']=_0x5d6c29,Object['setPrototypeOf'](this,UploadError['prototype']);}}const buildSearchParams=_0x306e91=>{const _0xcc61d2=new URLSearchParams();for(const [_0x444207,_0x31042f]of Object['entries'](_0x306e91))_0x31042f&&'object'==typeof _0x31042f&&!Array['isArray'](_0x31042f)?Object['entries'](_0x31042f)['filter'](_0x1b9681=>_0x1b9681[0x1]??!0x1)['forEach'](_0x1d02fb=>_0xcc61d2['set'](_0x444207+'['+_0x1d02fb[0x0]+']',String(_0x1d02fb[0x1]))):Array['isArray'](_0x31042f)?_0x31042f['forEach'](_0x1c83f4=>{_0xcc61d2['append'](_0x444207+'[]',_0x1c83f4);}):'string'==typeof _0x31042f&&_0x31042f?_0xcc61d2['set'](_0x444207,_0x31042f):'number'==typeof _0x31042f&&_0xcc61d2['set'](_0x444207,_0x31042f['toString']());return _0xcc61d2['toString']();},getUrl=(_0x1f6474,_0x58baae,_0x3c88fb)=>{const _0x2009bd=new URL(_0x1f6474);return _0x2009bd['pathname']=(_0x2009bd['pathname']+_0x58baae)['replace']('//','/'),_0x3c88fb&&(_0x2009bd['search']=buildSearchParams(_0x3c88fb)),_0x2009bd['toString']();};var version='6.14.2';const LIBRARY_NAME='UploadcareUploadClient',LIBRARY_VERSION=version;function getUserAgent(_0x3e7105){return getUserAgent$1({'libraryName':LIBRARY_NAME,'libraryVersion':LIBRARY_VERSION,..._0x3e7105});}const REQUEST_WAS_THROTTLED_CODE='RequestThrottledError',DEFAULT_RETRY_AFTER_TIMEOUT=0x3a98,DEFAULT_NETWORK_ERROR_TIMEOUT=0x3e8;function getTimeoutFromThrottledRequest(_0x493401){const {headers:_0x2f23b7}=_0x493401||{};if(!_0x2f23b7||'string'!=typeof _0x2f23b7['retry-after'])return DEFAULT_RETRY_AFTER_TIMEOUT;const _0xbd634=parseInt(_0x2f23b7['retry-after'],0xa);return Number['isFinite'](_0xbd634)?0x3e8*_0xbd634:DEFAULT_RETRY_AFTER_TIMEOUT;}function retryIfFailed(_0x2afe18,_0xc9cabf){const {retryThrottledRequestMaxTimes:_0x5be00c,retryNetworkErrorMaxTimes:_0x1b5d28}=_0xc9cabf;return retrier(({attempt:_0x3db46f,retry:_0x4c3e95})=>_0x2afe18()['catch'](_0x380eec=>{if('response'in _0x380eec&&_0x380eec?.['code']===REQUEST_WAS_THROTTLED_CODE&&_0x3db46f<_0x5be00c)return _0x4c3e95(getTimeoutFromThrottledRequest(_0x380eec));if(_0x380eec instanceof NetworkError&&_0x3db46f<_0x1b5d28)return _0x4c3e95((_0x3db46f+0x1)*DEFAULT_NETWORK_ERROR_TIMEOUT);throw _0x380eec;}));}const getContentType=_0x36c734=>{let _0x2de880='';return(isBlob(_0x36c734)||isFile(_0x36c734)||isReactNativeAsset(_0x36c734))&&(_0x2de880=_0x36c734['type']),_0x2de880||defaultContentType;},getFileName=_0x567e50=>{let _0x13097a='';return isFile(_0x567e50)&&_0x567e50['name']?_0x13097a=_0x567e50['name']:isBlob(_0x567e50)||isBuffer()?_0x13097a='':isReactNativeAsset(_0x567e50)&&_0x567e50['name']&&(_0x13097a=_0x567e50['name']),_0x13097a||defaultFilename;};function getStoreValue(_0x41e2e8){return void 0x0===_0x41e2e8||'auto'===_0x41e2e8?'auto':_0x41e2e8?'1':'0';}function base(_0x4b7849,{publicKey:_0x13d48c,fileName:_0x15dbbf,contentType:_0x11a1a7,baseURL:_0x5e4a1a=defaultSettings['baseURL'],secureSignature:_0x67991a,secureExpire:_0x3e3248,store:_0x5d4293,signal:_0x50613f,onProgress:_0x2dcd1c,source:_0x28d72f='local',integration:_0x5026c4,userAgent:_0x139295,retryThrottledRequestMaxTimes:_0x46c309=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1b8de4=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x36885a}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x5e4a1a,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x13d48c,'integration':_0x5026c4,'userAgent':_0x139295})},'data':buildFormData({'file':{'data':_0x4b7849,'name':_0x15dbbf||getFileName(_0x4b7849),'contentType':_0x11a1a7||getContentType(_0x4b7849)},'UPLOADCARE_PUB_KEY':_0x13d48c,'UPLOADCARE_STORE':getStoreValue(_0x5d4293),'signature':_0x67991a,'expire':_0x3e3248,'source':_0x28d72f,'metadata':_0x36885a}),'signal':_0x50613f,'onProgress':_0x2dcd1c})['then'](({data:_0x41e572,headers:_0x3ae0f7,request:_0x8ccc9e})=>{const _0x6f29fb=camelizeKeys(JSON['parse'](_0x41e572));if('error'in _0x6f29fb)throw new UploadError(_0x6f29fb['error']['content'],_0x6f29fb['error']['errorCode'],_0x8ccc9e,_0x6f29fb,_0x3ae0f7);return _0x6f29fb;}),{'retryNetworkErrorMaxTimes':_0x1b8de4,'retryThrottledRequestMaxTimes':_0x46c309});}var TypeEnum,Status;function fromUrl(_0x5430d2,{publicKey:_0x4a446d,baseURL:_0x4b7fd8=defaultSettings['baseURL'],store:_0x3e999b,fileName:_0x4947e0,checkForUrlDuplicates:_0x54d39a,saveUrlForRecurrentUploads:_0x54c19d,secureSignature:_0x2c2743,secureExpire:_0x22b99c,source:_0x44a28a='url',signal:_0x32f8b5,integration:_0x1fbcb4,userAgent:_0x2e872a,retryThrottledRequestMaxTimes:_0x2c81e3=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x593adb=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x2ceb27}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x4a446d,'integration':_0x1fbcb4,'userAgent':_0x2e872a})},'url':getUrl(_0x4b7fd8,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x4a446d,'source_url':_0x5430d2,'store':getStoreValue(_0x3e999b),'filename':_0x4947e0,'check_URL_duplicates':_0x54d39a?0x1:void 0x0,'save_URL_duplicates':_0x54c19d?0x1:void 0x0,'signature':_0x2c2743,'expire':_0x22b99c,'source':_0x44a28a,'metadata':_0x2ceb27}),'signal':_0x32f8b5})['then'](({data:_0x106e6a,headers:_0x33d5b9,request:_0x46d286})=>{const _0x266967=camelizeKeys(JSON['parse'](_0x106e6a));if('error'in _0x266967)throw new UploadError(_0x266967['error']['content'],_0x266967['error']['errorCode'],_0x46d286,_0x266967,_0x33d5b9);return _0x266967;}),{'retryNetworkErrorMaxTimes':_0x593adb,'retryThrottledRequestMaxTimes':_0x2c81e3});}!function(_0x7d3c5a){_0x7d3c5a['Token']='token',_0x7d3c5a['FileInfo']='file_info';}(TypeEnum||(TypeEnum={})),function(_0x2d9667){_0x2d9667['Unknown']='unknown',_0x2d9667['Waiting']='waiting',_0x2d9667['Progress']='progress',_0x2d9667['Error']='error',_0x2d9667['Success']='success';}(Status||(Status={}));const isErrorResponse=_0x75fee7=>'status'in _0x75fee7&&_0x75fee7['status']===Status['Error'];function fromUrlStatus(_0x1ceb9e,{publicKey:_0x3944cb,baseURL:_0x41f1e6=defaultSettings['baseURL'],signal:_0x179664,integration:_0xe3ad2f,userAgent:_0x5057ce,retryThrottledRequestMaxTimes:_0x355d83=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x3ae8d9=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x3944cb?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3944cb,'integration':_0xe3ad2f,'userAgent':_0x5057ce})}:void 0x0,'url':getUrl(_0x41f1e6,'/from_url/status/',{'jsonerrors':0x1,'token':_0x1ceb9e}),'signal':_0x179664})['then'](({data:_0x1ee900,headers:_0x490380,request:_0x3be8dc})=>{const _0x54d826=camelizeKeys(JSON['parse'](_0x1ee900));if('error'in _0x54d826&&!isErrorResponse(_0x54d826))throw new UploadError(_0x54d826['error']['content'],_0x54d826['error']['errorCode'],_0x3be8dc,_0x54d826,_0x490380);return _0x54d826;}),{'retryNetworkErrorMaxTimes':_0x3ae8d9,'retryThrottledRequestMaxTimes':_0x355d83});}function group(_0x36c046,{publicKey:_0x2cf872,baseURL:_0x34e218=defaultSettings['baseURL'],jsonpCallback:_0x4ed94f,secureSignature:_0x1aa0fc,secureExpire:_0x2a9531,signal:_0x2e30be,source:_0x351329,integration:_0x3d55e0,userAgent:_0x937ea2,retryThrottledRequestMaxTimes:_0x4a8386=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0xa46ae6=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x2cf872,'integration':_0x3d55e0,'userAgent':_0x937ea2})},'url':getUrl(_0x34e218,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0x36c046,'callback':_0x4ed94f,'pub_key':_0x2cf872,'signature':_0x1aa0fc,'expire':_0x2a9531,'source':_0x351329}),'signal':_0x2e30be})['then'](({data:_0x232a34,headers:_0x50c6e8,request:_0x427248})=>{const _0x5e526c=camelizeKeys(JSON['parse'](_0x232a34));if('error'in _0x5e526c)throw new UploadError(_0x5e526c['error']['content'],_0x5e526c['error']['errorCode'],_0x427248,_0x5e526c,_0x50c6e8);return _0x5e526c;}),{'retryNetworkErrorMaxTimes':_0xa46ae6,'retryThrottledRequestMaxTimes':_0x4a8386});}function info(_0x3e331e,{publicKey:_0x5da9aa,baseURL:_0x15548f=defaultSettings['baseURL'],signal:_0x5c312d,source:_0x9da713,integration:_0x3e34f1,userAgent:_0x5d68a4,retryThrottledRequestMaxTimes:_0x14713b=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x5edc5c=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x5da9aa,'integration':_0x3e34f1,'userAgent':_0x5d68a4})},'url':getUrl(_0x15548f,'/info/',{'jsonerrors':0x1,'pub_key':_0x5da9aa,'file_id':_0x3e331e,'source':_0x9da713}),'signal':_0x5c312d})['then'](({data:_0x113a6f,headers:_0x43b25d,request:_0x4ef57f})=>{const _0x2e5135=camelizeKeys(JSON['parse'](_0x113a6f));if('error'in _0x2e5135)throw new UploadError(_0x2e5135['error']['content'],_0x2e5135['error']['errorCode'],_0x4ef57f,_0x2e5135,_0x43b25d);return _0x2e5135;}),{'retryThrottledRequestMaxTimes':_0x14713b,'retryNetworkErrorMaxTimes':_0x5edc5c});}function multipartStart(_0x16b4cb,{publicKey:_0x58b4e7,contentType:_0x1c8225,fileName:_0x42f513,multipartChunkSize:_0x1470ed=defaultSettings['multipartChunkSize'],baseURL:_0x5142e3='',secureSignature:_0x2684a0,secureExpire:_0x50a003,store:_0x877a1c,signal:_0xb83202,source:_0x109da0='local',integration:_0x4d30af,userAgent:_0x4258f0,retryThrottledRequestMaxTimes:_0x29d06b=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x39fc85=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x17d12c}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x5142e3,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x58b4e7,'integration':_0x4d30af,'userAgent':_0x4258f0})},'data':buildFormData({'filename':_0x42f513||defaultFilename,'size':_0x16b4cb,'content_type':_0x1c8225||defaultContentType,'part_size':_0x1470ed,'UPLOADCARE_STORE':getStoreValue(_0x877a1c),'UPLOADCARE_PUB_KEY':_0x58b4e7,'signature':_0x2684a0,'expire':_0x50a003,'source':_0x109da0,'metadata':_0x17d12c}),'signal':_0xb83202})['then'](({data:_0x3facdf,headers:_0x314b40,request:_0x2e0d2b})=>{const _0x3e6634=camelizeKeys(JSON['parse'](_0x3facdf));if('error'in _0x3e6634)throw new UploadError(_0x3e6634['error']['content'],_0x3e6634['error']['errorCode'],_0x2e0d2b,_0x3e6634,_0x314b40);return _0x3e6634['parts']=Object['keys'](_0x3e6634['parts'])['map'](_0x1465c9=>_0x3e6634['parts'][Number(_0x1465c9)]),_0x3e6634;}),{'retryThrottledRequestMaxTimes':_0x29d06b,'retryNetworkErrorMaxTimes':_0x39fc85});}function multipartUpload(_0x3469ae,_0x228267,{contentType:_0x3a5570,signal:_0x4e1e0e,onProgress:_0x1860e4,retryThrottledRequestMaxTimes:_0x14e23c=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1bfa23=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x228267,'data':_0x3469ae,'onProgress':_0x1860e4,'signal':_0x4e1e0e,'headers':{'Content-Type':_0x3a5570||defaultContentType}})['then'](_0x3db1dd=>(_0x1860e4&&_0x1860e4({'isComputable':!0x0,'value':0x1}),_0x3db1dd))['then'](({status:_0x429fd8})=>({'code':_0x429fd8})),{'retryThrottledRequestMaxTimes':_0x14e23c,'retryNetworkErrorMaxTimes':_0x1bfa23});}function multipartComplete(_0x148035,{publicKey:_0x126100,baseURL:_0x3c3cc7=defaultSettings['baseURL'],source:_0x382b42='local',signal:_0x51d014,integration:_0x130262,userAgent:_0x36e75c,retryThrottledRequestMaxTimes:_0x391336=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0xb6e845=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x3c3cc7,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x126100,'integration':_0x130262,'userAgent':_0x36e75c})},'data':buildFormData({'uuid':_0x148035,'UPLOADCARE_PUB_KEY':_0x126100,'source':_0x382b42}),'signal':_0x51d014})['then'](({data:_0x186795,headers:_0x102450,request:_0x57c175})=>{const _0x45a336=camelizeKeys(JSON['parse'](_0x186795));if('error'in _0x45a336)throw new UploadError(_0x45a336['error']['content'],_0x45a336['error']['errorCode'],_0x57c175,_0x45a336,_0x102450);return _0x45a336;}),{'retryThrottledRequestMaxTimes':_0x391336,'retryNetworkErrorMaxTimes':_0xb6e845});}function isReadyPoll(_0x21d096,{publicKey:_0x13f601,baseURL:_0x5aa44d,source:_0x3ddafb,integration:_0x44eb89,userAgent:_0xe1e441,retryThrottledRequestMaxTimes:_0x1b2a77,retryNetworkErrorMaxTimes:_0x54e4ee,signal:_0x464871,onProgress:_0xf8bbde}){return poll({'check':_0x109932=>info(_0x21d096,{'publicKey':_0x13f601,'baseURL':_0x5aa44d,'signal':_0x109932,'source':_0x3ddafb,'integration':_0x44eb89,'userAgent':_0xe1e441,'retryThrottledRequestMaxTimes':_0x1b2a77,'retryNetworkErrorMaxTimes':_0x54e4ee})['then'](_0x26693f=>_0x26693f['isReady']?_0x26693f:(_0xf8bbde&&_0xf8bbde({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x464871});}function isGroupFileInfo(_0xacb0a1){return'defaultEffects'in _0xacb0a1;}class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x54432c,{baseCDN:_0x5c9250=defaultSettings['baseCDN'],fileName:_0x43cd12}={}){const {uuid:_0x273fa2,s3Bucket:_0x4c84cd}=_0x54432c,_0x3fa2f3=getUrl(_0x5c9250,_0x273fa2+'/'),_0x2a8e63=_0x4c84cd?getUrl('https://'+_0x4c84cd+'.s3.amazonaws.com/',_0x273fa2+'/'+_0x54432c['filename']):null;this['uuid']=_0x273fa2,this['name']=_0x43cd12||_0x54432c['filename'],this['size']=_0x54432c['size'],this['isStored']=_0x54432c['isStored'],this['isImage']=_0x54432c['isImage'],this['mimeType']=_0x54432c['mimeType'],this['cdnUrl']=_0x3fa2f3,this['originalFilename']=_0x54432c['originalFilename'],this['imageInfo']=_0x54432c['imageInfo'],this['videoInfo']=_0x54432c['videoInfo'],this['contentInfo']=_0x54432c['contentInfo'],this['metadata']=_0x54432c['metadata']||null,this['s3Bucket']=_0x4c84cd||null,this['s3Url']=_0x2a8e63,isGroupFileInfo(_0x54432c)&&(this['defaultEffects']=_0x54432c['defaultEffects']);}}const uploadDirect=(_0x1dae4c,{publicKey:_0x4a105d,fileName:_0x353d32,baseURL:_0x34cd91,secureSignature:_0x21ddf4,secureExpire:_0x58121a,store:_0x12fbfa,contentType:_0x37c40b,signal:_0x484019,onProgress:_0x463453,source:_0x2a266c,integration:_0x4b4005,userAgent:_0xdbbc15,retryThrottledRequestMaxTimes:_0x5d396c,retryNetworkErrorMaxTimes:_0x176807,baseCDN:_0x181834,metadata:_0x21323b})=>base(_0x1dae4c,{'publicKey':_0x4a105d,'fileName':_0x353d32,'contentType':_0x37c40b,'baseURL':_0x34cd91,'secureSignature':_0x21ddf4,'secureExpire':_0x58121a,'store':_0x12fbfa,'signal':_0x484019,'onProgress':_0x463453,'source':_0x2a266c,'integration':_0x4b4005,'userAgent':_0xdbbc15,'retryThrottledRequestMaxTimes':_0x5d396c,'retryNetworkErrorMaxTimes':_0x176807,'metadata':_0x21323b})['then'](({file:_0x5be851})=>isReadyPoll(_0x5be851,{'publicKey':_0x4a105d,'baseURL':_0x34cd91,'source':_0x2a266c,'integration':_0x4b4005,'userAgent':_0xdbbc15,'retryThrottledRequestMaxTimes':_0x5d396c,'retryNetworkErrorMaxTimes':_0x176807,'onProgress':_0x463453,'signal':_0x484019}))['then'](_0x1aebb7=>new UploadcareFile(_0x1aebb7,{'baseCDN':_0x181834})),uploadFromUploaded=(_0x4b8009,{publicKey:_0x42863c,fileName:_0x4e1f86,baseURL:_0x53782a,signal:_0x2915be,onProgress:_0x55db1f,source:_0x567528,integration:_0x548c80,userAgent:_0x315e7e,retryThrottledRequestMaxTimes:_0xc91cfe,retryNetworkErrorMaxTimes:_0x392e23,baseCDN:_0x1f6aba})=>info(_0x4b8009,{'publicKey':_0x42863c,'baseURL':_0x53782a,'signal':_0x2915be,'source':_0x567528,'integration':_0x548c80,'userAgent':_0x315e7e,'retryThrottledRequestMaxTimes':_0xc91cfe,'retryNetworkErrorMaxTimes':_0x392e23})['then'](_0xf1f285=>new UploadcareFile(_0xf1f285,{'baseCDN':_0x1f6aba,'fileName':_0x4e1f86}))['then'](_0x23c045=>(_0x55db1f&&_0x55db1f({'isComputable':!0x0,'value':0x1}),_0x23c045)),race=(_0x3a74d2,{signal:_0x4d0161}={})=>{let _0xa84b16=null,_0x4a7955=null;const _0xfc1b1d=_0x3a74d2['map'](()=>new AbortController());return onCancel(_0x4d0161,()=>{_0xfc1b1d['forEach'](_0x38152c=>_0x38152c['abort']());}),Promise['all'](_0x3a74d2['map']((_0x12496b,_0x5502a6)=>{const _0x1c7ac8=(_0x4aef87=>()=>{_0x4a7955=_0x4aef87,_0xfc1b1d['forEach']((_0x4e89a8,_0xf17c93)=>_0xf17c93!==_0x4aef87&&_0x4e89a8['abort']());})(_0x5502a6);return Promise['resolve']()['then'](()=>_0x12496b({'stopRace':_0x1c7ac8,'signal':_0xfc1b1d[_0x5502a6]['signal']}))['then'](_0xa98cd3=>(_0x1c7ac8(),_0xa98cd3))['catch'](_0x1ee1a7=>(_0xa84b16=_0x1ee1a7,null));}))['then'](_0x4b7c4b=>{if(null===_0x4a7955)throw _0xa84b16;return _0x4b7c4b[_0x4a7955];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x10fc63,_0x3a71e3){this['events'][_0x10fc63]?.['forEach'](_0x3a5fae=>_0x3a5fae(_0x3a71e3));}['on'](_0x422196,_0x422a94){this['events'][_0x422196]=this['events'][_0x422196]||[],this['events'][_0x422196]['push'](_0x422a94);}['off'](_0x90f966,_0x2cc56e){this['events'][_0x90f966]=_0x2cc56e?this['events'][_0x90f966]['filter'](_0x819e6=>_0x819e6!==_0x2cc56e):[];}}const response=(_0x16af15,_0x145363)=>'success'===_0x16af15?{'status':Status['Success'],..._0x145363}:'progress'===_0x16af15?{'status':Status['Progress'],..._0x145363}:{'status':Status['Error'],..._0x145363};class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x39a36f,_0x2b8919=0x7530){this['key']=_0x39a36f,this['disconnectTime']=_0x2b8919;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x160ba1='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x160ba1),this['ws']['addEventListener']('error',_0x79282f=>{this['emmitter']['emit']('error',new Error(_0x79282f['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x30ee11=>this['send'](_0x30ee11['event'],_0x30ee11['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x450165=>{const _0x3d6624=JSON['parse'](_0x450165['data']['toString']());switch(_0x3d6624['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x3d6624['channel'],response(_0x3d6624['event'],JSON['parse'](_0x3d6624['data'])));}});}}['disconnect'](){const _0x42f6c1=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x42f6c1();},this['disconnectTime']):_0x42f6c1();}['send'](_0x31cdb4,_0xf68214){const _0x81906f=JSON['stringify']({'event':_0x31cdb4,'data':_0xf68214});this['ws']?.['send'](_0x81906f);}['subscribe'](_0x233743,_0x25e435){this['subscribers']+=0x1,this['connect']();const _0x12c846='task-status-'+_0x233743,_0x44396f={'event':'pusher:subscribe','data':{'channel':_0x12c846}};this['emmitter']['on'](_0x12c846,_0x25e435),this['isConnected']?this['send'](_0x44396f['event'],_0x44396f['data']):this['queue']['push'](_0x44396f);}['unsubscribe'](_0x2b8d3c){this['subscribers']-=0x1;const _0x2f1b09='task-status-'+_0x2b8d3c,_0x5fc4c1={'event':'pusher:unsubscribe','data':{'channel':_0x2f1b09}};this['emmitter']['off'](_0x2f1b09),this['isConnected']?this['send'](_0x5fc4c1['event'],_0x5fc4c1['data']):this['queue']=this['queue']['filter'](_0x103f10=>_0x103f10['data']['channel']!==_0x2f1b09),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x532bb8){return this['emmitter']['on']('error',_0x532bb8),()=>this['emmitter']['off']('error',_0x532bb8);}}let pusher=null;const getPusher=_0x1febb2=>{if(!pusher){const _0x409e8a='undefined'==typeof window?0x0:0x7530;pusher=new Pusher(_0x1febb2,_0x409e8a);}return pusher;},preconnect=_0x578af3=>{getPusher(_0x578af3)['connect']();};function pollStrategy({token:_0x4bc6e8,publicKey:_0x295ab0,baseURL:_0x4245e7,integration:_0x3fbf89,userAgent:_0x2d0abf,retryThrottledRequestMaxTimes:_0x45b0cf,retryNetworkErrorMaxTimes:_0x366dda,onProgress:_0x53cfca,signal:_0x25e8de}){return poll({'check':_0x25bef5=>fromUrlStatus(_0x4bc6e8,{'publicKey':_0x295ab0,'baseURL':_0x4245e7,'integration':_0x3fbf89,'userAgent':_0x2d0abf,'retryThrottledRequestMaxTimes':_0x45b0cf,'retryNetworkErrorMaxTimes':_0x366dda,'signal':_0x25bef5})['then'](_0x55cd57=>{switch(_0x55cd57['status']){case Status['Error']:return new UploadError(_0x55cd57['error'],_0x55cd57['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new UploadError('Token\x20\x22'+_0x4bc6e8+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x53cfca&&('unknown'===_0x55cd57['total']?_0x53cfca({'isComputable':!0x1}):_0x53cfca({'isComputable':!0x0,'value':_0x55cd57['done']/_0x55cd57['total']})),!0x1;case Status['Success']:return _0x53cfca&&_0x53cfca({'isComputable':!0x0,'value':_0x55cd57['done']/_0x55cd57['total']}),_0x55cd57;default:throw new Error('Unknown\x20status');}}),'signal':_0x25e8de});}const pushStrategy=({token:_0x5329d6,pusherKey:_0x147cba,signal:_0x5f1ec0,onProgress:_0xbdd0bf})=>new Promise((_0x4d0a6e,_0xf69792)=>{const _0x2afac3=getPusher(_0x147cba),_0x5f566d=_0x2afac3['onError'](_0xf69792),_0xc0721d=()=>{_0x5f566d(),_0x2afac3['unsubscribe'](_0x5329d6);};onCancel(_0x5f1ec0,()=>{_0xc0721d(),_0xf69792(new CancelError('pusher\x20cancelled'));}),_0x2afac3['subscribe'](_0x5329d6,_0x42bc64=>{switch(_0x42bc64['status']){case Status['Progress']:_0xbdd0bf&&('unknown'===_0x42bc64['total']?_0xbdd0bf({'isComputable':!0x1}):_0xbdd0bf({'isComputable':!0x0,'value':_0x42bc64['done']/_0x42bc64['total']}));break;case Status['Success']:_0xc0721d(),_0xbdd0bf&&_0xbdd0bf({'isComputable':!0x0,'value':_0x42bc64['done']/_0x42bc64['total']}),_0x4d0a6e(_0x42bc64);break;case Status['Error']:_0xc0721d(),_0xf69792(new UploadError(_0x42bc64['msg'],_0x42bc64['error_code']));}});}),uploadFromUrl=(_0x5e8aef,{publicKey:_0x40dbf9,fileName:_0x573534,baseURL:_0x1455f8,baseCDN:_0x3b9c7f,checkForUrlDuplicates:_0x45a412,saveUrlForRecurrentUploads:_0x3014a3,secureSignature:_0x2f2324,secureExpire:_0x495fa5,store:_0x21c589,signal:_0x3821cc,onProgress:_0x14b639,source:_0x1ca638,integration:_0x47d928,userAgent:_0xe02be4,retryThrottledRequestMaxTimes:_0x680d0,pusherKey:_0x390201=defaultSettings['pusherKey'],metadata:_0x15766b})=>Promise['resolve'](preconnect(_0x390201))['then'](()=>fromUrl(_0x5e8aef,{'publicKey':_0x40dbf9,'fileName':_0x573534,'baseURL':_0x1455f8,'checkForUrlDuplicates':_0x45a412,'saveUrlForRecurrentUploads':_0x3014a3,'secureSignature':_0x2f2324,'secureExpire':_0x495fa5,'store':_0x21c589,'signal':_0x3821cc,'source':_0x1ca638,'integration':_0x47d928,'userAgent':_0xe02be4,'retryThrottledRequestMaxTimes':_0x680d0,'metadata':_0x15766b}))['catch'](_0x352082=>{const _0x4ed69f=getPusher(_0x390201);return _0x4ed69f?.['disconnect'](),Promise['reject'](_0x352082);})['then'](_0x5f211b=>_0x5f211b['type']===TypeEnum['FileInfo']?_0x5f211b:race([({signal:_0x39eda4})=>pollStrategy({'token':_0x5f211b['token'],'publicKey':_0x40dbf9,'baseURL':_0x1455f8,'integration':_0x47d928,'userAgent':_0xe02be4,'retryThrottledRequestMaxTimes':_0x680d0,'onProgress':_0x14b639,'signal':_0x39eda4}),({signal:_0x35aecf})=>pushStrategy({'token':_0x5f211b['token'],'pusherKey':_0x390201,'signal':_0x35aecf,'onProgress':_0x14b639})],{'signal':_0x3821cc}))['then'](_0x53de2a=>{if(_0x53de2a instanceof UploadError)throw _0x53de2a;return _0x53de2a;})['then'](_0x4c002f=>isReadyPoll(_0x4c002f['uuid'],{'publicKey':_0x40dbf9,'baseURL':_0x1455f8,'integration':_0x47d928,'userAgent':_0xe02be4,'retryThrottledRequestMaxTimes':_0x680d0,'onProgress':_0x14b639,'signal':_0x3821cc}))['then'](_0x379246=>new UploadcareFile(_0x379246,{'baseCDN':_0x3b9c7f})),memo=new WeakMap(),getBlobFromReactNativeAsset=async _0x11287f=>{if(memo['has'](_0x11287f))return memo['get'](_0x11287f);const _0x55d3cc=await fetch(_0x11287f['uri'])['then'](_0xaa93c9=>_0xaa93c9['blob']());return memo['set'](_0x11287f,_0x55d3cc),_0x55d3cc;},getFileSize=async _0x232a48=>{if(isFile(_0x232a48)||isBlob(_0x232a48))return _0x232a48['size'];if(isReactNativeAsset(_0x232a48))return(await getBlobFromReactNativeAsset(_0x232a48))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x569c9a,_0x22fcb8=defaultSettings['multipartMinFileSize'])=>_0x569c9a>=_0x22fcb8,isUuid=_0x41ef76=>{const _0x59b7b8=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x41ef76)&&_0x59b7b8['test'](_0x41ef76);},isUrl=_0x5f47a5=>{const _0x4d2086=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x5f47a5)&&_0x4d2086['test'](_0x5f47a5);},runWithConcurrency=(_0x34d126,_0x4df94f)=>new Promise((_0xbb5e13,_0x23f288)=>{const _0x203d6f=[];let _0x2e4af4=!0x1,_0x16a688=_0x4df94f['length'];const _0x6dfece=[..._0x4df94f],_0x40ae23=()=>{const _0x3ffbc5=_0x4df94f['length']-_0x6dfece['length'],_0xfebc17=_0x6dfece['shift']();_0xfebc17&&_0xfebc17()['then'](_0x4a0fc3=>{_0x2e4af4||(_0x203d6f[_0x3ffbc5]=_0x4a0fc3,_0x16a688-=0x1,_0x16a688?_0x40ae23():_0xbb5e13(_0x203d6f));})['catch'](_0x4be45f=>{_0x2e4af4=!0x0,_0x23f288(_0x4be45f);});};for(let _0x257778=0x0;_0x257778<_0x34d126;_0x257778++)_0x40ae23();}),sliceChunk=(_0x5f9b19,_0x54386d,_0x3f556b,_0x44c61c)=>{const _0x35ce48=_0x44c61c*_0x54386d,_0x57a096=Math['min'](_0x35ce48+_0x44c61c,_0x3f556b);return _0x5f9b19['slice'](_0x35ce48,_0x57a096);},prepareChunks=async(_0x33f1c4,_0x3e45eb,_0xa66b89)=>_0x3b319f=>sliceChunk(_0x33f1c4,_0x3b319f,_0x3e45eb,_0xa66b89),uploadPart=(_0x2b0566,_0x4bb212,{publicKey:_0x152105,contentType:_0x5b71c0,onProgress:_0x4f3a78,signal:_0x2410e7,integration:_0x4b897b,retryThrottledRequestMaxTimes:_0x467bfb,retryNetworkErrorMaxTimes:_0x1b26f8})=>multipartUpload(_0x2b0566,_0x4bb212,{'contentType':_0x5b71c0,'onProgress':_0x4f3a78,'signal':_0x2410e7,'retryThrottledRequestMaxTimes':_0x467bfb,'retryNetworkErrorMaxTimes':_0x1b26f8}),uploadMultipart=async(_0x922079,{publicKey:_0x40f127,fileName:_0x460ff1,fileSize:_0x12e58b,baseURL:_0x3ad92b,secureSignature:_0x2ed653,secureExpire:_0x43b0d3,store:_0x5f5394,signal:_0x3ab652,onProgress:_0x34788a,source:_0x213372,integration:_0x4a356c,userAgent:_0x5f2c0f,retryThrottledRequestMaxTimes:_0x2c5ea8,retryNetworkErrorMaxTimes:_0x6df171,contentType:_0xda8120,multipartChunkSize:_0x56f587=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0x4c9c31=defaultSettings['maxConcurrentRequests'],baseCDN:_0x355216,metadata:_0x5e58d7})=>{const _0x3535db=_0x12e58b??await getFileSize(_0x922079);let _0x4c0b26;const _0x167e22=(_0x3b4f1d,_0x3e6382)=>{if(!_0x34788a)return;_0x4c0b26||(_0x4c0b26=Array(_0x3b4f1d)['fill'](0x0));const _0x24e5aa=_0x35b476=>_0x35b476['reduce']((_0xbcf9e1,_0x259ed2)=>_0xbcf9e1+_0x259ed2,0x0);return _0x2f61e4=>{_0x2f61e4['isComputable']&&(_0x4c0b26[_0x3e6382]=_0x2f61e4['value'],_0x34788a({'isComputable':!0x0,'value':_0x24e5aa(_0x4c0b26)/_0x3b4f1d}));};};return _0xda8120||=getContentType(_0x922079),multipartStart(_0x3535db,{'publicKey':_0x40f127,'contentType':_0xda8120,'fileName':_0x460ff1||getFileName(_0x922079),'baseURL':_0x3ad92b,'secureSignature':_0x2ed653,'secureExpire':_0x43b0d3,'store':_0x5f5394,'signal':_0x3ab652,'source':_0x213372,'integration':_0x4a356c,'userAgent':_0x5f2c0f,'retryThrottledRequestMaxTimes':_0x2c5ea8,'retryNetworkErrorMaxTimes':_0x6df171,'metadata':_0x5e58d7})['then'](async({uuid:_0x31fa4d,parts:_0x1452f3})=>{const _0x186309=await prepareChunks(_0x922079,_0x3535db,_0x56f587);return Promise['all']([_0x31fa4d,runWithConcurrency(_0x4c9c31,_0x1452f3['map']((_0x4d2e27,_0x16a45f)=>()=>uploadPart(_0x186309(_0x16a45f),_0x4d2e27,{'publicKey':_0x40f127,'contentType':_0xda8120,'onProgress':_0x167e22(_0x1452f3['length'],_0x16a45f),'signal':_0x3ab652,'integration':_0x4a356c,'retryThrottledRequestMaxTimes':_0x2c5ea8,'retryNetworkErrorMaxTimes':_0x6df171})))]);})['then'](([_0x124f17])=>multipartComplete(_0x124f17,{'publicKey':_0x40f127,'baseURL':_0x3ad92b,'source':_0x213372,'integration':_0x4a356c,'userAgent':_0x5f2c0f,'retryThrottledRequestMaxTimes':_0x2c5ea8,'retryNetworkErrorMaxTimes':_0x6df171}))['then'](_0xda088e=>_0xda088e['isReady']?_0xda088e:isReadyPoll(_0xda088e['uuid'],{'publicKey':_0x40f127,'baseURL':_0x3ad92b,'source':_0x213372,'integration':_0x4a356c,'userAgent':_0x5f2c0f,'retryThrottledRequestMaxTimes':_0x2c5ea8,'retryNetworkErrorMaxTimes':_0x6df171,'onProgress':_0x34788a,'signal':_0x3ab652}))['then'](_0x21dd3c=>new UploadcareFile(_0x21dd3c,{'baseCDN':_0x355216}));};async function uploadFile(_0x825661,{publicKey:_0xfa22fe,fileName:_0x4bee28,baseURL:_0xbf5757=defaultSettings['baseURL'],secureSignature:_0x1fbcdf,secureExpire:_0x34f281,store:_0x2e2755,signal:_0x5b8a78,onProgress:_0x8f1ffb,source:_0x1987dc,integration:_0x240f7b,userAgent:_0xee1a09,retryThrottledRequestMaxTimes:_0x39ecf2,retryNetworkErrorMaxTimes:_0x130fb2,contentType:_0x1a6495,multipartMinFileSize:_0x3e817f,multipartChunkSize:_0x445ecb,maxConcurrentRequests:_0x303879,baseCDN:_0x3673fc=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x95803a,saveUrlForRecurrentUploads:_0x563563,pusherKey:_0x139e94,metadata:_0x29f157}){if(isFileData(_0x825661)){const _0x4e1d6e=await getFileSize(_0x825661);return isMultipart(_0x4e1d6e,_0x3e817f)?uploadMultipart(_0x825661,{'publicKey':_0xfa22fe,'contentType':_0x1a6495,'multipartChunkSize':_0x445ecb,'fileSize':_0x4e1d6e,'fileName':_0x4bee28,'baseURL':_0xbf5757,'secureSignature':_0x1fbcdf,'secureExpire':_0x34f281,'store':_0x2e2755,'signal':_0x5b8a78,'onProgress':_0x8f1ffb,'source':_0x1987dc,'integration':_0x240f7b,'userAgent':_0xee1a09,'maxConcurrentRequests':_0x303879,'retryThrottledRequestMaxTimes':_0x39ecf2,'retryNetworkErrorMaxTimes':_0x130fb2,'baseCDN':_0x3673fc,'metadata':_0x29f157}):uploadDirect(_0x825661,{'publicKey':_0xfa22fe,'fileName':_0x4bee28,'contentType':_0x1a6495,'baseURL':_0xbf5757,'secureSignature':_0x1fbcdf,'secureExpire':_0x34f281,'store':_0x2e2755,'signal':_0x5b8a78,'onProgress':_0x8f1ffb,'source':_0x1987dc,'integration':_0x240f7b,'userAgent':_0xee1a09,'retryThrottledRequestMaxTimes':_0x39ecf2,'retryNetworkErrorMaxTimes':_0x130fb2,'baseCDN':_0x3673fc,'metadata':_0x29f157});}if(isUrl(_0x825661))return uploadFromUrl(_0x825661,{'publicKey':_0xfa22fe,'fileName':_0x4bee28,'baseURL':_0xbf5757,'baseCDN':_0x3673fc,'checkForUrlDuplicates':_0x95803a,'saveUrlForRecurrentUploads':_0x563563,'secureSignature':_0x1fbcdf,'secureExpire':_0x34f281,'store':_0x2e2755,'signal':_0x5b8a78,'onProgress':_0x8f1ffb,'source':_0x1987dc,'integration':_0x240f7b,'userAgent':_0xee1a09,'retryThrottledRequestMaxTimes':_0x39ecf2,'pusherKey':_0x139e94,'metadata':_0x29f157});if(isUuid(_0x825661))return uploadFromUploaded(_0x825661,{'publicKey':_0xfa22fe,'fileName':_0x4bee28,'baseURL':_0xbf5757,'signal':_0x5b8a78,'onProgress':_0x8f1ffb,'source':_0x1987dc,'integration':_0x240f7b,'userAgent':_0xee1a09,'retryThrottledRequestMaxTimes':_0x39ecf2,'retryNetworkErrorMaxTimes':_0x130fb2,'baseCDN':_0x3673fc});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x825661+'\x22\x20is\x20not\x20supported');}class UploadcareGroup{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x4de0cb,{baseCDN:_0x198637=defaultSettings['baseCDN']}={}){this['uuid']=_0x4de0cb['id'],this['filesCount']=_0x4de0cb['filesCount'];const _0xfa9b67=_0x4de0cb['files']['filter'](Boolean);this['totalSize']=Object['values'](_0xfa9b67)['reduce']((_0x4232ee,_0x3d8d93)=>_0x4232ee+_0x3d8d93['size'],0x0),this['isStored']=!!_0x4de0cb['datetimeStored'],this['isImage']=!!Object['values'](_0xfa9b67)['filter'](_0x7c4ade=>_0x7c4ade['isImage'])['length'],this['cdnUrl']=_0x4de0cb['cdnUrl'],this['files']=_0xfa9b67['map'](_0x26e459=>new UploadcareFile(_0x26e459,{'baseCDN':_0x198637})),this['createdAt']=_0x4de0cb['datetimeCreated'],this['storedAt']=_0x4de0cb['datetimeStored'];}}const isFileDataArray=_0x44118e=>{for(const _0x444c7c of _0x44118e)if(!isFileData(_0x444c7c))return!0x1;return!0x0;},isUuidArray=_0x2a9092=>{for(const _0x612c59 of _0x2a9092)if(!isUuid(_0x612c59))return!0x1;return!0x0;},isUrlArray=_0x11b395=>{for(const _0x1a7b9e of _0x11b395)if(!isUrl(_0x1a7b9e))return!0x1;return!0x0;};function uploadFileGroup(_0x72e1bd,{publicKey:_0x34bede,fileName:_0x5ee5e3,baseURL:_0x4d3a42=defaultSettings['baseURL'],secureSignature:_0x373919,secureExpire:_0x1370f8,store:_0xd28931,signal:_0x4a2f4e,onProgress:_0xb7cfcb,source:_0x3e9bd0,integration:_0x147efd,userAgent:_0x427c62,retryThrottledRequestMaxTimes:_0x39f24f,retryNetworkErrorMaxTimes:_0x37ca54,contentType:_0x40b210,multipartChunkSize:_0x129b9f=defaultSettings['multipartChunkSize'],baseCDN:_0xe33c46=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x521aad,saveUrlForRecurrentUploads:_0x3aa981,jsonpCallback:_0x324ac8}){if(!isFileDataArray(_0x72e1bd)&&!isUrlArray(_0x72e1bd)&&!isUuidArray(_0x72e1bd))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x72e1bd+'\x22\x20is\x20not\x20supported');let _0x1526a5,_0x478b86=!0x0;const _0xb53daa=_0x72e1bd['length'],_0x19e64f=(_0x48bf44,_0xfe4688)=>{if(!_0xb7cfcb)return;_0x1526a5||(_0x1526a5=Array(_0x48bf44)['fill'](0x0));const _0x4ba5f7=_0x3ce5b3=>_0x3ce5b3['reduce']((_0x6acab2,_0x590da4)=>_0x6acab2+_0x590da4)/_0x48bf44;return _0xcc27a5=>{if(!_0xcc27a5['isComputable']||!_0x478b86)return _0x478b86=!0x1,void _0xb7cfcb({'isComputable':!0x1});_0x1526a5[_0xfe4688]=_0xcc27a5['value'],_0xb7cfcb({'isComputable':!0x0,'value':_0x4ba5f7(_0x1526a5)});};};return Promise['all'](_0x72e1bd['map']((_0x1dec2b,_0x360526)=>isFileData(_0x1dec2b)||isUrl(_0x1dec2b)?uploadFile(_0x1dec2b,{'publicKey':_0x34bede,'fileName':_0x5ee5e3,'baseURL':_0x4d3a42,'secureSignature':_0x373919,'secureExpire':_0x1370f8,'store':_0xd28931,'signal':_0x4a2f4e,'onProgress':_0x19e64f(_0xb53daa,_0x360526),'source':_0x3e9bd0,'integration':_0x147efd,'userAgent':_0x427c62,'retryThrottledRequestMaxTimes':_0x39f24f,'retryNetworkErrorMaxTimes':_0x37ca54,'contentType':_0x40b210,'multipartChunkSize':_0x129b9f,'baseCDN':_0xe33c46,'checkForUrlDuplicates':_0x521aad,'saveUrlForRecurrentUploads':_0x3aa981})['then'](_0x3be88b=>_0x3be88b['uuid']):_0x1dec2b))['then'](_0x4ecccb=>group(_0x4ecccb,{'publicKey':_0x34bede,'baseURL':_0x4d3a42,'jsonpCallback':_0x324ac8,'secureSignature':_0x373919,'secureExpire':_0x1370f8,'signal':_0x4a2f4e,'source':_0x3e9bd0,'integration':_0x147efd,'userAgent':_0x427c62,'retryThrottledRequestMaxTimes':_0x39f24f,'retryNetworkErrorMaxTimes':_0x37ca54})['then'](_0x18da85=>new UploadcareGroup(_0x18da85,{'baseCDN':_0xe33c46}))['then'](_0x519192=>(_0xb7cfcb&&_0xb7cfcb({'isComputable':!0x0,'value':0x1}),_0x519192)));}class Queue{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0xb0b03f){this['_concurrency']=_0xb0b03f;}['_run'](){const _0x170caa=this['_concurrency']-this['_running'];for(let _0x25c21f=0x0;_0x25c21f<_0x170caa;_0x25c21f++){const _0x5d0a79=this['_pending']['shift']();if(!_0x5d0a79)return;const _0x4b92f3=this['_resolvers']['get'](_0x5d0a79),_0x27dede=this['_rejectors']['get'](_0x5d0a79);if(!_0x4b92f3||!_0x27dede)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x5d0a79()['finally'](()=>{this['_resolvers']['delete'](_0x5d0a79),this['_rejectors']['delete'](_0x5d0a79),this['_running']-=0x1,this['_run']();})['then'](_0x8be5ff=>_0x4b92f3(_0x8be5ff))['catch'](_0x538df8=>_0x27dede(_0x538df8));}}['add'](_0x198315){return new Promise((_0x24fea8,_0x1d4bab)=>{this['_resolvers']['set'](_0x198315,_0x24fea8),this['_rejectors']['set'](_0x198315,_0x1d4bab),this['_pending']['push'](_0x198315),this['_run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x464095){this['_concurrency']=_0x464095,this['_run']();}get['concurrency'](){return this['_concurrency'];}}const blockCtx=()=>({}),activityBlockCtx=_0x342203=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x342203['set$']({'*currentActivity':null,'*modalActive':!0x1});}}),uploaderBlockCtx=_0x2f8996=>({...activityBlockCtx(_0x2f8996),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new Queue(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null});var en={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-draw':'Draw','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-gphotos':'Google\x20Photos','src-type-flickr':'Flickr','src-type-vk':'VK','src-type-evernote':'Evernote','src-type-box':'Box','src-type-onedrive':'Onedrive','src-type-huddle':'Huddle','src-type-other':'Other','caption-from-url':'Import\x20from\x20link','caption-camera':'Camera','caption-draw':'Draw','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\x20ocurred.\x20Please,\x20check\x20your\x20files\x20before\x20upload.','images-only-accepted':'Only\x20image\x20files\x20are\x20accepted.','file-type-not-allowed':'Uploading\x20of\x20these\x20file\x20types\x20is\x20not\x20allowed.','some-files-were-not-uploaded':'Some\x20files\x20were\x20not\x20uploaded.','file-item-edit-button':'Edit','file-item-remove-button':'Remove','a11y-editor-tab-filters':'Filters','a11y-editor-tab-tuning':'Tuning','a11y-editor-tab-crop':'Crop','a11y-activity-header-button-close':'Close','flip':'Flip','mirror':'Mirror','a11y-cloud-editor-apply-filter':'Apply\x20{{name}}\x20filter','a11y-cloud-editor-apply-crop':'Apply\x20{{name}}\x20operation','a11y-cloud-editor-apply-tuning':'Apply\x20{{name}}\x20tuning','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}'};const localeRegistry=new Map(),localeResolvers=new Map(),defineLocaleSync=(_0x547fb5,_0x335500)=>{localeRegistry['has'](_0x547fb5)&&console['log']('Locale\x20'+_0x547fb5+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0x547fb5,{...en,..._0x335500});},defineLocaleAsync=(_0xaa2f2a,_0x281739)=>{localeResolvers['set'](_0xaa2f2a,_0x281739);},defineLocale=(_0xc38934,_0x583497)=>{'function'==typeof _0x583497?defineLocaleAsync(_0xc38934,_0x583497):defineLocaleSync(_0xc38934,_0x583497);},resolveLocaleDefinition=async _0x30d2de=>{if(!localeRegistry['has'](_0x30d2de)){if(!localeResolvers['has'](_0x30d2de))throw new Error('Locale\x20'+_0x30d2de+'\x20is\x20not\x20defined');const _0x4726c5=localeResolvers['get'](_0x30d2de),_0x5de794=await _0x4726c5();defineLocaleSync(_0x30d2de,_0x5de794);}return localeRegistry['get'](_0x30d2de);};defineLocale('en',en);const localeStateKey=_0x56dc52=>'*l10n/'+_0x56dc52,DEFAULT_LOCALE='en';class LocaleManager{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x264547){this['_blockInstance']=_0x264547;for(let [_0x22281c,_0x1485fb]of Object['entries'](en))this['_blockInstance']['add'](localeStateKey(_0x22281c),_0x1485fb,!0x1);setTimeout(()=>{_0x264547['subConfigValue']('localeName',async _0x2c4850=>{if(!this['_blockInstance']||!_0x2c4850)return;this['_localeName']=_0x2c4850;const _0x3c2da3=await resolveLocaleDefinition(_0x2c4850);if(_0x2c4850!==DEFAULT_LOCALE&&this['_localeName']!==_0x2c4850)return;const _0x53ec3a=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x2c4850];for(const [_0xf3c5d8,_0xb36956]of Object['entries'](_0x3c2da3)){const _0xfdc36b=_0x53ec3a?.[_0xf3c5d8];this['_blockInstance']['add'](localeStateKey(_0xf3c5d8),_0xfdc36b??_0xb36956,!0x0);for(const _0x930792 of this['_callbacks'])_0x930792();}}),_0x264547['subConfigValue']('localeDefinitionOverride',_0x2edb28=>{if(!_0x2edb28)return;const _0x3c9099=_0x2edb28[this['_localeName']];if(_0x3c9099)for(const [_0x4685a8,_0x2d1dbf]of Object['entries'](_0x3c9099)){this['_blockInstance']?.['add'](localeStateKey(_0x4685a8),_0x2d1dbf,!0x0);for(const _0x3c8ec0 of this['_callbacks'])_0x3c8ec0();}});});}['onLocaleChange'](_0x4268c2){const _0x4fdde5=debounce(_0x4268c2,0x0);return this['_callbacks']['add'](_0x4fdde5),()=>{this['_callbacks']['delete'](_0x4fdde5);};}['bindL10n'](_0x3bacbe,_0x384e16,_0x2e57f6){_0x3bacbe['$'][_0x384e16]=_0x2e57f6(),this['_boundBlocks']['has'](_0x3bacbe)||this['_boundBlocks']['set'](_0x3bacbe,new Map()),this['_boundBlocks']['get'](_0x3bacbe)?.['get'](_0x384e16)?.();const _0x18b2df=this['onLocaleChange'](()=>{_0x3bacbe['$'][_0x384e16]=_0x2e57f6();});this['_boundBlocks']['get'](_0x3bacbe)?.['set'](_0x384e16,_0x18b2df);}['destroyL10nBindings'](_0x3ee271){const _0x14940a=this['_boundBlocks']['get'](_0x3ee271);if(_0x14940a){for(const _0x551a1e of _0x14940a['values']())_0x551a1e();this['_boundBlocks']['delete'](_0x3ee271);}}['destroy'](){this['_callbacks']['clear']();}}function l10nProcessor(_0xe53221,_0x5bdf11){[..._0xe53221['querySelectorAll']('[l10n]')]['forEach'](_0x4fff64=>{let _0x289a2c=_0x4fff64['getAttribute']('l10n');if(!_0x289a2c)return;let _0x4583a0='textContent',_0x3e873a=!0x1;if(_0x289a2c['includes'](':')){const _0x49b3fc=_0x289a2c['split'](':');_0x4583a0=_0x49b3fc[0x0],_0x289a2c=_0x49b3fc[0x1],_0x4583a0['startsWith']('@')&&(_0x4583a0=_0x4583a0['slice'](0x1),_0x3e873a=!0x0);}const _0x53aaca=_0x289a2c;_0x5bdf11['has'](_0x53aaca)&&_0x5bdf11['sub'](_0x53aaca,_0x1bd904=>{if(!_0x1bd904)return;_0x5bdf11['l10nProcessorSubs']['has'](_0x53aaca)||_0x5bdf11['l10nProcessorSubs']['set'](_0x53aaca,new Set());const _0x1112f8=_0x5bdf11['l10nProcessorSubs']['get'](_0x53aaca);_0x1112f8?.['forEach'](_0x6d82d2=>{_0x6d82d2['remove'](),_0x1112f8['delete'](_0x6d82d2),_0x5bdf11['allSubs']['delete'](_0x6d82d2);});const _0x2175dd=localeStateKey(_0x1bd904)['replace']('*','');_0x5bdf11['nodeCtx']['has'](_0x2175dd)||_0x5bdf11['nodeCtx']['add'](_0x2175dd,_0x1bd904);const _0x4def7b=_0x5bdf11['nodeCtx']['sub'](_0x2175dd,()=>{_0x4fff64[_0x4583a0]=_0x5bdf11['l10n'](_0x1bd904);});_0x1112f8?.['add'](_0x4def7b),_0x5bdf11['allSubs']['add'](_0x4def7b),_0x4fff64['removeAttribute']('l10n');});const _0xd947a5=localeStateKey(_0x289a2c);_0x5bdf11['has'](_0xd947a5)||_0x5bdf11['add'](_0xd947a5,''),_0x5bdf11['sub'](_0xd947a5,()=>{_0x3e873a?_0x4fff64['setAttribute'](_0x4583a0,_0x5bdf11['l10n'](_0x289a2c)):_0x4fff64[_0x4583a0]=_0x5bdf11['l10n'](_0x289a2c);}),_0x4fff64['removeAttribute']('l10n');});}const sharedConfigKey=_0x33d29f=>'*cfg/'+_0x33d29f,ROLES={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function focus(_0x5893bd,_0x3b84ed){_0x3b84ed['tabIndex']=0x0,_0x3b84ed['focus'](),_0x5893bd['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0xef2508){let _0x35b162=_0xef2508['role']||_0xef2508['type']||_0xef2508['tagName'];if(!_0x35b162)return null;let _0x3d9898=ROLES[_0x35b162['toLowerCase']()];if(!_0x3d9898)return null;for(let _0x13a2d1 of _0x3d9898){let _0x4f3654=_0xef2508['closest']('[role='+_0x13a2d1+']');if(_0x4f3654)return _0x4f3654;}}function getItems(_0x44ba14,_0x187d02){return'toolbar'===_0x187d02['role']?getToolbarItems(_0x187d02):_0x187d02['querySelectorAll']('[role='+_0x44ba14['role']+']');}function getToolbarItems(_0x43b5c8){return[..._0x43b5c8['querySelectorAll']('*')]['filter'](_0x410e30=>'button'===_0x410e30['role']||'button'===_0x410e30['type']||'checkbox'===_0x410e30['role']||'checkbox'===_0x410e30['type']);}function isHorizontalOrientation(_0x69c7b7){let _0x38af77=_0x69c7b7['getAttribute']('aria-orientation');if('vertical'===_0x38af77)return!0x1;if('horizontal'===_0x38af77)return!0x0;let _0x78422f=_0x69c7b7['role'];return'menubar'===_0x78422f||'tablist'===_0x78422f||'toolbar'===_0x78422f;}function focusGroupKeyUX(_0xe1a2f8){return _0x5dfb76=>{let _0xa8b164=!0x1,_0x565abc=0x0,_0x1ca973='';function _0x8cdc06(_0x20b180){let _0x182f94=findGroupNodeByEventTarget(_0x20b180['target']);if(!_0x182f94)return void _0x2a6a3f();let _0x2ab601=getItems(_0x20b180['target'],_0x182f94),_0x16839a=Array['from'](_0x2ab601)['indexOf'](_0x20b180['target']),_0x286b47='ArrowDown',_0xb7b36='ArrowUp';if(isHorizontalOrientation(_0x182f94)&&('rtl'===_0x5dfb76['document']['dir']?(_0x286b47='ArrowLeft',_0xb7b36='ArrowRight'):(_0x286b47='ArrowRight',_0xb7b36='ArrowLeft')),_0x20b180['key']===_0x286b47)_0x20b180['preventDefault'](),focus(_0x20b180['target'],_0x2ab601[_0x16839a+0x1]||_0x2ab601[0x0]);else{if(_0x20b180['key']===_0xb7b36)_0x20b180['preventDefault'](),focus(_0x20b180['target'],_0x2ab601[_0x16839a-0x1]||_0x2ab601[_0x2ab601['length']-0x1]);else{if('Home'===_0x20b180['key'])_0x20b180['preventDefault'](),focus(_0x20b180['target'],_0x2ab601[0x0]);else{if('End'===_0x20b180['key'])_0x20b180['preventDefault'](),focus(_0x20b180['target'],_0x2ab601[_0x2ab601['length']-0x1]);else{if(0x1===_0x20b180['key']['length']&&'tablist'!==_0x182f94['role']){let _0xb6e2cc=Date['now']();_0xb6e2cc-_0x565abc<=0x12c?_0x1ca973+=_0x20b180['key']['toLowerCase']():_0x1ca973=_0x20b180['key']['toLowerCase'](),_0x565abc=_0xb6e2cc;let _0x1ad17e=Array['from'](_0x2ab601)['find'](_0x48db29=>_0x48db29['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x1ca973));_0x1ad17e&&(_0x20b180['preventDefault'](),focus(_0x20b180['target'],_0x1ad17e));}}}}}}function _0x2a6a3f(){_0xa8b164=!0x1,_0x5dfb76['removeEventListener']('keydown',_0x8cdc06);}function _0x1e9aae(_0x2895e0){let _0x14c334=findGroupNodeByEventTarget(_0x2895e0['target']);if(_0x14c334){_0xa8b164||(_0xa8b164=!0x0,_0x5dfb76['addEventListener']('keydown',_0x8cdc06));let _0x18f695=getItems(_0x2895e0['target'],_0x14c334);for(let _0x7639a8 of _0x18f695)_0x7639a8!==_0x2895e0['target']&&_0x7639a8['setAttribute']('tabindex',-0x1);}else _0xa8b164&&_0x2a6a3f();}function _0x1596e5(_0x5b8ec5){_0x5b8ec5['relatedTarget']&&_0x5b8ec5['relatedTarget']!==_0x5dfb76['document']||_0x2a6a3f();}function _0x325f65(_0x36becb){let _0x395113=findGroupNodeByEventTarget(_0x36becb['target']);if(_0x395113){let _0x44f40c=getItems(_0x36becb['target'],_0x395113);for(let _0x4fdd40 of _0x44f40c)_0x4fdd40!==_0x36becb['target']&&_0x4fdd40['setAttribute']('tabindex',-0x1);_0x36becb['target']['setAttribute']('tabindex',0x0);}}return _0x5dfb76['addEventListener']('click',_0x325f65),_0x5dfb76['addEventListener']('focusin',_0x1e9aae),_0x5dfb76['addEventListener']('focusout',_0x1596e5),()=>{_0x2a6a3f(),_0x5dfb76['removeEventListener']('click',_0x325f65),_0x5dfb76['removeEventListener']('focusin',_0x1e9aae),_0x5dfb76['removeEventListener']('focusout',_0x1596e5);};};}function hiddenKeyUX(){return _0x10da77=>{let _0x2456fd,_0x4c3731;function _0x1a9c41(_0x330840){if('true'===_0x330840['target']['getAttribute']('aria-hidden')){_0x2456fd=_0x330840['target'],_0x2456fd['setAttribute']('aria-hidden','false'),_0x4c3731=_0x2456fd['hidden'],_0x4c3731&&(_0x2456fd['hidden']=!0x1);let _0x48afb3=_0x330840['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x48afb3&&(_0x48afb3['tabIndex']=0x0);}}function _0x1f0e98(_0x4a179e){!_0x2456fd||!_0x2456fd['contains'](_0x4a179e['target'])||_0x4a179e['relatedTarget']&&_0x2456fd['contains'](_0x4a179e['relatedTarget'])||(_0x4a179e['target']['tabIndex']=-0x1,_0x2456fd['setAttribute']('aria-hidden','true'),_0x4c3731&&(_0x2456fd['hidden']=!0x0),_0x2456fd=null);}return _0x10da77['addEventListener']('keyuxJump',_0x1a9c41),_0x10da77['addEventListener']('focusout',_0x1f0e98),()=>{_0x10da77['removeEventListener']('keyuxJump',_0x1a9c41),_0x10da77['removeEventListener']('focusout',_0x1f0e98);};};}function jumpKeyUX(){return _0x55b1be=>{let _0x57fa15=[];function _0x1fa875(){let _0xb3857e=_0x57fa15['pop']();if(!_0xb3857e)return void _0x55b1be['document']['activeElement']['blur']();let _0x169040=_0xb3857e['deref']();_0x169040&&_0x169040['isConnected']?_0x169040['focus']():_0x1fa875();}let _0x9a4eef,_0xfbfd8a=0x0;function _0x35898e(_0x1e5291){clearInterval(_0x9a4eef);let _0x57e1d1=_0x1e5291['getAttribute']('aria-controls');_0x9a4eef=setInterval(()=>{if(_0xfbfd8a++>0x32)return void clearInterval(_0x9a4eef);let _0x598e37=_0x55b1be['document']['getElementById'](_0x57e1d1);if(_0x598e37){let _0x241e51=_0x598e37['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x241e51&&(clearInterval(_0x9a4eef),_0x598e37['dispatchEvent'](new _0x55b1be['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x4a50cf){let _0x474b99=_0x55b1be['document']['activeElement'];_0x474b99&&_0x474b99!==_0x55b1be['document']['body']&&_0x57fa15['push'](new WeakRef(_0x474b99)),_0x4a50cf['focus']({'focusVisible':!0x0});}(_0x241e51));}},0x32);}function _0x3a1981(_0x548b33){_0x548b33['target']['getAttribute']('aria-controls')&&'Enter'===_0x548b33['key']&&_0x35898e(_0x548b33['target']),'Escape'===_0x548b33['key']&&_0x1fa875();}return _0x55b1be['addEventListener']('keydown',_0x3a1981),()=>{_0x55b1be['removeEventListener']('keydown',_0x3a1981);};};}function pressKeyUX(_0x5d45ac){let _0x4bfd7e,_0xf2acdb,_0x16ebd2=_0x5d45ac['split']('\x20');function _0x34f660(_0x1e1065){'Enter'!==_0x1e1065['key']||'BUTTON'!==_0x1e1065['target']['tagName']&&'A'!==_0x1e1065['target']['tagName']||(_0x4e4ce9(),_0x1e1065['target']['classList']['add'](..._0x16ebd2),_0x4bfd7e=_0x1e1065['target'],_0xf2acdb=_0x1e1065['target']);}function _0x4e4ce9(){_0x4bfd7e&&_0x4bfd7e['classList']['remove'](..._0x16ebd2),_0xf2acdb=null;}function _0x2ab286(_0x223f74){0x0===_0x223f74['clientX']&&0x0===_0x223f74['clientY']&&_0xf2acdb!==_0x223f74['target']&&(_0x4e4ce9(),_0x223f74['target']['classList']['add'](..._0x16ebd2),_0x4bfd7e=_0x223f74['target']);}return _0x3b79ba=>(_0x3b79ba['addEventListener']('click',_0x2ab286),_0x3b79ba['addEventListener']('keydown',_0x34f660),_0x3b79ba['addEventListener']('keyup',_0x4e4ce9),()=>{_0x3b79ba['removeEventListener']('click',_0x2ab286),_0x3b79ba['removeEventListener']('keydown',_0x34f660),_0x3b79ba['removeEventListener']('keyup',_0x4e4ce9);});}function startKeyUX(_0x1736ad,_0x37d63e){let _0x42e2a0=_0x37d63e['map'](_0xdcb61a=>_0xdcb61a(_0x1736ad));return()=>{_0x42e2a0['forEach'](_0x436e60=>_0x436e60());};}class ScopedMinimalWindow{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x1debbf,_0x5ec26f){const _0x40b152=_0x5b9fc4=>{const _0x4be096=_0x5b9fc4['target'];_0x4be096&&this['_scope']['some'](_0x5e56ba=>_0x5e56ba===_0x5b9fc4['target']||_0x5e56ba['contains'](_0x4be096))&&_0x5ec26f(_0x5b9fc4);};this['_listeners']['set'](_0x5ec26f,_0x40b152),window['addEventListener'](_0x1debbf,_0x40b152);}['removeEventListener'](_0x3f340c,_0x27bd95){const _0x535085=this['_listeners']['get'](_0x27bd95);_0x535085&&window['removeEventListener'](_0x3f340c,_0x535085),this['_listeners']['delete'](_0x27bd95);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x1bd28d){this['_scope']['push'](_0x1bd28d);}['destroy'](){this['_scope']=[],this['_listeners']['forEach']((_0x741ea5,_0xc53c23)=>{window['removeEventListener']('keydown',_0x741ea5),window['removeEventListener']('keyup',_0x741ea5),this['_listeners']['delete'](_0xc53c23);});}}class A11y{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new ScopedMinimalWindow(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[focusGroupKeyUX(),pressKeyUX('is-pressed'),jumpKeyUX(),hiddenKeyUX()]);}['registerBlock'](_0x417610){this['_scopedWindow']['registerScope'](_0x417610);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}}const TAG_PREFIX='uc-';class Block extends BaseComponent{static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x473a3e,_0x2bf8e0={}){if(!_0x473a3e)return'';let _0x216f87=this['$'][localeStateKey(_0x473a3e)]||_0x473a3e,_0x2f784a=getPluralObjects(_0x216f87);for(let _0xd012b6 of _0x2f784a)_0x2bf8e0[_0xd012b6['variable']]=this['pluralize'](_0xd012b6['pluralKey'],Number(_0x2bf8e0[_0xd012b6['countVariable']]));return applyTemplateData(_0x216f87,_0x2bf8e0);}['pluralize'](_0x863417,_0x48fc30){const _0x3507aa=this['l10n']('locale-id')||'en',_0xe12c4=getPluralForm(_0x3507aa,_0x48fc30);return this['l10n'](_0x863417+'__'+_0xe12c4);}['bindL10n'](_0x27db14,_0x592de8){this['localeManager']?.['bindL10n'](this,_0x27db14,_0x592de8);}constructor(){super(),this['l10nProcessorSubs']=new Map(),this['addTemplateProcessor'](l10nProcessor);}['emit'](_0x459071,_0x17f214,_0x102aa1){const _0x16af30=this['has']('*eventEmitter')&&this['$']['*eventEmitter'];_0x16af30&&_0x16af30['emit'](_0x459071,_0x17f214,_0x102aa1);}['hasBlockInCtx'](_0x38719f){for(let _0x465ac4 of this['blocksRegistry'])if(_0x38719f(_0x465ac4))return!0x0;return!0x1;}['setOrAddState'](_0xccb26a,_0x5a5d65){this['add$']({[_0xccb26a]:_0x5a5d65},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x11ff31=>{this['setAttribute'](_0x11ff31,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?waitForAttribute({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),WindowHeightTracker['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),WindowHeightTracker['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new EventEmitter(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new LocaleManager(this)),this['has']('*a11y')||this['add']('*a11y',new A11y()),this['sub'](localeStateKey('locale-id'),_0x310e24=>{const _0x493dd5=getLocaleDirection(_0x310e24);this['style']['direction']='ltr'===_0x493dd5?'':_0x493dd5;});}get['localeManager'](){return this['has']('*localeManager')?this['$']['*localeManager']:null;}get['a11y'](){return this['has']('*a11y')?this['$']['*a11y']:null;}get['blocksRegistry'](){return this['$']['*blocksRegistry'];}['destroyCallback'](){super['destroyCallback']();let _0xa67ff=this['blocksRegistry'];_0xa67ff?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0xa67ff?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy']();}async['proxyUrl'](_0x1f0d78){if(this['cfg']['secureDeliveryProxy']&&this['cfg']['secureDeliveryProxyUrlResolver']&&console['warn']('Both\x20secureDeliveryProxy\x20and\x20secureDeliveryProxyUrlResolver\x20are\x20set.\x20The\x20secureDeliveryProxyUrlResolver\x20will\x20be\x20used.'),this['cfg']['secureDeliveryProxyUrlResolver'])try{return await this['cfg']['secureDeliveryProxyUrlResolver'](_0x1f0d78,{'uuid':extractUuid(_0x1f0d78),'cdnUrlModifiers':extractCdnUrlModifiers(_0x1f0d78),'fileName':extractFilename(_0x1f0d78)});}catch(_0x2b612e){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x2b612e),_0x1f0d78;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x1f0d78},{'transform':_0x54140f=>window['encodeURIComponent'](_0x54140f)}):_0x1f0d78;}get['cfg'](){if(!this['__cfgProxy']){let _0x163e51=Object['create'](null);this['__cfgProxy']=new Proxy(_0x163e51,{'set':(_0x453d9c,_0x2456db,_0x1f1762)=>{if('string'!=typeof _0x2456db)return!0x1;const _0x3a0147=sharedConfigKey(_0x2456db);return this['has'](_0x3a0147)||this['add'](_0x3a0147,initialConfig[_0x2456db]),this['$'][_0x3a0147]=_0x1f1762,!0x0;},'get':(_0x1b61b1,_0x5517bd)=>{const _0xbc2dd2=sharedConfigKey(_0x5517bd);return this['has'](_0xbc2dd2)||this['add'](_0xbc2dd2,initialConfig[_0x5517bd]),this['$'][sharedConfigKey(_0x5517bd)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x3275a8,_0x611ec5){const _0x30b2ae=sharedConfigKey(_0x3275a8);this['has'](_0x30b2ae)||this['add'](_0x30b2ae,initialConfig[_0x3275a8]),this['sub'](_0x30b2ae,_0x611ec5);}['debugPrint'](..._0x6b578b){if(!this['cfg']['debug'])return;let _0x24fa05=_0x6b578b;'function'==typeof _0x6b578b?.[0x0]&&(_0x24fa05=(0x0,_0x6b578b[0x0])()),console['log']('['+this['ctxName']+']',..._0x24fa05);}static['reg'](_0xca4aea){_0xca4aea?_0xca4aea['startsWith'](TAG_PREFIX)&&super['reg'](_0xca4aea):super['reg']();}}var svgIconsSprite$1='<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-about\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.152\x2014.12v.1h1.523v-.1c.007-.409.053-.752.138-1.028.086-.277.22-.517.405-.72.188-.202.434-.397.735-.586.32-.191.593-.412.82-.66.232-.249.41-.531.533-.847.125-.32.187-.678.187-1.076\x200-.579-.137-1.085-.41-1.518a2.717\x202.717\x200\x200\x200-1.14-1.018c-.49-.245-1.062-.367-1.715-.367-.597\x200-1.142.114-1.636.34-.49.228-.884.564-1.182\x201.008-.299.44-.46.98-.485\x201.619h1.62c.024-.377.118-.684.282-.922a1.48\x201.48\x200\x200\x201\x20.617-.532c.25-.114.51-.17.784-.17.301\x200\x20.575.063.82.191.248.124.447.302.597.533.149.23.223.504.223.82\x200\x20.263-.05.502-.149.72a1.91\x201.91\x200\x200\x201-.405.574\x203.48\x203.48\x200\x200\x201-.575.453\x204.22\x204.22\x200\x200\x200-.847.66c-.234.242-.415.558-.543.949-.125.39-.19.916-.197\x201.577Zm.053\x203.03c.21.206.46.31.75.31.196\x200\x20.374-.049.534-.144a1.1\x201.1\x200\x200\x200\x20.383-.384c.1-.163.15-.343.15-.538a1\x201\x200\x200\x200-.32-.746\x201.019\x201.019\x200\x200\x200-.746-.314c-.291\x200-.542.105-.751.314-.21.206-.314.455-.314.746\x200\x20.295.104.547.314.756ZM24\x2012c0\x206.627-5.373\x2012-12\x2012S0\x2018.627\x200\x2012\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012Zm-1.5\x200c0\x205.799-4.701\x2010.5-10.5\x2010.5S1.5\x2017.799\x201.5\x2012\x206.201\x201.5\x2012\x201.5\x2022.5\x206.201\x2022.5\x2012Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-add\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.75\x2021a.75.75\x200\x200\x201-1.5\x200v-8.25H3a.75.75\x200\x200\x201\x200-1.5h8.25V3a.75.75\x200\x200\x201\x201.5\x200v8.25H21a.75.75\x200\x200\x201\x200\x201.5h-8.25V21Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-arrow-down\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.5\x2023.03a.75.75\x200\x200\x200\x20.999\x200l9.29-8.276a.75.75\x200\x200\x200-.998-1.12l-8.042\x207.164V1.53a.75.75\x200\x200\x200-1.5\x200v19.267l-8.04-7.163a.75.75\x200\x200\x200-.998\x201.12z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-back\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M20.251\x2012a.75.75\x200\x200\x201-.75.75H6.067l5.72\x205.85a.75.75\x200\x201\x201-1.072\x201.05L4.136\x2012.92a1.292\x201.292\x200\x200\x201\x200-1.842l6.579-6.728a.75.75\x200\x201\x201\x201.072\x201.048l-5.72\x205.851H19.5a.75.75\x200\x200\x201\x20.75.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.6\x2018.4a1.6\x201.6\x200\x201\x201-3.2\x200\x201.6\x201.6\x200\x200\x201\x203.2\x200zM12\x204.5A1.5\x201.5\x200\x200\x201\x2013.5\x206v7a1.5\x201.5\x200\x200\x201-3\x200V6A1.5\x201.5\x200\x200\x201\x2012\x204.5z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-success\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m10.5\x2018.204\x207.6-8.183a1.5\x201.5\x200\x200\x200-2.2-2.042l-5.4\x205.817-2.4-2.586a1.5\x201.5\x200\x201\x200-2.2\x202.041l4.6\x204.953Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-box\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M1.01\x204.148a.75.75\x200\x200\x201\x20.75.75v4.348a4.437\x204.437\x200\x200\x201\x202.988-1.153c1.734\x200\x203.23.992\x203.978\x202.438a4.478\x204.478\x200\x200\x201\x203.978-2.438c2.49\x200\x204.488\x202.044\x204.488\x204.543\x200\x202.5-1.999\x204.544-4.488\x204.544a4.478\x204.478\x200\x200\x201-3.978-2.438\x204.478\x204.478\x200\x200\x201-3.978\x202.438C2.26\x2017.18.26\x2015.135.26\x2012.636V4.898a.75.75\x200\x200\x201\x20.75-.75Zm.75\x208.488c0\x201.692\x201.348\x203.044\x202.988\x203.044s2.989-1.352\x202.989-3.044c0-1.691-1.349-3.043-2.989-3.043S1.76\x2010.945\x201.76\x2012.636Zm10.944-3.043c-1.64\x200-2.988\x201.352-2.988\x203.043\x200\x201.692\x201.348\x203.044\x202.988\x203.044s2.988-1.352\x202.988-3.044c0-1.69-1.348-3.043-2.988-3.043Zm4.328-1.23a.75.75\x200\x200\x201\x201.052.128l2.333\x202.983\x202.333-2.983a.75.75\x200\x200\x201\x201.181.924l-2.562\x203.277\x202.562\x203.276a.75.75\x200\x201\x201-1.181.924l-2.333-2.983-2.333\x202.983a.75.75\x200\x201\x201-1.181-.924l2.562-3.276-2.562-3.277a.75.75\x200\x200\x201\x20.129-1.052Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M2\x204.667a2\x202\x200\x200\x200-2\x202V16a2\x202\x200\x200\x200\x202\x202h16a2\x202\x200\x200\x200\x202-2V6.667a2\x202\x200\x200\x200-2-2h-2.667l-2-2.667H6.667l-2\x202.667H2Zm8\x2010a3.667\x203.667\x200\x201\x200\x200-7.334\x203.667\x203.667\x200\x200\x200\x200\x207.334Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-close\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M4.604\x204.604a.75.75\x200\x200\x201\x201.06\x200L12\x2010.939l6.335-6.335a.75.75\x200\x201\x201\x201.061\x201.06L13.061\x2012l6.335\x206.335a.75.75\x200\x201\x201-1.06\x201.061L12\x2013.061l-6.335\x206.335a.75.75\x200\x200\x201-1.061-1.06L10.939\x2012\x204.604\x205.665a.75.75\x200\x200\x201\x200-1.061z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-collapse\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3.116\x2012a.75.75\x200\x200\x201\x20.75-.75h16.268a.75.75\x200\x200\x201\x200\x201.5H3.866a.75.75\x200\x200\x201-.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-default\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-dropbox\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.019\x201.92a.75.75\x200\x200\x201\x20.806\x200L12\x205.219l5.176-3.297a.75.75\x200\x200\x201\x20.806\x200l5.577\x203.553a.75.75\x200\x200\x201\x200\x201.265l-4.574\x202.914\x204.574\x202.914a.75.75\x200\x200\x201\x200\x201.265l-5.577\x203.554a.75.75\x200\x200\x201-.806\x200L12\x2014.089l-5.175\x203.297a.75.75\x200\x200\x201-.806\x200L.44\x2013.833a.75.75\x200\x200\x201\x200-1.266l4.575-2.914L.44\x206.74a.75.75\x200\x200\x201\x200-1.265zm.403\x208.616L2.24\x2013.2l4.182\x202.664\x204.181-2.664zm6.975\x202.664\x204.182\x202.664L21.76\x2013.2l-4.181-2.664zm2.776-3.547L12\x2012.311\x207.828\x209.653\x2012\x206.995zm1.406-.882\x204.181-2.664-4.181-2.664-4.182\x202.664zm-6.976-2.664L6.422\x203.443\x202.24\x206.107\x206.422\x208.77zM5.791\x2018.544a.75.75\x200\x200\x201\x201.035-.23l5.175\x203.297\x205.175-3.297a.75.75\x200\x201\x201\x20.806\x201.265l-5.578\x203.554a.75.75\x200\x200\x201-.806\x200L6.02\x2019.579a.75.75\x200\x200\x201-.23-1.035z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-evernote\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M9.804\x202.27v-.048c.055-.263.313-.562.85-.562h.44c.142\x200\x20.325.014.526.033.066.009.124.023.267.06l.13.032h.002c.319.079.515.275.644.482a1.461\x201.461\x200\x200\x201\x20.16.356l.004.012a.75.75\x200\x200\x200\x20.603.577l1.191.207a1988.512\x201988.512\x200\x200\x200\x202.332.402c.512.083\x201.1.178\x201.665.442.64.3\x201.19.795\x201.376\x201.77.548\x202.931.657\x205.829.621\x208a39.233\x2039.233\x200\x200\x201-.125\x202.602\x2017.518\x2017.518\x200\x200\x201-.092.849.735.735\x200\x200\x200-.024.112c-.378\x202.705-1.269\x203.796-2.04\x204.27-.746.457-1.53.451-2.217.447h-.192c-.46\x200-1.073-.23-1.581-.635-.518-.412-.763-.87-.763-1.217\x200-.45.188-.688.355-.786.161-.095.436-.137.796.087a.75.75\x200\x201\x200\x20.792-1.274c-.766-.476-1.64-.52-2.345-.108-.7.409-1.098\x201.188-1.098\x202.08\x200\x20.996.634\x201.84\x201.329\x202.392.704.56\x201.638.96\x202.515.96l.185.002c.667.009\x201.874.025\x203.007-.67\x201.283-.786\x202.314-2.358\x202.733-5.276a4.213\x204.213\x200\x200\x200\x20.056-.335c.023-.184.051-.445.079-.772.055-.655.111-1.585.13-2.704.037-2.234-.074-5.239-.647-8.301v-.002c-.294-1.544-1.233-2.391-2.215-2.85-.777-.363-1.623-.496-2.129-.576a8.872\x208.872\x200\x200\x201-.25-.041l-.006-.001-1.99-.345-.761-.132a2.93\x202.93\x200\x200\x200-.182-.338A2.532\x202.532\x200\x200\x200\x2012.379.329l-.091-.023a3.967\x203.967\x200\x200\x200-.493-.103L11.769.2a7.846\x207.846\x200\x200\x200-.675-.04h-.44c-.733\x200-1.368.284-1.795.742L2.416\x207.431c-.468.428-.751\x201.071-.751\x201.81\x200\x20.02\x200\x20.041.003.062l.003.034c.017.21.038.468.096.796.107.715.275\x201.47.391\x201.994.029.13.055.245.075.342l.002.008c.258\x201.141.641\x201.94.978\x202.466.168.263.323.456.444.589a2.808\x202.808\x200\x200\x200\x20.192.194c1.536\x201.562\x203.713\x202.196\x205.731\x202.08.13-.005.35-.032.537-.073a2.627\x202.627\x200\x200\x200\x20.652-.24c.425-.26.75-.661.992-1.046.184-.294.342-.61.473-.915a3.8\x203.8\x200\x200\x200\x20.627.493\x205.022\x205.022\x200\x200\x200\x201.97.709l.023.002.018.003.11.016c.088.014.205.035.325.058l.056.014c.088.022.164.04.235.061a1.736\x201.736\x200\x200\x201\x20.145.048l.03.014c.765.34\x201.302\x201.09\x201.302\x201.871a.75.75\x200\x200\x200\x201.5\x200c0-1.456-.964-2.69-2.18-3.235a3.595\x203.595\x200\x200\x200-.679-.217l-.063-.015a10.616\x2010.616\x200\x200\x200-.606-.105l-.02-.003-.03-.003h-.002a3.542\x203.542\x200\x200\x201-1.331-.485c-.471-.298-.788-.692-.828-1.234a.75.75\x200\x200\x200-1.48-.106l-.001.003-.004.017a8.23\x208.23\x200\x200\x201-.092.352\x209.963\x209.963\x200\x200\x201-.298.892c-.132.34-.29.68-.47.966-.174.276-.339.454-.478.549a1.178\x201.178\x200\x200\x201-.221.072\x201.949\x201.949\x200\x200\x201-.241.036h-.013l-.032.002c-1.684.1-3.423-.437-4.604-1.65a.746.746\x200\x200\x200-.053-.05L4.84\x2014.6a1.348\x201.348\x200\x200\x201-.07-.073\x202.99\x202.99\x200\x200\x201-.293-.392c-.242-.379-.558-1.014-.778-1.985a54.1\x2054.1\x200\x200\x200-.083-.376\x2027.494\x2027.494\x200\x200\x201-.367-1.872l-.003-.02a6.791\x206.791\x200\x200\x201-.08-.67c.004-.277.086-.475.2-.609l.067-.067a.63.63\x200\x200\x201\x20.292-.145h.05c.18\x200\x201.095.055\x202.013.115l1.207.08.534.037a.747.747\x200\x200\x200\x20.052.002c.782\x200\x201.349-.206\x201.759-.585l.005-.005c.553-.52.622-1.225.622-1.76V6.24l-.026-.565A774.97\x20774.97\x200\x200\x201\x209.885\x204.4c-.042-.961-.081-1.939-.081-2.13ZM4.995\x206.953a251.126\x20251.126\x200\x200\x201\x202.102.137l.508.035c.48-.004.646-.122.715-.185.07-.068.146-.209.147-.649l-.024-.548a791.69\x20791.69\x200\x200\x201-.095-2.187L4.995\x206.953Zm16.122\x209.996Zm-5.479-5.323a.75.75\x200\x200\x200\x201.014.31\x202.04\x202.04\x200\x200\x201\x20.304-.089\x201.84\x201.84\x200\x200\x201\x20.544-.039c.215.023.321.06.37.085.033.016.039.026.047.04a.75.75\x200\x200\x200\x201.289-.767c-.337-.567-.906-.783-1.552-.85a3.334\x203.334\x200\x200\x200-1.002.062c-.27.056-.531.14-.705.234a.75.75\x200\x200\x200-.31\x201.014Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-expand\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m12\x208.337-8.47\x208.47a.75.75\x200\x200\x201-1.06-1.06l8.605-8.606a1.29\x201.29\x200\x200\x201\x201.85\x200l8.605\x208.605a.75.75\x200\x201\x201-1.06\x201.06L12\x208.338Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-external-source-placeholder\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-facebook\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12\x201.5C6.201\x201.5\x201.5\x206.201\x201.5\x2012c0\x204.943\x203.416\x209.089\x208.016\x2010.204v-6.108H7.383a.75.75\x200\x200\x201-.75-.75v-3.281a.75.75\x200\x200\x201\x20.75-.75h2.133V9.393c0-.958.225-2.511\x201.38-3.65\x201.194-1.177\x203.174-1.718\x206.254-1.056a.75.75\x200\x200\x201\x20.592.733v2.754a.75.75\x200\x200\x201-.75.75c-.692\x200-1.203.026-1.584.082-.387.057-.578.137-.675.202-.109.073-.237.205-.237\x201.029v1.078h2.39a.75.75\x200\x200\x201\x20.742.866l-.516\x203.281a.75.75\x200\x200\x201-.74.634h-1.876v6.106C19.09\x2021.082\x2022.5\x2016.939\x2022.5\x2012c0-5.799-4.701-10.5-10.5-10.5zM0\x2012C0\x205.373\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012c0\x205.995-4.395\x2010.961-10.138\x2011.856a.75.75\x200\x200\x201-.866-.74v-7.77a.75.75\x200\x200\x201\x20.75-.75h1.984l.28-1.781h-2.264a.75.75\x200\x200\x201-.75-.75v-1.828c0-.829.089-1.729.9-2.274.363-.244.807-.37\x201.293-.441a9.623\x209.623\x200\x200\x201\x201.053-.086V6.04c-2.41-.405-3.645.132-4.293.771-.737.728-.933\x201.793-.933\x202.582v2.672a.75.75\x200\x200\x201-.75.75H8.133v1.78h2.133a.75.75\x200\x200\x201\x20.75.75v7.772a.75.75\x200\x200\x201-.865.741C4.4\x2022.968\x200\x2018\x200\x2012z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M2.895\x201.201c0-.473.383-.857.857-.857h8.4c.227\x200\x20.445.09.606.251l8.4\x208.4c.16.16.25.379.25.606v13.2a.857.857\x200\x200\x201-.856.857h-16.8a.857.857\x200\x200\x201-.857-.857zm1.714.857v19.886h15.085V10.458h-7.542a.857.857\x200\x200\x201-.858-.857V2.058zm8.4\x201.213\x205.473\x205.473H13.01z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-flickr\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M5.959\x207.926c-2.298\x200-4.14\x201.834-4.14\x204.073\x200\x202.241\x201.842\x204.075\x204.14\x204.075\x202.302\x200\x204.145-1.834\x204.145-4.075\x200-2.238-1.843-4.073-4.145-4.073Zm-5.64\x204.073c0-3.086\x202.533-5.573\x205.64-5.573\x203.11\x200\x205.645\x202.486\x205.645\x205.573\x200\x203.089-2.535\x205.575-5.645\x205.575-3.107\x200-5.64-2.487-5.64-5.575Zm18.07-4.073c-2.301\x200-4.144\x201.835-4.144\x204.073\x200\x202.24\x201.843\x204.075\x204.145\x204.075\x202.299\x200\x204.141-1.834\x204.141-4.075\x200-2.239-1.842-4.073-4.141-4.073Zm-5.644\x204.073c0-3.087\x202.535-5.573\x205.645-5.573\x203.108\x200\x205.641\x202.487\x205.641\x205.573\x200\x203.088-2.533\x205.575-5.641\x205.575-3.11\x200-5.645-2.486-5.645-5.575Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gphotos\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.51\x200c-.702\x200-1.272.57-1.272\x201.273V7.35A6.381\x206.381\x200\x200\x200\x200\x2011.489c0\x20.703.57\x201.273\x201.273\x201.273H7.35A6.381\x206.381\x200\x200\x200\x2011.488\x2024c.704\x200\x201.274-.57\x201.274-1.273V16.65A6.381\x206.381\x200\x200\x200\x2024\x2012.51c0-.703-.57-1.273-1.273-1.273H16.65A6.381\x206.381\x200\x200\x200\x2012.511\x200Zm.252\x2011.232V1.53a4.857\x204.857\x200\x200\x201\x200\x209.702Zm-1.53.006H1.53a4.857\x204.857\x200\x200\x201\x209.702\x200Zm1.536\x201.524a4.857\x204.857\x200\x200\x200\x209.702\x200h-9.702Zm-6.136\x204.857c0-2.598\x202.04-4.72\x204.606-4.85v9.7a4.857\x204.857\x200\x200\x201-4.606-4.85Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-huddle\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.204\x202.002c-.252.23-.357.486-.357.67V21.07c0\x20.15.084.505.313.812.208.28.499.477.929.477.519\x200\x20.796-.174.956-.365.178-.212.286-.535.286-.924v-.013l.117-6.58c.004-1.725\x201.419-3.883\x203.867-3.883\x201.33\x200\x202.332.581\x202.987\x201.364.637.762.95\x201.717.95\x202.526v6.47c0\x20.392.11.751.305.995.175.22.468.41\x201.008.41.52\x200\x20.816-.198\x201.002-.437.207-.266.31-.633.31-.969V14.04c0-2.81-1.943-5.108-4.136-5.422a5.971\x205.971\x200\x200\x200-3.183.41c-.912.393-1.538.96-1.81\x201.489a.75.75\x200\x200\x201-1.417-.344v-7.5c0-.587-.47-1.031-1.242-1.031-.315\x200-.638.136-.885.36ZM5.194.892A2.844\x202.844\x200\x200\x201\x207.09.142c1.328\x200\x202.742.867\x202.742\x202.53v5.607a6.358\x206.358\x200\x200\x201\x201.133-.629\x207.47\x207.47\x200\x200\x201\x203.989-.516c3.056.436\x205.425\x203.482\x205.425\x206.906v6.914c0\x20.602-.177\x201.313-.627\x201.89-.47.605-1.204\x201.016-2.186\x201.016-.96\x200-1.698-.37-2.179-.973-.46-.575-.633-1.294-.633-1.933v-6.469c0-.456-.19-1.071-.602-1.563-.394-.471-.986-.827-1.836-.827-1.447\x200-2.367\x201.304-2.367\x202.39v.014l-.117\x206.58c-.001.64-.177\x201.333-.637\x201.881-.48.57-1.2.9-2.105.9-.995\x200-1.7-.5-2.132-1.081-.41-.552-.61-1.217-.61-1.708V2.672c0-.707.366-1.341.847-1.78Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-info\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11\x209h2V7h-2m1\x2013c-4.41\x200-8-3.59-8-8s3.59-8\x208-8\x208\x203.59\x208\x208-3.59\x208-8\x208m0-18A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202m-1\x2015h2v-6h-2v6Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-local\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3\x203.75a1.5\x201.5\x200\x200\x200-1.5\x201.5v13.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V9A1.5\x201.5\x200\x200\x200\x2021\x207.5h-9a.75.75\x200\x200\x201-.643-.364L9.325\x203.75zm-3\x201.5a3\x203\x200\x200\x201\x203-3h6.75a.75.75\x200\x200\x201\x20.643.364L12.425\x206H21a3\x203\x200\x200\x201\x203\x203v9.75a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200v6.469a4.5\x204.5\x200\x201\x201-9\x200V4.781Zm4.5-3a3\x203\x200\x200\x200-3\x203v6.469a3\x203\x200\x201\x200\x206\x200V4.781a3\x203\x200\x200\x200-3-3Zm-8.156\x208.11a.75.75\x200\x200\x201\x20.75.75\x207.406\x207.406\x200\x201\x200\x2014.812\x200\x20.75.75\x200\x200\x201\x201.5\x200\x208.907\x208.907\x200\x200\x201-8.156\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.907\x208.907\x200\x200\x201-8.156-8.875.75.75\x200\x200\x201\x20.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone-mute\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200V6l3.524-3.524a.75.75\x200\x201\x201\x201.061\x201.06L5.036\x2019.585a.75.75\x200\x200\x201-1.06-1.06l1.656-1.657a8.88\x208.88\x200\x200\x201-2.538-6.227.75.75\x200\x200\x201\x201.5\x200c0\x202.009.8\x203.83\x202.1\x205.166l1.771-1.772A4.483\x204.483\x200\x200\x201\x207.5\x2011.25V4.781Zm2.037\x208.182L15\x207.5V4.781a3\x203\x200\x201\x200-6\x200v6.469c0\x20.637.198\x201.227.537\x201.713Zm10.62-3.072a.75.75\x200\x200\x201\x20.75.75\x208.907\x208.907\x200\x200\x201-8.157\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.855\x208.855\x200\x200\x201-3.035-.811.75.75\x200\x201\x201\x20.638-1.358\x207.406\x207.406\x200\x200\x200\x2010.553-6.707.75.75\x200\x200\x201\x20.75-.75ZM15\x2010.81a.75.75\x200\x200\x201\x201.5\x200v.439a4.5\x204.5\x200\x200\x201-5\x204.473.75.75\x200\x201\x201\x20.166-1.491A3\x203\x200\x200\x200\x2015\x2011.25v-.44Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-onedrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.616\x204.147a7.689\x207.689\x200\x200\x200-7.642\x203.285A6.299\x206.299\x200\x200\x200\x201.455\x2017.3c.684.894\x202.473\x202.658\x205.17\x202.658h12.141c.95\x200\x201.882-.256\x202.697-.743.815-.486\x201.514-1.247\x201.964-2.083a5.26\x205.26\x200\x200\x200-3.713-7.612\x207.69\x207.69\x200\x200\x200-6.098-5.373ZM3.34\x2017.15c.674.63\x201.761\x201.308\x203.284\x201.308h12.142a3.76\x203.76\x200\x200\x200\x202.915-1.383l-7.494-4.489L3.34\x2017.15Zm10.875-6.25\x202.47-1.038a5.239\x205.239\x200\x200\x201\x201.427-.389\x206.19\x206.19\x200\x200\x200-10.3-1.952\x206.338\x206.338\x200\x200\x201\x202.118.813l4.285\x202.567Zm4.55.033c-.512\x200-1.019.104-1.489.307l-.006.003-1.414.594\x206.521\x203.906a3.76\x203.76\x200\x200\x200-3.357-4.8l-.254-.01ZM4.097\x209.617A4.799\x204.799\x200\x200\x201\x206.558\x208.9c.9\x200\x201.84.25\x202.587.713l3.4\x202.037-10.17\x204.28a4.799\x204.799\x200\x200\x201\x201.721-6.312Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-pause\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20d=\x27M1\x200h2.5v10H1zM6.5\x200H9v10H6.5z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-play\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m1\x200\x209\x205-9\x205V0Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-remove-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.955\x203.3A2.969\x202.969\x200\x200\x200\x208.998\x206h5.914a2.97\x202.97\x200\x200\x200-2.957-2.7zM16.416\x206a4.47\x204.47\x200\x200\x200-8.922\x200h-2.32a.755.755\x200\x200\x200-.111.008H3.075a.75.75\x200\x201\x200\x200\x201.5h1.35V19.35a2.85\x202.85\x200\x200\x200\x202.85\x202.85h9.45a2.85\x202.85\x200\x200\x200\x202.85-2.85V7.508h1.35a.75.75\x200\x200\x200\x200-1.5h-1.989A.754.754\x200\x200\x200\x2018.825\x206zM5.925\x207.508V19.35a1.35\x201.35\x200\x200\x200\x201.35\x201.35h9.45a1.35\x201.35\x200\x200\x200\x201.35-1.35V7.508z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-select\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m7\x2010\x205\x205\x205-5H7Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-square\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><rect\x20width=\x2720\x27\x20height=\x2720\x27\x20rx=\x274\x27\x20fill=\x27#fff\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-url\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M19.11\x203.67c-1.71-1.709-4.578-1.682-6.408.148l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221C14.018.381\x2017.836.276\x2020.17\x202.61l1.22\x201.22c2.335\x202.334\x202.23\x206.153-.147\x208.529l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221c1.83-1.83\x201.856-4.698.147-6.408zm-3.36\x204.58a.75.75\x200\x200\x201\x200\x201.06l-6.439\x206.44a.75.75\x200\x200\x201-1.06-1.06l6.439-6.44a.75.75\x200\x200\x201\x201.06\x200zM6.04\x209.42a.75.75\x200\x200\x201\x200\x201.061l-2.222\x202.222c-1.83\x201.83-1.856\x204.698-.147\x206.407l1.22\x201.22c1.71\x201.71\x204.578\x201.683\x206.408-.147l2.221-2.221a.75.75\x200\x201\x201\x201.06\x201.06l-2.22\x202.222c-2.377\x202.376-6.195\x202.481-8.53.147l-1.22-1.22c-2.334-2.334-2.228-6.153.148-8.53l2.221-2.22a.75.75\x200\x200\x201\x201.06\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-video-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2\x203.333a2\x202\x200\x200\x200-2\x202v9.334a2\x202\x200\x200\x200\x202\x202h10.938a2\x202\x200\x200\x200\x202-2v-2.013L20\x2015.646V4.354l-5.063\x203.03v-2.05a2\x202\x200\x200\x200-2-2H2Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-vk\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol></svg>';class SolutionBlock extends Block{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=uploaderBlockCtx(this);['_template']=null;['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x5b7aec){this['_template']=svgIconsSprite$1+_0x5b7aec+'<slot></slot>';}static get['template'](){return this['_template'];}}const ACTIVE_ATTR='active',ACTIVE_PROP='___ACTIVITY_IS_ACTIVE___';class ActivityBlock extends Block{['historyTracked']=!0x1;['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=debounce(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){let _0x511c5f=ActivityBlock['_activityCallbacks']['get'](this);this[ACTIVE_PROP]=!0x1,this['removeAttribute'](ACTIVE_ATTR),_0x511c5f?.['deactivateCallback']?.();}['_activate'](){let _0x248f44=ActivityBlock['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[ACTIVE_PROP]=!0x0,this['setAttribute'](ACTIVE_ATTR,''),_0x248f44?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](EventType['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['hasAttribute']('current-activity')&&this['sub']('*currentActivity',_0x1dc17b=>{this['setAttribute']('current-activity',_0x1dc17b);}),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x8f5c18=>{try{this['activityType']!==_0x8f5c18&&this[ACTIVE_PROP]?this['_deactivate']():this['activityType']!==_0x8f5c18||this[ACTIVE_PROP]||this['_activate']();}catch(_0x407f00){console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x407f00),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x8f5c18||(this['$']['*history']=[]);}),this['has']('*modalActive')&&this['sub']('*modalActive',_0xf5eb7d=>{_0xf5eb7d||this['activityType']!==this['$']['*currentActivity']||(this['$']['*currentActivity']=null);}));}['_historyFlush'](){let _0x19ab13=this['$']['*history'];_0x19ab13&&(_0x19ab13['length']>0xa&&(_0x19ab13=_0x19ab13['slice'](_0x19ab13['length']-0xb,_0x19ab13['length']-0x1)),this['historyTracked']&&_0x19ab13[_0x19ab13['length']-0x1]!==this['activityType']&&_0x19ab13['push'](this['activityType']),this['$']['*history']=_0x19ab13);}['_isActivityRegistered'](){return this['activityType']&&ActivityBlock['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();get['isActivityActive'](){return this[ACTIVE_PROP];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x45ed03,_0x39a8b7={}){const {onActivate:_0x5b1e52,onDeactivate:_0x510a09}=_0x39a8b7;ActivityBlock['_activityCallbacks']['set'](this,{'activateCallback':_0x5b1e52,'deactivateCallback':_0x510a09});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),ActivityBlock['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x26deff=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x4f4e31=>_0x4f4e31 instanceof ActivityBlock&&_0x4f4e31['activityType']===_0x26deff)||(this['$']['*currentActivity']=null,this['setOrAddState']('*modalActive',!0x1));}get['activityKey'](){return this['ctxName']+this['activityType'];}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity');}get['doneActivity'](){return this['getCssData']('--cfg-done-activity');}['historyBack'](){let _0x4a88d5=this['$']['*history'];if(_0x4a88d5){let _0x5ed501=_0x4a88d5['pop']();for(;_0x5ed501===this['activityType'];)_0x5ed501=_0x4a88d5['pop']();let _0x4530dc=!!_0x5ed501;if(_0x5ed501){const _0x45401d=[...this['blocksRegistry']]['find'](_0x2e53d6=>_0x2e53d6['activityType']===_0x5ed501);_0x4530dc=_0x45401d?.['couldOpenActivity']??!0x1;}_0x5ed501=_0x4530dc?_0x5ed501:void 0x0,this['$']['*currentActivity']=_0x5ed501,this['$']['*history']=_0x4a88d5,_0x5ed501||this['setOrAddState']('*modalActive',!0x1);}}}ActivityBlock['activities']=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','DRAW':'draw','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'});const CROP_PADDING=0x14,THUMB_CORNER_SIZE=0x18,THUMB_SIDE_SIZE=0x22,THUMB_STROKE_WIDTH=0x3,THUMB_OFFSET=THUMB_STROKE_WIDTH/0x2,GUIDE_STROKE_WIDTH=0x1,GUIDE_THIRD=0x64/0x3,MIN_CROP_SIZE=0x1,MAX_INTERACTION_SIZE=0x18,MIN_INTERACTION_SIZE=0x6;function setSvgNodeAttrs(_0x2c949b,_0x3e4b97){for(let _0x40bd65 in _0x3e4b97)_0x2c949b['setAttributeNS'](null,_0x40bd65,_0x3e4b97[_0x40bd65]['toString']());}function createSvgNode(_0x297460,_0x2f7f89={}){let _0x4be46c=document['createElementNS']('http://www.w3.org/2000/svg',_0x297460);return setSvgNodeAttrs(_0x4be46c,_0x2f7f89),_0x4be46c;}function cornerPath(_0x4b03f9,_0x299913,_0x2fc279){let {x:_0x44f4b1,y:_0x43237e,width:_0x388c29,height:_0x4699c9}=_0x4b03f9,_0x40928c=_0x299913['includes']('w')?0x0:0x1,_0x322d64=_0x299913['includes']('n')?0x0:0x1,_0x8e5265=[-0x1,0x1][_0x40928c],_0x4a8e5c=[-0x1,0x1][_0x322d64],_0xdb728c=[_0x44f4b1+_0x40928c*_0x388c29+THUMB_OFFSET*_0x8e5265,_0x43237e+_0x322d64*_0x4699c9+THUMB_OFFSET*_0x4a8e5c-THUMB_CORNER_SIZE*_0x2fc279*_0x4a8e5c],_0x3daaeb=[_0x44f4b1+_0x40928c*_0x388c29+THUMB_OFFSET*_0x8e5265,_0x43237e+_0x322d64*_0x4699c9+THUMB_OFFSET*_0x4a8e5c],_0x5b6a9a=[_0x44f4b1+_0x40928c*_0x388c29-THUMB_CORNER_SIZE*_0x2fc279*_0x8e5265+THUMB_OFFSET*_0x8e5265,_0x43237e+_0x322d64*_0x4699c9+THUMB_OFFSET*_0x4a8e5c];return{'d':'M\x20'+_0xdb728c[0x0]+'\x20'+_0xdb728c[0x1]+'\x20L\x20'+_0x3daaeb[0x0]+'\x20'+_0x3daaeb[0x1]+'\x20L\x20'+_0x5b6a9a[0x0]+'\x20'+_0x5b6a9a[0x1],'center':_0x3daaeb};}function sidePath(_0x43d379,_0x4a5f3c,_0x3ecc78){let _0x2bdbf8,_0xec0467,{x:_0x1456f9,y:_0x582c5f,width:_0x18dd4f,height:_0x4b16ba}=_0x43d379,_0x2352d7=['n','s']['includes'](_0x4a5f3c)?0.5:{'w':0x0,'e':0x1}[_0x4a5f3c],_0x36511a=['w','e']['includes'](_0x4a5f3c)?0.5:{'n':0x0,'s':0x1}[_0x4a5f3c],_0x14cfc1=[-0x1,0x1][_0x2352d7],_0x4303a8=[-0x1,0x1][_0x36511a];return['n','s']['includes'](_0x4a5f3c)?(_0x2bdbf8=[_0x1456f9+_0x2352d7*_0x18dd4f-THUMB_SIDE_SIZE*_0x3ecc78/0x2,_0x582c5f+_0x36511a*_0x4b16ba+THUMB_OFFSET*_0x4303a8],_0xec0467=[_0x1456f9+_0x2352d7*_0x18dd4f+THUMB_SIDE_SIZE*_0x3ecc78/0x2,_0x582c5f+_0x36511a*_0x4b16ba+THUMB_OFFSET*_0x4303a8]):(_0x2bdbf8=[_0x1456f9+_0x2352d7*_0x18dd4f+THUMB_OFFSET*_0x14cfc1,_0x582c5f+_0x36511a*_0x4b16ba-THUMB_SIDE_SIZE*_0x3ecc78/0x2],_0xec0467=[_0x1456f9+_0x2352d7*_0x18dd4f+THUMB_OFFSET*_0x14cfc1,_0x582c5f+_0x36511a*_0x4b16ba+THUMB_SIDE_SIZE*_0x3ecc78/0x2]),{'d':'M\x20'+_0x2bdbf8[0x0]+'\x20'+_0x2bdbf8[0x1]+'\x20L\x20'+_0xec0467[0x0]+'\x20'+_0xec0467[0x1],'center':[_0xec0467[0x0]-(_0xec0467[0x0]-_0x2bdbf8[0x0])/0x2,_0xec0467[0x1]-(_0xec0467[0x1]-_0x2bdbf8[0x1])/0x2]};}function thumbCursor(_0x2a0447){return''===_0x2a0447?'move':['e','w']['includes'](_0x2a0447)?'ew-resize':['n','s']['includes'](_0x2a0447)?'ns-resize':['nw','se']['includes'](_0x2a0447)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0x5d48ca,delta:[_0x438e12,_0x9f27b7],imageBox:_0x4e4ddd}){return constraintRect({..._0x5d48ca,'x':_0x5d48ca['x']+_0x438e12,'y':_0x5d48ca['y']+_0x9f27b7},_0x4e4ddd);}function constraintRect(_0x12bd43,_0x54d7a7){let {x:_0x2bc506}=_0x12bd43,{y:_0x5a89f2}=_0x12bd43;return _0x12bd43['x']<_0x54d7a7['x']?_0x2bc506=_0x54d7a7['x']:_0x12bd43['x']+_0x12bd43['width']>_0x54d7a7['x']+_0x54d7a7['width']&&(_0x2bc506=_0x54d7a7['x']+_0x54d7a7['width']-_0x12bd43['width']),_0x12bd43['y']<_0x54d7a7['y']?_0x5a89f2=_0x54d7a7['y']:_0x12bd43['y']+_0x12bd43['height']>_0x54d7a7['y']+_0x54d7a7['height']&&(_0x5a89f2=_0x54d7a7['y']+_0x54d7a7['height']-_0x12bd43['height']),{..._0x12bd43,'x':_0x2bc506,'y':_0x5a89f2};}function resizeNorth({rect:_0x350ca7,delta:_0x4a7f02,aspectRatio:_0x6865f7,imageBox:_0x59a226}){const [,_0x55871d]=_0x4a7f02;let {y:_0x44da4c,width:_0x4741eb,height:_0x16ae23}=_0x350ca7;_0x44da4c+=_0x55871d,_0x16ae23-=_0x55871d,_0x6865f7&&(_0x4741eb=_0x16ae23*_0x6865f7);let _0xe6586c=_0x350ca7['x']+_0x350ca7['width']/0x2-_0x4741eb/0x2;return _0x44da4c<=_0x59a226['y']&&(_0x44da4c=_0x59a226['y'],_0x16ae23=_0x350ca7['y']+_0x350ca7['height']-_0x44da4c,_0x6865f7&&(_0x4741eb=_0x16ae23*_0x6865f7,_0xe6586c=_0x350ca7['x']+_0x350ca7['width']/0x2-_0x4741eb/0x2)),_0xe6586c<=_0x59a226['x']&&(_0xe6586c=_0x59a226['x'],_0x44da4c=_0x350ca7['y']+_0x350ca7['height']-_0x16ae23),_0xe6586c+_0x4741eb>=_0x59a226['x']+_0x59a226['width']&&(_0xe6586c=Math['max'](_0x59a226['x'],_0x59a226['x']+_0x59a226['width']-_0x4741eb),_0x4741eb=_0x59a226['x']+_0x59a226['width']-_0xe6586c,_0x6865f7&&(_0x16ae23=_0x4741eb/_0x6865f7),_0x44da4c=_0x350ca7['y']+_0x350ca7['height']-_0x16ae23),_0x16ae23<MIN_CROP_SIZE&&(_0x16ae23=MIN_CROP_SIZE,_0x6865f7&&(_0x4741eb=_0x16ae23*_0x6865f7,_0xe6586c=_0x350ca7['x']+_0x350ca7['width']/0x2-_0x4741eb/0x2),_0x44da4c=_0x350ca7['y']+_0x350ca7['height']-_0x16ae23),_0x4741eb<MIN_CROP_SIZE&&(_0x4741eb=MIN_CROP_SIZE,_0x6865f7&&(_0x16ae23=_0x4741eb/_0x6865f7,_0xe6586c=_0x350ca7['x']+_0x350ca7['width']/0x2-_0x4741eb/0x2),_0x44da4c=_0x350ca7['y']+_0x350ca7['height']-_0x16ae23),{'x':_0xe6586c,'y':_0x44da4c,'width':_0x4741eb,'height':_0x16ae23};}function resizeWest({rect:_0x219deb,delta:_0x5b248f,aspectRatio:_0x5bdb8f,imageBox:_0x1495db}){const [_0x4f06dd]=_0x5b248f;let {x:_0x7b7019,width:_0x6bd612,height:_0x364688}=_0x219deb;_0x7b7019+=_0x4f06dd,_0x6bd612-=_0x4f06dd,_0x5bdb8f&&(_0x364688=_0x6bd612/_0x5bdb8f);let _0x5d6588=_0x219deb['y']+_0x219deb['height']/0x2-_0x364688/0x2;return _0x7b7019<=_0x1495db['x']&&(_0x7b7019=_0x1495db['x'],_0x6bd612=_0x219deb['x']+_0x219deb['width']-_0x7b7019,_0x5bdb8f&&(_0x364688=_0x6bd612/_0x5bdb8f,_0x5d6588=_0x219deb['y']+_0x219deb['height']/0x2-_0x364688/0x2)),_0x5d6588<=_0x1495db['y']&&(_0x5d6588=_0x1495db['y'],_0x7b7019=_0x219deb['x']+_0x219deb['width']-_0x6bd612),_0x5d6588+_0x364688>=_0x1495db['y']+_0x1495db['height']&&(_0x5d6588=Math['max'](_0x1495db['y'],_0x1495db['y']+_0x1495db['height']-_0x364688),_0x364688=_0x1495db['y']+_0x1495db['height']-_0x5d6588,_0x5bdb8f&&(_0x6bd612=_0x364688*_0x5bdb8f),_0x7b7019=_0x219deb['x']+_0x219deb['width']-_0x6bd612),_0x364688<MIN_CROP_SIZE&&(_0x364688=MIN_CROP_SIZE,_0x5bdb8f&&(_0x6bd612=_0x364688*_0x5bdb8f),_0x5d6588=_0x219deb['y']+_0x219deb['height']/0x2-_0x364688/0x2,_0x7b7019=_0x219deb['x']+_0x219deb['width']-_0x6bd612),_0x6bd612<MIN_CROP_SIZE&&(_0x6bd612=MIN_CROP_SIZE,_0x5bdb8f&&(_0x364688=_0x6bd612/_0x5bdb8f),_0x5d6588=_0x219deb['y']+_0x219deb['height']/0x2-_0x364688/0x2,_0x7b7019=_0x219deb['x']+_0x219deb['width']-_0x6bd612),{'x':_0x7b7019,'y':_0x5d6588,'width':_0x6bd612,'height':_0x364688};}function resizeSouth({rect:_0x45dc0d,delta:_0x19a1d1,aspectRatio:_0x49888d,imageBox:_0x392683}){const [,_0x2db350]=_0x19a1d1;let {y:_0x4fb345,width:_0x5359a1,height:_0x526678}=_0x45dc0d;_0x526678+=_0x2db350,_0x49888d&&(_0x5359a1=_0x526678*_0x49888d);let _0x42ba10=_0x45dc0d['x']+_0x45dc0d['width']/0x2-_0x5359a1/0x2;return _0x4fb345+_0x526678>=_0x392683['y']+_0x392683['height']&&(_0x526678=_0x392683['y']+_0x392683['height']-_0x4fb345,_0x49888d&&(_0x5359a1=_0x526678*_0x49888d),_0x42ba10=_0x45dc0d['x']+_0x45dc0d['width']/0x2-_0x5359a1/0x2),_0x42ba10<=_0x392683['x']&&(_0x42ba10=_0x392683['x'],_0x4fb345=_0x45dc0d['y']),_0x42ba10+_0x5359a1>=_0x392683['x']+_0x392683['width']&&(_0x42ba10=Math['max'](_0x392683['x'],_0x392683['x']+_0x392683['width']-_0x5359a1),_0x5359a1=_0x392683['x']+_0x392683['width']-_0x42ba10,_0x49888d&&(_0x526678=_0x5359a1/_0x49888d),_0x4fb345=_0x45dc0d['y']),_0x526678<MIN_CROP_SIZE&&(_0x526678=MIN_CROP_SIZE,_0x49888d&&(_0x5359a1=_0x526678*_0x49888d),_0x42ba10=_0x45dc0d['x']+_0x45dc0d['width']/0x2-_0x5359a1/0x2),_0x5359a1<MIN_CROP_SIZE&&(_0x5359a1=MIN_CROP_SIZE,_0x49888d&&(_0x526678=_0x5359a1/_0x49888d),_0x42ba10=_0x45dc0d['x']+_0x45dc0d['width']/0x2-_0x5359a1/0x2),{'x':_0x42ba10,'y':_0x4fb345,'width':_0x5359a1,'height':_0x526678};}function resizeEast({rect:_0x3ba08e,delta:_0x3d5114,aspectRatio:_0x24b13c,imageBox:_0x31a05b}){const [_0x436234]=_0x3d5114;let {x:_0x352766,width:_0xf301d5,height:_0x15298a}=_0x3ba08e;_0xf301d5+=_0x436234,_0x24b13c&&(_0x15298a=_0xf301d5/_0x24b13c);let _0x498fa9=_0x3ba08e['y']+_0x3ba08e['height']/0x2-_0x15298a/0x2;return _0x352766+_0xf301d5>=_0x31a05b['x']+_0x31a05b['width']&&(_0xf301d5=_0x31a05b['x']+_0x31a05b['width']-_0x352766,_0x24b13c&&(_0x15298a=_0xf301d5/_0x24b13c),_0x498fa9=_0x3ba08e['y']+_0x3ba08e['height']/0x2-_0x15298a/0x2),_0x498fa9<=_0x31a05b['y']&&(_0x498fa9=_0x31a05b['y'],_0x352766=_0x3ba08e['x']),_0x498fa9+_0x15298a>=_0x31a05b['y']+_0x31a05b['height']&&(_0x498fa9=Math['max'](_0x31a05b['y'],_0x31a05b['y']+_0x31a05b['height']-_0x15298a),_0x15298a=_0x31a05b['y']+_0x31a05b['height']-_0x498fa9,_0x24b13c&&(_0xf301d5=_0x15298a*_0x24b13c),_0x352766=_0x3ba08e['x']),_0x15298a<MIN_CROP_SIZE&&(_0x15298a=MIN_CROP_SIZE,_0x24b13c&&(_0xf301d5=_0x15298a*_0x24b13c),_0x498fa9=_0x3ba08e['y']+_0x3ba08e['height']/0x2-_0x15298a/0x2),_0xf301d5<MIN_CROP_SIZE&&(_0xf301d5=MIN_CROP_SIZE,_0x24b13c&&(_0x15298a=_0xf301d5/_0x24b13c),_0x498fa9=_0x3ba08e['y']+_0x3ba08e['height']/0x2-_0x15298a/0x2),{'x':_0x352766,'y':_0x498fa9,'width':_0xf301d5,'height':_0x15298a};}function resizeNorthWest({rect:_0x5bac68,delta:_0x39994b,aspectRatio:_0x5cf0c4,imageBox:_0x31a589}){let [_0x5bf652,_0x16197b]=_0x39994b,{x:_0x31d828,y:_0x371c8e,width:_0x22c4f2,height:_0x517766}=_0x5bac68;return _0x31d828+_0x5bf652<_0x31a589['x']&&(_0x5bf652=_0x31a589['x']-_0x31d828),_0x371c8e+_0x16197b<_0x31a589['y']&&(_0x16197b=_0x31a589['y']-_0x371c8e),_0x31d828+=_0x5bf652,_0x22c4f2-=_0x5bf652,_0x371c8e+=_0x16197b,_0x517766-=_0x16197b,_0x5cf0c4&&Math['abs'](_0x22c4f2/_0x517766)>_0x5cf0c4?(_0x16197b=_0x22c4f2/_0x5cf0c4-_0x517766,_0x517766+=_0x16197b,_0x371c8e-=_0x16197b,_0x371c8e<=_0x31a589['y']&&(_0x517766-=_0x31a589['y']-_0x371c8e,_0x22c4f2=_0x517766*_0x5cf0c4,_0x31d828=_0x5bac68['x']+_0x5bac68['width']-_0x22c4f2,_0x371c8e=_0x31a589['y'])):_0x5cf0c4&&(_0x5bf652=_0x517766*_0x5cf0c4-_0x22c4f2,_0x22c4f2+=_0x5bf652,_0x31d828-=_0x5bf652,_0x31d828<=_0x31a589['x']&&(_0x22c4f2-=_0x31a589['x']-_0x31d828,_0x517766=_0x22c4f2/_0x5cf0c4,_0x31d828=_0x31a589['x'],_0x371c8e=_0x5bac68['y']+_0x5bac68['height']-_0x517766)),_0x517766<MIN_CROP_SIZE&&(_0x517766=MIN_CROP_SIZE,_0x5cf0c4&&(_0x22c4f2=_0x517766*_0x5cf0c4),_0x31d828=_0x5bac68['x']+_0x5bac68['width']-_0x22c4f2,_0x371c8e=_0x5bac68['y']+_0x5bac68['height']-_0x517766),_0x22c4f2<MIN_CROP_SIZE&&(_0x22c4f2=MIN_CROP_SIZE,_0x5cf0c4&&(_0x517766=_0x22c4f2/_0x5cf0c4),_0x31d828=_0x5bac68['x']+_0x5bac68['width']-_0x22c4f2,_0x371c8e=_0x5bac68['y']+_0x5bac68['height']-_0x517766),{'x':_0x31d828,'y':_0x371c8e,'width':_0x22c4f2,'height':_0x517766};}function resizeNorthEast({rect:_0x436509,delta:_0x537ab8,aspectRatio:_0x274936,imageBox:_0x593acf}){let [_0x47cbbf,_0x295a45]=_0x537ab8,{x:_0x34ccf4,y:_0x3880c1,width:_0x4e36f9,height:_0x2ac9c0}=_0x436509;return _0x34ccf4+_0x4e36f9+_0x47cbbf>_0x593acf['x']+_0x593acf['width']&&(_0x47cbbf=_0x593acf['x']+_0x593acf['width']-_0x34ccf4-_0x4e36f9),_0x3880c1+_0x295a45<_0x593acf['y']&&(_0x295a45=_0x593acf['y']-_0x3880c1),_0x4e36f9+=_0x47cbbf,_0x3880c1+=_0x295a45,_0x2ac9c0-=_0x295a45,_0x274936&&Math['abs'](_0x4e36f9/_0x2ac9c0)>_0x274936?(_0x295a45=_0x4e36f9/_0x274936-_0x2ac9c0,_0x2ac9c0+=_0x295a45,_0x3880c1-=_0x295a45,_0x3880c1<=_0x593acf['y']&&(_0x2ac9c0-=_0x593acf['y']-_0x3880c1,_0x4e36f9=_0x2ac9c0*_0x274936,_0x34ccf4=_0x436509['x'],_0x3880c1=_0x593acf['y'])):_0x274936&&(_0x47cbbf=_0x2ac9c0*_0x274936-_0x4e36f9,_0x4e36f9+=_0x47cbbf,_0x34ccf4+_0x4e36f9>=_0x593acf['x']+_0x593acf['width']&&(_0x4e36f9=_0x593acf['x']+_0x593acf['width']-_0x34ccf4,_0x2ac9c0=_0x4e36f9/_0x274936,_0x34ccf4=_0x593acf['x']+_0x593acf['width']-_0x4e36f9,_0x3880c1=_0x436509['y']+_0x436509['height']-_0x2ac9c0)),_0x2ac9c0<MIN_CROP_SIZE&&(_0x2ac9c0=MIN_CROP_SIZE,_0x274936&&(_0x4e36f9=_0x2ac9c0*_0x274936),_0x3880c1=_0x436509['y']+_0x436509['height']-_0x2ac9c0),_0x4e36f9<MIN_CROP_SIZE&&(_0x4e36f9=MIN_CROP_SIZE,_0x274936&&(_0x2ac9c0=_0x4e36f9/_0x274936),_0x3880c1=_0x436509['y']+_0x436509['height']-_0x2ac9c0),{'x':_0x34ccf4,'y':_0x3880c1,'width':_0x4e36f9,'height':_0x2ac9c0};}function resizeSouthWest({rect:_0x20adaf,delta:_0x4cda3d,aspectRatio:_0x5c499f,imageBox:_0x1a0bf5}){let [_0x30bbdc,_0x134436]=_0x4cda3d,{x:_0x2d741f,y:_0x5cada8,width:_0x16d7b9,height:_0x16fde1}=_0x20adaf;return _0x2d741f+_0x30bbdc<_0x1a0bf5['x']&&(_0x30bbdc=_0x1a0bf5['x']-_0x2d741f),_0x5cada8+_0x16fde1+_0x134436>_0x1a0bf5['y']+_0x1a0bf5['height']&&(_0x134436=_0x1a0bf5['y']+_0x1a0bf5['height']-_0x5cada8-_0x16fde1),_0x2d741f+=_0x30bbdc,_0x16d7b9-=_0x30bbdc,_0x16fde1+=_0x134436,_0x5c499f&&Math['abs'](_0x16d7b9/_0x16fde1)>_0x5c499f?(_0x134436=_0x16d7b9/_0x5c499f-_0x16fde1,_0x16fde1+=_0x134436,_0x5cada8+_0x16fde1>=_0x1a0bf5['y']+_0x1a0bf5['height']&&(_0x16fde1=_0x1a0bf5['y']+_0x1a0bf5['height']-_0x5cada8,_0x16d7b9=_0x16fde1*_0x5c499f,_0x2d741f=_0x20adaf['x']+_0x20adaf['width']-_0x16d7b9,_0x5cada8=_0x1a0bf5['y']+_0x1a0bf5['height']-_0x16fde1)):_0x5c499f&&(_0x30bbdc=_0x16fde1*_0x5c499f-_0x16d7b9,_0x16d7b9+=_0x30bbdc,_0x2d741f-=_0x30bbdc,_0x2d741f<=_0x1a0bf5['x']&&(_0x16d7b9-=_0x1a0bf5['x']-_0x2d741f,_0x16fde1=_0x16d7b9/_0x5c499f,_0x2d741f=_0x1a0bf5['x'],_0x5cada8=_0x20adaf['y'])),_0x16fde1<MIN_CROP_SIZE&&(_0x16fde1=MIN_CROP_SIZE,_0x5c499f&&(_0x16d7b9=_0x16fde1*_0x5c499f),_0x2d741f=_0x20adaf['x']+_0x20adaf['width']-_0x16d7b9),_0x16d7b9<MIN_CROP_SIZE&&(_0x16d7b9=MIN_CROP_SIZE,_0x5c499f&&(_0x16fde1=_0x16d7b9/_0x5c499f),_0x2d741f=_0x20adaf['x']+_0x20adaf['width']-_0x16d7b9),{'x':_0x2d741f,'y':_0x5cada8,'width':_0x16d7b9,'height':_0x16fde1};}function resizeSouthEast({rect:_0x4d0bdf,delta:_0x2537bf,aspectRatio:_0x17d59e,imageBox:_0x58b487}){let [_0x1b137d,_0x495f3b]=_0x2537bf,{x:_0x30ab84,y:_0xe0907b,width:_0xbb5a25,height:_0x39184e}=_0x4d0bdf;return _0x30ab84+_0xbb5a25+_0x1b137d>_0x58b487['x']+_0x58b487['width']&&(_0x1b137d=_0x58b487['x']+_0x58b487['width']-_0x30ab84-_0xbb5a25),_0xe0907b+_0x39184e+_0x495f3b>_0x58b487['y']+_0x58b487['height']&&(_0x495f3b=_0x58b487['y']+_0x58b487['height']-_0xe0907b-_0x39184e),_0xbb5a25+=_0x1b137d,_0x39184e+=_0x495f3b,_0x17d59e&&Math['abs'](_0xbb5a25/_0x39184e)>_0x17d59e?(_0x495f3b=_0xbb5a25/_0x17d59e-_0x39184e,_0x39184e+=_0x495f3b,_0xe0907b+_0x39184e>=_0x58b487['y']+_0x58b487['height']&&(_0x39184e=_0x58b487['y']+_0x58b487['height']-_0xe0907b,_0xbb5a25=_0x39184e*_0x17d59e,_0x30ab84=_0x4d0bdf['x'],_0xe0907b=_0x58b487['y']+_0x58b487['height']-_0x39184e)):_0x17d59e&&(_0x1b137d=_0x39184e*_0x17d59e-_0xbb5a25,_0xbb5a25+=_0x1b137d,_0x30ab84+_0xbb5a25>=_0x58b487['x']+_0x58b487['width']&&(_0xbb5a25=_0x58b487['x']+_0x58b487['width']-_0x30ab84,_0x39184e=_0xbb5a25/_0x17d59e,_0x30ab84=_0x58b487['x']+_0x58b487['width']-_0xbb5a25,_0xe0907b=_0x4d0bdf['y'])),_0x39184e<MIN_CROP_SIZE&&(_0x39184e=MIN_CROP_SIZE,_0x17d59e&&(_0xbb5a25=_0x39184e*_0x17d59e)),_0xbb5a25<MIN_CROP_SIZE&&(_0xbb5a25=MIN_CROP_SIZE,_0x17d59e&&(_0x39184e=_0xbb5a25/_0x17d59e)),{'x':_0x30ab84,'y':_0xe0907b,'width':_0xbb5a25,'height':_0x39184e};}function resizeRect({direction:_0x3241d5,..._0xd36bdf}){switch(_0x3241d5){case'n':return resizeNorth(_0xd36bdf);case'w':return resizeWest(_0xd36bdf);case's':return resizeSouth(_0xd36bdf);case'e':return resizeEast(_0xd36bdf);case'nw':return resizeNorthWest(_0xd36bdf);case'ne':return resizeNorthEast(_0xd36bdf);case'sw':return resizeSouthWest(_0xd36bdf);case'se':return resizeSouthEast(_0xd36bdf);default:return _0xd36bdf['rect'];}}function rectContainsPoint(_0x232357,[_0x2cb82f,_0x42488f]){return _0x232357['x']<=_0x2cb82f&&_0x2cb82f<=_0x232357['x']+_0x232357['width']&&_0x232357['y']<=_0x42488f&&_0x42488f<=_0x232357['y']+_0x232357['height'];}function isRectInsideRect(_0x4e6467,_0x2f0f7a){return _0x4e6467['x']>=_0x2f0f7a['x']&&_0x4e6467['y']>=_0x2f0f7a['y']&&_0x4e6467['x']+_0x4e6467['width']<=_0x2f0f7a['x']+_0x2f0f7a['width']&&_0x4e6467['y']+_0x4e6467['height']<=_0x2f0f7a['y']+_0x2f0f7a['height'];}function isRectMatchesAspectRatio(_0x1def50,_0x536d1d){return Math['abs'](_0x1def50['width']/_0x1def50['height']-_0x536d1d)<0.1;}function rotateSize({width:_0x566f05,height:_0x266986},_0x5ca73d){let _0x722f9f=_0x5ca73d/0x5a%0x2!=0x0;return{'width':_0x722f9f?_0x266986:_0x566f05,'height':_0x722f9f?_0x566f05:_0x266986};}function calculateMaxCenteredCropFrame(_0x10a032,_0x4616c8,_0x5086ae){let _0xcf2041,_0x312caf;_0x10a032/_0x4616c8>_0x5086ae?(_0xcf2041=Math['round'](_0x4616c8*_0x5086ae),_0x312caf=_0x4616c8):(_0xcf2041=_0x10a032,_0x312caf=Math['round'](_0x10a032/_0x5086ae));const _0x57e9f0=Math['round']((_0x10a032-_0xcf2041)/0x2),_0x1e3e0c=Math['round']((_0x4616c8-_0x312caf)/0x2);return _0x57e9f0+_0xcf2041>_0x10a032&&(_0xcf2041=_0x10a032-_0x57e9f0),_0x1e3e0c+_0x312caf>_0x4616c8&&(_0x312caf=_0x4616c8-_0x1e3e0c),{'x':_0x57e9f0,'y':_0x1e3e0c,'width':_0xcf2041,'height':_0x312caf};}function roundRect(_0x2ec6e7){return{'x':Math['round'](_0x2ec6e7['x']),'y':Math['round'](_0x2ec6e7['y']),'width':Math['round'](_0x2ec6e7['width']),'height':Math['round'](_0x2ec6e7['height'])};}function clamp(_0x408976,_0x453d57,_0x3dfd1e){return Math['min'](Math['max'](_0x408976,_0x453d57),_0x3dfd1e);}const parseCropPreset=_0x40108f=>{if(!_0x40108f)return[];const [_0x3647e4,_0x116094]=_0x40108f['split'](':')['map'](Number);if(!Number['isFinite'](_0x3647e4)||!Number['isFinite'](_0x116094))return void console['error']('Invalid\x20crop\x20preset:\x20'+_0x40108f);return[{'type':'aspect-ratio','width':_0x3647e4,'height':_0x116094}];},PACKAGE_NAME='blocks',PACKAGE_VERSION='1.12.0';function customUserAgent(_0x2cc995){return getUserAgent$1({..._0x2cc995,'libraryName':PACKAGE_NAME,'libraryVersion':PACKAGE_VERSION});}const msToUnixTimestamp=_0x54e8ab=>Math['floor'](_0x54e8ab/0x3e8),isSecureTokenExpired=(_0x1cedaf,{threshold:_0x2358c2})=>{const {secureExpire:_0x309945}=_0x1cedaf,_0x3e1caf=msToUnixTimestamp(Date['now']()),_0x28f92b=Number(_0x309945);return _0x3e1caf+msToUnixTimestamp(_0x2358c2)>=_0x28f92b;};class SecureUploadsManager{['_block'];['_secureToken']=null;constructor(_0x55b414){this['_block']=_0x55b414;}['_debugPrint'](..._0xf389f8){this['_block']['debugPrint']('[secure-uploads]',..._0xf389f8);}async['getSecureToken'](){const {secureSignature:_0x178bb0,secureExpire:_0x22d086,secureUploadsSignatureResolver:_0x52446a}=this['_block']['cfg'];if((_0x178bb0||_0x22d086)&&_0x52446a&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x52446a){if(!this['_secureToken']||isSecureTokenExpired(this['_secureToken'],{'threshold':this['_block']['cfg']['secureUploadsExpireThreshold']})){this['_secureToken']?this['_debugPrint']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['_debugPrint']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{const _0x5c40ea=await _0x52446a();_0x5c40ea?_0x5c40ea['secureSignature']&&_0x5c40ea['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x5c40ea),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x5c40ea['secureExpire']))['toISOString']()),this['_secureToken']=_0x5c40ea):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x5c40ea):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x505fcc){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x505fcc);}}return this['_secureToken'];}return _0x178bb0&&_0x22d086?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x178bb0,'secureExpire':_0x22d086}),{'secureSignature':_0x178bb0,'secureExpire':_0x22d086}):null;}}const MSG_NAME='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',MSG_TYPE='[Typed\x20State]\x20Wrong\x20property\x20type:\x20';class TypedData{constructor(_0x1209d4,_0x46c329){this['__typedSchema']=_0x1209d4,this['__ctxId']=_0x46c329||UID['generate'](),this['__schema']=Object['keys'](_0x1209d4)['reduce']((_0x505fa7,_0xf398e5)=>(_0x505fa7[_0xf398e5]=_0x1209d4[_0xf398e5]['value'],_0x505fa7),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x30e598,_0x9b0484){if(!this['__typedSchema']['hasOwnProperty'](_0x30e598))return void console['warn'](MSG_NAME+_0x30e598);let _0x3c71d2=this['__typedSchema'][_0x30e598];_0x9b0484?.['constructor']===_0x3c71d2['type']||_0x9b0484 instanceof _0x3c71d2['type']||_0x3c71d2['nullable']&&null===_0x9b0484?this['__data']['pub'](_0x30e598,_0x9b0484):console['warn'](MSG_TYPE+_0x30e598);}['setMultipleValues'](_0x3cf91c){for(let _0xe9450b in _0x3cf91c)this['setValue'](_0xe9450b,_0x3cf91c[_0xe9450b]);}['getValue'](_0x4d5feb){if(this['__typedSchema']['hasOwnProperty'](_0x4d5feb))return this['__data']['read'](_0x4d5feb);console['warn'](MSG_NAME+_0x4d5feb);}['subscribe'](_0x283226,_0x34159c){return this['__data']['sub'](_0x283226,_0x34159c);}['remove'](){Data['deleteCtx'](this['__ctxId']);}}class TypedCollection{constructor(_0x4b5e65){this['__typedSchema']=_0x4b5e65['typedSchema'],this['__ctxId']=_0x4b5e65['ctxName']||UID['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0x4b5e65['watchList']||[],this['__subsMap']=Object['create'](null),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set(),this['__items']=new Set(),this['__removed']=new Set(),this['__added']=new Set();let _0x5eba7a=Object['create'](null);this['__notifyObservers']=(_0x59f7c3,_0x545c81)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x5eba7a[_0x59f7c3]||(_0x5eba7a[_0x59f7c3]=new Set()),_0x5eba7a[_0x59f7c3]['add'](_0x545c81),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x5eba7a)['length']&&(this['__propertyObservers']['forEach'](_0x584594=>{_0x584594({..._0x5eba7a});}),_0x5eba7a=Object['create'](null));});};}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{let _0x51211d=new Set(this['__added']),_0x219295=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x10c8f8 of this['__collectionObservers'])_0x10c8f8?.([...this['__items']],_0x51211d,_0x219295);});}['observeCollection'](_0x136448){return this['__collectionObservers']['add'](_0x136448),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x136448);};}['unobserveCollection'](_0xf464c7){this['__collectionObservers']?.['delete'](_0xf464c7);}['add'](_0x228ddc){let _0x212d2d=new TypedData(this['__typedSchema']);for(let _0x202868 in _0x228ddc)_0x212d2d['setValue'](_0x202868,_0x228ddc[_0x202868]);return this['__items']['add'](_0x212d2d['uid']),this['notify'](),this['__data']['add'](_0x212d2d['uid'],_0x212d2d),this['__added']['add'](_0x212d2d),this['__watchList']['forEach'](_0x12f28f=>{this['__subsMap'][_0x212d2d['uid']]||(this['__subsMap'][_0x212d2d['uid']]=[]),this['__subsMap'][_0x212d2d['uid']]['push'](_0x212d2d['subscribe'](_0x12f28f,()=>{this['__notifyObservers'](_0x12f28f,_0x212d2d['uid']);}));}),_0x212d2d['uid'];}['read'](_0x331aca){return this['__data']['read'](_0x331aca);}['readProp'](_0x16b8b8,_0x2d8114){return this['read'](_0x16b8b8)['getValue'](_0x2d8114);}['publishProp'](_0x5f5503,_0x282b55,_0x40a68d){this['read'](_0x5f5503)['setValue'](_0x282b55,_0x40a68d);}['remove'](_0xb31b19){this['__removed']['add'](this['__data']['read'](_0xb31b19)),this['__items']['delete'](_0xb31b19),this['notify'](),this['__data']['pub'](_0xb31b19,null),delete this['__subsMap'][_0xb31b19];}['clearAll'](){this['__items']['forEach'](_0x23bce6=>{this['remove'](_0x23bce6);});}['observeProperties'](_0x1eb1f5){return this['__propertyObservers']['add'](_0x1eb1f5),()=>{this['unobserveProperties'](_0x1eb1f5);};}['unobserveProperties'](_0x5bfe58){this['__propertyObservers']?.['delete'](_0x5bfe58);}['findItems'](_0x573817){let _0x1dc946=[];return this['__items']['forEach'](_0x324352=>{let _0x77beb=this['read'](_0x324352);_0x573817(_0x77beb)&&_0x1dc946['push'](_0x324352);}),_0x1dc946;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){Data['deleteCtx'](this['__ctxId']),this['__propertyObservers']=null,this['__collectionObservers']=null;for(let _0x3ff8c7 in this['__subsMap'])this['__subsMap'][_0x3ff8c7]['forEach'](_0x4e81d7=>{_0x4e81d7['remove']();}),delete this['__subsMap'][_0x3ff8c7];}}const ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),UploadSource=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',...ExternalUploadSource}),IMAGE_ACCEPT_LIST=['image/*','image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],mergeFileTypes=_0x3a2c41=>_0x3a2c41?_0x3a2c41['filter'](_0xceb93e=>'string'==typeof _0xceb93e)['map'](_0x1e2ec9=>stringToArray(_0x1e2ec9))['flat']():[],matchMimeType=(_0x101230,_0x16ac3f)=>_0x16ac3f['some'](_0x3f9ff7=>_0x3f9ff7['endsWith']('*')?(_0x3f9ff7=_0x3f9ff7['replace']('*',''),_0x101230['startsWith'](_0x3f9ff7)):_0x101230===_0x3f9ff7),matchExtension=(_0x41ae4f,_0x5af885)=>_0x5af885['some'](_0x3fb8d7=>!!_0x3fb8d7['startsWith']('.')&&_0x41ae4f['toLowerCase']()['endsWith'](_0x3fb8d7['toLowerCase']())),fileIsImage=_0x52c9dd=>{let _0x1528df=_0x52c9dd?.['type'];return!!_0x1528df&&matchMimeType(_0x1528df,IMAGE_ACCEPT_LIST);},uuidRegex=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,cdnUrlRegex=new RegExp('^/?('+uuidRegex['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),parseCdnUrl=({url:_0x30871e,cdnBase:_0x5aeab0})=>{const _0x31f67a=new URL(_0x5aeab0),_0xa99f10=new URL(_0x30871e);if(_0x31f67a['host']!==_0xa99f10['host'])return null;const [,_0x925bab,_0x1c43b8,_0x7d30c4]=cdnUrlRegex['exec'](_0xa99f10['pathname']);return{'uuid':_0x925bab,'cdnUrlModifiers':_0x1c43b8||'','filename':_0x7d30c4||null};},memoize$1=_0x55a2ee=>{const _0x280a94=new Map();return(..._0x48009d)=>{const _0x342e00=JSON['stringify'](_0x48009d);if(_0x280a94['has'](_0x342e00))return _0x280a94['get'](_0x342e00);const _0x1f6b3c=_0x55a2ee(..._0x48009d);return _0x280a94['set'](_0x342e00,_0x1f6b3c),_0x1f6b3c;};},warnings=new Set();function warnOnce(_0x3b6683){warnings['has'](_0x3b6683)||(warnings['add'](_0x3b6683),console['warn'](_0x3b6683));}function createAsyncAssertWrapper(_0x14efef){let _0x2d7c8e=!0x1;return setTimeout(()=>{_0x2d7c8e=!0x0;},0x0),_0x5c8e65=>(..._0x3baac2)=>(_0x2d7c8e&&warnOnce(_0x14efef),_0x5c8e65(..._0x3baac2));}function buildOutputCollectionState(_0x437c41){const _0x1a9f93={'progress':()=>_0x437c41['$']['*commonProgress'],'errors':()=>_0x437c41['$']['*collectionErrors'],'group':()=>_0x437c41['$']['*groupInfo'],'totalCount':()=>_0x437c41['uploadCollection']['size'],'failedCount':()=>_0x2b689f['failedEntries']['length'],'successCount':()=>_0x2b689f['successEntries']['length'],'uploadingCount':()=>_0x2b689f['uploadingEntries']['length'],'status':()=>_0x2b689f['isFailed']?'failed':_0x2b689f['isUploading']?'uploading':_0x2b689f['isSuccess']?'success':'idle','isSuccess':()=>_0x2b689f['allEntries']['length']>0x0&&0x0===_0x2b689f['errors']['length']&&_0x2b689f['successEntries']['length']===_0x2b689f['allEntries']['length'],'isUploading':()=>_0x2b689f['allEntries']['some'](_0x224c98=>'uploading'===_0x224c98['status']),'isFailed':()=>_0x2b689f['errors']['length']>0x0||_0x2b689f['failedEntries']['length']>0x0,'allEntries':()=>_0x437c41['getOutputData'](),'successEntries':()=>_0x2b689f['allEntries']['filter'](_0x1256e9=>'success'===_0x1256e9['status']),'failedEntries':()=>_0x2b689f['allEntries']['filter'](_0x3737a7=>'failed'===_0x3737a7['status']),'uploadingEntries':()=>_0x2b689f['allEntries']['filter'](_0x400d91=>'uploading'===_0x400d91['status']),'idleEntries':()=>_0x2b689f['allEntries']['filter'](_0x137621=>'idle'===_0x137621['status'])},_0x2b689f={},_0x2f75b5=createAsyncAssertWrapper('You\x27re\x20trying\x20to\x20access\x20the\x20OutputCollectionState\x20asynchronously.\x20In\x20this\x20case,\x20the\x20data\x20you\x20retrieve\x20will\x20be\x20newer\x20than\x20it\x20was\x20when\x20the\x20OutputCollectionState\x20was\x20created\x20or\x20when\x20the\x20event\x20was\x20dispatched.\x20If\x20you\x20want\x20to\x20retain\x20the\x20state\x20at\x20a\x20specific\x20moment\x20in\x20time,\x20you\x20should\x20use\x20the\x20spread\x20operator\x20like\x20this:\x20`{...outputCollectionState}`\x20or\x20`{...e.detail}`');for(const [_0x3470d8,_0x4f0048]of Object['entries'](_0x1a9f93)){const _0xf92310=_0x3470d8,_0x396758=memoize$1(_0x2f75b5(_0x4f0048));Object['defineProperty'](_0x2b689f,_0xf92310,{'get':_0x396758,'enumerable':!0x0});}return _0x2b689f;}class UploaderPublicApi{['_ctx'];constructor(_0x33b081){this['_ctx']=_0x33b081;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x36117f,{silent:_0x57c566,fileName:_0x4c5526,source:_0x3045da}={})=>{const _0x15e6be=this['_uploadCollection']['add']({'externalUrl':_0x36117f,'fileName':_0x4c5526??null,'silent':_0x57c566??!0x1,'source':_0x3045da??UploadSource['API']});return this['getOutputItem'](_0x15e6be);};['addFileFromUuid']=(_0x29d575,{silent:_0x3e5b66,fileName:_0x45d91f,source:_0xb8cd94}={})=>{const _0x96a22d=this['_uploadCollection']['add']({'uuid':_0x29d575,'fileName':_0x45d91f??null,'silent':_0x3e5b66??!0x1,'source':_0xb8cd94??UploadSource['API']});return this['getOutputItem'](_0x96a22d);};['addFileFromCdnUrl']=(_0x105391,{silent:_0xcd0a93,fileName:_0x2f76cf,source:_0x5b4f58}={})=>{const _0x21a507=parseCdnUrl({'url':_0x105391,'cdnBase':this['cfg']['cdnCname']});if(!_0x21a507)throw new Error('Invalid\x20CDN\x20URL');const _0x50fd1f=this['_uploadCollection']['add']({'uuid':_0x21a507['uuid'],'cdnUrl':_0x105391,'cdnUrlModifiers':_0x21a507['cdnUrlModifiers'],'fileName':_0x2f76cf??_0x21a507['filename']??null,'silent':_0xcd0a93??!0x1,'source':_0x5b4f58??UploadSource['API']});return this['getOutputItem'](_0x50fd1f);};['addFileFromObject']=(_0x4b83e1,{silent:_0x361631,fileName:_0x5dda0a,source:_0x2e55b1,fullPath:_0x12ab2e}={})=>{const _0x3fb944=this['_uploadCollection']['add']({'file':_0x4b83e1,'isImage':fileIsImage(_0x4b83e1),'mimeType':_0x4b83e1['type'],'fileName':_0x5dda0a??_0x4b83e1['name'],'fileSize':_0x4b83e1['size'],'silent':_0x361631??!0x1,'source':_0x2e55b1??UploadSource['API'],'fullPath':_0x12ab2e??null});return this['getOutputItem'](_0x3fb944);};['removeFileByInternalId']=_0x34419f=>{if(!this['_uploadCollection']['read'](_0x34419f))throw new Error('File\x20with\x20internalId\x20'+_0x34419f+'\x20not\x20found');this['_uploadCollection']['remove'](_0x34419f);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0xd59572=this['_uploadCollection']['items']()['filter'](_0x11bfc2=>{const _0x288497=this['_uploadCollection']['read'](_0x11bfc2);return!_0x288497['getValue']('isRemoved')&&!_0x288497['getValue']('isUploading')&&!_0x288497['getValue']('fileInfo');});0x0!==_0xd59572['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0xd59572),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0xbac13f={})=>{const _0x531d00=serializeCsv(mergeFileTypes([this['cfg']['accept']??'',...this['cfg']['imgOnly']?IMAGE_ACCEPT_LIST:[]]));this['cfg']['accept']&&this['cfg']['imgOnly']&&console['warn']('There\x20could\x20be\x20a\x20mistake.\x0aBoth\x20`accept`\x20and\x20`imgOnly`\x20parameters\x20are\x20set.\x0aThe\x20value\x20of\x20`accept`\x20will\x20be\x20concatenated\x20with\x20the\x20internal\x20image\x20mime\x20types\x20list.');const _0x198be1='uploadcare-file-input',_0x217d44=document['createElement']('input');_0x217d44['setAttribute'](_0x198be1,''),applyStyles(_0x217d44,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden'}),_0x217d44['type']='file',_0x217d44['multiple']=this['cfg']['multiple'],_0xbac13f['captureCamera']?(_0x217d44['capture']=this['cfg']['cameraCapture'],_0x217d44['accept']=this['cfg']['enableVideoRecording']?['image/*','video/*']['join'](','):'image/*'):_0x217d44['accept']=_0x531d00,_0x217d44['addEventListener']('change',()=>{_0x217d44['files']&&([..._0x217d44['files']]['forEach'](_0x5084a7=>this['addFileFromObject'](_0x5084a7,{'source':_0xbac13f['captureCamera']?UploadSource['CAMERA']:UploadSource['LOCAL']})),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['_ctx']['setOrAddState']('*modalActive',!0x0),_0x217d44['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x198be1+']')['forEach'](_0x43d4c1=>_0x43d4c1['remove']()),document['body']['appendChild'](_0x217d44),_0x217d44['dispatchEvent'](new MouseEvent('click'));};['getOutputItem']=_0x28a1bb=>{const _0xe512be=Data['getCtx'](_0x28a1bb)['store'],_0x51c4c1=_0xe512be['fileInfo'];let _0x2d392a=_0xe512be['isRemoved']?'removed':_0xe512be['errors']['length']>0x0?'failed':_0xe512be['fileInfo']?'success':_0xe512be['isUploading']?'uploading':'idle';return{'uuid':_0x51c4c1?.['uuid']??_0xe512be['uuid']??null,'internalId':_0x28a1bb,'name':_0x51c4c1?.['originalFilename']??_0xe512be['fileName'],'size':_0x51c4c1?.['size']??_0xe512be['fileSize'],'isImage':_0x51c4c1?.['isImage']??_0xe512be['isImage'],'mimeType':_0x51c4c1?.['mimeType']??_0xe512be['mimeType'],'file':_0xe512be['file'],'externalUrl':_0xe512be['externalUrl'],'cdnUrlModifiers':_0xe512be['cdnUrlModifiers'],'cdnUrl':_0xe512be['cdnUrl']??_0x51c4c1?.['cdnUrl']??null,'fullPath':_0xe512be['fullPath'],'uploadProgress':_0xe512be['uploadProgress'],'fileInfo':_0x51c4c1??null,'metadata':_0xe512be['metadata']??_0x51c4c1?.['metadata']??null,'isSuccess':'success'===_0x2d392a,'isUploading':'uploading'===_0x2d392a,'isFailed':'failed'===_0x2d392a,'isRemoved':'removed'===_0x2d392a,'errors':_0xe512be['errors'],'status':_0x2d392a,'source':_0xe512be?.['source']};};['getOutputCollectionState']=()=>buildOutputCollectionState(this['_ctx']);['initFlow']=(_0x4bb9c2=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x4bb9c2)this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['_ctx']['setOrAddState']('*modalActive',!0x0);else{if(0x1===this['_sourceList']?.['length']){const _0x1a7c4c=this['_sourceList'][0x0];if('local'===_0x1a7c4c)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();const _0x541b5c=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x28f030=>'type'in _0x28f030&&_0x28f030['type']===_0x1a7c4c);_0x541b5c?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['setOrAddState']('*modalActive',!0x0);}else this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']}),this['_ctx']['setOrAddState']('*modalActive',!0x0);}};['doneFlow']=()=>{this['_ctx']['set$']({'*currentActivity':this['_ctx']['doneActivity'],'*history':this['_ctx']['doneActivity']?[this['_ctx']['doneActivity']]:[]}),this['_ctx']['$']['*currentActivity']||this['_ctx']['setOrAddState']('*modalActive',!0x1);};['setCurrentActivity']=(_0x6ed44c,_0x25c7fc=void 0x0)=>{this['_ctx']['hasBlockInCtx'](_0x3cb0a6=>_0x3cb0a6['activityType']===_0x6ed44c)?this['_ctx']['set$']({'*currentActivityParams':_0x25c7fc??{},'*currentActivity':_0x6ed44c}):console['warn']('Activity\x20type\x20\x22'+_0x6ed44c+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x346111=>{!_0x346111||this['_ctx']['$']['*currentActivity']?this['_ctx']['setOrAddState']('*modalActive',_0x346111):console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');};get['_sourceList'](){let _0x3717ef=[];return this['cfg']['sourceList']&&(_0x3717ef=stringToArray(this['cfg']['sourceList'])),_0x3717ef;}}const validateIsImage=(_0x5ea7ba,_0x47558e)=>{const _0x157525=_0x47558e['cfg']['imgOnly'],_0x5a1ad3=_0x5ea7ba['isImage'];if(_0x157525&&!_0x5a1ad3&&(_0x5ea7ba['fileInfo']||!_0x5ea7ba['externalUrl'])&&(_0x5ea7ba['fileInfo']||_0x5ea7ba['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x47558e['l10n']('images-only-accepted'),'payload':{'entry':_0x5ea7ba}};},validateFileType=(_0x5338df,_0x34dac6)=>{const _0x460f66=_0x34dac6['cfg']['imgOnly'],_0x4cc38d=_0x34dac6['cfg']['accept'],_0x4be79d=mergeFileTypes([..._0x460f66?IMAGE_ACCEPT_LIST:[],_0x4cc38d]);if(!_0x4be79d['length'])return;const _0x2e5f83=_0x5338df['mimeType'],_0x5829eb=_0x5338df['name'];if(!_0x2e5f83||!_0x5829eb)return;const _0x26970b=matchMimeType(_0x2e5f83,_0x4be79d),_0xad995d=matchExtension(_0x5829eb,_0x4be79d);return _0x26970b||_0xad995d?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x34dac6['l10n']('file-type-not-allowed'),'payload':{'entry':_0x5338df}};},BASE=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),round=_0x1ba75d=>Math['ceil'](0x64*_0x1ba75d)/0x64,prettyBytes=(_0x38fe32,_0x7599a6=ByteUnitEnum['AUTO'])=>{const _0x4d59bb=_0x7599a6===ByteUnitEnum['AUTO'];if(_0x7599a6===ByteUnitEnum['BYTE']||_0x4d59bb&&_0x38fe32<BASE**0x1)return _0x38fe32+'\x20'+{'one':'byte','other':'bytes'}[getPluralForm('en-US',_0x38fe32)];return _0x7599a6===ByteUnitEnum['KB']||_0x4d59bb&&_0x38fe32<BASE**0x2?round(_0x38fe32/BASE**0x1)+'\x20KB':_0x7599a6===ByteUnitEnum['MB']||_0x4d59bb&&_0x38fe32<BASE**0x3?round(_0x38fe32/BASE**0x2)+'\x20MB':_0x7599a6===ByteUnitEnum['GB']||_0x4d59bb&&_0x38fe32<BASE**0x4?round(_0x38fe32/BASE**0x3)+'\x20GB':_0x7599a6===ByteUnitEnum['TB']||_0x4d59bb&&_0x38fe32<BASE**0x5?round(_0x38fe32/BASE**0x4)+'\x20TB':round(_0x38fe32/BASE**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x52f6d1,_0x28afcc)=>{const _0x49d187=_0x28afcc['cfg']['maxLocalFileSizeBytes'],_0x46d96b=_0x52f6d1['size'];if(_0x49d187&&_0x46d96b&&_0x46d96b>_0x49d187)return{'type':'FILE_SIZE_EXCEEDED','message':_0x28afcc['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x49d187)}),'payload':{'entry':_0x52f6d1}};},validateUploadError=(_0x3120e3,_0x26e315)=>{const {internalId:_0x56428a}=_0x3120e3,_0x408917=_0x26e315['_uploadCollection']['read'](_0x56428a),_0xbb31ca=_0x408917?.['getValue']('uploadError');if(!_0xbb31ca)return;if(_0xbb31ca instanceof UploadError)return{'type':'UPLOAD_ERROR','message':_0xbb31ca['message'],'payload':{'entry':_0x3120e3,'error':_0xbb31ca}};if(_0xbb31ca instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0xbb31ca['message'],'payload':{'entry':_0x3120e3,'error':_0xbb31ca}};const _0x4b3e04=_0xbb31ca instanceof Error?_0xbb31ca:new Error('Unknown\x20error',{'cause':_0xbb31ca});return{'type':'UNKNOWN_ERROR','message':_0x4b3e04['message'],'payload':{'entry':_0x3120e3,'error':_0x4b3e04}};},validateCollectionUploadError=(_0x3ebba7,_0x3f6f70)=>{if(_0x3ebba7['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x3f6f70['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x1d1196,_0x161f1a)=>{const _0x1f4859=_0x1d1196['totalCount'],_0x454256=_0x161f1a['cfg']['multiple']?_0x161f1a['cfg']['multipleMin']:0x0,_0x46d7eb=_0x161f1a['cfg']['multiple']?_0x161f1a['cfg']['multipleMax']:0x1;if(_0x454256&&_0x1f4859<_0x454256)return{'type':'TOO_FEW_FILES','message':_0x161f1a['l10n']('files-count-limit-error-too-few',{'min':_0x454256,'max':_0x46d7eb,'total':_0x1f4859}),'payload':{'total':_0x1f4859,'min':_0x454256,'max':_0x46d7eb}};if(_0x46d7eb&&_0x1f4859>_0x46d7eb)return{'type':'TOO_MANY_FILES','message':_0x161f1a['l10n']('files-count-limit-error-too-many',{'min':_0x454256,'max':_0x46d7eb,'total':_0x1f4859}),'payload':{'total':_0x1f4859,'min':_0x454256,'max':_0x46d7eb}};},LOGGER={'file':'File\x20validator\x20execution\x20has\x20failed','collection':'Collection\x20validator\x20execution\x20has\x20failed','message':'Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.'};class ValidationManager{['_blockInstance'];['_fileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_collectionValidators']=[validateMultiple,validateCollectionUploadError];constructor(_0x15cf5e){this['_blockInstance']=_0x15cf5e,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x3400c5=()=>{this['runFileValidators'](),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x3400c5),this['_blockInstance']['subConfigValue']('multipleMin',_0x3400c5),this['_blockInstance']['subConfigValue']('multipleMax',_0x3400c5),this['_blockInstance']['subConfigValue']('multiple',_0x3400c5),this['_blockInstance']['subConfigValue']('imgOnly',_0x3400c5),this['_blockInstance']['subConfigValue']('accept',_0x3400c5);}['runFileValidators'](_0x1b995b){const _0x153f36=_0x1b995b??this['_uploadCollection']['items']();for(const _0x5db86d of _0x153f36){const _0x325531=this['_uploadCollection']['read'](_0x5db86d);_0x325531&&this['_runFileValidatorsForEntry'](_0x325531);}}['runCollectionValidators'](){const _0x361d9b=this['_blockInstance']['api']['getOutputCollectionState'](),_0x2feb5b=[];for(const _0x4cb8d0 of[...this['_collectionValidators'],...this['_addCustomTypeToValidators'](this['_blockInstance']['cfg']['collectionValidators'])])try{const _0x1639cc=_0x4cb8d0(_0x361d9b,this['_blockInstance']['api']);if(!_0x1639cc)continue;_0x1639cc&&(_0x2feb5b['push'](_0x1639cc),_0x1639cc['message']||console['warn'](LOGGER['message']));}catch(_0x164da6){console['warn'](LOGGER['collection'],_0x164da6);}this['_blockInstance']['$']['*collectionErrors']=_0x2feb5b,_0x2feb5b['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['_runFileValidatorsForEntry'](_0x436b9c){const _0x25eb55=this['_blockInstance']['api']['getOutputItem'](_0x436b9c['uid']),_0x16c15a=[];for(const _0x3b3e78 of[...this['_fileValidators'],...this['_addCustomTypeToValidators'](this['_blockInstance']['cfg']['fileValidators'])])try{const _0x296d73=_0x3b3e78(_0x25eb55,this['_blockInstance']['api']);if(!_0x296d73)continue;_0x296d73&&(_0x16c15a['push'](_0x296d73),_0x296d73['message']||console['warn'](LOGGER['message']));}catch(_0x45aed7){console['warn'](LOGGER['file'],_0x45aed7);}_0x436b9c['setValue']('errors',_0x16c15a);}['_addCustomTypeToValidators'](_0x1c8bb1){return _0x1c8bb1['map'](_0x3f7a10=>(..._0x37b6d4)=>{const _0x12cf19=_0x3f7a10(..._0x37b6d4);return _0x12cf19?{..._0x12cf19,'type':'CUSTOM_ERROR'}:void 0x0;});}}const uploadEntrySchema=Object['freeze']({'file':{'type':File,'value':null},'externalUrl':{'type':String,'value':null},'fileName':{'type':String,'value':null,'nullable':!0x0},'fileSize':{'type':Number,'value':null,'nullable':!0x0},'lastModified':{'type':Number,'value':Date['now']()},'uploadProgress':{'type':Number,'value':0x0},'uuid':{'type':String,'value':null},'isImage':{'type':Boolean,'value':!0x1},'mimeType':{'type':String,'value':null,'nullable':!0x0},'ctxName':{'type':String,'value':null},'cdnUrl':{'type':String,'value':null},'cdnUrlModifiers':{'type':String,'value':null},'fileInfo':{'type':UploadcareFile,'value':null},'isUploading':{'type':Boolean,'value':!0x1},'abortController':{'type':AbortController,'value':null,'nullable':!0x0},'thumbUrl':{'type':String,'value':null,'nullable':!0x0},'silent':{'type':Boolean,'value':!0x1},'source':{'type':String,'value':!0x1,'nullable':!0x0},'fullPath':{'type':String,'value':null,'nullable':!0x0},'metadata':{'type':Object,'value':null,'nullable':!0x0},'errors':{'type':Array,'value':[]},'uploadError':{'type':Error,'value':null,'nullable':!0x0},'isRemoved':{'type':Boolean,'value':!0x1}});class UploaderBlock extends ActivityBlock{['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x385ae6=>_0x385ae6 instanceof UploaderBlock&&(_0x385ae6['isCtxOwner']&&_0x385ae6['isConnected']&&_0x385ae6!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){let _0x223b37=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading']});this['add']('*uploadCollection',_0x223b37);}this['has']('*publicApi')||this['add']('*publicApi',new UploaderPublicApi(this)),this['has']('*validationManager')||this['add']('*validationManager',new ValidationManager(this)),!this['hasCtxOwner']&&this['couldBeCtxOwner']&&this['initCtxOwner']();}get['validationManager'](){if(!this['has']('*validationManager'))throw new Error('Unexpected\x20error:\x20ValidationManager\x20is\x20not\x20initialized');return this['$']['*validationManager'];}get['api'](){if(!this['has']('*publicApi'))throw new Error('Unexpected\x20error:\x20UploaderPublicApi\x20is\x20not\x20initialized');return this['$']['*publicApi'];}['getAPI'](){return this['api'];}get['uploadCollection'](){if(!this['has']('*uploadCollection'))throw new Error('Unexpected\x20error:\x20TypedCollection\x20is\x20not\x20initialized');return this['$']['*uploadCollection'];}['destroyCtxCallback'](){this['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['initCtxOwner'](){this['isCtxOwner']=!0x0,this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']),this['subConfigValue']('maxConcurrentRequests',_0x188460=>{this['$']['*uploadQueue']['concurrency']=Number(_0x188460)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new SecureUploadsManager(this)),this['has']('*modalActive')&&this['sub']('*modalActive',_0x254fa3=>{_0x254fa3&&!this['$']['*currentActivity']&&(this['$']['*modalActive']=!0x1);});}async['_createGroup'](_0x3b3857){const _0x6938b6=await this['getUploadClientOptions'](),_0x2036d6=_0x3b3857['allEntries']['map'](_0x2838cc=>_0x2838cc['uuid']+(_0x2838cc['cdnUrlModifiers']?'/'+_0x2838cc['cdnUrlModifiers']:'')),_0x388e23=new AbortController(),_0x27fa69=await uploadFileGroup(_0x2036d6,{..._0x6938b6,'signal':_0x388e23['signal']});if(this['$']['*collectionState']!==_0x3b3857)return void _0x388e23['abort']();this['$']['*groupInfo']=_0x27fa69;const _0x5a499b=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0x5a499b),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x5a499b;}['_flushOutputItems']=debounce(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x321f5a,_0x418463,_0x2f9fa0)=>{(_0x418463['size']||_0x2f9fa0['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators'](),this['validationManager']['runCollectionValidators']();for(const _0x3de156 of _0x418463)_0x3de156['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x3de156['uid']));for(const _0x48fcdc of _0x2f9fa0)this['$']['*uploadTrigger']['delete'](_0x48fcdc['uid']),_0x48fcdc['getValue']('abortController')?.['abort'](),_0x48fcdc['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0}),URL['revokeObjectURL'](_0x48fcdc?.['getValue']('thumbUrl')),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x48fcdc['uid']));this['$']['*uploadList']=_0x321f5a['map'](_0x7727c2=>({'uid':_0x7727c2})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x1420e9=>{this['_flushOutputItems']();const _0x1c8c74=this['uploadCollection'],_0xad93a9=[...new Set(Object['entries'](_0x1420e9)['filter'](([_0x217d66])=>['uploadError','fileInfo']['includes'](_0x217d66))['map'](([,_0x5cd8f1])=>[..._0x5cd8f1])['flat']())];if(_0xad93a9['length']>0x0&&setTimeout(()=>{this['validationManager']['runFileValidators'](_0xad93a9);}),_0x1420e9['uploadProgress']){for(const _0x569e48 of _0x1420e9['uploadProgress']){const {isUploading:_0x117b57,silent:_0x10a962}=Data['getCtx'](_0x569e48)['store'];_0x117b57&&!_0x10a962&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x569e48));}this['_flushCommonUploadProgress']();}if(_0x1420e9['isUploading'])for(const _0x4314aa of _0x1420e9['isUploading']){const {isUploading:_0x15f99f,silent:_0x4d1d07}=Data['getCtx'](_0x4314aa)['store'];_0x15f99f&&!_0x4d1d07&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x4314aa));}if(_0x1420e9['fileInfo']){for(const _0x5dc460 of _0x1420e9['fileInfo']){const {fileInfo:_0x47d771,silent:_0x7f8f6c}=Data['getCtx'](_0x5dc460)['store'];_0x47d771&&!_0x7f8f6c&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x5dc460));}this['cfg']['cropPreset']&&this['setInitialCrop']();}if(_0x1420e9['errors']){for(const _0x5e4f98 of _0x1420e9['errors']){const {errors:_0x216a6a}=Data['getCtx'](_0x5e4f98)['store'];_0x216a6a['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x5e4f98)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x43cbee=_0x1c8c74['findItems'](_0x564f64=>!!_0x564f64['getValue']('fileInfo')),_0x3db0cb=_0x1c8c74['findItems'](_0x387cde=>_0x387cde['getValue']('errors')['length']>0x0);_0x1c8c74['size']>0x0&&0x0===_0x3db0cb['length']&&_0x1c8c74['size']===_0x43cbee['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}if(_0x1420e9['cdnUrl']){const _0x6efb2=[..._0x1420e9['cdnUrl']]['filter'](_0x42f19c=>!!this['uploadCollection']['read'](_0x42f19c)?.['getValue']('cdnUrl'));_0x6efb2['forEach'](_0x34ed04=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x34ed04));}),this['$']['*groupInfo']=null;}};['_flushCommonUploadProgress']=()=>{let _0x20e434=0x0;const _0x5df007=[...this['$']['*uploadTrigger']]['filter'](_0x398693=>!!this['uploadCollection']['read'](_0x398693));_0x5df007['forEach'](_0x58d1fc=>{const _0x493655=this['uploadCollection']['readProp'](_0x58d1fc,'uploadProgress');_0x20e434+=_0x493655;});const _0x2d77c1=_0x5df007['length']?Math['round'](_0x20e434/_0x5df007['length']):0x0;this['$']['*commonProgress']!==_0x2d77c1&&(this['$']['*commonProgress']=_0x2d77c1,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['setInitialCrop'](){const _0x3354c7=parseCropPreset(this['cfg']['cropPreset']);if(_0x3354c7){const [_0x46bed4]=_0x3354c7,_0x3c4138=this['uploadCollection']['findItems'](_0x260a10=>_0x260a10['getValue']('fileInfo')&&_0x260a10['getValue']('isImage')&&!_0x260a10['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x749496=>this['uploadCollection']['read'](_0x749496));for(const _0x99f48f of _0x3c4138){const _0x266be7=_0x99f48f['getValue']('fileInfo'),{width:_0x26e09f,height:_0x25eacd}=_0x266be7['imageInfo'],_0x59f0be=calculateMaxCenteredCropFrame(_0x26e09f,_0x25eacd,_0x46bed4['width']/_0x46bed4['height']),_0xc2d46f=createCdnUrlModifiers('crop/'+_0x59f0be['width']+'x'+_0x59f0be['height']+'/'+_0x59f0be['x']+','+_0x59f0be['y'],'preview');_0x99f48f['setMultipleValues']({'cdnUrlModifiers':_0xc2d46f,'cdnUrl':createCdnUrl(_0x99f48f['getValue']('cdnUrl'),_0xc2d46f)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x4e6670=>_0x4e6670['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x99f48f['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT']);}}}async['getMetadataFor'](_0x2d029b){const _0x1c98f4=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x1c98f4){const _0x4c1d83=this['api']['getOutputItem'](_0x2d029b);return await _0x1c98f4(_0x4c1d83);}return _0x1c98f4;}async['getUploadClientOptions'](){const _0x47eb60=this['$']['*secureUploadsManager'],_0x35f981=await _0x47eb60['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':customUserAgent,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x35f981?.['secureSignature'],'secureExpire':_0x35f981?.['secureExpire'],'retryThrottledRequestMaxTimes':this['cfg']['retryThrottledRequestMaxTimes'],'multipartMinFileSize':this['cfg']['multipartMinFileSize'],'multipartChunkSize':this['cfg']['multipartChunkSize'],'maxConcurrentRequests':this['cfg']['multipartMaxConcurrentRequests'],'multipartMaxAttempts':this['cfg']['multipartMaxAttempts'],'checkForUrlDuplicates':!!this['cfg']['checkForUrlDuplicates'],'saveUrlForRecurrentUploads':!!this['cfg']['saveUrlForRecurrentUploads']};}['getOutputData'](){return this['uploadCollection']['items']()['map'](_0x19b7a9=>this['api']['getOutputItem'](_0x19b7a9));}}UploaderBlock['extSrcList']=Object['freeze']({...ExternalUploadSource}),UploaderBlock['sourceTypes']=Object['freeze']({...UploadSource});const toKebabCase=_0x2e5629=>_0x2e5629['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x1d9098=>_0x1d9098['toLowerCase']())['join']('-'),asString=_0x4b4337=>String(_0x4b4337),asNumber=_0x1cde6c=>{const _0x19a89b=Number(_0x1cde6c);if(Number['isNaN'](_0x19a89b))throw new Error('Invalid\x20number:\x20\x22'+_0x1cde6c+'\x22');return _0x19a89b;},asBoolean=_0x568913=>{if(null==_0x568913)return!0x1;if('boolean'==typeof _0x568913)return _0x568913;if('true'===_0x568913)return!0x0;if(''===_0x568913)return!0x0;if('false'===_0x568913)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x568913+'\x22');},asStore=_0x594f2e=>'auto'===_0x594f2e?_0x594f2e:asBoolean(_0x594f2e),asCameraCapture=_0x4e8caf=>{const _0x74ee96=asString(_0x4e8caf);if('user'!==_0x74ee96&&'environment'!==_0x74ee96&&''!==_0x74ee96)throw new Error('Invalid\x20\x22cameraCapture\x22\x20value:\x20\x22'+_0x74ee96+'\x22');return _0x74ee96;},asCameraTab=_0x4c1dd4=>{const _0x11ef46=asString(_0x4c1dd4);if('photo'!==_0x11ef46&&'video'!==_0x11ef46)throw new Error('Invalid\x20\x22CameraTab\x22\x20value:\x20\x22'+_0x11ef46+'\x22');return _0x11ef46;},asMetadata=_0x4e60bf=>{if('object'==typeof _0x4e60bf&&!Array['isArray'](_0x4e60bf))return _0x4e60bf;if('function'==typeof _0x4e60bf)return _0x4e60bf;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0x30fd7f=>{if('object'==typeof _0x30fd7f)return _0x30fd7f;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x30f54b=>{if('function'==typeof _0x30f54b)return _0x30f54b;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},asArray=_0x8497c4=>{if(Array['isArray'](_0x8497c4))return _0x8497c4;throw new Error('Must\x20be\x20an\x20array.');},mapping={'pubkey':asString,'multiple':asBoolean,'multipleMin':asNumber,'multipleMax':asNumber,'confirmUpload':asBoolean,'imgOnly':asBoolean,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':asBoolean,'cameraCapture':asCameraCapture,'sourceList':asString,'maxLocalFileSizeBytes':asNumber,'thumbSize':asNumber,'showEmptyList':asBoolean,'useLocalImageEditor':asBoolean,'useCloudImageEditor':asBoolean,'cloudImageEditorTabs':asString,'removeCopyright':asBoolean,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':asBoolean,'modalBackdropStrokes':asBoolean,'sourceListWrap':asBoolean,'remoteTabSessionKey':asString,'cdnCname':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':asNumber,'multipartMinFileSize':asNumber,'multipartChunkSize':asNumber,'maxConcurrentRequests':asNumber,'multipartMaxConcurrentRequests':asNumber,'multipartMaxAttempts':asNumber,'checkForUrlDuplicates':asBoolean,'saveUrlForRecurrentUploads':asBoolean,'groupOutput':asBoolean,'userAgentIntegration':asString,'debug':asBoolean,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':asNumber,'localeDefinitionOverride':asObject,'secureUploadsSignatureResolver':asFunction,'secureDeliveryProxyUrlResolver':asFunction,'iconHrefResolver':asFunction,'fileValidators':asArray,'collectionValidators':asArray,'defaultCameraMode':asCameraTab,'enableAudioRecording':asBoolean,'enableVideoRecording':asBoolean,'mediaRecorerOptions':asObject,'maxVideoRecordingDuration':asNumber},normalizeConfigValue=(_0x253e39,_0x40c46c)=>{if(null!=_0x40c46c)try{return mapping[_0x253e39](_0x40c46c);}catch(_0x3b12ee){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x253e39+'\x22.',_0x3b12ee),initialConfig[_0x253e39];}},allConfigKeys=[...new Set(['debug',...Object['keys'](initialConfig)])],complexConfigKeys=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorerOptions'],isComplexKey=_0xe1b4a9=>complexConfigKeys['includes'](_0xe1b4a9),plainConfigKeys=allConfigKeys['filter'](_0x1f9c38=>!isComplexKey(_0x1f9c38)),attrKeyMapping={...Object['fromEntries'](plainConfigKeys['map'](_0x3b7d35=>[toKebabCase(_0x3b7d35),_0x3b7d35])),...Object['fromEntries'](plainConfigKeys['map'](_0x75bd38=>[_0x75bd38['toLowerCase'](),_0x75bd38]))},attrStateMapping={...Object['fromEntries'](plainConfigKeys['map'](_0x1577eb=>[toKebabCase(_0x1577eb),sharedConfigKey(_0x1577eb)])),...Object['fromEntries'](plainConfigKeys['map'](_0x4d23aa=>[_0x4d23aa['toLowerCase'](),sharedConfigKey(_0x4d23aa)]))},getLocalPropName=_0x29393d=>'__'+_0x29393d;class ConfigClass extends Block{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0x1c6bdd,_0x2a958c])=>[sharedConfigKey(_0x1c6bdd),_0x2a958c]))};}['_flushValueToAttribute'](_0x137606,_0xca0256){if(plainConfigKeys['includes'](_0x137606)){const _0x1572a5=[...new Set([toKebabCase(_0x137606),_0x137606['toLowerCase']()])];for(const _0x12514d of _0x1572a5)null==_0xca0256?this['removeAttribute'](_0x12514d):this['getAttribute'](_0x12514d)!==_0xca0256['toString']()&&this['setAttribute'](_0x12514d,_0xca0256['toString']());}}['_flushValueToState'](_0x37f331,_0x503c2f){this['$'][sharedConfigKey(_0x37f331)]!==_0x503c2f&&(this['$'][sharedConfigKey(_0x37f331)]=null==_0x503c2f?initialConfig[_0x37f331]:_0x503c2f);}['_setValue'](_0x3bafb7,_0x163190){const _0x2badfb=this,_0x35ea39=normalizeConfigValue(_0x3bafb7,_0x163190),_0x40d6b2=getLocalPropName(_0x3bafb7);_0x2badfb[_0x40d6b2]!==_0x35ea39&&(this['_assertSameValueDifferentReference'](_0x3bafb7,_0x2badfb[_0x40d6b2],_0x35ea39),_0x2badfb[_0x40d6b2]=_0x35ea39,this['_flushValueToAttribute'](_0x3bafb7,_0x35ea39),this['_flushValueToState'](_0x3bafb7,_0x35ea39),this['debugPrint']('[uc-config]\x20\x22'+_0x3bafb7+'\x22',_0x35ea39));}['_getValue'](_0xd05978){return this[getLocalPropName(_0xd05978)];}['_assertSameValueDifferentReference'](_0x199900,_0xcc4360,_0x276084){this['cfg']['debug']&&_0x276084!==_0xcc4360&&'object'==typeof _0x276084&&'object'==typeof _0xcc4360&&JSON['stringify'](_0x276084)===JSON['stringify'](_0xcc4360)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x199900+'\x22\x20value\x20is\x20the\x20same\x20as\x20the\x20previous\x20one\x20but\x20the\x20reference\x20is\x20different'),console['warn']('[uc-config]\x20You\x20should\x20avoid\x20changing\x20the\x20reference\x20of\x20the\x20object\x20to\x20prevent\x20unnecessary\x20calculations'),console['warn']('[uc-config]\x20\x22'+_0x199900+'\x22\x20previous\x20value:',_0xcc4360),console['warn']('[uc-config]\x20\x22'+_0x199900+'\x22\x20new\x20value:',_0x276084));}['initCallback'](){super['initCallback']();const _0x219cc7=this;for(const _0x5a9b98 of plainConfigKeys)this['sub'](sharedConfigKey(_0x5a9b98),_0x3cea5a=>{this['_setValue'](_0x5a9b98,_0x3cea5a);},!0x1);for(const _0x281953 of allConfigKeys){const _0x49cea5=_0x219cc7[_0x281953]??this['$'][sharedConfigKey(_0x281953)];_0x49cea5!==initialConfig[_0x281953]&&this['_setValue'](_0x281953,_0x49cea5),Object['defineProperty'](this,_0x281953,{'set':_0x319b98=>{this['_setValue'](_0x281953,_0x319b98);},'get':()=>this['_getValue'](_0x281953)});}}['attributeChangedCallback'](_0x3234a2,_0x2a1fb8,_0x327736){if(_0x2a1fb8===_0x327736)return;this[attrKeyMapping[_0x3234a2]]=_0x327736;}}ConfigClass['bindAttributes'](attrStateMapping);for(const e of allConfigKeys)ConfigClass['prototype'][e]=void 0x0;const Config=ConfigClass;class Icon extends Block{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x161010=>{if(!_0x161010)return;let _0x55090e='#uc-icon-'+_0x161010;this['subConfigValue']('iconHrefResolver',_0x5ae3a5=>{if(_0x5ae3a5){const _0x1abc4c=_0x5ae3a5(_0x161010);_0x55090e=_0x1abc4c??_0x55090e;}this['$']['href']=_0x55090e;});});}}Icon['template']='\x0a\x20\x20<svg\x20ref=\x22svg\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<use\x20set=\x22@href:\x20href;\x22></use>\x0a\x20\x20</svg>\x0a',Icon['bindAttributes']({'name':'name'});const uniqueArray=_0x54ac0b=>[...new Set(_0x54ac0b)],parseObjectToString=_0x52142a=>Object['entries'](_0x52142a)['filter'](([_0x536f48,_0x56170b])=>void 0x0!==_0x56170b&&''!==_0x56170b)['map'](([_0x516754,_0x23bde8])=>'cdn-operations'===_0x516754||'analytics'===_0x516754?_0x23bde8:_0x516754+'/'+_0x23bde8),DEFAULT_CDN_BASE='https://ucarecdn.com',PROPS_MAP=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':DEFAULT_CDN_BASE},'proxy-cname':{},'secure-delivery-proxy':{},'hi-res-support':{'default':0x1},'ultra-res-support':{},'format':{},'cdn-operations':{},'progressive':{},'quality':{},'is-background-for':{},'is-preview-blur':{'default':0x1}}),CSS_PREF='--uc-img-',UNRESOLVED_ATTR='unresolved',HI_RES_K=0x2,ULTRA_RES_K=0x3,DEV_MODE=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),MAX_WIDTH=0xbb8,MAX_WIDTH_JPG=0x1388,ImgTypeEnum=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),CSS_PROPS=Object['create'](null);for(let e in PROPS_MAP)CSS_PROPS[CSS_PREF+e]=PROPS_MAP[e]?.['default']||'';class ImgConfig extends BaseComponent{['cssInit$']=CSS_PROPS;['$$'](_0x173585){return this['$'][CSS_PREF+_0x173585];}['set$$'](_0xbb9b3e){for(let _0x31ba48 in _0xbb9b3e)this['$'][CSS_PREF+_0x31ba48]=_0xbb9b3e[_0x31ba48];}['sub$$'](_0x18dd55,_0x471585){this['sub'](CSS_PREF+_0x18dd55,_0x12db68=>{null!==_0x12db68&&''!==_0x12db68&&_0x471585(_0x12db68);});}['analyticsParams'](){return'-/@clib/'+PACKAGE_NAME+'/'+PACKAGE_VERSION+'/uc-img/';}['initAttributes'](_0x24cc8c){[...this['attributes']]['forEach'](_0x300249=>{PROPS_MAP[_0x300249['name']]||_0x24cc8c['setAttribute'](_0x300249['name'],_0x300249['value']);});}['initIntersection'](_0x14c407,_0x360642){this['_isnObserver']=new IntersectionObserver(_0x3686d1=>{_0x3686d1['forEach'](_0x2e1eb8=>{_0x2e1eb8['isIntersecting']&&(_0x360642(),this['_isnObserver']['unobserve'](_0x14c407));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x14c407),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x14c407);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x229c03=>{this['_isnObserver']['unobserve'](_0x229c03);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](PROPS_MAP);}['attributeChangedCallback'](_0x4b17d9,_0x22f942,_0xa27e80){window['setTimeout'](()=>{this['$'][CSS_PREF+_0x4b17d9]=_0xa27e80;});}}class ImgBase extends ImgConfig{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x157601){return!_0x157601['includes']('//')&&!DEV_MODE&&(_0x157601=new URL(_0x157601,document['baseURI'])['href']),_0x157601;}['_validateSize'](_0x2d1deb){if(''!==_0x2d1deb?.['trim']()){let _0x58913b=_0x2d1deb['match'](/\d+/)[0x0],_0x208b04=_0x2d1deb['match'](/[a-zA-Z]+/)[0x0];const _0x218e66=parseInt(_0x58913b,0xa);if(Number(_0x218e66)>MAX_WIDTH_JPG&&this['hasFormatJPG'])return MAX_WIDTH_JPG+_0x208b04;if(Number(_0x218e66)>MAX_WIDTH&&!this['hasFormatJPG'])return MAX_WIDTH+_0x208b04;}return _0x2d1deb;}['_getCdnModifiers'](_0x9bcf16,_0x587454){const _0x263dcc={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x9bcf16),'blur':_0x587454,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0x263dcc));}['_getUrlBase'](_0xf9d58d='',_0x4ad502=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(DEV_MODE&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));let _0x826de5=this['_getCdnModifiers'](_0xf9d58d,_0x4ad502);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x826de5):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x826de5)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x826de5,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x826de5,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x376f09){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x376f09},{'transform':_0x539b57=>window['encodeURIComponent'](_0x539b57)}):_0x376f09;}['_getElSize'](_0x16cd9a,_0x426b5e=0x1,_0x49b380=!0x0){let _0x38789e=_0x16cd9a['getBoundingClientRect'](),_0x5d1f6c=_0x426b5e*Math['round'](_0x38789e['width']),_0x19fba7=_0x49b380?'':_0x426b5e*Math['round'](_0x38789e['height']);return _0x5d1f6c||_0x19fba7?(_0x5d1f6c||'')+'x'+(_0x19fba7||''):null;}['_setupEventProxy'](_0x16eece){let _0x167ddb=_0x18d738=>{_0x18d738['stopPropagation']();let _0x20fe30=new Event(_0x18d738['type'],_0x18d738);this['dispatchEvent'](_0x20fe30);},_0x387ec0=['load','error'];for(let _0xeff0c7 of _0x387ec0)_0x16eece['addEventListener'](_0xeff0c7,_0x167ddb);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':ImgTypeEnum['PREVIEW'],'img':this['_imgPreview']}:{'type':ImgTypeEnum['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0xf641d0=stringToArray(this['$$']('breakpoints'));return uniqueArray(_0xf641d0['map'](_0x24960a=>parseInt(_0x24960a,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x14d86b){let _0x41c797=new Set();_0x41c797['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x14d86b))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x41c797['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x14d86b,HI_RES_K))+'\x22)\x20'+HI_RES_K+'x'),this['$$']('ultra-res-support')&&_0x41c797['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x14d86b,ULTRA_RES_K))+'\x22)\x20'+ULTRA_RES_K+'x');let _0x4722fd='image-set('+[..._0x41c797]['join'](',\x20')+')';_0x14d86b['style']['setProperty']('background-image',_0x4722fd),_0x14d86b['style']['setProperty']('background-image','-webkit-'+_0x4722fd);}['getSrcset'](){let _0x16cb0c=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x55e33a=>{_0x16cb0c['add'](this['_getUrlBase'](_0x55e33a+'x')+('\x20'+this['_validateSize'](_0x55e33a+'w'))),this['$$']('hi-res-support')&&_0x16cb0c['add'](this['_getUrlBase'](_0x55e33a*HI_RES_K+'x')+('\x20'+this['_validateSize'](_0x55e33a*HI_RES_K+'w'))),this['$$']('ultra-res-support')&&_0x16cb0c['add'](this['_getUrlBase'](_0x55e33a*ULTRA_RES_K+'x')+('\x20'+this['_validateSize'](_0x55e33a*ULTRA_RES_K+'w')));}):(_0x16cb0c['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x16cb0c['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x16cb0c['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x16cb0c]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x5c64bf=>{this['$$']('intersection')?this['initIntersection'](_0x5c64bf,()=>{this['renderBg'](_0x5c64bf);}):this['renderBg'](_0x5c64bf);});}['_appendURL']({elNode:_0x150d2f,src:_0x39a603,srcset:_0x31e0a3}){_0x39a603&&(_0x150d2f['src']=_0x39a603),_0x31e0a3&&(_0x150d2f['srcset']=_0x31e0a3);}['_setupConfigForImage']({elNode:_0x376c2c}){this['_setupEventProxy'](_0x376c2c),this['initAttributes'](_0x376c2c);}['loaderImage']({src:_0x254562,srcset:_0xeb2d96,elNode:_0xf7afaa}){return new Promise((_0x3c5e98,_0x1563e6)=>{this['_setupConfigForImage']({'elNode':_0xf7afaa}),_0xf7afaa['setAttribute'](UNRESOLVED_ATTR,''),_0xf7afaa['addEventListener']('load',()=>{_0xf7afaa['removeAttribute'](UNRESOLVED_ATTR),_0x3c5e98(_0xf7afaa);}),_0xf7afaa['addEventListener']('error',()=>{_0x1563e6(!0x1);}),this['_appendURL']({'elNode':_0xf7afaa,'src':_0x254562,'srcset':_0xeb2d96});});}async['renderImage'](){if(this['$$']('intersection'))return this['hasPreviewImage']&&(this['_setupConfigForImage']({'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),void this['initIntersection'](this['currentImg']['img'],async()=>{this['hasPreviewImage']&&(this['_imgPreview']['src']=this['srcUrlPreview']);try{await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']['remove'](),this['appendChild'](this['_img']);}catch(_0x2920b9){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}});try{this['hasPreviewImage']&&(await this['loaderImage']({'src':this['srcUrlPreview'],'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}catch(_0x55cceb){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}}class Img extends ImgBase{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x3d052d=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x3d052d?'lazy':'eager');});}}class SimpleBtn extends UploaderBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];['couldBeCtxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'withDropZone':!0x0,'onClick':()=>{this['api']['initFlow']();},'button-text':''};}['initCallback'](){super['initCallback'](),this['defineAccessor']('dropzone',_0x587cfc=>{void 0x0!==_0x587cfc&&(this['$']['withDropZone']=asBoolean(_0x587cfc));}),this['subConfigValue']('multiple',_0x2d2528=>{this['$']['button-text']=_0x2d2528?'upload-files':'upload-file';});}}SimpleBtn['template']='\x0a\x20\x20<uc-drop-area\x20set=\x22@disabled:\x20!withDropZone\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onClick\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22button-text\x22></span>\x0a\x20\x20\x20\x20\x20\x20<slot></slot>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-visual-drop-area\x22\x20l10n=\x22drop-files-here\x22></div>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-drop-area>\x0a',SimpleBtn['bindAttributes']({'dropzone':null});class StartFrom extends ActivityBlock{['historyTracked']=!0x0;['activityType']='start-from';['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']);}}function checkIsDirectory(_0x4218d7){return new Promise(_0x1d867e=>{'function'!=typeof window['FileReader']&&_0x1d867e(!0x1);try{let _0x491247=new FileReader();_0x491247['onerror']=()=>{_0x1d867e(!0x0);};let _0x3f2c14=_0x1ab2e7=>{'loadend'!==_0x1ab2e7['type']&&_0x491247['abort'](),_0x1d867e(!0x1);};_0x491247['onloadend']=_0x3f2c14,_0x491247['onprogress']=_0x3f2c14,_0x491247['readAsDataURL'](_0x4218d7);}catch(_0x4d24ea){_0x1d867e(!0x1);}});}function readEntryContentAsync(_0x29247c,_0x4803b0){return new Promise(_0x56162b=>{let _0x5a8903=0x0;const _0x3f842d=[],_0x16d65f=_0x4d1b09=>{_0x4d1b09||(console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),_0x56162b(null)),_0x4d1b09['isFile']?(_0x5a8903++,_0x4d1b09['file'](_0x5976bc=>{_0x5a8903--;const _0x26f356=new File([_0x5976bc],_0x5976bc['name'],{'type':_0x5976bc['type']||_0x4803b0});_0x3f842d['push']({'type':'file','file':_0x26f356,'fullPath':_0x4d1b09['fullPath']}),0x0===_0x5a8903&&_0x56162b(_0x3f842d);})):_0x4d1b09['isDirectory']&&_0x37066f(_0x4d1b09['createReader']());};let _0x37066f=_0x3dba3a=>{_0x5a8903++,_0x3dba3a['readEntries'](_0x30e5c7=>{_0x5a8903--;for(let _0x84d1ce of _0x30e5c7)_0x16d65f(_0x84d1ce);0x0===_0x5a8903&&_0x56162b(_0x3f842d);});};_0x16d65f(_0x29247c);});}function getDropItems(_0x49e5f3){const _0x3f7c44=[],_0x691736=[];for(let _0x45e762=0x0;_0x45e762<_0x49e5f3['items']['length'];_0x45e762++){let _0x13c7ee=_0x49e5f3['items'][_0x45e762];if(_0x13c7ee){if('file'===_0x13c7ee['kind']){const _0x23ad58=_0x13c7ee['type'];if('function'==typeof _0x13c7ee['webkitGetAsEntry']||'function'==typeof _0x13c7ee['getAsEntry']){let _0x4b5436='function'==typeof _0x13c7ee['webkitGetAsEntry']?_0x13c7ee['webkitGetAsEntry']():_0x13c7ee['getAsEntry']();_0x691736['push'](readEntryContentAsync(_0x4b5436,_0x23ad58)['then'](_0x4cc1c4=>{_0x4cc1c4&&_0x3f7c44['push'](..._0x4cc1c4);}));continue;}const _0x3e13f8=_0x13c7ee['getAsFile']();_0x3e13f8&&_0x691736['push'](checkIsDirectory(_0x3e13f8)['then'](_0x5aba7d=>{_0x5aba7d||_0x3f7c44['push']({'type':'file','file':_0x3e13f8});}));}else'string'===_0x13c7ee['kind']&&_0x13c7ee['type']['match']('^text/uri-list')&&_0x691736['push'](new Promise(_0xd612f0=>{_0x13c7ee['getAsString'](_0x21edb3=>{_0x3f7c44['push']({'type':'url','url':_0x21edb3}),_0xd612f0(void 0x0);});}));}}return Promise['all'](_0x691736)['then'](()=>_0x3f7c44);}StartFrom['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';const DropzoneState={'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3};let RESET_EVENTS=['focus'],NEAR_OFFSET=0x64,nearnessRegistry=new Map();function distance(_0x2e0458,_0x23ad6e){let _0x4d05d4=Math['max'](Math['min'](_0x2e0458[0x0],_0x23ad6e['x']+_0x23ad6e['width']),_0x23ad6e['x']),_0x5098ff=Math['max'](Math['min'](_0x2e0458[0x1],_0x23ad6e['y']+_0x23ad6e['height']),_0x23ad6e['y']);return Math['sqrt']((_0x2e0458[0x0]-_0x4d05d4)*(_0x2e0458[0x0]-_0x4d05d4)+(_0x2e0458[0x1]-_0x5098ff)*(_0x2e0458[0x1]-_0x5098ff));}function addDropzone(_0x3c32a1){let _0x7531f7=0x0,_0x13a694=document['body'],_0x30eeb7=new Set(),_0x1120ba=DropzoneState['INACTIVE'],_0x5618e4=_0x4bc9de=>{_0x3c32a1['shouldIgnore']()&&_0x4bc9de!==DropzoneState['INACTIVE']||(_0x1120ba!==_0x4bc9de&&_0x30eeb7['forEach'](_0xb6b42e=>_0xb6b42e(_0x4bc9de)),_0x1120ba=_0x4bc9de);},_0x3b113b=()=>_0x7531f7>0x0;var _0x40193e;_0x40193e=_0x47cd98=>_0x3c32a1['onChange'](_0x47cd98),_0x30eeb7['add'](_0x40193e);let _0x298d47=()=>{_0x7531f7=0x0,_0x5618e4(DropzoneState['INACTIVE']);},_0x3de43c=()=>{_0x7531f7+=0x1,_0x1120ba===DropzoneState['INACTIVE']&&_0x5618e4(DropzoneState['ACTIVE']);},_0x76ca46=()=>{_0x7531f7-=0x1,_0x3b113b()||_0x5618e4(DropzoneState['INACTIVE']);},_0x3159d1=_0x42546a=>{_0x42546a['preventDefault'](),_0x7531f7=0x0,_0x5618e4(DropzoneState['INACTIVE']);},_0x6dd8f8=_0x227831=>{if(_0x3c32a1['shouldIgnore']())return;_0x3b113b()||(_0x7531f7+=0x1);let _0x59598d=[_0x227831['x'],_0x227831['y']],_0x2e4502=_0x3c32a1['element']['getBoundingClientRect'](),_0x209fdd=Math['floor'](distance(_0x59598d,_0x2e4502)),_0x3ee59c=_0x209fdd<NEAR_OFFSET,_0x4dbc9d=_0x227831['composedPath']()['includes'](_0x3c32a1['element']);nearnessRegistry['set'](_0x3c32a1['element'],_0x209fdd);let _0x5586ad=Math['min'](...nearnessRegistry['values']())===_0x209fdd;_0x4dbc9d&&_0x5586ad?(_0x227831['preventDefault'](),_0x5618e4(DropzoneState['OVER'])):_0x5618e4(_0x3ee59c&&_0x5586ad?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x45e0ff=async _0x14d713=>{if(_0x3c32a1['shouldIgnore']())return;_0x14d713['preventDefault']();let _0x47926e=await getDropItems(_0x14d713['dataTransfer']);_0x3c32a1['onItems'](_0x47926e),_0x5618e4(DropzoneState['INACTIVE']);};return _0x13a694['addEventListener']('drop',_0x3159d1),_0x13a694['addEventListener']('dragleave',_0x76ca46),_0x13a694['addEventListener']('dragenter',_0x3de43c),_0x13a694['addEventListener']('dragover',_0x6dd8f8),_0x3c32a1['element']['addEventListener']('drop',_0x45e0ff),RESET_EVENTS['forEach'](_0x35a724=>{window['addEventListener'](_0x35a724,_0x298d47);}),()=>{nearnessRegistry['delete'](_0x3c32a1['element']),_0x13a694['removeEventListener']('drop',_0x3159d1),_0x13a694['removeEventListener']('dragleave',_0x76ca46),_0x13a694['removeEventListener']('dragenter',_0x3de43c),_0x13a694['removeEventListener']('dragover',_0x6dd8f8),_0x3c32a1['element']['removeEventListener']('drop',_0x45e0ff),RESET_EVENTS['forEach'](_0x44f094=>{window['removeEventListener'](_0x44f094,_0x298d47);});};}const GLOBAL_CTX_NAME='uc-drop-area',REGISTRY_KEY=GLOBAL_CTX_NAME+'/registry';class DropArea extends UploaderBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];constructor(){super(),this['init$']={...this['init$'],'state':DropzoneState['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'text':'',[REGISTRY_KEY]:null};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x3d4887=this['getBoundingClientRect'](),_0x48e0d5=_0x3d4887['width']>0x0&&_0x3d4887['height']>0x0,_0x53674d=_0x3d4887['top']>=0x0&&_0x3d4887['left']>=0x0&&_0x3d4887['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x3d4887['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x4f3594=window['getComputedStyle'](this),_0x5adf77='hidden'!==_0x4f3594['visibility']&&'none'!==_0x4f3594['display'];return _0x48e0d5&&_0x5adf77&&_0x53674d;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),this['$'][REGISTRY_KEY]||(this['$'][REGISTRY_KEY]=new Set()),this['$'][REGISTRY_KEY]['add'](this),this['defineAccessor']('disabled',_0x4f77b3=>{this['set$']({'isEnabled':!asBoolean(_0x4f77b3)});}),this['defineAccessor']('clickable',_0x59e27c=>{this['set$']({'isClickable':asBoolean(_0x59e27c)});}),this['defineAccessor']('with-icon',_0xc4a20=>{this['set$']({'withIcon':asBoolean(_0xc4a20)});}),this['defineAccessor']('fullscreen',_0x5f1811=>{this['set$']({'isFullscreen':asBoolean(_0x5f1811)});}),this['defineAccessor']('text',_0x110245=>{'string'==typeof _0x110245?this['bindL10n']('text',()=>this['l10n'](_0x110245)||_0x110245):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=addDropzone({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x286d25=>{this['$']['state']=_0x286d25;},'onItems':_0x28b6f0=>{_0x28b6f0['length']&&(_0x28b6f0['forEach'](_0x1f9777=>{'url'===_0x1f9777['type']?this['api']['addFileFromUrl'](_0x1f9777['url'],{'source':UploadSource['DROP_AREA']}):'file'===_0x1f9777['type']&&this['api']['addFileFromObject'](_0x1f9777['file'],{'source':UploadSource['DROP_AREA'],'fullPath':_0x1f9777['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['setOrAddState']('*modalActive',!0x0)));}});let _0x194287=this['ref']['content-wrapper'];_0x194287&&(this['_destroyContentWrapperDropzone']=addDropzone({'element':_0x194287,'onChange':_0x542576=>{const _0x2189d3=Object['entries'](DropzoneState)['find'](([,_0x14fbdf])=>_0x14fbdf===_0x542576)?.[0x0]['toLowerCase']();_0x2189d3&&_0x194287['setAttribute']('drag-state',_0x2189d3);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x173116=>{const _0x1998aa=Object['entries'](DropzoneState)['find'](([,_0x530e81])=>_0x530e81===_0x173116)?.[0x0]['toLowerCase']();_0x1998aa&&this['setAttribute']('drag-state',_0x1998aa);}),this['subConfigValue']('sourceList',_0x42a7f7=>{const _0x1f141f=stringToArray(_0x42a7f7);this['$']['isEnabled']=_0x1f141f['includes'](UploadSource['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x1a5855=>{this['toggleAttribute']('hidden',!_0x1a5855);}),this['sub']('isClickable',_0x3dd634=>{this['toggleAttribute']('clickable',_0x3dd634);}),this['$']['isClickable']&&(this['_onAreaClicked']=_0x5e658f=>{'keydown'===_0x5e658f['type']?'Space'!==_0x5e658f['code']&&'Enter'!==_0x5e658f['code']||this['api']['openSystemDialog']():'click'===_0x5e658f['type']&&this['api']['openSystemDialog']();},this['addEventListener']('keydown',this['_onAreaClicked']),this['addEventListener']('click',this['_onAreaClicked']));}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;return[...this['$'][REGISTRY_KEY]]['filter'](_0x5271b1=>_0x5271b1!==this)['filter'](_0x52dfec=>_0x52dfec['isActive']())['length']>0x0;}['_couldHandleFiles'](){let _0x2c0e89=this['cfg']['multiple'],_0x498f1c=this['cfg']['multipleMax'],_0x30cf25=this['uploadCollection']['size'];return!(_0x2c0e89&&_0x498f1c&&_0x30cf25>=_0x498f1c)&&!(!_0x2c0e89&&_0x30cf25>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x3c0c4b=this['$'][REGISTRY_KEY];_0x3c0c4b&&(_0x3c0c4b['delete'](this),0x0===_0x3c0c4b['size']&&Data['deleteCtx'](GLOBAL_CTX_NAME)),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']));}}DropArea['template']='\x0a\x20\x20<slot>\x0a\x20\x20\x20\x20<div\x20data-default-slot\x20hidden></div>\x0a\x20\x20\x20\x20<div\x20ref=\x22content-wrapper\x22\x20class=\x22uc-content-wrapper\x22\x20set=\x22@hidden:\x20!isVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-icon-container\x22\x20set=\x22@hidden:\x20!withIcon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22default\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22arrow-down\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-text\x22>{{text}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</slot>\x0a',DropArea['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null});const L10N_PREFIX='src-type-';class SourceBtn extends UploaderBlock{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':UploadSource['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':UploadSource['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':UploadSource['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x4ae88d='capture'in document['createElement']('input');return _0x4ae88d&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x4ae88d;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(let _0x90fa7e of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x90fa7e,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x90fa7e}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x7a859b=>{_0x7a859b&&this['applyType'](_0x7a859b);});}['registerType'](_0x53c5a7){this['_registeredTypes'][_0x53c5a7['type']]=_0x53c5a7;}['getType'](_0x5d2119){return this['_registeredTypes'][_0x5d2119];}['activate'](){if(!this['type'])return;const _0x2b0a29=this['_registeredTypes'][this['type']],{activity:_0x14cc21,activate:_0xfdab2a,activityParams:_0x681388={}}=_0x2b0a29;(_0xfdab2a?_0xfdab2a():!!_0x14cc21)&&this['set$']({'*currentActivityParams':_0x681388,'*currentActivity':_0x14cc21});}['applyType'](_0x3c8f5a){const _0x45c15f=this['_registeredTypes'][_0x3c8f5a];if(!_0x45c15f)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x3c8f5a);const {textKey:_0xe2981c=_0x3c8f5a,icon:_0x13f4f9=_0x3c8f5a}=_0x45c15f;this['$']['src-type']=''+L10N_PREFIX+_0xe2981c,this['$']['iconName']=_0x13f4f9,this['onclick']=()=>{this['activate']();};}}SourceBtn['template']='\x0a\x20\x20<button\x20type=\x22button\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20iconName\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-txt\x22\x20l10n=\x22src-type\x22></div>\x0a\x20\x20</button>\x0a',SourceBtn['bindAttributes']({'type':null});class SourceList extends Block{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x1f4721=>{let _0x1a1e8c=stringToArray(_0x1f4721),_0x773625='';_0x1a1e8c['forEach'](_0x3ddd4e=>{'instagram'!==_0x3ddd4e?_0x773625+='<uc-source-btn\x20type=\x22'+_0x3ddd4e+'\x22></uc-source-btn>':console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US');}),this['cfg']['sourceListWrap']?this['innerHTML']=_0x773625:this['outerHTML']=_0x773625;});}}const readJpegChunks=()=>{const _0x2d0167=[];return{'stack':_0x2d0167,'promiseReadJpegChunks':_0x119c9a=>new Promise((_0x4e044c,_0x3d683b)=>{let _0x1142c4=0x2;const _0x27204a=(_0x9d81ee,_0x9be2ed)=>{const _0x2978c0=new FileReader();_0x2978c0['addEventListener']('load',()=>{_0x9be2ed(new DataView(_0x2978c0['result']));}),_0x2978c0['addEventListener']('error',_0x35e711=>{_0x3d683b('Reader\x20error:\x20'+_0x35e711);}),_0x2978c0['readAsArrayBuffer'](_0x9d81ee);},_0x57e3fa=()=>_0x27204a(_0x119c9a['slice'](_0x1142c4,_0x1142c4+0x80),_0x315a1a=>{let _0x47b518,_0x7601dc,_0x4284ee;for(_0x47b518=_0x7601dc=0x0,_0x4284ee=_0x315a1a['byteLength'];_0x4284ee>=0x0?_0x7601dc<_0x4284ee:_0x7601dc>_0x4284ee;_0x47b518=_0x4284ee>=0x0?++_0x7601dc:--_0x7601dc)if(0xff===_0x315a1a['getUint8'](_0x47b518)){_0x1142c4+=_0x47b518;break;}_0x1ab079();}),_0x1ab079=()=>{const _0x3035d7=_0x1142c4;return _0x27204a(_0x119c9a['slice'](_0x1142c4,_0x1142c4+=0x4),_0x5c9809=>{if(0x4!==_0x5c9809['byteLength']||0xff!==_0x5c9809['getUint8'](0x0))return void _0x3d683b('Corrupted');const _0x4127f9=_0x5c9809['getUint8'](0x1);if(0xda===_0x4127f9)return void _0x4e044c(!0x0);const _0x503e04=_0x5c9809['getUint16'](0x2)-0x2;return _0x27204a(_0x119c9a['slice'](_0x1142c4,_0x1142c4+=_0x503e04),_0x5730a6=>{_0x5730a6['byteLength']===_0x503e04?(_0x2d0167['push']({'startPos':_0x3035d7,'length':_0x503e04,'marker':_0x4127f9,'view':_0x5730a6}),_0x57e3fa()):_0x3d683b('Corrupted');});});};FileReader&&DataView||_0x3d683b('Not\x20Support'),_0x27204a(_0x119c9a['slice'](0x0,0x2),_0xd1fa19=>{0xffd8!==_0xd1fa19['getUint16'](0x0)&&_0x3d683b('Not\x20jpeg'),_0x57e3fa();});})};},getIccProfile=async _0x8b44b2=>{const _0x28343a=[],{promiseReadJpegChunks:_0x14cb05,stack:_0x5c1e36}=readJpegChunks();return await _0x14cb05(_0x8b44b2),_0x5c1e36['forEach'](({marker:_0x51f6a1,view:_0x3141ab})=>{0xe2===_0x51f6a1&&0x4943435f===_0x3141ab['getUint32'](0x0)&&0x50524f46===_0x3141ab['getUint32'](0x4)&&0x494c4500===_0x3141ab['getUint32'](0x8)&&_0x28343a['push'](_0x3141ab);}),_0x28343a;},replaceJpegChunk=async(_0x214e29,_0x1f6001,_0x2145d2)=>{{const _0x3cd5d2=[],_0x2c1169=[],{promiseReadJpegChunks:_0xaf452c,stack:_0x849958}=readJpegChunks();await _0xaf452c(_0x214e29),_0x849958['forEach'](_0x2f1569=>{if(_0x2f1569['marker']===_0x1f6001)return _0x3cd5d2['push'](_0x2f1569['startPos']),_0x2c1169['push'](_0x2f1569['length']);});const _0x59f20f=[_0x214e29['slice'](0x0,0x2)];for(const _0x62cb16 of _0x2145d2){const _0x5726c7=new DataView(new ArrayBuffer(0x4));_0x5726c7['setUint16'](0x0,0xff00+_0x1f6001),_0x5726c7['setUint16'](0x2,_0x62cb16['byteLength']+0x2),_0x59f20f['push'](_0x5726c7['buffer']),_0x59f20f['push'](_0x62cb16);}let _0x22902c=0x2;for(let _0x196da3=0x0;_0x196da3<_0x3cd5d2['length'];_0x196da3++)_0x3cd5d2[_0x196da3]>_0x22902c&&_0x59f20f['push'](_0x214e29['slice'](_0x22902c,_0x3cd5d2[_0x196da3])),_0x22902c=_0x3cd5d2[_0x196da3]+_0x2c1169[_0x196da3]+0x4;return _0x59f20f['push'](_0x214e29['slice'](_0x22902c,_0x214e29['size'])),new Blob(_0x59f20f,{'type':_0x214e29['type']});}},MARKER=0xe2,replaceIccProfile=(_0x3e55ba,_0x45d68b)=>replaceJpegChunk(_0x3e55ba,MARKER,_0x45d68b['map'](_0x4908b6=>_0x4908b6['buffer'])),stripIccProfile=async _0x165ed3=>{try{return await replaceIccProfile(_0x165ed3,[]);}catch(_0x598b4f){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x598b4f);}},canvasToBlob=(_0x47e773,_0x15931c,_0x20e7be)=>new Promise((_0x46360d,_0x51034e)=>{_0x47e773['toBlob'](_0x57f741=>{_0x57f741?_0x46360d(_0x57f741):_0x51034e('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x15931c,_0x20e7be),_0x47e773['width']=_0x47e773['height']=0x1;}),createCanvas=()=>{const _0x253608=document['createElement']('canvas'),_0x37bbdd=_0x253608['getContext']('2d');return{'canvas':_0x253608,'ctx':_0x37bbdd};},hasTransparency=_0x3448ea=>{const {ctx:_0x384fc4,canvas:_0x413c4f}=createCanvas();_0x413c4f['width']=_0x413c4f['height']=0x32,_0x384fc4['drawImage'](_0x3448ea,0x0,0x0,0x32,0x32);const _0xe6661c=_0x384fc4['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x413c4f['width']=_0x413c4f['height']=0x1;for(let _0x4667dc=0x3;_0x4667dc<_0xe6661c['length'];_0x4667dc+=0x4)if(_0xe6661c[_0x4667dc]<0xfe)return!0x0;return!0x1;},getExif=async _0x3f1596=>{let _0x3184cf=null;const {promiseReadJpegChunks:_0x59906b,stack:_0xe43a9f}=readJpegChunks();return await _0x59906b(_0x3f1596),_0xe43a9f['forEach'](({marker:_0x1524ec,view:_0x43fdb0})=>{!_0x3184cf&&0xe1===_0x1524ec&&_0x43fdb0['byteLength']>=0xe&&0x45786966===_0x43fdb0['getUint32'](0x0)&&0x0===_0x43fdb0['getUint16'](0x4)&&(_0x3184cf=_0x43fdb0);}),_0x3184cf;},base64ImageSrc='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let isApplied;const isBrowserApplyExifOrientation=()=>new Promise(_0x3fe3c8=>{if(void 0x0!==isApplied)_0x3fe3c8(isApplied);else{const _0x3a1b89=new Image();_0x3a1b89['addEventListener']('load',()=>{isApplied=_0x3a1b89['naturalWidth']<_0x3a1b89['naturalHeight'],_0x3a1b89['src']='//:0',_0x3fe3c8(isApplied);}),_0x3a1b89['src']=base64ImageSrc;}}),findExifOrientation=(_0x1da681,_0x3ffa1a)=>{let _0x15eb15,_0x38408f,_0x221820,_0x48df2a;if(!_0x1da681||_0x1da681['byteLength']<0xe||0x45786966!==_0x1da681['getUint32'](0x0)||0x0!==_0x1da681['getUint16'](0x4))return;if(0x4949===_0x1da681['getUint16'](0x6))_0x38408f=!0x0;else{if(0x4d4d!==_0x1da681['getUint16'](0x6))return;_0x38408f=!0x1;}if(0x2a!==_0x1da681['getUint16'](0x8,_0x38408f))return;_0x221820=0x8+_0x1da681['getUint32'](0xa,_0x38408f);for(_0x15eb15=0x0,_0x48df2a=_0x1da681['getUint16'](_0x221820-0x2,_0x38408f);_0x48df2a>=0x0?_0x15eb15<_0x48df2a:_0x15eb15>_0x48df2a;_0x48df2a>=0x0?++_0x15eb15:--_0x15eb15){if(_0x1da681['byteLength']<_0x221820+0xa)return;0x112===_0x1da681['getUint16'](_0x221820,_0x38408f)&&_0x3ffa1a(_0x221820+0x8,_0x38408f),_0x221820+=0xc;}},setExifOrientation=(_0x2352f4,_0x16fb81)=>{findExifOrientation(_0x2352f4,(_0x5b8511,_0x1c1e42)=>_0x2352f4['setUint16'](_0x5b8511,_0x16fb81,_0x1c1e42));},replaceExif=async(_0x3d8bf4,_0x4c4153,_0x3915eb)=>(_0x3915eb&&setExifOrientation(_0x4c4153,0x1),replaceJpegChunk(_0x3d8bf4,0xe1,[_0x4c4153['buffer']])),processImage=(_0x1c6deb,_0x38969a)=>new Promise((_0x1c7525,_0x4e646f)=>{_0x38969a&&(_0x1c6deb['src']=_0x38969a),_0x1c6deb['complete']?_0x1c7525(_0x1c6deb):(_0x1c6deb['addEventListener']('load',()=>{_0x1c7525(_0x1c6deb);}),_0x1c6deb['addEventListener']('error',()=>{_0x4e646f(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),imageLoader=_0x489ebc=>processImage(new Image(),_0x489ebc),allowLayers=[0x1,0x3],markers=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],sizes={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},shouldSkipShrink=async _0x252c83=>{let _0x4ce637=!0x1;const {promiseReadJpegChunks:_0x3d7120,stack:_0x10ffd2}=readJpegChunks();return await _0x3d7120(_0x252c83)['then'](()=>(_0x10ffd2['forEach'](({marker:_0x483f80,view:_0x4b209e})=>{if(!_0x4ce637&&markers['indexOf'](_0x483f80)>=0x0){const _0x530899=_0x4b209e['getUint8'](0x5);allowLayers['indexOf'](_0x530899)<0x0&&(_0x4ce637=!0x0);}}),_0x4ce637))['catch'](()=>_0x4ce637);},memoize=(_0x2b8a78,_0xf7d99d)=>{const _0x526938={};return(..._0x36f9ff)=>{const _0x37003e=_0xf7d99d(_0x36f9ff,_0x526938);return _0x37003e in _0x526938?_0x526938[_0x37003e]:_0x526938[_0x37003e]=_0x2b8a78(..._0x36f9ff);};},memoKeySerializer=(_0x2260d9,_0x29a3ee)=>{const [_0x4175af]=_0x2260d9,_0x22b538=Object['keys'](_0x29a3ee)['map'](_0x213601=>parseInt(_0x213601,0xa))['sort']((_0x1011ee,_0x1c8f05)=>_0x1011ee-_0x1c8f05);for(let _0x367efd=0x0;_0x367efd<_0x22b538['length'];_0x367efd++){const _0x5bb4f2=_0x22b538[_0x367efd],_0x3be63c=!!_0x29a3ee[_0x5bb4f2];if(_0x5bb4f2>_0x4175af&&_0x3be63c)return _0x5bb4f2;if(_0x5bb4f2<_0x4175af&&!_0x3be63c)return _0x5bb4f2;}return _0x4175af;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},FILL_STYLE='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x3db2a7,_0x57f1fd)=>{try{const _0x926feb=[_0x3db2a7-0x1,_0x57f1fd-0x1,0x1,0x1],{canvas:_0x4fa13f,ctx:_0x419c0d}=createCanvas();_0x4fa13f['width']=0x1,_0x4fa13f['height']=0x1;const {canvas:_0x2e0148,ctx:_0x32c90c}=createCanvas();_0x2e0148['width']=_0x3db2a7,_0x2e0148['height']=_0x57f1fd,_0x32c90c&&(_0x32c90c['fillStyle']=FILL_STYLE,_0x32c90c['fillRect'](..._0x926feb),_0x419c0d['drawImage'](_0x2e0148,_0x3db2a7-0x1,_0x57f1fd-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x37e430=_0x419c0d&&_0x419c0d['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x183c0f=!0x1;return _0x37e430&&(_0x183c0f=_0x37e430[0x0]===TestPixel['R']&&_0x37e430[0x1]===TestPixel['G']&&_0x37e430[0x2]===TestPixel['B']&&_0x37e430[0x3]===TestPixel['A']),_0x2e0148['width']=_0x2e0148['height']=0x1,_0x183c0f;}catch(_0x396ed3){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x3db2a7+'x'+_0x57f1fd+'.'),!0x1;}};function wrapAsync(_0x5e2c16){return(..._0x34e94f)=>new Promise(_0x4ac185=>{setTimeout(()=>{const _0x7c17e5=_0x5e2c16(..._0x34e94f);_0x4ac185(_0x7c17e5);},0x0);});}const squareTest=wrapAsync(memoize(canvasTest,memoKeySerializer)),dimensionTest=wrapAsync(memoize(canvasTest,memoKeySerializer)),testCanvasSize=async(_0x20cbd2,_0x3aa3c7)=>{const _0x1c6176=sizes['squareSide']['find'](_0x2cf29a=>_0x2cf29a*_0x2cf29a>=_0x20cbd2*_0x3aa3c7),_0x142b42=sizes['dimension']['find'](_0x2abf47=>_0x2abf47>=_0x20cbd2&&_0x2abf47>=_0x3aa3c7);if(!_0x1c6176||!_0x142b42)throw new Error('Not\x20supported');const [_0x311c6e,_0x425b71]=await Promise['all']([squareTest(_0x1c6176,_0x1c6176),dimensionTest(_0x142b42,0x1)]);if(_0x311c6e&&_0x425b71)return!0x0;throw new Error('Not\x20supported');},canvasResize=async(_0x5035ed,_0x18f39b,_0x31d4e5)=>{try{const {ctx:_0xed10bc,canvas:_0x22dcc9}=createCanvas();return _0x22dcc9['width']=_0x18f39b,_0x22dcc9['height']=_0x31d4e5,_0xed10bc['imageSmoothingQuality']='high',_0xed10bc['drawImage'](_0x5035ed,0x0,0x0,_0x18f39b,_0x31d4e5),_0x5035ed instanceof HTMLImageElement&&(_0x5035ed['src']='//:0'),_0x5035ed instanceof HTMLCanvasElement&&(_0x5035ed['width']=_0x5035ed['height']=0x1),_0x22dcc9;}catch(_0x3d7cef){throw new Error('Canvas\x20resize\x20error',{'cause':_0x3d7cef});}},native=({img:_0x53294f,targetW:_0x463f82,targetH:_0x3739c3})=>canvasResize(_0x53294f,_0x463f82,_0x3739c3),calcShrinkSteps=function({sourceW:_0x54f4c5,targetW:_0x58dea7,targetH:_0x1e655e,step:_0x2f6506}){const _0x485818=[];let _0x5427c4=_0x58dea7,_0x50f8e9=_0x1e655e;do{_0x485818['push']([_0x5427c4,_0x50f8e9]),_0x5427c4=Math['round'](_0x5427c4/_0x2f6506),_0x50f8e9=Math['round'](_0x50f8e9/_0x2f6506);}while(_0x5427c4<_0x54f4c5*_0x2f6506);return _0x485818['reverse']();},fallback=({img:_0x481ee6,sourceW:_0x311e86,targetW:_0x375304,targetH:_0x45cc5c,step:_0x125227})=>calcShrinkSteps({'sourceW':_0x311e86,'targetW':_0x375304,'targetH':_0x45cc5c,'step':_0x125227})['reduce']((_0x28c219,[_0x11e7b1,_0x4285fa])=>_0x28c219['then'](_0x2aaf7c=>testCanvasSize(_0x11e7b1,_0x4285fa)['then'](()=>canvasResize(_0x2aaf7c,_0x11e7b1,_0x4285fa))['catch'](()=>_0x2aaf7c)),Promise['resolve'](_0x481ee6)),isIOS=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),isIpadOS=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),STEP=0.71,shrinkImage=(_0x319c5a,_0x3f637e)=>{if(_0x319c5a['width']*STEP*_0x319c5a['height']*STEP<_0x3f637e['size'])throw new Error('Not\x20required');const _0x363574=_0x319c5a['width'],_0x473b59=_0x319c5a['height'],_0x1db3c1=_0x363574/_0x473b59,_0x430f9d=Math['floor'](Math['sqrt'](_0x3f637e['size']*_0x1db3c1)),_0x2746b2=Math['floor'](_0x3f637e['size']/Math['sqrt'](_0x3f637e['size']*_0x1db3c1));return testCanvasSize(_0x430f9d,_0x2746b2)['then'](()=>{const {ctx:_0x555563}=createCanvas();return'imageSmoothingQuality'in _0x555563&&!isIOS()&&!isIpadOS?native({'img':_0x319c5a,'targetW':_0x430f9d,'targetH':_0x2746b2}):fallback({'img':_0x319c5a,'sourceW':_0x363574,'targetW':_0x430f9d,'targetH':_0x2746b2,'step':STEP});})['catch'](()=>Promise['reject']('Not\x20supported'));},shrinkFile=async(_0x14a728,_0x546779)=>{try{if(await shouldSkipShrink(_0x14a728))throw new Error('Should\x20skipped');const _0x4dfd7e=await Promise['allSettled']([getExif(_0x14a728),isBrowserApplyExifOrientation(),getIccProfile(_0x14a728)]),_0x5d7406=!_0x4dfd7e['some'](_0x3870f7=>'rejected'===_0x3870f7['status']),[_0x12a3d8,_0x40300f,_0x4ed273]=_0x4dfd7e,_0x1ff995=await stripIccProfile(_0x14a728)['catch'](()=>_0x14a728),_0x36a3b2=await imageLoader(URL['createObjectURL'](_0x1ff995));URL['revokeObjectURL'](_0x36a3b2['src']);const _0x52007a=await shrinkImage(_0x36a3b2,_0x546779);let _0x2a86a9='image/jpeg',_0xbb7338=_0x546779?.['quality']||0.8;!_0x5d7406&&hasTransparency(_0x52007a)&&(_0x2a86a9='image/png',_0xbb7338=void 0x0);let _0x42f85e=await canvasToBlob(_0x52007a,_0x2a86a9,_0xbb7338);if(_0x5d7406&&'fulfilled'===_0x12a3d8['status']&&_0x12a3d8['value']){const _0x1ea28a=_0x12a3d8['value'],_0x1d277e='fulfilled'===_0x40300f['status']&&_0x40300f['value'];_0x42f85e=await replaceExif(_0x42f85e,_0x1ea28a,_0x1d277e);}return _0x5d7406&&'fulfilled'===_0x4ed273['status']&&_0x4ed273['value']['length']>0x0&&(_0x42f85e=await replaceIccProfile(_0x42f85e,_0x4ed273['value'])),_0x42f85e;}catch(_0x380f0a){let _0x4d4b50;throw _0x380f0a instanceof Error&&(_0x4d4b50=_0x380f0a['message']),'string'==typeof _0x380f0a&&(_0x4d4b50=_0x380f0a),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x4d4b50?'Message:\x20\x22'+_0x4d4b50+'\x22.':''),{'cause':_0x380f0a});}};function createSvgBlobUrl(_0x436032){let _0x32937d=new Blob([_0x436032],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x32937d);}function fileCssBg(_0x4252d5='hsl(209,\x2021%,\x2065%)',_0xabaf51=0x20,_0x443e56=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0xabaf51+'\x22\x20height=\x22'+_0x443e56+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x4252d5+'\x22\x20d=\x22M9.68848\x208.70068C9.68848\x208.42454\x209.91233\x208.20068\x2010.1885\x208.20068H15.0885C15.2211\x208.20068\x2015.3483\x208.25336\x2015.442\x208.34713L20.342\x2013.2471C20.4358\x2013.3409\x2020.4885\x2013.4681\x2020.4885\x2013.6007V21.3007C20.4885\x2021.5768\x2020.2646\x2021.8007\x2019.9885\x2021.8007H10.1885C9.91233\x2021.8007\x209.68848\x2021.5768\x209.68848\x2021.3007V8.70068ZM10.6885\x209.20068V20.8007H19.4885V14.1007L15.0885\x2014.1007C14.8123\x2014.1007\x2014.5885\x2013.8768\x2014.5885\x2013.6007L14.5885\x209.20068H10.6885ZM15.5885\x209.90779L18.7814\x2013.1007L15.5885\x2013.1007L15.5885\x209.90779Z\x22/>\x0a\x20\x20</svg>\x0a\x20\x20');}function generateThumb(_0x83dac4,_0x48ecc6=0x28){if('image/svg+xml'===_0x83dac4['type'])return URL['createObjectURL'](_0x83dac4);let _0x3fdc72=document['createElement']('canvas'),_0x36caf7=_0x3fdc72['getContext']('2d'),_0x577cbe=new Image(),_0x4f4618=new Promise((_0x137efa,_0xcaa2da)=>{_0x577cbe['onload']=()=>{let _0x588582=_0x577cbe['height']/_0x577cbe['width'];_0x588582>0x1?(_0x3fdc72['width']=_0x48ecc6,_0x3fdc72['height']=_0x48ecc6*_0x588582):(_0x3fdc72['height']=_0x48ecc6,_0x3fdc72['width']=_0x48ecc6/_0x588582),_0x36caf7['fillStyle']='rgb(240,\x20240,\x20240)',_0x36caf7['fillRect'](0x0,0x0,_0x3fdc72['width'],_0x3fdc72['height']),_0x36caf7['drawImage'](_0x577cbe,0x0,0x0,_0x3fdc72['width'],_0x3fdc72['height']),_0x3fdc72['toBlob'](_0x8ad0bb=>{if(!_0x8ad0bb)return void _0xcaa2da();let _0x3de26c=URL['createObjectURL'](_0x8ad0bb);_0x137efa(_0x3de26c);});},_0x577cbe['onerror']=_0x5818bc=>{_0xcaa2da(_0x5818bc);};});return _0x577cbe['src']=URL['createObjectURL'](_0x83dac4),_0x4f4618;}const MAX_SQUARE_SIDE=0x4000,regExpShrink=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,parseShrink=_0x1450d3=>{const _0x15efa6=regExpShrink['exec'](_0x1450d3?.['toLocaleLowerCase']())||[];if(!_0x15efa6['length'])return!0x1;const _0x5818c8=_0x15efa6[0x1]*_0x15efa6[0x2],_0x3f32e6=MAX_SQUARE_SIDE*MAX_SQUARE_SIDE;return _0x5818c8>_0x3f32e6?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x3f32e6/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x15efa6[0x1]+'x'+_0x15efa6[0x2]+'\x20('+Math['ceil'](_0x5818c8/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x15efa6[0x3]?_0x15efa6[0x3]/0x64:void 0x0,'size':_0x5818c8};},FileItemState=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'IDLE':Symbol('IDLE')});class FileItem extends UploaderBlock{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_entrySubs']=new Set();['_entry']=null;['_isIntersecting']=!0x1;['_debouncedGenerateThumb']=debounce(this['_generateThumbnail']['bind'](this),0x64);['_debouncedCalculateState']=debounce(this['_calculateState']['bind'](this),0x64);['_renderedOnce']=!0x1;constructor(){super(),this['init$']={...this['init$'],'uid':'','itemName':'','errorText':'','thumbUrl':'','progressValue':0x0,'progressVisible':!0x1,'badgeIcon':'','isFinished':!0x1,'isFailed':!0x1,'isUploading':!0x1,'isFocused':!0x1,'isEditable':!0x1,'state':FileItemState['IDLE'],'ariaLabelStatusFile':'','onEdit':()=>{this['$']['*currentActivityParams']={'internalId':this['_entry']['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];},'onRemove':()=>{this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_reset'](){for(let _0x38dbd6 of this['_entrySubs'])_0x38dbd6['remove']();this['_debouncedGenerateThumb']['cancel'](),this['_debouncedCalculateState']['cancel'](),this['_entrySubs']=new Set(),this['_entry']=null;}['_observerCallback'](_0x3c0660){let [_0x1736fe]=_0x3c0660;this['_isIntersecting']=_0x1736fe['isIntersecting'],_0x1736fe['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0),0x0===_0x1736fe['intersectionRatio']?this['_debouncedGenerateThumb']['cancel']():this['_debouncedGenerateThumb']();}['_calculateState'](){if(!this['_entry'])return;let _0x15d9f8=this['_entry'],_0x5f3c89=FileItemState['IDLE'];_0x15d9f8['getValue']('errors')['length']>0x0?_0x5f3c89=FileItemState['FAILED']:_0x15d9f8['getValue']('isUploading')?_0x5f3c89=FileItemState['UPLOADING']:_0x15d9f8['getValue']('fileInfo')&&(_0x5f3c89=FileItemState['FINISHED']),this['$']['state']=_0x5f3c89;}async['_generateThumbnail'](){if(!this['_entry'])return;let _0x239506=this['_entry'];if(_0x239506['getValue']('fileInfo')&&_0x239506['getValue']('isImage')){let _0x389349=this['cfg']['thumbSize'],_0x429df1=await this['proxyUrl'](createCdnUrl(createOriginalUrl(this['cfg']['cdnCname'],this['_entry']['getValue']('uuid')),createCdnUrlModifiers(_0x239506['getValue']('cdnUrlModifiers'),'scale_crop/'+_0x389349+'x'+_0x389349+'/center'))),_0x50b668=_0x239506['getValue']('thumbUrl');_0x50b668!==_0x429df1&&(_0x239506['setValue']('thumbUrl',_0x429df1),_0x50b668?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x50b668));}else{if(!_0x239506['getValue']('thumbUrl')){if(_0x239506['getValue']('file')?.['type']['includes']('image'))try{let _0x202879=await generateThumb(_0x239506['getValue']('file'),this['cfg']['thumbSize']);_0x239506['setValue']('thumbUrl',_0x202879);}catch(_0x9127c5){let _0x190de2=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');_0x239506['setValue']('thumbUrl',fileCssBg(_0x190de2));}else{let _0x3a1ce4=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');_0x239506['setValue']('thumbUrl',fileCssBg(_0x3a1ce4));}}}}['_subEntry'](_0x486a68,_0x1cbea8){let _0x34b85b=this['_entry']['subscribe'](_0x486a68,_0xab7908=>{this['isConnected']&&_0x1cbea8(_0xab7908);});this['_entrySubs']['add'](_0x34b85b);}['_handleEntryId'](_0x4359d6){this['_reset']();let _0x2e3ee8=this['uploadCollection']?.['read'](_0x4359d6);this['_entry']=_0x2e3ee8,_0x2e3ee8&&(this['_subEntry']('uploadProgress',_0x5d9597=>{this['$']['progressValue']=_0x5d9597;}),this['_subEntry']('fileName',_0x504907=>{this['$']['itemName']=_0x504907||_0x2e3ee8['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x5c10a9=>{this['$']['itemName']=_0x2e3ee8['getValue']('fileName')||_0x5c10a9||this['l10n']('file-no-name');}),this['_subEntry']('fileInfo',_0x29cad2=>{this['_debouncedCalculateState'](),_0x29cad2&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x35b50a=>{this['$']['thumbUrl']=_0x35b50a?'url('+_0x35b50a+')':'';}),this['_subEntry']('errors',()=>this['_debouncedCalculateState']()),this['_subEntry']('isUploading',()=>this['_debouncedCalculateState']()),this['_subEntry']('fileSize',()=>this['_debouncedCalculateState']()),this['_subEntry']('mimeType',()=>this['_debouncedCalculateState']()),this['_subEntry']('isImage',()=>this['_debouncedCalculateState']()),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x147ade=>{this['_handleEntryId'](_0x147ade);}),this['sub']('state',_0x27bd0e=>{this['_handleState'](_0x27bd0e);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['onclick']=()=>{FileItem['activeInstances']['forEach'](_0x232586=>{_0x232586===this?_0x232586['setAttribute']('focused',''):_0x232586['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x351410=>{_0x351410['has'](this['_entry']['uid'])&&setTimeout(()=>this['isConnected']&&this['upload']());}),FileItem['activeInstances']['add'](this);}['_handleState'](_0x483639){_0x483639===FileItemState['FAILED']?this['$']['badgeIcon']='badge-error':_0x483639===FileItemState['FINISHED']&&(this['$']['badgeIcon']='badge-success'),_0x483639===FileItemState['UPLOADING']?this['$']['isFocused']=!0x1:this['$']['progressValue']=0x0,this['set$']({'isFailed':_0x483639===FileItemState['FAILED'],'isUploading':_0x483639===FileItemState['UPLOADING'],'isFinished':_0x483639===FileItemState['FINISHED'],'progressVisible':_0x483639===FileItemState['UPLOADING'],'isEditable':this['cfg']['useCloudImageEditor']&&this['_entry']?.['getValue']('isImage')&&this['_entry']?.['getValue']('cdnUrl'),'errorText':this['_entry']['getValue']('errors')?.[0x0]?.['message'],'ariaLabelStatusFile':this['l10n']('a11y-file-item-status',{'fileName':this['_entry']?.['getValue']('fileName'),'status':this['l10n'](_0x483639?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})});}['destroyCallback'](){super['destroyCallback'](),FileItem['activeInstances']['delete'](this),this['_reset']();}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_debouncedGenerateThumb']['cancel'](),this['_observer']?.['disconnect']();}['_settingsOfShrink'](){return parseShrink(this['cfg']['imageShrink']);}['_processShrink'](_0x23d044){return shrinkFile(_0x23d044,this['_settingsOfShrink']());}async['upload'](){let _0x3ae23b=this['_entry'];if(!this['uploadCollection']['read'](_0x3ae23b['uid']))return;if(_0x3ae23b['getValue']('fileInfo')||_0x3ae23b['getValue']('isUploading')||_0x3ae23b['getValue']('errors')['length']>0x0)return;const _0x5491e1=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x5491e1&&this['uploadCollection']['size']>_0x5491e1)){this['_debouncedCalculateState'](),_0x3ae23b['setValue']('isUploading',!0x0),_0x3ae23b['setValue']('errors',[]);try{let _0x560c3d=new AbortController();_0x3ae23b['setValue']('abortController',_0x560c3d);const _0x38df5c=async()=>{let _0x296ded=_0x3ae23b['getValue']('file');_0x296ded&&this['cfg']['imageShrink']&&(_0x296ded=await this['_processShrink'](_0x296ded)['catch'](()=>_0x296ded));const _0x490e4b=_0x296ded||_0x3ae23b['getValue']('externalUrl')||_0x3ae23b['getValue']('uuid'),_0x1b93e0={...await this['getUploadClientOptions'](),'fileName':_0x3ae23b['getValue']('fileName'),'source':_0x3ae23b['getValue']('source'),'onProgress':_0xb8c086=>{if(_0xb8c086['isComputable']){let _0x5d848a=0x64*_0xb8c086['value'];_0x3ae23b['setValue']('uploadProgress',_0x5d848a);}},'signal':_0x560c3d['signal'],'metadata':await this['getMetadataFor'](_0x3ae23b['uid'])};return this['debugPrint']('upload\x20options',_0x490e4b,_0x1b93e0),uploadFile(_0x490e4b,_0x1b93e0);};let _0x2d5163=await this['$']['*uploadQueue']['add'](_0x38df5c);_0x3ae23b['setMultipleValues']({'fileInfo':_0x2d5163,'isUploading':!0x1,'fileName':_0x2d5163['originalFilename'],'fileSize':_0x2d5163['size'],'isImage':_0x2d5163['isImage'],'mimeType':_0x2d5163['contentInfo']?.['mime']?.['mime']??_0x2d5163['mimeType'],'uuid':_0x2d5163['uuid'],'cdnUrl':_0x3ae23b['getValue']('cdnUrl')??_0x2d5163['cdnUrl'],'cdnUrlModifiers':_0x3ae23b['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':_0x3ae23b['getValue']('source')??null}),_0x3ae23b===this['_entry']&&this['_debouncedCalculateState']();}catch(_0x44b464){_0x44b464 instanceof CancelError&&_0x44b464['isCancel']?_0x3ae23b['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x3ae23b['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x44b464}),_0x3ae23b===this['_entry']&&this['_debouncedCalculateState']();}}}}FileItem['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22\x20set=\x22@finished:\x20isFinished;\x20@uploading:\x20isUploading;\x20@failed:\x20isFailed;\x20@focused:\x20isFocused\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-thumb\x22\x20set=\x22style.backgroundImage:\x20thumbUrl\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-badge\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20badgeIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20aria-live=\x22polite\x22\x20class=\x22uc-file-name-wrapper\x22\x20set=\x22@aria-label:ariaLabelStatusFile;\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-name\x22\x20set=\x22@title:\x20itemName\x22>{{itemName}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-error\x22\x20set=\x22@hidden:\x20!errorText\x22>{{errorText}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-file-actions\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-edit-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-edit-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onEdit;\x20@hidden:\x20!isEditable\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22edit-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-remove-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-remove-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRemove;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22remove-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-upload-btn\x20uc-mini-btn\x22\x20set=\x22onclick:\x20onUpload;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-progress-bar\x20class=\x22uc-progress-bar\x22\x20set=\x22value:\x20progressValue;\x20visible:\x20progressVisible;\x22>\x20</uc-progress-bar>\x0a\x20\x20</div>\x0a',FileItem['activeInstances']=new Set();class Modal extends Block{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';constructor(){super(),this['init$']={...this['init$'],'*modalActive':!0x1,'isOpen':!0x1,'closeClicked':this['_handleDialogClose']};}['_handleBackdropClick']=()=>{this['_closeDialog']();};['_closeDialog']=()=>{this['setOrAddState']('*modalActive',!0x1);};['_handleDialogClose']=()=>{this['_closeDialog']();};['_handleDialogMouseDown']=_0xd700ea=>{this['_mouseDownTarget']=_0xd700ea['target'];};['_handleDialogMouseUp']=_0xe5b940=>{_0xe5b940['target']===this['ref']['dialog']&&_0xe5b940['target']===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){this['ref']['dialog']['showModal']?this['ref']['dialog']['showModal']():this['ref']['dialog']['setAttribute']('open','');}['hide'](){this['ref']['dialog']['close']?this['ref']['dialog']['close']():this['ref']['dialog']['removeAttribute']('open');}['initCallback'](){super['initCallback'](),this['ref']['dialog']['addEventListener']('close',this['_handleDialogClose']),this['ref']['dialog']['addEventListener']('mousedown',this['_handleDialogMouseDown']),this['ref']['dialog']['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['sub']('*modalActive',_0x19cab7=>{this['$']['isOpen']!==_0x19cab7&&(this['$']['isOpen']=_0x19cab7),_0x19cab7&&this['cfg']['modalScrollLock']?document['body']['style']['overflow']='hidden':document['body']['style']['overflow']='';}),this['subConfigValue']('modalBackdropStrokes',_0x13dc9b=>{_0x13dc9b?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['sub']('isOpen',_0x88e4ce=>{_0x88e4ce?(this['show'](),this['setAttribute']('aria-modal','true')):(this['hide'](),this['setAttribute']('aria-modal','false'));});}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0,this['ref']['dialog']['removeEventListener']('close',this['_handleDialogClose']),this['ref']['dialog']['removeEventListener']('mousedown',this['_handleDialogMouseDown']),this['ref']['dialog']['removeEventListener']('mouseup',this['_handleDialogMouseUp']);}}Modal['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';const throttle=(_0x4ecc87,_0x132cd5)=>{let _0x61e5bc,_0x431ff8,_0x233cab;const _0x4a018e=(..._0x3492db)=>{_0x61e5bc?(clearTimeout(_0x431ff8),_0x431ff8=setTimeout(()=>{Date['now']()-_0x233cab>=_0x132cd5&&(_0x4ecc87(..._0x3492db),_0x233cab=Date['now']());},Math['max'](_0x132cd5-(Date['now']()-_0x233cab),0x0))):(_0x4ecc87(..._0x3492db),_0x233cab=Date['now'](),_0x61e5bc=!0x0);};return Object['defineProperty'](_0x4a018e,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{clearTimeout(_0x431ff8);}}),_0x4a018e;};class UploadList extends UploaderBlock{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['UPLOAD_LIST'];constructor(){super(),this['init$']={...this['init$'],'doneBtnVisible':!0x1,'doneBtnEnabled':!0x1,'uploadBtnVisible':!0x1,'addMoreBtnVisible':!0x1,'addMoreBtnEnabled':!0x1,'headerText':'','commonErrorMessage':'','hasFiles':!0x1,'onAdd':()=>{this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](EventType['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](EventType['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=throttle(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack']());},0x12c);['_updateUploadsState'](){const _0xb3ca71=this['api']['getOutputCollectionState'](),_0x48fcdb={'total':_0xb3ca71['totalCount'],'succeed':_0xb3ca71['successCount'],'uploading':_0xb3ca71['uploadingCount'],'failed':_0xb3ca71['failedCount']},_0x36df8f=!_0xb3ca71['errors']['some'](_0x5a8fe4=>'TOO_MANY_FILES'===_0x5a8fe4['type']||'TOO_FEW_FILES'===_0x5a8fe4['type']),_0x31ac1a=_0xb3ca71['errors']['some'](_0x3b6730=>'TOO_MANY_FILES'===_0x3b6730['type']),_0x4ffaad=_0xb3ca71['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x1c7a3e=0x0===_0x48fcdb['failed']&&0x0===_0xb3ca71['errors']['length'];let _0x402790=!0x1,_0x544ff3=!0x1,_0x258df0=!0x1;if(_0x48fcdb['total']-_0x48fcdb['succeed']-_0x48fcdb['uploading']-_0x48fcdb['failed']>0x0&&_0x36df8f)_0x402790=!0x0;else{_0x544ff3=!0x0;const _0x4c5199=!this['cfg']['groupOutput']||!!_0xb3ca71['group'];_0x258df0=_0x48fcdb['total']===_0x48fcdb['succeed']&&_0x36df8f&&_0x1c7a3e&&_0x4c5199;}this['set$']({'doneBtnVisible':_0x544ff3,'doneBtnEnabled':_0x258df0,'uploadBtnVisible':_0x402790,'addMoreBtnEnabled':0x0===_0x48fcdb['total']||!_0x31ac1a&&!_0x4ffaad,'addMoreBtnVisible':!_0x4ffaad||this['cfg']['multiple']}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x48fcdb));}['_getHeaderText'](_0x1a21cd){const _0x1afb98=_0x48af20=>{const _0x142a86=_0x1a21cd[_0x48af20];return this['l10n']('header-'+_0x48af20,{'count':_0x142a86});};return _0x1a21cd['uploading']>0x0?_0x1afb98('uploading'):_0x1a21cd['failed']>0x0?_0x1afb98('failed'):_0x1a21cd['succeed']>0x0?_0x1afb98('succeed'):_0x1afb98('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMin',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMax',this['_throttledHandleCollectionUpdate']),this['sub']('*groupInfo',_0x381c99=>{_0x381c99&&this['_throttledHandleCollectionUpdate']();}),this['sub']('*currentActivity',_0x349130=>{this['couldOpenActivity']||_0x349130!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['sub']('*uploadList',_0xf90a96=>{this['_throttledHandleCollectionUpdate'](),this['set$']({'hasFiles':_0xf90a96['length']>0x0}),this['cfg']['confirmUpload']||this['api']['uploadAll']();},!0x1),this['sub']('*collectionErrors',_0x480cb2=>{const _0x50f99d=_0x480cb2['filter'](_0x3d26fe=>'SOME_FILES_HAS_ERRORS'!==_0x3d26fe['type'])[0x0];_0x50f99d?this['set$']({'commonErrorMessage':_0x50f99d['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']);}}UploadList['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<span\x20aria-live=\x22polite\x22\x20class=\x22uc-header-text\x22>{{headerText}}</span>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x0a\x20\x20<div\x20class=\x22uc-no-files\x22\x20set=\x22@hidden:\x20hasFiles\x22>\x0a\x20\x20\x20\x20<slot\x20name=\x22empty\x22><span\x20l10n=\x22no-files\x22></span></slot>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-files\x22\x20repeat=\x22*uploadList\x22\x20repeat-item-tag=\x22uc-file-item\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-common-error\x22\x20set=\x22@hidden:\x20!commonErrorMessage;\x20textContent:\x20commonErrorMessage;\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel;\x22\x20l10n=\x22clear\x22></button>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar-spacer\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!uploadBtnVisible;\x20onclick:\x20onUpload;\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!doneBtnVisible;\x20onclick:\x20onDone;\x20\x20@disabled:\x20!doneBtnEnabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22done\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<uc-drop-area\x20ghost></uc-drop-area>\x0a';class UrlSource extends UploaderBlock{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':e=>{e['preventDefault']();let i=this['ref']['input']['value'];this['api']['addFileFromUrl'](i,{'source':UploadSource['URL']}),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':e=>{let i=e['target']['value'];this['set$']({'importDisabled':!i});}};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{this['ref']['input']['value']='',this['ref']['input']['focus']();}});}}UrlSource['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22url\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-from-url\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<form\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<input\x20placeholder=\x22https://\x22\x20class=\x22uc-url-input\x22\x20type=\x22text\x22\x20ref=\x22input\x22\x20set=\x22oninput:\x20onInput\x22\x20/>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-url-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onUpload;\x20@disabled:\x20importDisabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload-url\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</form>\x0a';const canUsePermissionsApi=()=>void 0x0!==navigator['permissions'],DEFAULT_VIDEO_CONFIG={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},DEFAULT_PERMISSIONS=['camera','microphone'];function formatTime(_0x542a2d){return Math['floor'](_0x542a2d/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x542a2d%0x3c)['toString']()['padStart'](0x2,'0');}const DEFAULT_PICTURE_FORMAT='image/jpeg',DEFAULT_VIDEO_FORMAT='video/webm';class CameraSource extends UploaderBlock{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CAMERA'];['_unsubPermissions']=null;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':canUsePermissionsApi(),'cameraSelectOptions':null,'cameraSelectHidden':!0x0,'l10nMessage':'','switcher':null,'panels':null,'timer':null,'timerHidden':!0x0,'cameraHidden':!0x0,'cameraActionsHidden':!0x0,'audioSelectOptions':null,'audioSelectHidden':!0x0,'audioSelectDisabled':!0x0,'audioToggleMicorphoneHidden':!0x0,'tabCameraHidden':!0x0,'tabVideoHidden':!0x0,'currentIcon':'camera-full','currentTimelineIcon':'play','toggleMicorphoneIcon':'microphone','_startTime':0x0,'_elapsedTime':0x0,'_animationFrameId':null,'mutableClassButton':'uc-shot-btn\x20uc-camera-action','onCameraSelectChange':_0x262217=>{this['_selectedCameraId']=_0x262217['target']['value'],this['_capture']();},'onAudioSelectChange':_0x3d50f0=>{this['_selectedAudioId']=_0x3d50f0['target']['value'],this['_capture']();},'onCancel':()=>{this['historyBack']();},'onShot':()=>this['_shot'](),'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>this['_chooseActionWithCamera'](),'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>this['_retake'](),'onAccept':()=>this['_accept'](),'onClickTab':_0x5bb848=>{const _0x2f7ff5=_0x5bb848['currentTarget']['getAttribute']('data-id');_0x2f7ff5&&this['_handleActiveTab'](_0x2f7ff5);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===CameraSource['types']['PHOTO']&&this['_shot'](),this['_activeTab']===CameraSource['types']['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x8d9bb=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x30f0cd=this['cfg']['maxVideoRecordingDuration']-_0x8d9bb;if(_0x30f0cd<=0x0)return this['ref']['timer']['textContent']=formatTime(_0x30f0cd),void this['_stopRecording']();this['ref']['timer']['textContent']=formatTime(_0x30f0cd);}else this['ref']['timer']['textContent']=formatTime(_0x8d9bb);this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0xb09a38=this['ref']['video']['currentTime'],_0x31e88d=this['ref']['video']['duration'];this['ref']['line']['style']['transform']='scaleX('+_0xb09a38/_0x31e88d+')',this['ref']['timer']['textContent']=formatTime(_0xb09a38),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorerOptions']};const {mimeType:_0x8cc4db}=this['cfg']['mediaRecorerOptions']||{};_0x8cc4db&&MediaRecorder['isTypeSupported'](_0x8cc4db)?this['_options']['mimeType']=_0x8cc4db:MediaRecorder['isTypeSupported'](DEFAULT_VIDEO_FORMAT)?this['_options']['mimeType']=DEFAULT_VIDEO_FORMAT:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x108a1c=>{this['_chunks']['push'](_0x108a1c['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSource['events']['PLAY']));}catch(_0x3f8182){console['error']('Failed\x20to\x20start\x20recording',_0x3f8182);}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](CameraSource['events']['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording');};['_toggleRecording']=()=>{'recording'!==this['_mediaRecorder']?.['state']&&(!this['ref']['video']['paused']&&!this['ref']['video']['ended']&&this['ref']['video']['readyState']>0x2?this['ref']['video']['pause']():this['ref']['video']['paused']&&this['ref']['video']['play']());};['_toggleEnableAudio']=()=>{this['_stream']?.['getAudioTracks']()['forEach'](_0x17f534=>{_0x17f534['enabled']=!_0x17f534['enabled'],this['$']['toggleMicorphoneIcon']=_0x17f534['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x17f534['enabled'];});};['_previewVideo']=()=>{try{const _0x32fb2b=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x1b942b=URL['createObjectURL'](_0x32fb2b);this['ref']['video']['muted']=!0x1,this['ref']['video']['volume']=0x1,this['$']['video']=null,this['ref']['video']['src']=_0x1b942b,this['ref']['video']['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),this['ref']['video']['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0xced5bd){console['error']('Failed\x20to\x20preview\x20video',_0xced5bd);}};['_retake']=()=>{this['_setCameraState'](CameraSource['events']['RETAKE']),this['_activeTab']===CameraSource['types']['VIDEO']&&(this['$']['video']=this['_stream'],this['ref']['video']['muted']=!0x0),this['ref']['video']['play']();};['_accept']=()=>{if(this['_setCameraState'](CameraSource['events']['ACCEPT']),this['_activeTab']===CameraSource['types']['PHOTO'])return void this['_canvas']?.['toBlob'](_0x9b6520=>{const _0x44ca2c=this['_createFile']('camera','jpeg',DEFAULT_PICTURE_FORMAT,_0x9b6520);this['_toSend'](_0x44ca2c);},DEFAULT_PICTURE_FORMAT);const _0x43fa83=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x423630=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x368de3=this['_createFile']('video',_0x423630,'video/'+_0x423630,_0x43fa83);this['_toSend'](_0x368de3),this['_chunks']=[];};['_handlePhoto']=_0x4e5a8c=>{_0x4e5a8c===CameraSource['events']['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x4e5a8c!==CameraSource['events']['RETAKE']&&_0x4e5a8c!==CameraSource['events']['ACCEPT']||this['set$']({'tabVideoHidden':!this['cfg']['enableVideoRecording'],'cameraHidden':!0x1,'tabCameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['cameraDevices']['length']<=0x1});};['_handleVideo']=_0x5673c7=>{_0x5673c7===CameraSource['events']['PLAY']&&this['set$']({'timerHidden':!0x1,'tabCameraHidden':!0x0,'cameraSelectHidden':!0x0,'audioSelectHidden':!0x0,'currentTimelineIcon':'pause','currentIcon':'square','mutableClassButton':'uc-shot-btn\x20uc-camera-action\x20uc-stop-record'}),_0x5673c7===CameraSource['events']['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicorphoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x5673c7!==CameraSource['events']['RETAKE']&&_0x5673c7!==CameraSource['events']['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabCameraHidden':!0x1,'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'audioToggleMicorphoneHidden':!this['cfg']['enableAudioRecording'],'currentIcon':'video-camera-full','mutableClassButton':'uc-shot-btn\x20uc-camera-action','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['audioDevices']['length']<=0x1,'cameraSelectHidden':this['cameraDevices']['length']<=0x1});};['_setCameraState']=_0x4ba9ae=>{this['_activeTab']!==CameraSource['types']['PHOTO']||'shot'!==_0x4ba9ae&&'retake'!==_0x4ba9ae&&'accept'!==_0x4ba9ae||this['_handlePhoto'](_0x4ba9ae),this['_activeTab']!==CameraSource['types']['VIDEO']||'play'!==_0x4ba9ae&&'stop'!==_0x4ba9ae&&'retake'!==_0x4ba9ae&&'accept'!==_0x4ba9ae&&'pause'!==_0x4ba9ae&&'resume'!==_0x4ba9ae||this['_handleVideo'](_0x4ba9ae);};['_shot'](){if(this['_setCameraState']('shot'),this['_canvas']=document['createElement']('canvas'),this['_ctx']=this['_canvas']['getContext']('2d'),!this['_ctx'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');this['_canvas']['height']=this['ref']['video']['videoHeight'],this['_canvas']['width']=this['ref']['video']['videoWidth'],this['cfg']['cameraMirror']&&(this['_ctx']['translate'](this['_canvas']['width'],0x0),this['_ctx']['scale'](-0x1,0x1)),this['_ctx']['drawImage'](this['ref']['video'],0x0,0x0),this['ref']['video']['pause']();}['_handleActiveTab']=_0x219d3e=>{this['ref']['switcher']['querySelectorAll']('button')['forEach'](_0x4927ee=>{_0x4927ee['classList']['toggle']('uc-active',_0x4927ee['getAttribute']('data-id')===_0x219d3e);}),_0x219d3e===CameraSource['types']['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicorphoneHidden':!0x0}),_0x219d3e===CameraSource['types']['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['audioDevices']['length']<=0x1,'audioToggleMicorphoneHidden':!this['cfg']['enableAudioRecording']}),this['_activeTab']=_0x219d3e;};['_createFile']=(_0x102387,_0x250ed8,_0x2b0fad,_0x37f14)=>{const _0x720948=Date['now']();return new File([_0x37f14],_0x102387+'-'+_0x720948+'.'+_0x250ed8,{'lastModified':_0x720948,'type':_0x2b0fad});};['_guessExtensionByMime'](_0x5479a9){const _0x14e656={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x5479a9)return'webm';if(_0x5479a9&&(_0x5479a9=_0x5479a9['split']('/'),'video'===_0x5479a9?.[0x0])){_0x5479a9=_0x5479a9['slice'](0x1)['join']('/');const _0x3e00d7=_0x5479a9?.['split'](';')[0x0];if(_0x14e656[_0x3e00d7])return _0x14e656[_0x3e00d7];}return'avi';}['_toSend']=_0x4bf3c2=>{this['api']['addFileFromObject'](_0x4bf3c2,{'source':UploadSource['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});};['_setPermissionsState']=debounce(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===CameraSource['types']['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===CameraSource['types']['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!0x1,'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':n,'audioToggleMicorphoneHidden':!i,'audioSelectHidden':!i}):'prompt'===e?(this['$']['l10nMessage']='camera-permissions-prompt',this['set$']({'videoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'messageHidden':!0x1}),this['_stopCapture']()):(this['$']['l10nMessage']='camera-permissions-denied',this['set$']({'videoHidden':!0x0,'messageHidden':!0x1,'tabCameraHidden':!0x1,'tabVideoHidden':!this['cfg']['enableVideoRecording'],'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x31e4f6=this['_stream']?.['getAudioTracks'](),_0x2a9aff=this['_stream']?.['getVideoTracks']();_0x31e4f6['forEach'](_0xa7d443=>_0xa7d443['stop']()),_0x2a9aff['forEach'](_0x3470ce=>_0x3470ce['stop']());};['_stopCapture']=()=>{this['_capturing']&&(this['ref']['video']['volume']=0x0,this['$']['video']?.['getTracks']()[0x0]['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1);};['_capture']=async()=>{const _0x37a923={'video':DEFAULT_VIDEO_CONFIG,'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x37a923['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x37a923['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']['volume']=0x0;try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x37a923),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x5e1971){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x5e1971);}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x3cbeb3 of DEFAULT_PERMISSIONS)this[_0x3cbeb3+'Response']=await navigator['permissions']['query']({'name':_0x3cbeb3}),this[_0x3cbeb3+'Response']['addEventListener']('change',this['_handlePermissionsChange']);}catch(_0x213127){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x213127),this['_capture']();}};['_getPermission']=()=>{};['_requestDeviceAccess']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['_getDevices'](),navigator['mediaDevices']['addEventListener']('devicechange',this['_getDevices']);}catch(_0x25b198){console['log']('Failed\x20to\x20get\x20user\x20media',_0x25b198);}};['_getDevices']=async()=>{try{const _0x6b467d=await navigator['mediaDevices']['enumerateDevices']();this['cameraDevices']=_0x6b467d['filter'](_0x438a97=>'videoinput'===_0x438a97['kind'])['map']((_0x4e169e,_0x2cd222)=>({'text':_0x4e169e['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x2cd222+0x1),'value':_0x4e169e['deviceId']})),this['audioDevices']=this['cfg']['enableAudioRecording']&&_0x6b467d['filter'](_0x53019a=>'audioinput'===_0x53019a['kind'])['map'](_0x5d11fc=>({'text':_0x5d11fc['label']['trim'](),'value':_0x5d11fc['deviceId']})),this['cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['cameraDevices'][0x0]?.['value'],this['audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['audioDevices'][0x0]?.['value'];}catch(_0x5dfc70){console['log']('Failed\x20to\x20get\x20devices',_0x5dfc70);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture']();};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(!!window['chrome']||this['_setPermissionsState']('denied'),this['_stopCapture']());};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x27f945=>{this['$']['videoTransformCss']=_0x27f945?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x3a9659=>{this['$']['audioToggleMicorphoneHidden']=!_0x3a9659,this['$']['audioSelectDisabled']=!_0x3a9659;}),this['subConfigValue']('enableVideoRecording',_0x4d7de5=>{this['$']['tabVideoHidden']=!_0x4d7de5;}),this['subConfigValue']('defaultCameraMode',_0x5c7bc5=>{this['cfg']['enableVideoRecording']?this['_handleActiveTab'](_0x5c7bc5):this['_handleActiveTab']('photo');});}['_destroy'](){for(const _0x8fb9ff of DEFAULT_PERMISSIONS)this[_0x8fb9ff+'Response']?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}}CameraSource['types']=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),CameraSource['events']=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),CameraSource['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!cameraSelectHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-camera\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-select\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20cameraSelectOptions;\x20@hidden:\x20cameraSelectHidden;\x20onchange:\x20onCameraSelectChange\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<video\x0a\x20\x20\x20\x20\x20\x20muted\x0a\x20\x20\x20\x20\x20\x20autoplay\x0a\x20\x20\x20\x20\x20\x20playsinline\x0a\x20\x20\x20\x20\x20\x20set=\x22srcObject:\x20video;\x20style.transform:\x20videoTransformCss;\x20@hidden:\x20videoHidden\x22\x0a\x20\x20\x20\x20\x20\x20ref=\x22video\x22\x0a\x20\x20\x20\x20></video>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-message-box\x22\x20set=\x22@hidden:\x20messageHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22l10nMessage\x22></span>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRequestPermissions;\x20@hidden:\x20requestBtnHidden\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22camera-permissions-request\x22\x0a\x20\x20\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-controls\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22switcher\x22\x20class=\x22uc-switcher\x22\x20set=\x22@hidden:!timerHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22photo\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20\x20@hidden:\x20tabCameraHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22video\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20@hidden:\x20tabVideoHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22video-camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentTimelineIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22timer\x22>\x2000:00\x20</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22line\x22\x20class=\x22uc-line\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x20set=\x22@hidden:\x20cameraActionsHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>Retake</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-primary-btn\x22\x20set=\x22onclick:\x20onAccept\x22>Accept</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-shot-btn\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onStartCamera;\x20@class:\x20mutableClassButton;\x20@hidden:\x20cameraHidden;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-select\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicorphoneHidden;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:toggleMicorphoneIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-audio-select\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20audioSelectOptions;\x20onchange:\x20onAudioSelectChange;\x20@hidden:\x20audioSelectHidden;\x20@disabled:\x20audioSelectDisabled\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';class UploadCtxProviderClass extends UploaderBlock{['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}}UploadCtxProviderClass['EventType']=EventType;const UploadCtxProvider=UploadCtxProviderClass;class ProgressBarCommon extends UploaderBlock{['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};['initCallback'](){super['initCallback'](),this['_unobserveCollection']=this['uploadCollection']['observeProperties'](()=>{let _0x5a4986=this['uploadCollection']['items']()['some'](_0x36760e=>this['uploadCollection']['read'](_0x36760e)['getValue']('isUploading'));this['$']['visible']=_0x5a4986;}),this['sub']('visible',_0x35ff1f=>{_0x35ff1f?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x32ce30=>{this['$']['value']=_0x32ce30;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollection']?.();}}ProgressBarCommon['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';class ProgressBar extends Block{['_value']=0x0;['init$']={...this['init$'],'width':0x0,'opacity':0x0};['initCallback'](){super['initCallback'](),this['defineAccessor']('value',_0x126adb=>{if(void 0x0===_0x126adb)return;const _0x3b9e2c=this['_value'];this['_value']=_0x126adb,0x0===_0x126adb&&_0x3b9e2c>0x0?this['ref']['line']['addEventListener']('transitionend',()=>{this['style']['setProperty']('--l-width',this['_value']['toString']());}):this['style']['setProperty']('--l-width',this['_value']['toString']());}),this['defineAccessor']('visible',_0xe024d6=>{this['ref']['line']['classList']['toggle']('uc-progress--hidden',!_0xe024d6);});}}ProgressBar['template']='\x20<div\x20ref=\x22line\x22\x20class=\x22uc-progress\x22></div>\x20';const TRANSPARENT_PIXEL_SRC='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function normalize(..._0x51f6bc){return _0x51f6bc['reduce']((_0x49a15b,_0x426167)=>{if('string'==typeof _0x426167)return _0x49a15b[_0x426167]=!0x0,_0x49a15b;for(let _0x5ba6ac of Object['keys'](_0x426167))_0x49a15b[_0x5ba6ac]=_0x426167[_0x5ba6ac];return _0x49a15b;},{});}function classNames(..._0x2d9f96){let _0x499310=normalize(..._0x2d9f96);return Object['keys'](_0x499310)['reduce']((_0x2b2b45,_0x4ab5bd)=>(_0x499310[_0x4ab5bd]&&_0x2b2b45['push'](_0x4ab5bd),_0x2b2b45),[])['join']('\x20');}function applyClassNames(_0x3606b1,..._0x1096da){let _0x43cfd2=normalize(..._0x1096da);for(let _0x5e5b05 of Object['keys'](_0x43cfd2))_0x3606b1['classList']['toggle'](_0x5e5b05,_0x43cfd2[_0x5e5b05]);}const parseTabs=_0x5b0afb=>{if(!_0x5b0afb)return ALL_TABS;const _0xdf869f=deserealizeCsv(_0x5b0afb)['filter'](_0x4bb24e=>ALL_TABS['includes'](_0x4bb24e));return 0x0===_0xdf869f['length']?ALL_TABS:_0xdf869f;};function initState(_0x16269c){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*tabList':ALL_TABS,'*tabId':TabId['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':TRANSPARENT_PIXEL_SRC,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':serializeCsv(ALL_TABS),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{let _0x6c2658=_0x16269c['querySelectorAll']('img');for(let _0x189df4 of _0x6c2658){let _0xe4c07c=_0x189df4['src'];_0x189df4['src']=TRANSPARENT_PIXEL_SRC,_0x189df4['src']=_0xe4c07c;}_0x16269c['$']['*networkProblems']=!0x1;},'*on.apply':_0x4bfbd7=>{if(!_0x4bfbd7)return;let _0x16ba19=_0x16269c['$']['*originalUrl'],_0x5d91be=createCdnUrlModifiers(transformationsToOperations(_0x4bfbd7),'preview'),_0x69b2b8={'originalUrl':_0x16ba19,'cdnUrlModifiers':_0x5d91be,'cdnUrl':createCdnUrl(_0x16ba19,_0x5d91be),'transformations':_0x4bfbd7};_0x16269c['dispatchEvent'](new CustomEvent('apply',{'detail':_0x69b2b8,'bubbles':!0x0,'composed':!0x0})),_0x16269c['remove']();},'*on.cancel':()=>{_0x16269c['remove'](),_0x16269c['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var svgIconsSprite='<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-brightness\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M15\x2010a5\x205\x200\x200\x201-5\x205m5-5a5\x205\x200\x200\x200-5-5m5\x205h-5m0\x205a5\x205\x200\x200\x201\x200-10m0\x2010V5m0\x2015v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05m-.626\x202.45H10m4.324\x205H10\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-closeMax\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M8.232\x2010\x203.585\x205.353l1.768-1.768L10\x208.232l4.648-4.647\x201.767\x201.768L11.768\x2010l4.647\x204.648-1.767\x201.767L10\x2011.768l-4.647\x204.647-1.768-1.767L8.232\x2010Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-contrast\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2010a8\x208\x200\x201\x200\x2016\x200\x208\x208\x200\x201\x200-16\x200m8-8v16m8-8h-8m7.598\x202.5H10m6.24\x202.5H10m7.6-7.5H10M16.242\x205H10\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-crop\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M20\x2014H7.005C6.45\x2014\x206\x2013.55\x206\x2012.995V0M0\x206h13.067c.515\x200\x20.933.418.933.933V20M14.5.4\x2013\x202l1.5\x201.6M13\x202h2a3\x203\x200\x200\x201\x203\x203v2M5.5\x2019.6\x207\x2018l-1.5-1.6M7\x2018H5a3\x203\x200\x200\x201-3-3v-2\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-done\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27m18.057\x206.333-9.365\x209.125a1.25\x201.25\x200\x200\x201-1.768-.023L1.92\x2010.296l1.791-1.744\x204.132\x204.243\x208.47-8.253\x201.744\x201.79Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2025\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-enhance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19\x2013h-2m0\x200a4\x204\x200\x200\x201-4-4m4\x204a4\x204\x200\x200\x200-4\x204m0-8V7m0\x202a4\x204\x200\x200\x201-4\x204m-2\x200h2m0\x200a4\x204\x200\x200\x201\x204\x204m0\x200v2M8\x208.5H6.5m0\x200a2\x202\x200\x200\x201-2-2m2\x202a2\x202\x200\x200\x200-2\x202m0-4V5m0\x201.5a2\x202\x200\x200\x201-2\x202M1\x208.5h1.5m0\x200a2\x202\x200\x200\x201\x202\x202m0\x200V12M12\x203h-1m0\x200a1\x201\x200\x200\x201-1-1m1\x201a1\x201\x200\x200\x200-1\x201m0-2V1m0\x201a1\x201\x200\x200\x201-1\x201M8\x203h1m0\x200a1\x201\x200\x200\x201\x201\x201m0\x200v1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-exposure\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M10\x2020v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05M5\x2010a5\x205\x200\x201\x200\x2010\x200\x205\x205\x200\x201\x200-10\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-filters\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M4.5\x206.5a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m-3.5\x206a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m7\x200a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-flip\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19.6\x205\x2018\x203.5\x2016.4\x205m3.2\x2010L18\x2016.5\x2016.4\x2015M18\x203.523v12.954M3.3\x208.5h10.654c.301\x200\x20.415-.395.159-.554L3.459\x201.286A.3.3\x200\x200\x200\x203\x201.542V8.2a.3.3\x200\x200\x200\x20.3.3zm0\x203h10.654c.301\x200\x20.415.395.159.554l-10.654\x206.66A.3.3\x200\x200\x201\x203\x2018.458v-6.66a.3.3\x200\x200\x201\x20.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-gamma\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M17\x203C9\x206\x202.5\x2011.5\x202.5\x2017.5m0\x200h1m-1\x200v-1m14\x201h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3-14v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-mirror\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M5\x20.4\x203.5\x202\x205\x203.6M15\x20.4\x2016.5\x202\x2015\x203.6M3.52\x202h12.957M8.5\x2016.7V6.046c0-.301-.394-.415-.554-.159L1.287\x2016.541a.3.3\x200\x200\x200\x20.255.459H8.2a.3.3\x200\x200\x200\x20.3-.3zm3\x200V6.046c0-.301.395-.415.555-.159l6.659\x2010.654a.3.3\x200\x200\x201-.255.459H11.8a.3.3\x200\x200\x201-.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2040\x2040\x27\x20id=\x27uc-icon-original\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.5\x27\x20d=\x27M0\x2040\x2040\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-rotate\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M13.5.4\x2012\x202l1.5\x201.6M12.023\x202H14.4A3.6\x203.6\x200\x200\x201\x2018\x205.6V8M4\x2017h9a1\x201\x200\x200\x200\x201-1V7a1\x201\x200\x200\x200-1-1H4a1\x201\x200\x200\x200-1\x201v9a1\x201\x200\x200\x200\x201\x201z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-sad\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2017c4.418-4\x2011.582-4\x2016\x200M16.5\x205a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200zm-11\x200a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-saturation\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><defs><linearGradient\x20id=\x27puc-icon-id__a\x27\x20x1=\x2710.001\x27\x20y1=\x271\x27\x20x2=\x2710.001\x27\x20y2=\x2719\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs><circle\x20cx=\x2710.001\x27\x20cy=\x2710\x27\x20r=\x279\x27\x20transform=\x27rotate(90\x2010\x2010)\x27\x20fill=\x27url(#puc-icon-id__a)\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-slider\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M0\x2010h11m0\x200a2\x202\x200\x201\x200\x204\x200m-4\x200a2\x202\x200\x201\x201\x204\x200m0\x200h5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-tuning\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M8\x2010h11M1\x2010h4M1\x204.5h11m3\x200h4m-18\x2011h11m3\x200h4m-7-11a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200M5\x2010a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200m7\x205.5a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-vibrance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2.125\x205.64A8.96\x208.96\x200\x200\x200\x201.001\x2010a8.96\x208.96\x200\x200\x200\x201.124\x204.36V5.64z\x27\x20fill=\x27url(#suc-icon-id__a)\x27/><path\x20d=\x27M2.875\x2015.499V4.502a9.053\x209.053\x200\x200\x201\x201.75-1.72v14.437a9.05\x209.05\x200\x200\x201-1.75-1.72z\x27\x20fill=\x27url(#suc-icon-id__b)\x27/><path\x20d=\x27M5.375\x2017.722c.548.33\x201.134.601\x201.75.809V1.469a8.956\x208.956\x200\x200\x200-1.75.81v15.443z\x27\x20fill=\x27url(#suc-icon-id__c)\x27/><path\x20d=\x27M7.875\x201.253v17.495c.564.136\x201.15.22\x201.75.244V1.008a9\x209\x200\x200\x200-1.75.245z\x27\x20fill=\x27url(#suc-icon-id__d)\x27/><path\x20d=\x27M10.375\x201.008v17.984a9\x209\x200\x200\x200\x201.75-.244V1.252a9\x209\x200\x200\x200-1.75-.244z\x27\x20fill=\x27url(#suc-icon-id__e)\x27/><path\x20d=\x27M12.875\x201.469V18.53a8.957\x208.957\x200\x200\x200\x201.75-.808V2.277a8.957\x208.957\x200\x200\x200-1.75-.808z\x27\x20fill=\x27url(#suc-icon-id__f)\x27/><path\x20d=\x27M15.375\x202.78v14.44a9.053\x209.053\x200\x200\x200\x201.75-1.72v-11a9.054\x209.054\x200\x200\x200-1.75-1.72z\x27\x20fill=\x27url(#suc-icon-id__g)\x27/><path\x20d=\x27M17.875\x205.638v8.724A8.959\x208.959\x200\x200\x200\x2019.001\x2010a8.96\x208.96\x200\x200\x200-1.126-4.362z\x27\x20fill=\x27url(#suc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27suc-icon-id__a\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__b\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__c\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__d\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__e\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__f\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__g\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27suc-icon-id__h\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-warmth\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m7.5\x2013.05.429.42.171-.175v-.244h-.6zm5\x200h-.6v.245l.172.175.428-.42zM8.1\x203.5c0-1.05.85-1.9\x201.9-1.9V.4a3.1\x203.1\x200\x200\x200-3.1\x203.1h1.2zm0\x209.55V3.5H6.9v9.55h1.2zm-1\x202.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088\x204.088\x200\x200\x200\x205.9\x2015.5h1.2zm2.9\x202.9a2.9\x202.9\x200\x200\x201-2.9-2.9H5.9a4.1\x204.1\x200\x200\x200\x204.1\x204.1v-1.2zm2.9-2.9a2.9\x202.9\x200\x200\x201-2.9\x202.9v1.2a4.1\x204.1\x200\x200\x200\x204.1-4.1h-1.2zm-.829-2.03c.514.524.829\x201.24.829\x202.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9\x203.5v9.55h1.2V3.5h-1.2zM10\x201.6c1.05\x200\x201.9.85\x201.9\x201.9h1.2A3.1\x203.1\x200\x200\x200\x2010\x20.4v1.2z\x27\x20fill=\x27currentColor\x27/><path\x20d=\x27M10\x2014V8\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20stroke-linecap=\x27round\x27/><path\x20d=\x27M14\x203h3m-3\x203h3m-3\x203h3m-8\x206.5a1\x201\x200\x201\x200\x202\x200\x201\x201\x200\x201\x200-2\x200\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27/></symbol></svg>';const TEMPLATE='\x0a\x20\x20'+svgIconsSprite+'\x0a\x20\x20<div\x20class=\x22uc-wrapper\x20uc-wrapper_desktop\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x20class=\x22uc-network_problems_splash\x22\x20set=\x22visible:\x20presence.networkProblems;\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_icon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22sad\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_text\x22>Network\x20error</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_footer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20text=\x22Retry\x22\x20set=\x22onclick:\x20*on.retryNetwork\x22></uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-viewport\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type_outer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type\x22>{{fileType}}</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-image_container\x22\x20ref=\x22img-container-el\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+TRANSPARENT_PIXEL_SRC+'\x22\x20class=\x22uc-image\x20uc-image_visible_from_editor\x22\x20ref=\x22img-el\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-cropper\x20ref=\x22cropper-el\x22></uc-editor-image-cropper>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-fader\x20ref=\x22fader-el\x22></uc-editor-image-fader>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-info_pan\x22>{{msg}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-toolbar_content\x20uc-toolbar_content__editor\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-toolbar></uc-editor-toolbar>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';class CloudImageEditorBlock extends Block{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_debouncedShowLoader']=debounce(this['_showLoader']['bind'](this),0x12c);['_showLoader'](_0x1ce39f){this['$']['showLoader']=_0x1ce39f;}['_waitForSize'](){return new Promise((_0x3002cb,_0x5bc188)=>{const _0x525f12=setTimeout(()=>{_0x5bc188(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x3a715e=new ResizeObserver(([_0x5f45ac])=>{_0x5f45ac['contentRect']['width']>0x0&&_0x5f45ac['contentRect']['height']>0x0&&(_0x3002cb(),clearTimeout(_0x525f12),_0x3a715e['disconnect']());});_0x3a715e['observe'](this);});}['initCallback'](){super['initCallback'](),this['$']['*faderEl']=this['ref']['fader-el'],this['$']['*cropperEl']=this['ref']['cropper-el'],this['$']['*imgContainerEl']=this['ref']['img-container-el'],this['initEditor']();}async['updateImage'](){if(this['isConnected']){if(await this['_waitForSize'](),this['$']['cdnUrl']){const _0x1ddc31=extractUuid(this['$']['cdnUrl']),_0x533bcf=createOriginalUrl(this['$']['cdnUrl'],_0x1ddc31);if(_0x533bcf===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x533bcf;const _0x58bbcd=operationsToTransformations(extractOperations(this['$']['cdnUrl']));this['$']['*editorTransformations']=_0x58bbcd;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x5f46e3=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x5f46e3===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x5f46e3,this['$']['*editorTransformations']={};}}this['$']['*tabId']===TabId['CROP']?this['$']['*cropperEl']['deactivate']({'reset':!0x0}):this['$']['*faderEl']['deactivate']();try{const _0x185bc1=await this['proxyUrl'](createCdnUrl(this['$']['*originalUrl'],createCdnUrlModifiers('json'))),_0x2658bd=await fetch(_0x185bc1)['then'](_0x1ca5f7=>_0x1ca5f7['json']()),{width:_0x4ddeaf,height:_0x17d14d}=_0x2658bd;this['$']['*imageSize']={'width':_0x4ddeaf,'height':_0x17d14d},this['$']['*tabId']===TabId['CROP']?this['$']['*cropperEl']['activate'](this['$']['*imageSize']):this['$']['*faderEl']['activate']({'url':this['$']['*originalUrl']});}catch(_0x49a20f){_0x49a20f&&console['error']('Failed\x20to\x20load\x20image\x20info',_0x49a20f);}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x3f3f63){return void(this['isConnected']&&console['error'](_0x3f3f63['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_imgLoading']=!0x1,this['_debouncedShowLoader'](!0x1),this['$']['src']!==TRANSPARENT_PIXEL_SRC&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_imgLoading']=!0x1,this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x10990e=>{let _0x4bebf2=this['ref']['img-el'];_0x4bebf2['src']!==_0x10990e&&(this['_imgLoading']=!0x0,_0x4bebf2['src']=_0x10990e||TRANSPARENT_PIXEL_SRC);}),this['sub']('cropPreset',_0xaee729=>{this['$']['*cropPresetList']=parseCropPreset(_0xaee729);}),this['sub']('tabs',_0x2338c8=>{this['$']['*tabList']=parseTabs(_0x2338c8);}),this['sub']('*tabId',_0x1c48fa=>{this['ref']['img-el']['className']=classNames('uc-image',{'uc-image_hidden_to_cropper':_0x1c48fa===TabId['CROP'],'uc-image_hidden_effects':_0x1c48fa!==TabId['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x5ab292=>{this['$']['presence.networkProblems']=_0x5ab292,this['$']['presence.modalCaption']=!_0x5ab292;}),this['sub']('*editorTransformations',_0x449ad0=>{if(0x0===Object['keys'](_0x449ad0)['length'])return;let _0x3ba843=this['$']['*originalUrl'],_0x471eef=createCdnUrlModifiers(transformationsToOperations(_0x449ad0),'preview'),_0x10e05b={'originalUrl':_0x3ba843,'cdnUrlModifiers':_0x471eef,'cdnUrl':createCdnUrl(_0x3ba843,_0x471eef),'transformations':_0x449ad0};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x10e05b,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x2410cd=>_0x2410cd&&this['updateImage']()),this['sub']('cdnUrl',_0x57932a=>_0x57932a&&this['updateImage']());}}CloudImageEditorBlock['template']=TEMPLATE,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});class CropFrame extends Block{constructor(){super(),this['init$']={...this['init$'],'dragging':!0x1},this['_handlePointerUp']=this['_handlePointerUp_']['bind'](this),this['_handlePointerMove']=this['_handlePointerMove_']['bind'](this),this['_handleSvgPointerMove']=this['_handleSvgPointerMove_']['bind'](this);}['_shouldThumbBeDisabled'](_0x532b0d){let _0x4495ba=this['$']['*imageBox'];if(!_0x4495ba)return;if(''===_0x532b0d&&_0x4495ba['height']<=MIN_CROP_SIZE&&_0x4495ba['width']<=MIN_CROP_SIZE)return!0x0;let _0x537d17=_0x4495ba['height']<=MIN_CROP_SIZE&&(_0x532b0d['includes']('n')||_0x532b0d['includes']('s')),_0x40d064=_0x4495ba['width']<=MIN_CROP_SIZE&&(_0x532b0d['includes']('e')||_0x532b0d['includes']('w'));return _0x537d17||_0x40d064;}['_createBackdrop'](){let _0x591f78=this['$']['*cropBox'];if(!_0x591f78)return;let {x:_0x42c13b,y:_0x1d4390,width:_0x3359ad,height:_0x3ebf43}=_0x591f78,_0x8e7117=this['ref']['svg-el'],_0x3db361=createSvgNode('mask',{'id':'backdrop-mask'}),_0x434f06=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x36bc25=createSvgNode('rect',{'x':_0x42c13b,'y':_0x1d4390,'width':_0x3359ad,'height':_0x3ebf43,'fill':'black'});_0x3db361['appendChild'](_0x434f06),_0x3db361['appendChild'](_0x36bc25);let _0x38bd52=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#backdrop-mask)'});_0x8e7117['appendChild'](_0x38bd52),_0x8e7117['appendChild'](_0x3db361),this['_backdropMask']=_0x3db361,this['_backdropMaskInner']=_0x36bc25;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){let _0x50e12e=this['$']['*cropBox'];if(!_0x50e12e)return;let {x:_0x4f60f3,y:_0x523152,width:_0x1a2671,height:_0x29b468}=_0x50e12e;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x4f60f3,'y':_0x523152,'width':_0x1a2671,'height':_0x29b468});}['_updateFrame'](){let _0x5d5068=this['$']['*cropBox'];if(_0x5d5068&&this['_frameGuides']&&this['_frameThumbs']){for(let _0x1607d1 of Object['values'](this['_frameThumbs'])){let {direction:_0x559cfa,pathNode:_0x48b9a7,interactionNode:_0x5933e0,groupNode:_0x579c01}=_0x1607d1,_0x1f7a9b=''===_0x559cfa,_0x5762ad=0x2===_0x559cfa['length'],{x:_0x4e9bee,y:_0x304f20,width:_0x54b9e4,height:_0x1f1240}=_0x5d5068;if(_0x1f7a9b)setSvgNodeAttrs(_0x5933e0,{'x':_0x4e9bee,'y':_0x304f20,'width':_0x54b9e4,'height':_0x1f1240});else{const _0x4c95b1=clamp(Math['min'](_0x54b9e4,_0x1f1240)/(0x2*THUMB_CORNER_SIZE+THUMB_SIDE_SIZE)/0x2,0x0,0x1);let {d:_0xcb9d64,center:_0x1fc941}=_0x5762ad?cornerPath(_0x5d5068,_0x559cfa,_0x4c95b1):sidePath(_0x5d5068,_0x559cfa,_0x4c95b1);const _0x75f8c3=Math['max'](MAX_INTERACTION_SIZE*clamp(Math['min'](_0x54b9e4,_0x1f1240)/MAX_INTERACTION_SIZE/0x3,0x0,0x1),MIN_INTERACTION_SIZE);setSvgNodeAttrs(_0x5933e0,{'x':_0x1fc941[0x0]-_0x75f8c3,'y':_0x1fc941[0x1]-_0x75f8c3,'width':0x2*_0x75f8c3,'height':0x2*_0x75f8c3}),setSvgNodeAttrs(_0x48b9a7,{'d':_0xcb9d64});}let _0x14b4f4=this['_shouldThumbBeDisabled'](_0x559cfa);_0x579c01['setAttribute']('class',classNames('uc-thumb',{'uc-thumb--hidden':_0x14b4f4,'uc-thumb--visible':!_0x14b4f4}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0x5d5068['x']-0.5*GUIDE_STROKE_WIDTH,'y':_0x5d5068['y']-0.5*GUIDE_STROKE_WIDTH,'width':_0x5d5068['width']+GUIDE_STROKE_WIDTH,'height':_0x5d5068['height']+GUIDE_STROKE_WIDTH});}}['_createThumb'](_0x875354,_0xadd2dc){let _0x37299d=createSvgNode('g');_0x37299d['classList']['add']('uc-thumb'),_0x37299d['setAttribute']('with-effects','');let _0x4adfcd=createSvgNode('rect',{'fill':'transparent'}),_0x3390ca=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':THUMB_STROKE_WIDTH});_0x37299d['appendChild'](_0x3390ca),_0x37299d['appendChild'](_0x4adfcd),_0x875354[_0xadd2dc]={'direction':_0xadd2dc,'pathNode':_0x3390ca,'interactionNode':_0x4adfcd,'groupNode':_0x37299d},''===_0xadd2dc&&(_0x37299d['style']['cursor']='move'),_0x4adfcd['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0xadd2dc));}['_createThumbs'](){const _0x5af8e9={};for(let _0x23a9a8=0x0;_0x23a9a8<0x3;_0x23a9a8++)for(let _0x2964ee=0x0;_0x2964ee<0x3;_0x2964ee++){let _0x186504=''+['n','','s'][_0x23a9a8]+['w','','e'][_0x2964ee];''!==_0x186504&&this['_createThumb'](_0x5af8e9,_0x186504);}return this['_createThumb'](_0x5af8e9,''),_0x5af8e9;}['_createGuides'](){let _0x55a086=createSvgNode('svg'),_0x2a2ad3=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':GUIDE_STROKE_WIDTH,'stroke-opacity':0.5});_0x55a086['appendChild'](_0x2a2ad3);for(let _0x1a78fc=0x1;_0x1a78fc<=0x2;_0x1a78fc++){let _0x17d7cb=createSvgNode('line',{'x1':GUIDE_THIRD*_0x1a78fc+'%','y1':'0%','x2':GUIDE_THIRD*_0x1a78fc+'%','y2':'100%','stroke':'currentColor','stroke-width':GUIDE_STROKE_WIDTH,'stroke-opacity':0.3});_0x55a086['appendChild'](_0x17d7cb);}for(let _0xc942b5=0x1;_0xc942b5<=0x2;_0xc942b5++){let _0x48e5c4=createSvgNode('line',{'x1':'0%','y1':GUIDE_THIRD*_0xc942b5+'%','x2':'100%','y2':GUIDE_THIRD*_0xc942b5+'%','stroke':'currentColor','stroke-width':GUIDE_STROKE_WIDTH,'stroke-opacity':0.3});_0x55a086['appendChild'](_0x48e5c4);}return _0x55a086['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x55a086;}['_createFrame'](){let _0x422fc5=this['ref']['svg-el'],_0xd523fa=document['createDocumentFragment'](),_0x64a79e=this['_createGuides']();_0xd523fa['appendChild'](_0x64a79e);let _0x2045f0=this['_createThumbs']();for(let {groupNode:_0x1673f9}of Object['values'](_0x2045f0))_0xd523fa['appendChild'](_0x1673f9);_0x422fc5['appendChild'](_0xd523fa),this['_frameThumbs']=_0x2045f0,this['_frameGuides']=_0x64a79e;}['_handlePointerDown'](_0x27c8c5,_0x27fcfc){if(!this['_frameThumbs'])return;let _0x31fb4b=this['_frameThumbs'][_0x27c8c5];if(this['_shouldThumbBeDisabled'](_0x27c8c5))return;let _0x352d66=this['$']['*cropBox'],{x:_0x38412a,y:_0x15b73e}=this['ref']['svg-el']['getBoundingClientRect'](),_0x3a9bdf=_0x27fcfc['x']-_0x38412a,_0x3696ce=_0x27fcfc['y']-_0x15b73e;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x31fb4b,this['_dragStartPoint']=[_0x3a9bdf,_0x3696ce],this['_dragStartCrop']={..._0x352d66};}['_handlePointerUp_'](_0x535cdc){this['_updateCursor'](),this['$']['dragging']&&(_0x535cdc['stopPropagation'](),_0x535cdc['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x275ce6){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x275ce6['stopPropagation'](),_0x275ce6['preventDefault']();let _0x3f8ba2=this['ref']['svg-el'],{x:_0x24d60b,y:_0x2f8e3d}=_0x3f8ba2['getBoundingClientRect'](),_0x3e9fc1=_0x275ce6['x']-_0x24d60b,_0x123a01=_0x275ce6['y']-_0x2f8e3d,_0x41df15=_0x3e9fc1-this['_dragStartPoint'][0x0],_0x5189d3=_0x123a01-this['_dragStartPoint'][0x1],{direction:_0x4d571e}=this['_draggingThumb'];const _0x173575=this['_calcCropBox'](_0x4d571e,[_0x41df15,_0x5189d3]);_0x173575&&(this['$']['*cropBox']=_0x173575);}['_calcCropBox'](_0xcb0f50,_0x5e11bb){const [_0x1a2cbb,_0x50cbaa]=_0x5e11bb;let _0x2663d1=this['$']['*imageBox'],_0x52d4b4=this['_dragStartCrop']??this['$']['*cropBox'];const _0x12c167=this['$']['*cropPresetList']?.[0x0],_0x595607=_0x12c167?_0x12c167['width']/_0x12c167['height']:void 0x0;if(_0x52d4b4=''===_0xcb0f50?moveRect({'rect':_0x52d4b4,'delta':[_0x1a2cbb,_0x50cbaa],'imageBox':_0x2663d1}):resizeRect({'rect':_0x52d4b4,'delta':[_0x1a2cbb,_0x50cbaa],'direction':_0xcb0f50,'aspectRatio':_0x595607,'imageBox':_0x2663d1}),Object['values'](_0x52d4b4)['every'](_0x4e4cfc=>Number['isFinite'](_0x4e4cfc)&&_0x4e4cfc>=0x0))return constraintRect(roundRect(_0x52d4b4),this['$']['*imageBox']);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x52d4b4});}['_handleSvgPointerMove_'](_0x70de5f){if(!this['_frameThumbs'])return;let _0x4182f6=Object['values'](this['_frameThumbs'])['find'](_0x24f36e=>{if(this['_shouldThumbBeDisabled'](_0x24f36e['direction']))return!0x1;let _0x18933a=_0x24f36e['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x18933a['x'],'y':_0x18933a['y'],'width':_0x18933a['width'],'height':_0x18933a['height']},[_0x70de5f['x'],_0x70de5f['y']]);});this['_hoverThumb']=_0x4182f6,this['_updateCursor']();}['_updateCursor'](){let _0x3633a0=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x3633a0?thumbCursor(_0x3633a0['direction']):'initial';}['_render'](){this['_updateBackdrop'](),this['_updateFrame']();}['toggleThumbs'](_0xfee0e3){this['_frameThumbs']&&Object['values'](this['_frameThumbs'])['map'](({groupNode:_0x7ef0d1})=>_0x7ef0d1)['forEach'](_0x195078=>{_0x195078['setAttribute']('class',classNames('uc-thumb',{'uc-thumb--hidden':!_0xfee0e3,'uc-thumb--visible':_0xfee0e3}));});}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x49624d=>{_0x49624d&&(this['_guidesHidden']=_0x49624d['height']<=MIN_CROP_SIZE||_0x49624d['width']<=MIN_CROP_SIZE,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['sub']('dragging',_0x273b10=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',classNames({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x273b10,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x273b10}));}),this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0);}['destroyCallback'](){super['destroyCallback'](),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']);}}CropFrame['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';class EditorButtonControl extends Block{['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['_iconEl']=this['ref']['icon-el'],this['sub']('title',_0x31142c=>{this['_titleEl']&&(this['_titleEl']['style']['display']=_0x31142c?'block':'none');}),this['sub']('active',_0x4bd8e8=>{this['className']=classNames({'uc-active':_0x4bd8e8,'uc-not_active':!_0x4bd8e8});}),this['sub']('on.click',_0x3cb914=>{this['onclick']=_0x3cb914;});}}function nextAngle(_0x941b0f){let _0x5b85c3=_0x941b0f+0x5a;return _0x5b85c3=_0x5b85c3>=0x168?0x0:_0x5b85c3,_0x5b85c3;}function nextValue(_0xa73721,_0x231459){return'rotate'===_0xa73721?nextAngle(_0x231459):['mirror','flip']['includes'](_0xa73721)?!_0x231459:null;}EditorButtonControl['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20</button>\x0a';class EditorCropButtonControl extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x26594c=>{_0x26594c&&(this['_operation']=_0x26594c,this['$']['icon']=_0x26594c,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x26594c)['toLowerCase']()})));}),this['$']['on.click']=()=>{let _0x49f125=this['$']['*cropperEl']['getValue'](this['_operation']),_0x1550a4=nextValue(this['_operation'],_0x49f125);this['$']['*cropperEl']['setValue'](this['_operation'],_0x1550a4);};}}const ControlType={'FILTER':'filter','COLOR_OPERATION':'color_operation'},FAKE_ORIGINAL_FILTER='original';class EditorSlider extends Block{['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':e=>{this['$']['*faderEl']['set'](e),this['$']['value']=e;}};['setOperation'](_0x123eac,_0x42d42c){this['_controlType']='filter'===_0x123eac?ControlType['FILTER']:ControlType['COLOR_OPERATION'],this['_operation']=_0x123eac,this['_iconName']=_0x123eac,this['_title']=_0x123eac['toUpperCase'](),this['_filter']=_0x42d42c,this['_initializeValues'](),this['$']['*faderEl']['activate']({'url':this['$']['*originalUrl'],'operation':this['_operation'],'value':this['_filter']===FAKE_ORIGINAL_FILTER?void 0x0:this['$']['value'],'filter':this['_filter']===FAKE_ORIGINAL_FILTER?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){let {range:_0x456161,zero:_0x36add7}=COLOR_OPERATIONS_CONFIG[this['_operation']],[_0x337ca5,_0x44bb86]=_0x456161;this['$']['min']=_0x337ca5,this['$']['max']=_0x44bb86,this['$']['zero']=_0x36add7;let _0x501123=this['$']['*editorTransformations'][this['_operation']];if(this['_controlType']===ControlType['FILTER']){let _0x1d1e8b=_0x44bb86;if(_0x501123){let {name:_0x2d81e3,amount:_0x19e036}=_0x501123;_0x1d1e8b=_0x2d81e3===this['_filter']?_0x19e036:_0x44bb86;}this['$']['value']=_0x1d1e8b,this['$']['defaultValue']=_0x1d1e8b;}if(this['_controlType']===ControlType['COLOR_OPERATION']){let _0x4c1ad6=void 0x0!==_0x501123?_0x501123:_0x36add7;this['$']['value']=_0x4c1ad6,this['$']['defaultValue']=_0x4c1ad6;}}['apply'](){let _0x5a5adb;_0x5a5adb=this['_controlType']===ControlType['FILTER']?this['_filter']===FAKE_ORIGINAL_FILTER?null:{'name':this['_filter'],'amount':this['$']['value']}:this['$']['value'];let _0x26d9a2={...this['$']['*editorTransformations'],[this['_operation']]:_0x5a5adb};this['$']['*editorTransformations']=_0x26d9a2;}['cancel'](){this['$']['*faderEl']['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x1a3919=>{this['_originalUrl']=_0x1a3919;}),this['sub']('value',_0x256fa7=>{let _0xc75a42=(this['_filter']||this['_operation'])+'\x20'+_0x256fa7;this['$']['*operationTooltip']=_0xc75a42;});}}function preloadImage(_0x2d5e19){let _0x542dad=new Image(),_0x5dbabd=new Promise((_0x2d96fa,_0x3b6166)=>{_0x542dad['src']=_0x2d5e19,_0x542dad['onload']=_0x2d96fa,_0x542dad['onerror']=_0x3b6166;});return{'promise':_0x5dbabd,'image':_0x542dad,'cancel':()=>{0x0===_0x542dad['naturalWidth']&&(_0x542dad['src']=TRANSPARENT_PIXEL_SRC);}};}function batchPreloadImages(_0x3dc32a){let _0x5dac4c=[];for(let _0x33beae of _0x3dc32a){let _0x14c103=preloadImage(_0x33beae);_0x5dac4c['push'](_0x14c103);}let _0x5a5ad5=_0x5dac4c['map'](_0x3bb4e2=>_0x3bb4e2['image']);return{'promise':Promise['allSettled'](_0x5dac4c['map'](_0x4fc5df=>_0x4fc5df['promise'])),'images':_0x5a5ad5,'cancel':()=>{_0x5dac4c['forEach'](_0x57a251=>{_0x57a251['cancel']();});}};}EditorSlider['template']='\x0a\x20\x20<uc-slider-ui\x0a\x20\x20\x20\x20ref=\x22slider-el\x22\x0a\x20\x20\x20\x20set=\x22disabled:\x20disabled;\x20min:\x20min;\x20max:\x20max;\x20defaultValue:\x20defaultValue;\x20zero:\x20zero;\x20onInput:\x20on.input;\x22\x0a\x20\x20></uc-slider-ui>\x0a';class EditorFilterControl extends EditorButtonControl{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){let _0x102443=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x1ec508=window['devicePixelRatio'],_0x4ae9f2=Math['ceil'](_0x1ec508*_0x102443),_0x173950=_0x1ec508>=0x2?'lightest':'normal',_0x563589={...this['$']['*editorTransformations']};return _0x563589[this['_operation']]=this['_filter']!==FAKE_ORIGINAL_FILTER?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(COMMON_OPERATIONS,transformationsToOperations(_0x563589),'quality/'+_0x173950,'scale_crop/'+_0x4ae9f2+'x'+_0x4ae9f2+'/center'));}async['_observerCallback'](_0x41032e,_0x950165){if(_0x41032e[0x0]['isIntersecting']){let _0x3bcaf9=await this['proxyUrl'](this['_previewSrc']()),_0x13cedb=this['ref']['preview-el'],{promise:_0x4a5484,cancel:_0x2e8538}=preloadImage(_0x3bcaf9);this['_cancelPreload']=_0x2e8538,_0x4a5484['catch'](_0x11abba=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x11abba});})['finally'](()=>{_0x13cedb['style']['backgroundImage']='url('+_0x3bcaf9+')',_0x13cedb['setAttribute']('loaded',''),_0x950165['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=()=>{this['$']['active']?this['$']['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0):(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*sliderEl']['apply']()),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x517261=>{this['_operation']='filter',this['_filter']=_0x517261,this['$']['isOriginal']=_0x517261===FAKE_ORIGINAL_FILTER,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x517261['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});let _0x236351=this['$']['*originalUrl'];this['_originalUrl']=_0x236351,this['$']['isOriginal']?this['ref']['icon-el']['classList']['add']('uc-original-icon'):this['_observer']['observe'](this),this['sub']('*currentFilter',_0x7bc68f=>{this['$']['active']=_0x7bc68f&&_0x7bc68f===this['_filter'];}),this['sub']('isOriginal',_0x2b9096=>{this['$']['iconSize']=_0x2b9096?0x28:0x14;}),this['sub']('active',_0x3064fd=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x3064fd?'1':'0';let _0x4ded72=this['ref']['preview-el'];_0x3064fd?_0x4ded72['style']['opacity']='0':_0x4ded72['style']['backgroundImage']&&(_0x4ded72['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x155ffa=>{if(!_0x155ffa){let _0x2d872f=await this['proxyUrl'](this['_previewSrc']()),_0x4cd3f2=this['ref']['preview-el'];_0x4cd3f2['style']['backgroundImage']&&(_0x4cd3f2['style']['backgroundImage']='none',_0x4cd3f2['style']['backgroundImage']='url('+_0x2d872f+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}}EditorFilterControl['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-preview\x22\x20ref=\x22preview-el\x22></div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x20@size:\x20iconSize;\x22></uc-icon>\x0a\x20\x20</button>\x0a';class EditorOperationControl extends EditorButtonControl{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x42143b=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'];},this['defineAccessor']('operation',_0x34d43c=>{_0x34d43c&&(this['_operation']=_0x34d43c,this['$']['icon']=_0x34d43c,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x34d43c)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x34d43c)));}),this['sub']('*editorTransformations',_0x3fbcda=>{if(!this['_operation'])return;let {zero:_0x35d850}=COLOR_OPERATIONS_CONFIG[this['_operation']],_0x24a819=_0x3fbcda[this['_operation']],_0x5b3ace=void 0x0!==_0x24a819&&_0x24a819!==_0x35d850;this['$']['active']=_0x5b3ace;});}}function pick(_0x564dcc,_0x20102f){let _0x3a78e4={};for(let _0x278b98 of _0x20102f){let _0x1c2f54=_0x564dcc[_0x278b98];(_0x564dcc['hasOwnProperty'](_0x278b98)||void 0x0!==_0x1c2f54)&&(_0x3a78e4[_0x278b98]=_0x1c2f54);}return _0x3a78e4;}function viewerImageSrc(_0x127ad2,_0x1ed2d2,_0xefbb4d){let _0x51b159=window['devicePixelRatio'],_0x5491e7=Math['min'](Math['ceil'](_0x1ed2d2*_0x51b159),0xbb8),_0x438b0d=_0x51b159>=0x2?'lightest':'normal';return createCdnUrl(_0x127ad2,createCdnUrlModifiers(COMMON_OPERATIONS,transformationsToOperations(_0xefbb4d),'quality/'+_0x438b0d,'stretch/off/-/resize/'+_0x5491e7+'x','@clib/'+PACKAGE_NAME+'/'+PACKAGE_VERSION+'/uc-cloud-image-editor/'));}function validateCrop(_0x38f61c){if(!_0x38f61c)return!0x0;let _0x24c85a=[({dimensions:_0x196111,coords:_0x4a9ee0})=>[..._0x196111,..._0x4a9ee0]['every'](_0x14dbf6=>Number['isInteger'](_0x14dbf6)&&Number['isFinite'](_0x14dbf6)),({dimensions:_0x5f23de,coords:_0x180688})=>_0x5f23de['every'](_0x244b2b=>_0x244b2b>0x0)&&_0x180688['every'](_0x26d733=>_0x26d733>=0x0)];return _0x24c85a['every'](_0x2fb762=>_0x2fb762(_0x38f61c));}class EditorImageCropper extends Block{['ctxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'image':null,'*padding':CROP_PADDING,'*operations':{'rotate':0x0,'mirror':!0x1,'flip':!0x1},'*imageBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0},'*cropBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0}},this['_commitDebounced']=debounce(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=throttle(this['_handleResize']['bind'](this),0x64),this['_imageSize']={'width':0x0,'height':0x0};}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){let _0x35717a=pick(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x27c732={...this['$']['*operations'],..._0x35717a};this['$']['*operations']=_0x27c732;}['_initCanvas'](){let _0x42400b=this['ref']['canvas-el'],_0xaaa948=_0x42400b['getContext']('2d'),_0x2d7b75=this['offsetWidth'],_0x293c2a=this['offsetHeight'],_0x2059ad=window['devicePixelRatio'];_0x42400b['style']['width']=_0x2d7b75+'px',_0x42400b['style']['height']=_0x293c2a+'px',_0x42400b['width']=_0x2d7b75*_0x2059ad,_0x42400b['height']=_0x293c2a*_0x2059ad,_0xaaa948?.['scale'](_0x2059ad,_0x2059ad),this['_canvas']=_0x42400b,this['_ctx']=_0xaaa948;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;let _0x6dcaa6,_0x546e31=this['$']['image'],_0x2c8321=this['$']['*padding'],_0x558aa0=this['$']['*operations'],{rotate:_0x39b71b}=_0x558aa0,_0x1c391d=this['offsetWidth'],_0xfdc10d=this['offsetHeight'],_0x89771f=rotateSize({'width':_0x546e31['naturalWidth'],'height':_0x546e31['naturalHeight']},_0x39b71b);if(_0x89771f['width']>_0x1c391d-0x2*_0x2c8321||_0x89771f['height']>_0xfdc10d-0x2*_0x2c8321){let _0x384205=_0x89771f['width']/_0x89771f['height'];if(_0x384205>_0x1c391d/_0xfdc10d){let _0x379cfa=_0x1c391d-0x2*_0x2c8321,_0x150026=_0x379cfa/_0x384205;_0x6dcaa6={'x':0x0+_0x2c8321,'y':_0x2c8321+(_0xfdc10d-0x2*_0x2c8321)/0x2-_0x150026/0x2,'width':_0x379cfa,'height':_0x150026};}else{let _0x366f0e=_0xfdc10d-0x2*_0x2c8321,_0x1b6ea6=_0x366f0e*_0x384205;_0x6dcaa6={'x':_0x2c8321+(_0x1c391d-0x2*_0x2c8321)/0x2-_0x1b6ea6/0x2,'y':0x0+_0x2c8321,'width':_0x1b6ea6,'height':_0x366f0e};}}else{let {width:_0x1c9553,height:_0x42e0bf}=_0x89771f;_0x6dcaa6={'x':_0x2c8321+(_0x1c391d-0x2*_0x2c8321)/0x2-_0x1c9553/0x2,'y':_0x2c8321+(_0xfdc10d-0x2*_0x2c8321)/0x2-_0x42e0bf/0x2,'width':_0x1c9553,'height':_0x42e0bf};}this['$']['*imageBox']=roundRect(_0x6dcaa6);}['_alignCrop'](){let _0x496bb6=this['$']['*cropBox'],_0x2f7f87=this['$']['*imageBox'],_0x375934=this['$']['*operations'],{rotate:_0x32d34e}=_0x375934,_0x102d3f=this['$']['*editorTransformations']['crop'],{width:_0x2ebc77,x:_0x1e3445,y:_0x5ee63f}=this['$']['*imageBox'];if(_0x102d3f){let {dimensions:[_0x50f89b,_0x3e6176],coords:[_0x16059b,_0x595a76]}=_0x102d3f,{width:_0x40cf66}=rotateSize(this['_imageSize'],_0x32d34e),_0x7ea2ae=_0x2ebc77/_0x40cf66;_0x496bb6=constraintRect(roundRect({'x':_0x1e3445+_0x16059b*_0x7ea2ae,'y':_0x5ee63f+_0x595a76*_0x7ea2ae,'width':_0x50f89b*_0x7ea2ae,'height':_0x3e6176*_0x7ea2ae}),this['$']['*imageBox']);}const _0x176a17=this['$']['*cropPresetList']?.[0x0],_0x285f65=_0x176a17?_0x176a17['width']/_0x176a17['height']:void 0x0;if(!isRectInsideRect(_0x496bb6,_0x2f7f87)||_0x285f65&&!isRectMatchesAspectRatio(_0x496bb6,_0x285f65)){const _0x1c7098=_0x2f7f87['width']/_0x2f7f87['height'];let _0xca3f4e=_0x2f7f87['width'],_0x15a4a4=_0x2f7f87['height'];_0x285f65&&(_0x1c7098>_0x285f65?_0xca3f4e=Math['min'](_0x2f7f87['height']*_0x285f65,_0x2f7f87['width']):_0x15a4a4=Math['min'](_0x2f7f87['width']/_0x285f65,_0x2f7f87['height'])),_0x496bb6={'x':_0x2f7f87['x']+_0x2f7f87['width']/0x2-_0xca3f4e/0x2,'y':_0x2f7f87['y']+_0x2f7f87['height']/0x2-_0x15a4a4/0x2,'width':_0xca3f4e,'height':_0x15a4a4};}this['$']['*cropBox']=constraintRect(roundRect(_0x496bb6),this['$']['*imageBox']);}['_drawImage'](){let _0x14b3d3=this['_ctx'];if(!_0x14b3d3)return;let _0x52ac3a=this['$']['image'],_0x2062ae=this['$']['*imageBox'],_0xfa80a1=this['$']['*operations'],{mirror:_0x420f37,flip:_0x366f8c,rotate:_0x5ae1ae}=_0xfa80a1,_0x2c7ad3=rotateSize({'width':_0x2062ae['width'],'height':_0x2062ae['height']},_0x5ae1ae);_0x14b3d3['save'](),_0x14b3d3['translate'](_0x2062ae['x']+_0x2062ae['width']/0x2,_0x2062ae['y']+_0x2062ae['height']/0x2),_0x14b3d3['rotate'](_0x5ae1ae*Math['PI']*-0x1/0xb4),_0x14b3d3['scale'](_0x420f37?-0x1:0x1,_0x366f8c?-0x1:0x1),_0x14b3d3['drawImage'](_0x52ac3a,-_0x2c7ad3['width']/0x2,-_0x2c7ad3['height']/0x2,_0x2c7ad3['width'],_0x2c7ad3['height']),_0x14b3d3['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;let _0x13ac55=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x13ac55['width'],_0x13ac55['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x21fcdc}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=classNames({'uc-active_from_viewer':_0x21fcdc,'uc-active_from_editor':!_0x21fcdc,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){let _0x2c4f02=this['$']['*cropBox'],_0x391534=this['$']['*imageBox'],_0x442804=this['$']['*operations'],{rotate:_0x4361ef}=_0x442804,{width:_0x402e2d,height:_0x598ba}=_0x391534,{width:_0x2ef5f5,height:_0x16a348}=rotateSize(this['_imageSize'],_0x4361ef),{width:_0x5eb289,height:_0x5992bb}=_0x2c4f02,_0x7b9447=_0x402e2d/_0x2ef5f5,_0x3ed45a=_0x598ba/_0x16a348;return[clamp(Math['round'](_0x5eb289/_0x7b9447),0x1,_0x2ef5f5),clamp(Math['round'](_0x5992bb/_0x3ed45a),0x1,_0x16a348)];}['_getCropTransformation'](){let _0x3f2402=this['$']['*cropBox'],_0x1a415b=this['$']['*imageBox'],_0x38ca8c=this['$']['*operations'],{rotate:_0x25c723}=_0x38ca8c,{width:_0x3f79bf,height:_0x4d8c5a,x:_0x147b81,y:_0x392257}=_0x1a415b,{width:_0x56d563,height:_0x44df24}=rotateSize(this['_imageSize'],_0x25c723),{x:_0x55d9dc,y:_0x506d1e}=_0x3f2402,_0x1d01a3=_0x3f79bf/_0x56d563,_0x5aaff5=_0x4d8c5a/_0x44df24,_0x424f9c=this['_getCropDimensions'](),_0x264bd4={'dimensions':_0x424f9c,'coords':[clamp(Math['round']((_0x55d9dc-_0x147b81)/_0x1d01a3),0x0,_0x56d563-_0x424f9c[0x0]),clamp(Math['round']((_0x506d1e-_0x392257)/_0x5aaff5),0x0,_0x44df24-_0x424f9c[0x1])]};if(validateCrop(_0x264bd4)){if(_0x424f9c[0x0]!==_0x56d563||_0x424f9c[0x1]!==_0x44df24)return _0x264bd4;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x264bd4});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;let _0xbeefa0=this['$']['*operations'],{rotate:_0x5ceb6c,mirror:_0x42d932,flip:_0x433766}=_0xbeefa0,_0xdf164a=this['_getCropTransformation'](),_0x107072={...this['$']['*editorTransformations'],'crop':_0xdf164a,'rotate':_0x5ceb6c,'mirror':_0x42d932,'flip':_0x433766};this['$']['*editorTransformations']=_0x107072;}['setValue'](_0xbfe23c,_0x3da326){this['$']['*operations']={...this['$']['*operations'],[_0xbfe23c]:_0x3da326},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0xd893c7){return this['$']['*operations'][_0xd893c7];}async['activate'](_0x381be0,{fromViewer:_0x1c2ad3}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x381be0,this['removeEventListener']('transitionend',this['_reset']);try{this['$']['image']=await this['_waitForImage'](this['$']['*originalUrl'],this['$']['*editorTransformations']),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x1c2ad3});}catch(_0xf7fd3){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0xf7fd3});}this['_observer']=new ResizeObserver(([_0x1379c0])=>{_0x1379c0['contentRect']['width']>0x0&&_0x1379c0['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x3b1de5=!0x1}={}){this['_isActive']&&(!_0x3b1de5&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=classNames({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['ref']['frame-el']['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['_reset'],{'once':!0x0}),this['_observer']?.['disconnect']());}['_transitionToCrop'](){let _0x577617=this['_getCropDimensions'](),_0x4840d5=Math['min'](this['offsetWidth'],_0x577617[0x0])/this['$']['*cropBox']['width'],_0x356880=Math['min'](this['offsetHeight'],_0x577617[0x1])/this['$']['*cropBox']['height'],_0x44abe7=Math['min'](_0x4840d5,_0x356880),_0x4d0099=this['$']['*cropBox']['x']+this['$']['*cropBox']['width']/0x2,_0x3af9de=this['$']['*cropBox']['y']+this['$']['*cropBox']['height']/0x2;this['style']['transform']='scale('+_0x44abe7+')\x20translate('+(this['offsetWidth']/0x2-_0x4d0099)/_0x44abe7+'px,\x20'+(this['offsetHeight']/0x2-_0x3af9de)/_0x44abe7+'px)',this['style']['transformOrigin']=_0x4d0099+'px\x20'+_0x3af9de+'px';}['_transitionToImage'](){let _0x403e4f=this['$']['*cropBox']['x']+this['$']['*cropBox']['width']/0x2,_0x138a81=this['$']['*cropBox']['y']+this['$']['*cropBox']['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x403e4f+'px\x20'+_0x138a81+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x47a01e,_0x1cf001){let _0xe7c25c=this['offsetWidth'];_0x1cf001={..._0x1cf001,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x51593d=await this['proxyUrl'](viewerImageSrc(_0x47a01e,_0xe7c25c,_0x1cf001)),{promise:_0x19bce2,cancel:_0x549f4c,image:_0x4473cd}=preloadImage(_0x51593d),_0x4976be=this['_handleImageLoading'](_0x51593d);return _0x4473cd['addEventListener']('load',_0x4976be,{'once':!0x0}),_0x4473cd['addEventListener']('error',_0x4976be,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x549f4c,_0x19bce2['then'](()=>_0x4473cd)['catch'](_0x5021d8=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x5021d8}),this['$']['*networkProblems']=!0x0,Promise['resolve'](_0x4473cd)));}['_handleImageLoading'](_0x25f2ee){let _0x96093='crop',_0x38cfb4=this['$']['*loadingOperations'];return _0x38cfb4['get'](_0x96093)||_0x38cfb4['set'](_0x96093,new Map()),_0x38cfb4['get'](_0x96093)['get'](_0x25f2ee)||(_0x38cfb4['set'](_0x96093,_0x38cfb4['get'](_0x96093)['set'](_0x25f2ee,!0x0)),this['$']['*loadingOperations']=_0x38cfb4),()=>{_0x38cfb4?.['get'](_0x96093)?.['has'](_0x25f2ee)&&(_0x38cfb4['get'](_0x96093)['delete'](_0x25f2ee),this['$']['*loadingOperations']=_0x38cfb4);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*cropPresetList',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x5ef9b1=>{_0x5ef9b1||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}}function linspace(_0xefaa9e,_0xad330b,_0x5f2eec){let _0x5d0663=Array(_0x5f2eec);for(let _0x5b2ba1=--_0x5f2eec;_0x5b2ba1>=0x0;_0x5b2ba1--)_0x5d0663[_0x5b2ba1]=Math['ceil']((_0x5b2ba1*_0xad330b+(_0x5f2eec-_0x5b2ba1)*_0xefaa9e)/_0x5f2eec);return _0x5d0663;}function splitBySections(_0x2cc7f0){return _0x2cc7f0['reduce']((_0x2933c2,_0x19e92a,_0x272941)=>_0x272941<_0x2cc7f0['length']-0x1?[..._0x2933c2,[_0x19e92a,_0x2cc7f0[_0x272941+0x1]]]:_0x2933c2,[]);}function calculateOpacities(_0x418ce9,_0x41875b,_0x20ca3b){let _0x14cb85=splitBySections(_0x418ce9)['find'](([_0x15d2a5,_0x5f0225])=>_0x15d2a5<=_0x41875b&&_0x41875b<=_0x5f0225);return _0x418ce9['map'](_0x150ee3=>{let _0x52a27a=Math['abs'](_0x14cb85[0x0]-_0x14cb85[0x1]),_0x63d697=Math['abs'](_0x41875b-_0x14cb85[0x0])/_0x52a27a;return _0x14cb85[0x0]===_0x150ee3?_0x41875b>_0x20ca3b?0x1:0x1-_0x63d697:_0x14cb85[0x1]===_0x150ee3?_0x41875b>=_0x20ca3b?_0x63d697:0x1:0x0;});}function calculateZIndices(_0x111472,_0x4e626c){return _0x111472['map']((_0x1281ac,_0x524009)=>_0x1281ac<_0x4e626c?_0x111472['length']-_0x524009:_0x524009);}function keypointsRange(_0x3d8dea,_0x2ab8ca){let _0x18b1f4=COLOR_OPERATIONS_CONFIG[_0x3d8dea]['keypointsNumber'],{range:_0x465d7d,zero:_0x8210b1}=COLOR_OPERATIONS_CONFIG[_0x3d8dea];return[...new Set([...linspace(_0x465d7d[0x0],_0x8210b1,_0x18b1f4+0x1),...linspace(_0x8210b1,_0x465d7d[0x1],_0x18b1f4+0x1),_0x8210b1,_0x2ab8ca])]['sort']((_0x5d6fbd,_0x4d7d39)=>_0x5d6fbd-_0x4d7d39);}EditorImageCropper['template']='\x0a\x20\x20<canvas\x20class=\x22uc-canvas\x22\x20ref=\x22canvas-el\x22></canvas>\x0a\x20\x20<uc-crop-frame\x20ref=\x22frame-el\x22></uc-crop-frame>\x0a';class EditorImageFader extends Block{constructor(){super(),this['_isActive']=!0x1,this['_hidden']=!0x0,this['_addKeypointDebounced']=debounce(this['_addKeypoint']['bind'](this),0x258),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x43d234){let _0x36ceb3=this['_operation'],_0x2343dc=this['$']['*loadingOperations'];return _0x2343dc['get'](_0x36ceb3)||_0x2343dc['set'](_0x36ceb3,new Map()),_0x2343dc['get'](_0x36ceb3)['get'](_0x43d234)||(_0x2343dc['set'](_0x36ceb3,_0x2343dc['get'](_0x36ceb3)['set'](_0x43d234,!0x0)),this['$']['*loadingOperations']=_0x2343dc),()=>{_0x2343dc?.['get'](_0x36ceb3)?.['has'](_0x43d234)&&(_0x2343dc['get'](_0x36ceb3)['delete'](_0x43d234),this['$']['*loadingOperations']=_0x2343dc);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(let _0x267a78 of this['_keypoints']){let {image:_0x1c1702}=_0x267a78;_0x1c1702&&(_0x1c1702['style']['opacity']=_0x267a78['opacity']['toString'](),_0x1c1702['style']['zIndex']=_0x267a78['zIndex']['toString']());}});}async['_imageSrc']({url:_0x4897b2=this['_url'],filter:_0xd37a53=this['_filter'],operation:_0x1fe9d7,value:_0x3b1b0f}={}){let _0x122ca7={...this['_transformations']};_0x1fe9d7&&(_0x122ca7[_0x1fe9d7]=_0xd37a53?{'name':_0xd37a53,'amount':_0x3b1b0f}:_0x3b1b0f);let _0x448e33=this['offsetWidth'];return await this['proxyUrl'](viewerImageSrc(_0x4897b2,_0x448e33,_0x122ca7));}async['_constructKeypoint'](_0xdc584b,_0xd2bcd7){return{'src':await this['_imageSrc']({'operation':_0xdc584b,'value':_0xd2bcd7}),'image':null,'opacity':0x0,'zIndex':0x0,'value':_0xd2bcd7};}['_isSame'](_0x5c2cee,_0x43f14d){return this['_operation']===_0x5c2cee&&this['_filter']===_0x43f14d;}async['_addKeypoint'](_0x1ff159,_0x163a28,_0x4d8983){let _0x1c70f9=()=>!this['_isSame'](_0x1ff159,_0x163a28)||this['_value']!==_0x4d8983||!!this['_keypoints']['find'](_0x2f40c6=>_0x2f40c6['value']===_0x4d8983);if(_0x1c70f9())return;let _0x259790=await this['_constructKeypoint'](_0x1ff159,_0x4d8983),_0x20bb28=new Image();_0x20bb28['src']=_0x259790['src'];let _0x161094=this['_handleImageLoading'](_0x259790['src']);_0x20bb28['addEventListener']('load',_0x161094,{'once':!0x0}),_0x20bb28['addEventListener']('error',_0x161094,{'once':!0x0}),_0x259790['image']=_0x20bb28,_0x20bb28['classList']['add']('uc-fader-image'),_0x20bb28['addEventListener']('load',()=>{if(_0x1c70f9())return;let _0x181124=this['_keypoints'],_0xade649=_0x181124['findIndex'](_0x43f592=>_0x43f592['value']>_0x4d8983),_0x3eaabb=_0xade649<_0x181124['length']?_0x181124[_0xade649]['image']:null;!this['_container']||_0x3eaabb&&!this['_container']['contains'](_0x3eaabb)||(_0x181124['splice'](_0xade649,0x0,_0x259790),this['_container']['insertBefore'](_0x20bb28,_0x3eaabb),this['_update'](_0x1ff159,_0x4d8983));},{'once':!0x0}),_0x20bb28['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x30085a){_0x30085a='string'==typeof _0x30085a?parseInt(_0x30085a,0xa):_0x30085a,this['_update'](this['_operation'],_0x30085a),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x30085a);}['_update'](_0x44e1aa,_0x3afa8e){this['_operation']=_0x44e1aa,this['_value']=_0x3afa8e;let {zero:_0x252f6a}=COLOR_OPERATIONS_CONFIG[_0x44e1aa],_0x3f2407=this['_keypoints']['map'](_0x937c91=>_0x937c91['value']),_0x59a455=calculateOpacities(_0x3f2407,_0x3afa8e,_0x252f6a),_0x58d10a=calculateZIndices(_0x3f2407,_0x252f6a);for(let [_0x209a6b,_0x3fd73b]of Object['entries'](this['_keypoints']))_0x3fd73b['opacity']=_0x59a455[_0x209a6b],_0x3fd73b['zIndex']=_0x58d10a[_0x209a6b];this['_flush']();}['_createPreviewImage'](){let _0x469a45=new Image();return _0x469a45['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x469a45['style']['opacity']='0',_0x469a45;}async['_initNodes'](){let _0x20e059=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage'](),!this['contains'](this['_previewImage'])&&_0x20e059['appendChild'](this['_previewImage']);let _0x385c27=document['createElement']('div');_0x20e059['appendChild'](_0x385c27);let _0x576233=this['_keypoints']['map'](_0x20c80b=>_0x20c80b['src']),{images:_0x4ac8d4,promise:_0x3b23bf,cancel:_0x49d005}=batchPreloadImages(_0x576233);_0x4ac8d4['forEach'](_0x492ea5=>{let _0x3ae2a1=this['_handleImageLoading'](_0x492ea5['src']);_0x492ea5['addEventListener']('load',_0x3ae2a1),_0x492ea5['addEventListener']('error',_0x3ae2a1);}),this['_cancelLastImages']=()=>{_0x49d005(),this['_cancelLastImages']=void 0x0;};let _0x463ca2=this['_operation'],_0x4dc925=this['_filter'];await _0x3b23bf,this['_isActive']&&this['_isSame'](_0x463ca2,_0x4dc925)&&(this['_container']&&this['_container']['remove'](),this['_container']=_0x385c27,this['_keypoints']['forEach']((_0x80e5a8,_0x294cc0)=>{let _0x55935d=_0x4ac8d4[_0x294cc0];_0x55935d['classList']['add']('uc-fader-image'),_0x80e5a8['image']=_0x55935d,this['_container']['appendChild'](_0x55935d);}),this['appendChild'](_0x20e059),this['_flush']());}async['setTransformations'](_0x272b6e){if(this['_transformations']=_0x272b6e,this['_previewImage']){let _0x4618f1=await this['_imageSrc'](),_0x20e4d2=this['_handleImageLoading'](_0x4618f1);this['_previewImage']['src']=_0x4618f1,this['_previewImage']['addEventListener']('load',_0x20e4d2,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x20e4d2,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x17f057,filter:_0x4ee845,operation:_0x1be4c7,value:_0xc8d85c}){this['_cancelBatchPreload']&&this['_cancelBatchPreload']();let _0x404635=keypointsRange(_0x1be4c7,_0xc8d85c),_0x5ef9da=await Promise['all'](_0x404635['map'](_0x59dcc3=>this['_imageSrc']({'url':_0x17f057,'filter':_0x4ee845,'operation':_0x1be4c7,'value':_0x59dcc3}))),{cancel:_0x4d213c}=batchPreloadImages(_0x5ef9da);this['_cancelBatchPreload']=_0x4d213c;}['_setOriginalSrc'](_0x214872){let _0x2fa199=this['_previewImage']||this['_createPreviewImage']();if(!this['contains'](_0x2fa199)&&this['appendChild'](_0x2fa199),this['_previewImage']=_0x2fa199,_0x2fa199['src']===_0x214872)return _0x2fa199['style']['opacity']='1',_0x2fa199['style']['transform']='scale(1)',void(this['className']=classNames({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x2fa199['style']['opacity']='0';let _0x4fca86=this['_handleImageLoading'](_0x214872);_0x2fa199['addEventListener']('error',_0x4fca86,{'once':!0x0}),_0x2fa199['src']=_0x214872,_0x2fa199['addEventListener']('load',()=>{_0x4fca86(),_0x2fa199&&(_0x2fa199['style']['opacity']='1',_0x2fa199['style']['transform']='scale(1)',this['className']=classNames({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x2fa199['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x215f77,operation:_0x38f682,value:_0x2920aa,filter:_0xa208f3,fromViewer:_0x7bf3d2}){if(this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x215f77,this['_operation']=_0x38f682||'initial',this['_value']=_0x2920aa,this['_filter']=_0xa208f3,this['_fromViewer']=_0x7bf3d2,'number'!=typeof _0x2920aa&&!_0xa208f3){let _0x580e55=await this['_imageSrc']({'operation':_0x38f682,'value':_0x2920aa});return this['_setOriginalSrc'](_0x580e55),void(this['_container']&&this['_container']['remove']());}this['_keypoints']=await Promise['all'](keypointsRange(_0x38f682,_0x2920aa)['map'](_0x2f111a=>this['_constructKeypoint'](_0x38f682,_0x2f111a))),this['_update'](_0x38f682,_0x2920aa),this['_initNodes']();}['deactivate']({hide:_0x3fc05a=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']&&this['_cancelLastImages'](),this['_cancelBatchPreload']&&this['_cancelBatchPreload'](),_0x3fc05a&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=classNames({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']&&this['_container']['remove']();},{'once':!0x0})):this['_container']&&this['_container']['remove']();}}const X_THRESHOLD=0x1;class EditorScroller extends Block{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x2ec8a1=>{_0x2ec8a1['preventDefault']();let {deltaY:_0x133f7f,deltaX:_0x870760}=_0x2ec8a1;Math['abs'](_0x870760)>X_THRESHOLD?this['scrollLeft']+=_0x870760:this['scrollLeft']+=_0x133f7f;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}}function renderTabToggle(_0x55502f){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggle\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggle.'+_0x55502f+';\x20styles:\x20presence.tabToggleStyles;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-btn-ui\x0a\x20\x20\x20\x20\x20\x20\x20\x20theme=\x22tab\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22tab-toggle-'+_0x55502f+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x55502f+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x55502f+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x55502f+';\x20title-prop:\x20a11y-editor-tab-'+_0x55502f+'\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}function renderTabContent(_0x31441f){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x31441f+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x31441f+';\x20styles:\x20presence.tabContentStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-editor-scroller\x20hidden-scrollbar>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-list_align\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22listbox\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-orientation=\x22horizontal\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-controls-list_inner\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22controls-list-'+_0x31441f+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</uc-editor-scroller>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}EditorScroller['template']='\x20<slot></slot>\x20';class EditorToolbar extends Block{constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*currentFilter':FAKE_ORIGINAL_FILTER,'*currentOperation':null,'showLoader':!0x1,'filters':ALL_FILTERS,'colorOperations':ALL_COLOR_OPERATIONS,'cropOperations':ALL_CROP_OPERATIONS,'*operationTooltip':null,'presence.mainToolbar':!0x0,'presence.subToolbar':!0x1,'presence.tabToggles':!0x0,'presence.tabContent.crop':!0x1,'presence.tabContent.tuning':!0x1,'presence.tabContent.filters':!0x1,'presence.tabToggle.crop':!0x0,'presence.tabToggle.tuning':!0x0,'presence.tabToggle.filters':!0x0,'presence.subTopToolbarStyles':{'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},'presence.subBottomToolbarStyles':{'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},'presence.tabContentStyles':{'hidden':'uc-tab-content--hidden','visible':'uc-tab-content--visible'},'presence.tabToggleStyles':{'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},'presence.tabTogglesStyles':{'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},'on.cancel':()=>{this['_cancelPreload']?.(),this['$']['*on.cancel']();},'on.apply':()=>{this['$']['*on.apply'](this['$']['*editorTransformations']);},'on.applySlider':()=>{this['ref']['slider-el']['apply'](),this['_onSliderClose']();},'on.cancelSlider':()=>{this['ref']['slider-el']['cancel'](),this['_onSliderClose']();},'on.clickTab':_0x12f339=>{const _0x211209=_0x12f339['currentTarget']['getAttribute']('data-id');_0x211209&&this['_activateTab'](_0x211209,{'fromViewer':!0x1});},'tab_role':'tab',['tab_'+TabId['TUNING']]:'tab_'+TabId['TUNING'],['tab_'+TabId['CROP']]:'tab_'+TabId['CROP'],['tab_'+TabId['FILTERS']]:'tab_'+TabId['FILTERS'],'cancel':'cancel','apply':'apply','a11y-editor-tab-filters':'a11y-editor-tab-filters','a11y-editor-tab-tuning':'a11y-editor-tab-tuning','a11y-editor-tab-crop':'a11y-editor-tab-crop'},this['_debouncedShowLoader']=debounce(this['_showLoader']['bind'](this),0x1f4);}['_onSliderClose'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===TabId['TUNING']&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x3ae488){let _0x4eaa8d=new EditorOperationControl();return _0x4eaa8d['operation']=_0x3ae488,_0x4eaa8d;}['_createFilterControl'](_0x12f5b0){let _0x120361=new EditorFilterControl();return _0x120361['filter']=_0x12f5b0,_0x120361;}['_createToggleControl'](_0x543db6){let _0x4320db=new EditorCropButtonControl();return _0x4320db['operation']=_0x543db6,_0x4320db;}['_renderControlsList'](_0x17fdf7){let _0xadd3f7=this['ref']['controls-list-'+_0x17fdf7],_0x4cc7ea=document['createDocumentFragment']();_0x17fdf7===TabId['CROP']?this['$']['cropOperations']['forEach'](_0xe51d06=>{let _0x249b72=this['_createToggleControl'](_0xe51d06);_0x4cc7ea['appendChild'](_0x249b72);}):_0x17fdf7===TabId['FILTERS']?[FAKE_ORIGINAL_FILTER,...this['$']['filters']]['forEach'](_0xba360b=>{let _0x5a92b5=this['_createFilterControl'](_0xba360b);_0x4cc7ea['appendChild'](_0x5a92b5);}):_0x17fdf7===TabId['TUNING']&&this['$']['colorOperations']['forEach'](_0x145f37=>{let _0x321692=this['_createOperationControl'](_0x145f37);_0x4cc7ea['appendChild'](_0x321692);}),[..._0x4cc7ea['children']]['forEach']((_0x49a71f,_0x1dc3ed)=>{_0x1dc3ed===_0x4cc7ea['childNodes']['length']-0x1&&_0x49a71f['classList']['add']('uc-controls-list_last-item');}),_0xadd3f7['innerHTML']='',_0xadd3f7['appendChild'](_0x4cc7ea);}['_activateTab'](_0x626edb,{fromViewer:_0x3ca7fa}){this['$']['*tabId']=_0x626edb,_0x626edb===TabId['CROP']?(this['$']['*faderEl']['deactivate'](),this['$']['*cropperEl']['activate'](this['$']['*imageSize'],{'fromViewer':_0x3ca7fa})):(this['$']['*faderEl']['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x3ca7fa}),this['$']['*cropperEl']['deactivate']());for(let _0x4b0f54 of ALL_TABS){let _0x1963f0=_0x4b0f54===_0x626edb;this['ref']['tab-toggle-'+_0x4b0f54]['active']=_0x1963f0,_0x1963f0?(this['_renderControlsList'](_0x626edb),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x4b0f54),this['$']['presence.tabContent.'+_0x4b0f54]=_0x1963f0;}}['_unmountTabControls'](_0x133584){let _0x4d3dc4=this['ref']['controls-list-'+_0x133584];_0x4d3dc4&&(_0x4d3dc4['innerHTML']='');}['_syncTabIndicator'](){let _0x3f3915=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x3f3915['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let _0x233613=this['$']['*imgContainerEl']['offsetWidth'],_0x54b8c7=await this['proxyUrl'](viewerImageSrc(this['$']['*originalUrl'],_0x233613,this['$']['*editorTransformations']));this['_cancelPreload']?.();let {cancel:_0x5ad189}=batchPreloadImages([_0x54b8c7]);this['_cancelPreload']=()=>{_0x5ad189(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x12c2c0){this['$']['showLoader']=_0x12c2c0;}['_updateInfoTooltip']=debounce(()=>{const e=this['$']['*editorTransformations'],i=this['$']['*currentOperation'];let n='',r=!0x1;if(this['$']['*tabId']===TabId['FILTERS']){if(r=!0x0,this['$']['*currentFilter']&&e?.['filter']?.['name']===this['$']['*currentFilter']){let i=e?.['filter']?.['amount']||0x64;n=this['$']['*currentFilter']+'\x20'+i;}else n=this['l10n'](FAKE_ORIGINAL_FILTER);}else{if(this['$']['*tabId']===TabId['TUNING']&&i){r=!0x0;let s=e?.[i]||COLOR_OPERATIONS_CONFIG[i]['zero'];n=this['l10n'](i)+'\x20'+s;}}r&&(this['$']['*operationTooltip']=n),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',r);},0x0);['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['sub']('*imageSize',_0x2d21be=>{_0x2d21be&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x1956d1=>{let _0x17023c=_0x1956d1?.['filter']?.['name'];this['$']['*currentFilter']!==_0x17023c&&(this['$']['*currentFilter']=_0x17023c);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']&&this['$']['*faderEl']['deactivate']();}),this['sub']('*editorTransformations',_0x26d67c=>{this['_preloadEditedImage'](),this['$']['*faderEl']&&this['$']['*faderEl']['setTransformations'](_0x26d67c);}),this['sub']('*loadingOperations',_0x13a317=>{let _0x31a32e=!0x1;for(let [,_0x2f4136]of _0x13a317['entries']()){if(_0x31a32e)break;for(let [,_0x4d05d7]of _0x2f4136['entries']())if(_0x4d05d7){_0x31a32e=!0x0;break;}}this['_debouncedShowLoader'](_0x31a32e);}),this['sub']('*showSlider',_0x53dc14=>{this['$']['presence.subToolbar']=_0x53dc14,this['$']['presence.mainToolbar']=!_0x53dc14;}),this['sub']('*tabList',_0x491917=>{this['$']['presence.tabToggles']=_0x491917['length']>0x1;for(const _0x102845 of ALL_TABS){this['$']['presence.tabToggle.'+_0x102845]=_0x491917['includes'](_0x102845),this['ref']['tab-toggle-'+_0x102845]['style']['gridColumn']=_0x491917['indexOf'](_0x102845)+0x1;}_0x491917['includes'](this['$']['*tabId'])||this['_activateTab'](_0x491917[0x0],{'fromViewer':!0x1});}),this['_updateInfoTooltip']();}}EditorToolbar['template']='\x0a\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20<div\x20class=\x22uc-info-tooltip_container\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-info-tooltip_wrapper\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tooltip-el\x22\x20class=\x22uc-info-tooltip\x20uc-info-tooltip_hidden\x22>{{*operationTooltip}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x20\x20<div\x20class=\x22uc-toolbar-container\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20role=\x22tablist\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.mainToolbar;\x20styles:\x20presence.subTopToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-tab-content-row\x22>'+ALL_TABS['map'](renderTabContent)['join']('')+'</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggles;\x20styles:\x20presence.tabTogglesStyles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tabs-indicator\x22\x20class=\x22uc-tab-toggles_indicator\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+ALL_TABS['map'](renderTabToggle)['join']('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20style=\x22order:\x20-1\x22\x20theme=\x22secondary-icon\x22\x20icon=\x22closeMax\x22\x20set=\x22onclick:\x20on.cancel;\x20title-prop:cancel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary-icon\x22\x20icon=\x22done\x22\x20set=\x22onclick:\x20on.apply;\x20title-prop:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.subToolbar;\x20styles:\x20presence.subBottomToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-slider\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-slider\x20ref=\x22slider-el\x22></uc-editor-slider>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22secondary\x22\x20set=\x22onclick:\x20on.cancelSlider\x22\x20l10n=\x22@text:cancel\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20set=\x22onclick:\x20on.applySlider\x22\x20l10n=\x22@text:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20</div>\x0a';class BtnUi extends Block{constructor(){super(),this['_iconReversed']=!0x1,this['_iconSingle']=!0x1,this['_iconHidden']=!0x1,this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x578e43=>{_0x578e43?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return classNames('uc-icon',{'uc-icon_left':!this['_iconReversed'],'uc-icon_right':this['_iconReversed'],'uc-icon_hidden':this['_iconHidden'],'uc-icon_single':this['_iconSingle']});}['initCallback'](){super['initCallback'](),this['sub']('icon',_0x180927=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x180927,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x481455=>{'custom'!==_0x481455&&(this['className']='uc-'+_0x481455);}),this['sub']('text',_0x11243e=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x16a0d4=>{this['$']['aria-role']=_0x16a0d4||'';}),this['defineAccessor']('aria-controls',_0x497dc6=>{this['$']['aria-controls']=_0x497dc6||'';}),this['defineAccessor']('title-prop',_0x3cb03c=>{this['$']['title-prop']=_0x3cb03c||'';});}set['reverse'](_0x4a1ccf){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']=null);}}BtnUi['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),BtnUi['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20set=\x22@role:aria-role;\x20@aria-controls:\x20aria-controls;\x22\x20l10n=\x22@title:title-prop\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22className:\x20iconCss;\x20@name:\x20icon;\x20@hidden:\x20!icon\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-text\x22>{{text}}</div>\x0a\x20\x20</button>\x0a';class LineLoaderUi extends Block{constructor(){super(),this['_active']=!0x1,this['_handleTransitionEndRight']=()=>{let _0x243ce1=this['ref']['line-el'];_0x243ce1['style']['transition']='initial',_0x243ce1['style']['opacity']='0',_0x243ce1['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};}['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x4d691a=>{'boolean'==typeof _0x4d691a&&(_0x4d691a?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;let {width:_0x5b6e58}=this['getBoundingClientRect'](),_0x56362e=this['ref']['line-el'];_0x56362e['style']['transition']='transform\x201s',_0x56362e['style']['opacity']='1',_0x56362e['style']['transform']='translateX('+_0x5b6e58+'px)',_0x56362e['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}}LineLoaderUi['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-line\x22\x20ref=\x22line-el\x22></div>\x0a\x20\x20</div>\x0a';const DEFAULT_STYLE={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'};class PresenceToggle extends Block{constructor(){super(),this['_visible']=!0x1,this['_visibleStyle']=DEFAULT_STYLE['visible'],this['_hiddenStyle']=DEFAULT_STYLE['hidden'],this['_externalTransitions']=!0x1,this['defineAccessor']('styles',_0x2083e0=>{_0x2083e0&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x2083e0['visible'],this['_hiddenStyle']=_0x2083e0['hidden']);}),this['defineAccessor']('visible',_0x560dbf=>{'boolean'==typeof _0x560dbf&&(this['_visible']=_0x560dbf,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',applyClassNames(this,{[DEFAULT_STYLE['transition']]:!this['_externalTransitions'],[this['_visibleStyle']]:this['_visible'],[this['_hiddenStyle']]:!this['_visible']}),this['setAttribute']('aria-hidden',this['_visible']?'false':'true');}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['_externalTransitions']||this['classList']['add'](DEFAULT_STYLE['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}}PresenceToggle['template']='<slot></slot>\x20';class SliderUi extends Block{['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':null,'on.sliderInput':()=>{let e=parseInt(this['ref']['input-el']['value'],0xa);this['_updateValue'](e),this['$']['onInput']&&this['$']['onInput'](e);},'on.sliderChange':()=>{let e=parseInt(this['ref']['input-el']['value'],0xa);this['$']['onChange']&&this['$']['onChange'](e);}};constructor(){super(),this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x55bf64=>{this['$']['disabled']=_0x55bf64;}),this['defineAccessor']('min',_0xb93d47=>{this['$']['min']=_0xb93d47;}),this['defineAccessor']('max',_0xf2b35d=>{this['$']['max']=_0xf2b35d;}),this['defineAccessor']('defaultValue',_0x595ad6=>{this['$']['defaultValue']=_0x595ad6,this['ref']['input-el']['value']=_0x595ad6,this['_updateValue'](_0x595ad6);}),this['defineAccessor']('zero',_0x4fc8e4=>{this['_zero']=_0x4fc8e4;}),this['defineAccessor']('onInput',_0x26ecd5=>{_0x26ecd5&&(this['$']['onInput']=_0x26ecd5);}),this['defineAccessor']('onChange',_0x52530a=>{_0x52530a&&(this['$']['onChange']=_0x52530a);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();let _0x48845b=parseInt(this['ref']['input-el']['value'],0xa);this['_updateValue'](_0x48845b);}),this['_observer']['observe'](this),this['_thumbSize']=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{let _0xc06ca1=parseInt(this['ref']['input-el']['value'],0xa);this['_updateValue'](_0xc06ca1);},0x0),this['sub']('disabled',_0x2a8818=>{let _0x38503d=this['ref']['input-el'];_0x2a8818?_0x38503d['setAttribute']('disabled','disabled'):_0x38503d['removeAttribute']('disabled');});let _0x73dabb=this['ref']['input-el'];_0x73dabb['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x73dabb['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_updateValue'](_0x2e6fa7){this['_updateZeroDot'](_0x2e6fa7);let {width:_0x487fb3}=this['getBoundingClientRect'](),_0x513698=0x64/(this['$']['max']-this['$']['min'])*(_0x2e6fa7-this['$']['min'])*(_0x487fb3-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['ref']['thumb-el']['style']['transform']='translateX('+_0x513698+'px)';});}['_updateZeroDot'](_0xb94431){if(!this['_zeroDotEl'])return;_0xb94431===this['_zero']?this['_zeroDotEl']['style']['opacity']='0':this['_zeroDotEl']['style']['opacity']='1';let {width:_0x41e7ad}=this['getBoundingClientRect'](),_0x60aba7=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x41e7ad-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']['style']['transform']='translateX('+_0x60aba7+'px)';});}['_updateSteps'](){let _0x50c3dc=this['ref']['steps-el'],{width:_0x3878e9}=_0x50c3dc['getBoundingClientRect'](),_0x3000fe=Math['ceil'](_0x3878e9/0x2),_0x411acd=Math['ceil'](_0x3000fe/0xf)-0x2;if(this['_stepsCount']===_0x411acd)return;let _0x506357=document['createDocumentFragment'](),_0xeb4e19=document['createElement']('div'),_0x418888=document['createElement']('div');_0xeb4e19['className']='uc-minor-step',_0x418888['className']='uc-border-step',_0x506357['appendChild'](_0x418888);for(let _0x31e97b=0x0;_0x31e97b<_0x411acd;_0x31e97b++)_0x506357['appendChild'](_0xeb4e19['cloneNode']());_0x506357['appendChild'](_0x418888['cloneNode']());for(let _0x3f8a2a=0x0;_0x3f8a2a<_0x411acd;_0x3f8a2a++)_0x506357['appendChild'](_0xeb4e19['cloneNode']());_0x506357['appendChild'](_0x418888['cloneNode']());let _0x539a6f=document['createElement']('div');_0x539a6f['className']='uc-zero-dot',_0x506357['appendChild'](_0x539a6f),this['_zeroDotEl']=_0x539a6f,_0x50c3dc['innerHTML']='',_0x50c3dc['appendChild'](_0x506357),this['_stepsCount']=_0x411acd;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}}SliderUi['template']='\x0a\x20\x20<div\x20class=\x22uc-steps\x22\x20ref=\x22steps-el\x22></div>\x0a\x20\x20<div\x20ref=\x22thumb-el\x22\x20class=\x22uc-thumb\x22></div>\x0a\x20\x20<input\x0a\x20\x20\x20\x20class=\x22uc-input\x22\x0a\x20\x20\x20\x20type=\x22range\x22\x0a\x20\x20\x20\x20ref=\x22input-el\x22\x0a\x20\x20\x20\x20set=\x22oninput:\x20on.sliderInput;\x20onchange:\x20on.sliderChange;\x20@min:\x20min;\x20@max:\x20max;\x20@value:\x20defaultValue;\x22\x0a\x20\x20/>\x0a';class CloudImageEditorActivity extends UploaderBlock{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x3c3a27=super['activityParams'];if('internalId'in _0x3c3a27)return _0x3c3a27;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>this['mountEditor'](),'onDeactivate':()=>this['unmountEditor']()}),this['subConfigValue']('cropPreset',_0x40eaf6=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x40eaf6&&this['_instance']['setAttribute']('crop-preset',_0x40eaf6);}),this['subConfigValue']('cloudImageEditorTabs',_0x3c775c=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x3c775c&&this['_instance']['setAttribute']('tabs',_0x3c775c);});}['handleApply'](_0x49d49e){if(!this['_entry'])return;let _0x56425d=_0x49d49e['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x56425d['cdnUrl'],'cdnUrlModifiers':_0x56425d['cdnUrlModifiers']}),this['historyBack']();}['handleCancel'](){this['historyBack']();}['mountEditor'](){const {internalId:_0x10f016}=this['activityParams'];if(this['_entry']=this['uploadCollection']['read'](_0x10f016),!this['_entry'])throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x10f016+'\x22\x20not\x20found');const _0x5578c8=this['_entry']['getValue']('cdnUrl');if(!_0x5578c8)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x10f016+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x323f1e=new CloudImageEditorBlock(),_0x3c054f=this['cfg']['cropPreset'],_0x14e432=this['cfg']['cloudImageEditorTabs'];_0x323f1e['setAttribute']('ctx-name',this['ctxName']),_0x323f1e['setAttribute']('cdn-url',_0x5578c8),_0x3c054f&&_0x323f1e['setAttribute']('crop-preset',_0x3c054f),_0x14e432&&_0x323f1e['setAttribute']('tabs',_0x14e432),_0x323f1e['addEventListener']('apply',_0x17f8ce=>{const _0x1e81ac=_0x17f8ce;this['handleApply'](_0x1e81ac),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x1e81ac['detail']);}),_0x323f1e['addEventListener']('cancel',_0x3ba8d0=>{const _0x1218d4=_0x3ba8d0;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x1218d4['detail']);}),_0x323f1e['addEventListener']('change',_0x2efa0b=>{const _0x20c484=_0x2efa0b;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x20c484['detail']);}),this['innerHTML']='',this['appendChild'](_0x323f1e),this['_instance']=_0x323f1e;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}}const escapeRegExp=function(_0x3b049e){return _0x3b049e['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&');},wildcardRegexp=function(_0xd0a0fb,_0x1de1b7='i'){const _0x23b296=_0xd0a0fb['split']('*')['map'](escapeRegExp);return new RegExp('^'+_0x23b296['join']('.+')+'$',_0x1de1b7);};function getCssValue(_0x390f45,_0x131181){return window['getComputedStyle'](_0x390f45)['getPropertyValue'](_0x131181)['trim']();}const ucCustomProperties=['--uc-font-family','--uc-font-size','--uc-line-height','--uc-button-size','--uc-preview-size','--uc-input-size','--uc-padding','--uc-radius','--uc-transition','--uc-background','--uc-foreground','--uc-primary','--uc-primary-hover','--uc-primary-transparent','--uc-primary-foreground','--uc-secondary','--uc-secondary-hover','--uc-secondary-foreground','--uc-muted','--uc-muted-foreground','--uc-destructive','--uc-destructive-foreground','--uc-border'];function buildThemeDefinition(_0x21fbe0){return ucCustomProperties['reduce']((_0x205a27,_0x4ea9fd)=>{const _0xdf07d7=getCssValue(_0x21fbe0,_0x4ea9fd);return _0xdf07d7&&(_0x205a27[_0x4ea9fd]=_0xdf07d7),_0x205a27;},{});}const MESSAGE_TYPE_WHITELIST=['selected-files-change'],isWhitelistedMessage=_0x9b5dd9=>!!_0x9b5dd9&&('object'==typeof _0x9b5dd9&&('type'in _0x9b5dd9&&MESSAGE_TYPE_WHITELIST['includes'](_0x9b5dd9['type'])));class MessageBridge{['_handlerMap']=new Map();['_context'];constructor(_0x30ea32){this['_context']=_0x30ea32,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x463f41=>{if(_0x463f41['source']!==this['_context'])return;const _0x453a77=_0x463f41['data'];if(!isWhitelistedMessage(_0x453a77))return;const _0x58ac1a=this['_handlerMap']['get'](_0x453a77['type']);if(_0x58ac1a){for(const _0x3064f1 of _0x58ac1a)_0x3064f1(_0x453a77);}};['on'](_0x48533b,_0x252509){const _0x42227d=this['_handlerMap']['get'](_0x48533b)??new Set();this['_handlerMap']['has'](_0x48533b)||this['_handlerMap']['set'](_0x48533b,_0x42227d),_0x42227d['add'](_0x252509);}['send'](_0x2306f2){this['_context']['postMessage'](_0x2306f2,'*');}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}}function queryString(_0x49544d){let _0x48a168=[];for(let [_0xd89fb0,_0xd4b604]of Object['entries'](_0x49544d))null==_0xd4b604||'string'==typeof _0xd4b604&&0x0===_0xd4b604['length']||_0x48a168['push'](_0xd89fb0+'='+encodeURIComponent(_0xd4b604));return _0x48a168['join']('&');}class ExternalSource extends UploaderBlock{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['EXTERNAL'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','onDone':()=>{for(const _0x497edd of this['$']['selectedList']){const _0x3f9341=this['extractUrlFromSelectedFile'](_0x497edd),{filename:_0x3c4498}=_0x497edd,{externalSourceType:_0x4f23fb}=this['activityParams'];this['api']['addFileFromUrl'](_0x3f9341,{'fileName':_0x3c4498,'source':_0x4f23fb});}this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0xcad86e=super['activityParams'];if('externalSourceType'in _0xcad86e)return _0xcad86e;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{let {externalSourceType:_0x5d8cd3}=this['activityParams'];if(!_0x5d8cd3)return this['$']['*currentActivity']=null,this['setOrAddState']('*modalActive',!0x1),void console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20activity\x20\x22'+this['activityType']+'\x22');this['set$']({'activityCaption':''+_0x5d8cd3?.[0x0]['toUpperCase']()+_0x5d8cd3?.['slice'](0x1),'activityIcon':_0x5d8cd3}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x36e7b6=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x17706d=>{_0x17706d!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x54b261=>{this['$']['showSelectionStatus']=_0x54b261;}),this['subConfigValue']('localeName',_0x552f33=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x183f08=>{this['applyEmbedCss'](_0x183f08);});}['extractUrlFromSelectedFile'](_0x4b4395){if(_0x4b4395['alternatives']){const _0x4e6086=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x57ac6e of _0x4e6086){const _0x91c3f0=wildcardRegexp(_0x57ac6e);for(const [_0x2751a2,_0x4b2fe6]of Object['entries'](_0x4b4395['alternatives']))if(_0x91c3f0['test'](_0x2751a2))return _0x4b2fe6;}}return _0x4b4395['url'];}async['handleSelectedFilesChange'](_0x36ecfc){this['cfg']['multiple']===_0x36ecfc['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x36ecfc['selectedCount'],'total':_0x36ecfc['total']})),this['set$']({'doneBtnTextClass':_0x36ecfc['isReady']?'':'uc-hidden','isSelectionReady':_0x36ecfc['isReady'],'isDoneBtnEnabled':_0x36ecfc['isReady']&&_0x36ecfc['selectedFiles']['length']>0x0,'showSelectionStatus':_0x36ecfc['isMultipleMode']&&_0x36ecfc['total']>0x0,'couldSelectAll':_0x36ecfc['selectedCount']<_0x36ecfc['total'],'couldDeselectAll':_0x36ecfc['selectedCount']===_0x36ecfc['total'],'selectedList':_0x36ecfc['selectedFiles']})):console['error']('Multiple\x20mode\x20mismatch');}['handleIframeLoad'](){this['applyEmbedCss'](this['cfg']['externalSourcesEmbedCss']),this['applyTheme'](),this['setupL10n']();}['applyTheme'](){this['_messageBridge']?.['send']({'type':'set-theme-definition','theme':buildThemeDefinition(this)});}['applyEmbedCss'](_0x2f4987){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x2f4987});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x3f036c,remoteTabSessionKey:_0x583a41,socialBaseUrl:_0x31cfeb,multiple:_0x443ccf}=this['cfg'],{externalSourceType:_0x560f85}=this['activityParams'],_0xcd8917={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x3f036c,'images_only':(!0x1)['toString'](),'session_key':_0x583a41,'wait_for_theme':!0x0,'multiple':_0x443ccf['toString']()},_0x265f34=new URL('/window4/'+_0x560f85,_0x31cfeb);return _0x265f34['search']=queryString(_0xcd8917),_0x265f34['toString']();}['mountIframe'](){let _0x2c30ea=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x2c30ea['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x2c30ea),_0x2c30ea['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new MessageBridge(_0x2c30ea['contentWindow']),this['_messageBridge']['on']('selected-files-change',this['handleSelectedFilesChange']['bind'](this)),this['resetSelectionStatus']());}['unmountIframe'](){this['_messageBridge']?.['destroy'](),this['_messageBridge']=void 0x0,this['ref']['iframeWrapper']['innerHTML']='',this['resetSelectionStatus']();}['resetSelectionStatus'](){this['set$']({'selectedList':[],'total':0x0,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1});}}ExternalSource['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22iframeWrapper\x22\x20class=\x22uc-iframe-wrapper\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel\x22\x20l10n=\x22cancel\x22></button>\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!showSelectionStatus\x22\x20class=\x22uc-selection-status-box\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>{{counterText}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onSelectAll;\x20@hidden:\x20!couldSelectAll\x22\x20l10n=\x22select-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onDeselectAll;\x20@hidden:\x20!couldDeselectAll\x22\x20l10n=\x22deselect-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-spinner\x20set=\x22@hidden:\x20isSelectionReady\x22></uc-spinner>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22done\x22\x20set=\x22@class:\x20doneBtnTextClass\x22></span>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';class FormInput extends UploaderBlock{['requireCtxName']=!0x0;['_createValidationInput'](){const _0x6c21ec=document['createElement']('input');return _0x6c21ec['type']='text',_0x6c21ec['name']=this['ctxName'],_0x6c21ec['required']=this['cfg']['multipleMin']>0x0,_0x6c21ec['tabIndex']=-0x1,applyStyles(_0x6c21ec,{'opacity':0x0,'height':0x0,'width':0x0}),_0x6c21ec;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x313f8c=>{{if(this['_dynamicInputsContainer']||(this['_dynamicInputsContainer']=document['createElement']('div'),this['appendChild'](this['_dynamicInputsContainer'])),!this['_validationInputElement']){const _0x1f5be8=this['_createValidationInput']();this['appendChild'](_0x1f5be8),this['_validationInputElement']=_0x1f5be8;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x313f8c['status']||'idle'===_0x313f8c['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x313f8c['status']){const _0xb3f9a1=_0x313f8c['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0xb3f9a1);}const _0x5f3b9a=_0x313f8c['group']?_0x313f8c['group']:null;if(_0x5f3b9a)return this['_validationInputElement']['value']=_0x5f3b9a['cdnUrl'],void this['_validationInputElement']['setCustomValidity']('');const _0x23ad32=_0x313f8c['allEntries']['map'](_0x1ba247=>_0x1ba247['cdnUrl']);if(!this['cfg']['multiple']&&0x1===_0x23ad32['length'])return this['_validationInputElement']['value']=_0x23ad32[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x11ccae=new DocumentFragment();for(let _0x2dd7ec of _0x23ad32){const _0x220c7f=document['createElement']('input');_0x220c7f['type']='hidden',_0x220c7f['name']=this['ctxName']+'[]',_0x220c7f['value']=_0x2dd7ec,_0x11ccae['appendChild'](_0x220c7f);}this['_dynamicInputsContainer']['replaceChildren'](_0x11ccae);}},!0x1);}}class ActivityHeader extends ActivityBlock{}class Select extends Block{['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':e=>{e['preventDefault'](),e['stopPropagation'](),this['value']=this['ref']['select']['value'],this['$']['currentText']=this['$']['options']['find'](e=>e['value']==this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};['initCallback'](){super['initCallback'](),this['sub']('options',_0x53c4ac=>{this['$']['currentText']=_0x53c4ac?.[0x0]?.['text']||'';let _0x2cd503='';_0x53c4ac?.['forEach'](_0x27f596=>{_0x2cd503+='<option\x20value=\x22'+_0x27f596['value']+'\x22>'+_0x27f596['text']+'</option>';}),this['$']['selectHtml']=_0x2cd503;});}}Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';class Copyright extends Block{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x38f35c=>{this['toggleAttribute']('hidden',!!_0x38f35c);});}static ['template']='\x0a\x20\x20\x20\x20<a\x0a\x20\x20\x20\x20\x20\x20href=\x22https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4\x22\x0a\x20\x20\x20\x20\x20\x20target=\x22_blank\x20noopener\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-credits\x22\x0a\x20\x20\x20\x20\x20\x20>Powered\x20by\x20Uploadcare</a\x0a\x20\x20\x20\x20>\x0a\x20\x20';}class Spinner extends BaseComponent{}Spinner['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';class FileUploaderRegular extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super(),this['init$']={...this['init$'],'isHidden':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('headless',_0x14dbe1=>{this['set$']({'isHidden':asBoolean(_0x14dbe1)});}),this['sub']('*modalActive',_0x12b176=>{this['_lastModalActive']!==_0x12b176&&this['emit'](_0x12b176?EventType['MODAL_OPEN']:EventType['MODAL_CLOSE'],void 0x0,{'debounce':!0x0}),this['_lastModalActive']=_0x12b176;},!0x1);}}FileUploaderRegular['template']='\x0a\x20\x20<uc-simple-btn\x20set=\x22@hidden:\x20isHidden\x22></uc-simple-btn>\x0a\x0a\x20\x20<uc-modal\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20\x20\x20<uc-upload-list></uc-upload-list>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a',FileUploaderRegular['bindAttributes']({'headless':null});class FileUploaderMinimal extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['initCallback'](){super['initCallback']();const _0x8ae5a5=this['ref']['uBlock'];this['sub']('*currentActivity',_0x102bc6=>{_0x102bc6||(this['$']['*currentActivity']=_0x8ae5a5['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x45fb95=>{this['$']['*currentActivity']=_0x45fb95?.['length']>0x0?ActivityBlock['activities']['UPLOAD_LIST']:_0x8ae5a5['initActivity']||ActivityBlock['activities']['START_FROM'];}),this['subConfigValue']('sourceList',_0x51fecd=>{'local'!==_0x51fecd&&(this['cfg']['sourceList']='local');}),this['subConfigValue']('confirmUpload',_0x168e17=>{!0x1!==_0x168e17&&(this['cfg']['confirmUpload']=!0x1);});}}FileUploaderMinimal['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20tabindex=\x220\x22\x20clickable\x20l10n=\x22choose-file\x22></uc-drop-area>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a';class FileUploaderInline extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'cancel':()=>{this['couldHistoryBack']?this['$']['*historyBack']():this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x211c71=this['$']['*history'];return _0x211c71['length']>0x1&&_0x211c71[_0x211c71['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){return this['cfg']['showEmptyList']||this['$']['*uploadList']['length']>0x0;}['initCallback'](){super['initCallback']();const _0x1243f3=this['ref']['uBlock'];this['sub']('*currentActivity',_0x20b226=>{_0x20b226||(this['$']['*currentActivity']=_0x1243f3['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x10ad73=>{_0x10ad73?.['length']>0x0&&this['$']['*currentActivity']===(_0x1243f3['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];});}}FileUploaderInline['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20<uc-source-list\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22start-from-cancel\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20cancel;\x20@hidden:\x20!couldCancel\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a';class CloudImageEditor extends CloudImageEditorBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}}function defineComponents(_0x3ccd31){for(let _0x16b977 in _0x3ccd31){let _0x5a338=[..._0x16b977]['reduce']((_0x29cb08,_0x1f30e2)=>(_0x1f30e2['toUpperCase']()===_0x1f30e2&&(_0x1f30e2='-'+_0x1f30e2['toLowerCase']()),_0x29cb08+_0x1f30e2),'');_0x5a338['startsWith']('-')&&(_0x5a338=_0x5a338['replace']('-','')),_0x5a338['startsWith']('uc-')||(_0x5a338='uc-'+_0x5a338),_0x3ccd31[_0x16b977]['reg']&&_0x3ccd31[_0x16b977]['reg'](_0x5a338);}}const UC_WINDOW_KEY='UC';async function loadFileUploaderFrom(_0x31ce7c,_0x496345=!0x1){return new Promise((_0x5a04c3,_0x313aec)=>{if('object'!=typeof document)return void _0x5a04c3(null);if('object'==typeof window&&window[UC_WINDOW_KEY])return void _0x5a04c3(window[UC_WINDOW_KEY]);let _0x30f7fd=document['createElement']('script');_0x30f7fd['async']=!0x0,_0x30f7fd['src']=_0x31ce7c,_0x30f7fd['onerror']=()=>{_0x313aec();},_0x30f7fd['onload']=()=>{let _0x46fe04=window[UC_WINDOW_KEY];_0x496345&&defineComponents(_0x46fe04),_0x5a04c3(_0x46fe04);},document['head']['appendChild'](_0x30f7fd);});}var UC=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':Block,'BtnUi':BtnUi,'CameraSource':CameraSource,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':Config,'Copyright':Copyright,'CropFrame':CropFrame,'Data':Data,'DropArea':DropArea,'EditorCropButtonControl':EditorCropButtonControl,'EditorFilterControl':EditorFilterControl,'EditorImageCropper':EditorImageCropper,'EditorImageFader':EditorImageFader,'EditorOperationControl':EditorOperationControl,'EditorScroller':EditorScroller,'EditorSlider':EditorSlider,'EditorToolbar':EditorToolbar,'ExternalSource':ExternalSource,'ExternalUploadSource':ExternalUploadSource,'FileItem':FileItem,'FileUploaderInline':FileUploaderInline,'FileUploaderMinimal':FileUploaderMinimal,'FileUploaderRegular':FileUploaderRegular,'FormInput':FormInput,'Icon':Icon,'Img':Img,'LineLoaderUi':LineLoaderUi,'Modal':Modal,'PACKAGE_NAME':PACKAGE_NAME,'PACKAGE_VERSION':PACKAGE_VERSION,'PresenceToggle':PresenceToggle,'ProgressBar':ProgressBar,'ProgressBarCommon':ProgressBarCommon,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':SliderUi,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':Spinner,'StartFrom':StartFrom,'UID':UID,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':UploadSource,'UploaderBlock':UploaderBlock,'UrlSource':UrlSource,'defineComponents':defineComponents,'defineLocale':defineLocale,'loadFileUploaderFrom':loadFileUploaderFrom,'toKebabCase':toKebabCase});class Uploadcare extends Plugin{static get['requires'](){return[UploadcareEditing,UploadcareUI];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xfec939){super(_0xfec939),_0xfec939['config']['define']('uploadcare.uploader.sourceList',[UploadcareSource['Local'],UploadcareSource['URL']]),defineComponents(UC);}}class UploadcareImageEditFormLoadingView extends View{constructor(_0x21e66b){super(_0x21e66b);const t=_0x21e66b['t'],_0x426953=this['bindTemplate'],_0x3b3878=new SpinnerView();_0x3b3878['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x3b3878,{'text':_0x426953['to']('imageUploadProgress',_0xa6d2d0=>t('Loading\x20image...')+'\x20('+(_0xa6d2d0||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}var errorIcon='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.9\x204.385a1.2\x201.2\x200\x200\x200-.44.44h.002l-5.284\x209.15a1.2\x201.2\x200\x200\x200\x201.04\x201.8h10.564a1.2\x201.2\x200\x200\x200\x201.04-1.8l-5.282-9.15a1.2\x201.2\x200\x200\x200-1.64-.44Zm.05\x208.363a.301.301\x200\x200\x201\x20.115-.023h.9a.301.301\x200\x200\x201\x20.3.3v.9a.3.3\x200\x200\x201-.3.3h-.9a.3.3\x200\x200\x201-.3-.3v-.9a.3.3\x200\x200\x201\x20.185-.277Zm-.185-4.723a.3.3\x200\x200\x201\x20.3-.3h.9a.3.3\x200\x200\x201\x20.3.3v3.4a.3.3\x200\x200\x201-.3.3h-.9a.301.301\x200\x200\x201-.3-.3v-3.4Z\x22/></svg>\x0a';class UploadcareImageEditFormErrorView extends View{constructor(_0x764573){super(_0x764573);const t=_0x764573['t'];this['set']('errorType',null);const _0x3e8cb2=new ButtonView(_0x764573);_0x3e8cb2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e8cb2['withText']=!0x0,_0x3e8cb2['class']='ck-button-action',_0x3e8cb2['on']('execute',()=>{this['fire']('retry');}),_0x3e8cb2['bind']('isVisible')['to'](this,'errorType',_0x3441d7=>'NotFound'!==_0x3441d7);const _0x163890=new IconView();_0x163890['content']=errorIcon,_0x163890['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52d84e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x163890,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52d84e['to']('errorType',_0x52cd9e=>t('NotFound'!==_0x52cd9e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e8cb2]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormEditingView extends View{constructor(_0x505249,_0x217559){super(_0x505249);const _0x44e50c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x217559,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x44e50c['to']('imageSrc')}});}}class UploadcareImageEditFormView extends DialogFocusManagerView{constructor(_0x4e9128,_0xfae1f0,_0x3ba051){super(_0x4e9128),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x4e9128),this['_errorView']=new UploadcareImageEditFormErrorView(_0x4e9128),this['_editingView']=new UploadcareImageEditFormEditingView(_0x4e9128,_0x3ba051),this['_focusableView']=new View(_0x4e9128),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xfae1f0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x2106a7=>{this['_addUploadcareImageEditorListeners'](_0x2106a7);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x582e94,_0x2807c7){const _0x181eaa='uc-cloud-image-editor',_0x284fc9=_0x582e94['querySelector'](_0x181eaa);if(_0x284fc9)return _0x2807c7(_0x284fc9);const _0x4688af=new MutationObserver(_0x2e5cbb=>{const _0x10c51d=_0x2e5cbb['filter'](_0x1157c6=>_0x1157c6['target']===_0x582e94&&_0x1157c6['addedNodes']['length']>0x0&&_0x1157c6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x181eaa);_0x10c51d['length']&&(_0x4688af['disconnect'](),_0x2807c7(_0x10c51d[0x0]['addedNodes'][0x0]));});_0x4688af['observe'](_0x582e94,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x39bf70){_0x39bf70['addEventListener']('apply',_0x12995e=>{this['fire']('apply',{'imageSrc':_0x12995e['detail']['cdnUrl']});}),_0x39bf70['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}var uploadcareImageEditIcon='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M1.201\x201C.538\x201\x200\x201.47\x200\x202.1v14.363c0\x20.64.534\x201.037\x201.186\x201.037H5.06l5.058-5.078L6.617\x209.15a.696.696\x200\x200\x200-.957-.033L1.5\x2013.6V2.5h15v4.354a3.478\x203.478\x200\x200\x201\x201.5.049V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713\x202.803a2.147\x202.147\x200\x200\x200-2.049\x201.992\x202.14\x202.14\x200\x200\x200\x201.28\x202.096\x202.13\x202.13\x200\x200\x200\x202.642-3.11\x202.129\x202.129\x200\x200\x200-1.873-.978ZM8.089\x2017.635v2.388h2.389l7.046-7.046-2.39-2.39-7.045\x207.048Zm11.282-6.507a.637.637\x200\x200\x200\x20.139-.692.603.603\x200\x200\x200-.139-.205l-1.49-1.488a.63.63\x200\x200\x200-.899\x200l-1.166\x201.163\x202.39\x202.39\x201.165-1.168Z\x22/></svg>\x0a';class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
ObservableMixin(){constructor(_0x564ee5,_0x2c3f7b,_0x4bad90){super(),this['_editor']=_0x564ee5,this['_dialog']=_0x2c3f7b,this['_imageElement']=_0x4bad90,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x140ccc=this['_imageElement'],_0x41eb77=_0x140ccc['getAttribute']('uploadcareImageId'),_0x43f88a=_0x140ccc['getAttribute']('src');if(_0x41eb77)await this['_loadImageInfo'](_0x41eb77,_0x43f88a);else{if(this['_imageCache']['has'](_0x43f88a)){const _0x119d4a=this['_imageCache']['get'](_0x43f88a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x119d4a['url'],this['imageDimension']=_0x119d4a['dimension'],this['imageId']=_0x119d4a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x49494a}=this['_editor'],t=_0x49494a['t'],_0x5089c=new UploadcareImageEditFormView(_0x49494a,this['imageStatus'],this['_attributes']);_0x5089c['bind']('status')['to'](this,'imageStatus'),_0x5089c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5089c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5089c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5089c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':uploadcareImageEditIcon,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5089c,'position':DialogViewPosition['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5089c['focus']();},'onHide':()=>{_0x5089c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xf7fb11=>!isAncestor(_0xf7fb11,_0x5089c['element'])}});}['_loadImageInfo'](_0x1e8285,_0x4bb9a6){return UploadUtils['getInfo'](_0x1e8285,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x574488=>{const {width:_0x37cc49,height:_0x44c147}=_0x574488['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb9a6,this['imageDimension']={'width':_0x37cc49,'height':_0x44c147},this['imageId']=_0x1e8285;})['catch'](_0x440236=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x440236['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e0af6,_0x4ad712){return this['_getImageAsFile'](_0x3e0af6)['then'](_0x3b6464=>UploadUtils['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4ad712['signal'],'file':_0x3b6464,'onProgress':_0x542b09=>{_0x542b09&&_0x542b09['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x542b09['value']));}}))['then'](_0x36c45e=>{const {width:_0x2dcd91,height:_0x4d4e93}=_0x36c45e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36c45e['cdnUrl'],this['imageDimension']={'width':_0x2dcd91,'height':_0x4d4e93},this['imageId']=_0x36c45e['uuid'],this['imageUploadProgress']=null;const _0x1b8643=_0x3e0af6['getAttribute']('src');this['_imageCache']['set'](_0x1b8643,{'id':_0x36c45e['uuid'],'url':_0x36c45e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4258ea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4258ea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4e5a17,_0xe56188){_0x4e5a17['on']('apply',(_0x3551a8,_0x572833)=>{this['_replaceImage'](_0xe56188,_0x572833['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4e5a17['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4e5a17['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1a135c,_0x153e18,_0x41d5af){const _0x414d9e=this['_editor'],{width:_0x5d6f44,height:_0xffb085}=getImageDimension(_0x153e18,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3c5975,imageSources:_0x5383ba}=getImageUrls(_0x153e18,_0x5d6f44);_0x414d9e['model']['change'](_0x19ba0d=>{if('$graveyard'===_0x1a135c['root']['rootName']){_0x414d9e['execute']('insertImage',{'imageType':_0x1a135c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1a135c['getAttributes']()),'uploadcareImageId':_0x41d5af,'src':_0x3c5975,'sources':_0x5383ba,'width':_0x5d6f44,'height':_0xffb085}});const _0x21deaa=_0x1a135c['getChildren']();_0x1a135c=_0x414d9e['model']['document']['selection']['getSelectedElement']();for(const _0x3285f5 of _0x21deaa)_0x19ba0d['append'](_0x19ba0d['cloneElement'](_0x3285f5),_0x1a135c);}else _0x19ba0d['setSelection'](_0x1a135c,'on'),_0x414d9e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1a135c['getAttributes']()),'uploadcareImageId':_0x41d5af,'src':_0x3c5975,'sources':_0x5383ba,'width':_0x5d6f44,'height':_0xffb085},_0x1a135c);_0x19ba0d['setSelection'](_0x1a135c,'on');});}async['_getImageAsFile'](_0x325f90){const _0x51652a=_0x25cc2c['window'],_0x437a85=_0x25cc2c['document']['location']['href'],_0xa7910=new _0x51652a['URL'](_0x325f90['getAttribute']('src'),_0x437a85);if('data:'===_0xa7910['protocol']){const _0x40a456=_0xa7910['href']['split'](','),_0x2243f7=_0x40a456[0x0]['match'](/:(.*?);/)[0x1],_0x23d76c=_0x2243f7['split']('/')[0x1],_0xf805be=_0x51652a['atob'](_0x40a456[_0x40a456['length']-0x1]);let _0x3335e7=_0xf805be['length'];const _0x3e8270=new _0x51652a['Uint8Array'](_0x3335e7);for(;_0x3335e7--;)_0x3e8270[_0x3335e7]=_0xf805be['charCodeAt'](_0x3335e7);return new _0x51652a['File']([_0x3e8270],'image.'+_0x23d76c,{'type':_0x2243f7});}const _0x5ae33d=_0xa7910['href']['split']('/'),_0x33fc4b=_0x5ae33d[_0x5ae33d['length']-0x1],_0x5f47f2=_0x33fc4b['split']('.')[0x1];return _0x51652a['fetch'](_0xa7910['href'])['then'](_0x2f069d=>_0x2f069d['clone']()['blob']())['then'](_0x3dce25=>new _0x51652a['File']([_0x3dce25],_0x33fc4b,{'type':'image/'+_0x5f47f2}));}}class UploadcareImageEditCommand extends _0xa280c5{static get['requires'](){return[Dialog];}constructor(_0x42c5a2){super(_0x42c5a2),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x42c5a2['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x346422=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x346422);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x582123=this['editor']['model']['document']['selection']['getSelectedElement']();_0x582123&&(_0x582123['is']('element','imageBlock')||_0x582123['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](Dialog),_0x582123),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class UploadcareImageReplaceCommand extends _0xa280c5{['refresh'](){const _0x12b72d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x12b72d&&(_0x12b72d['is']('element','imageBlock')||_0x12b72d['is']('element','imageInline')));}['execute'](_0x34a06c){const _0x4d8b33=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xcbc401=>{_0xcbc401['setAttributes'](_0x34a06c,_0x4d8b33),_0xcbc401['removeAttribute']('srcset',_0x4d8b33),_0xcbc401['removeAttribute']('sizes',_0x4d8b33);});}}class UploadcareImageEditEditing extends Plugin{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,Notification,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x79451}=this;_0x79451['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x79451)),_0x79451['commands']['add']('uploadcareImageReplace',new UploadcareImageReplaceCommand(_0x79451));}}class UploadcareImageEditUI extends Plugin{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x4c9d62=this['editor'];_0x4c9d62['ui']['componentFactory']['add']('uploadcareImageEdit',_0x58d912=>{const _0x455f0d=_0x4c9d62['commands']['get']('uploadcareImageEdit'),_0x4a50e2=new ButtonView(_0x58d912),t=_0x58d912['t'];return _0x4a50e2['set']({'icon':uploadcareImageEditIcon,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a50e2['bind']('isEnabled')['to'](_0x455f0d),_0x4a50e2['bind']('isOn')['to'](_0x455f0d,'isActive'),this['listenTo'](_0x4a50e2,'execute',()=>{_0x4c9d62['execute']('uploadcareImageEdit'),_0x4c9d62['editing']['view']['focus']();}),_0x4a50e2;}),this['_initConfig']();}['_initConfig'](){const _0x1d91f5=createElement(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1d91f5),this['listenTo'](this['editor'],'destroy',()=>{_0x1d91f5['remove']();});}}class UploadcareImageEdit extends Plugin{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{AIAdapter,AIAssistant,AIAssistantUI,AIRequestError,AITextAdapter,AWSTextAdapter,Annotation$1 as Annotation,AnnotationCollection,AnnotationView,Annotations,AnnotationsUIs,AriaDescriptionView,BaseCommentThreadView,BaseCommentView,BaseSuggestionThreadView,CaseChange,CaseChangeCommand,CaseChangeEditing,CaseChangeUI,CloudServicesCommentsAdapter,CloudServicesRevisionHistoryAdapter,CloudServicesTrackChangesAdapter,Comment,CommentThread,CommentThreadController,CommentThreadInputView,CommentThreadView,CommentView,Comments,CommentsArchive,CommentsArchiveUI,CommentsListView,CommentsOnly,CommentsRepository,CommentsUI,ConfirmMixin,CopyFormatCommand,DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,EditSourceCommand,EditorAnnotations,ExportPdf,ExportWord,FOCUS_ANNOTATION_KEYSTROKE,FormatPainter,FormatPainterEditing,FormatPainterUI,HeadingId,ImportWord,ImportWordEditing,ImportWordUI,InlineAnnotations,LateFocusButtonView,LateFocusDropdownButtonView,MergeFields,MergeFieldsEditing,MergeFieldsUI,MultiLevelList,MultiLevelListEditing,MultiLevelListUI,NarrowSidebar,OpenAITextAdapter,Pagination,PasteFormatCommand,PasteFromOfficeEnhanced,Permissions,PresenceList,RealTimeCollaborationClient,RealTimeCollaborativeComments,RealTimeCollaborativeEditing,RealTimeCollaborativeRevisionHistory,RealTimeCollaborativeTrackChanges,ReplaceSourceCommand,Revision,RevisionHistory,RevisionHistoryUI,RevisionTracker,RevisionViewer,RevisionViewerLoadingOverlay,RevisionViewerUI,RevisionsRepository,RevisionsSidebar,Sessions,SlashCommand,SlashCommandConfig,SlashCommandEditing,SlashCommandUI,SourceEditingEnhanced,Suggestion,SuggestionThreadView,SuggestionView,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI,Template,TemplateCommand,TemplateEditing,TemplateUI,TrackChanges,TrackChangesData,TrackChangesEditing,TrackChangesPreview,Uploadcare,UploadcareEditing,UploadcareImageEdit,UploadcareImageEditEditing,UploadcareImageEditUI,UploadcareUI,UserView,Users,WideSidebar,getAllMarkersDomElementsSorted,getDateTimeFormatter,getMarkerDomElement,hashObject,icons,sanitizeEditorConfig,setupThreadKeyboardNavigation,surroundingMarkersDetector,trimHtml};